Adjusted the file to validate article description
This commit is contained in:
parent
83d90175c9
commit
8fcd5c4a25
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user