mirror of
https://github.com/placeAtlas/atlas.git
synced 2024-05-29 09:34:20 +02:00
Adjust JSON schema
This commit is contained in:
parent
5ebf030b99
commit
d626eca5f4
|
@ -12,14 +12,21 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0
|
"minimum": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "integer",
|
||||||
|
"minimum": -1,
|
||||||
|
"maximum": 0,
|
||||||
|
"description": "The ID of the entry. The value is a placeholder for new entries."
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "The ID of the entry. Usually this is the post ID of the new entry submission."
|
"description": "The ID of the entry. Usually, this is a number (string or number) this is the post ID of the new entry submission."
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The short, descriptive name of the entry."
|
"description": "The short, descriptive name of the entry.",
|
||||||
|
"minLength": 1
|
||||||
},
|
},
|
||||||
"description": {
|
"description": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
@ -55,7 +62,8 @@
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The invite code of a Discord server related to the entry.",
|
"description": "The invite code of a Discord server related to the entry.",
|
||||||
"minItems": 1
|
"minItems": 1,
|
||||||
|
"minLength": 1
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"wiki": {
|
"wiki": {
|
||||||
|
@ -64,7 +72,8 @@
|
||||||
"items": {
|
"items": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The title of the wiki page related to the entry.",
|
"description": "The title of the wiki page related to the entry.",
|
||||||
"minItems": 1
|
"minItems": 1,
|
||||||
|
"minLength": 1
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue