From 62c4e319f5e5236cbc2fe636e0b883008e671e7d Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Wed, 6 Dec 2023 21:18:22 +0100 Subject: [PATCH] add "description" to instance this should describe the instance and might also be markdown formated --- schemas/2.2/example.json | 3 ++- schemas/2.2/schema.json | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/schemas/2.2/example.json b/schemas/2.2/example.json index 7999895..8b6cedc 100644 --- a/schemas/2.2/example.json +++ b/schemas/2.2/example.json @@ -1,7 +1,8 @@ { "version": "2.2", "instance": { - "name": "New FIđť‘“F" + "name": "New FIđť‘“F", + "description": "Welcome to the [FIđť‘“F](https://fiff.de) fediverse" }, "software": { "name": "diaspora", diff --git a/schemas/2.2/schema.json b/schemas/2.2/schema.json index 12144f9..832e0c4 100644 --- a/schemas/2.2/schema.json +++ b/schemas/2.2/schema.json @@ -29,6 +29,11 @@ "name": { "description": "The utf8 encoded name", "type": "string" + }, + "description": { + "description": "This should describe the instance and might also be markdown formated", + "type": "string", + "pattern": "^[a-z0-9-]{0,1000}$" } } },