diff --git a/resources/schemas/index.json b/resources/schemas/index.json index f762800..67039fa 100644 --- a/resources/schemas/index.json +++ b/resources/schemas/index.json @@ -13,7 +13,30 @@ "type": "string" }, "description": { - "type": "string" + "oneOf": [ + { + "type": "string" + }, + { + "type": "object", + "properties": { + "text": { + "type": "string" + }, + "generator": { + "type": "string" + }, + "model": { + "type": "string" + }, + "edited": { + "type": "boolean" + } + }, + "required": ["text", "generator", "model", "edited"], + "additionalProperties": false + } + ] }, "date": { "type": "string",