1
0

Adjusted the file to validate article description

This commit is contained in:
Richard Dern 2024-05-17 00:21:54 +02:00
parent 83d90175c9
commit 8fcd5c4a25

View File

@ -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",