Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various "minor" changes (4) #1435

Merged
merged 21 commits into from
Jun 20, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adjust JSON schema
  • Loading branch information
Hans5958 committed Jun 20, 2023
commit d626eca5f4585ac47239f5a883962737f295efeb
19 changes: 14 additions & 5 deletions tools/schema/atlas.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,21 @@
},
{
"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": {
"type": "string",
"description": "The short, descriptive name of the entry."
"description": "The short, descriptive name of the entry.",
"minLength": 1
},
"description": {
"type": "string",
Expand Down Expand Up @@ -55,7 +62,8 @@
"items": {
"type": "string",
"description": "The invite code of a Discord server related to the entry.",
"minItems": 1
"minItems": 1,
"minLength": 1
}
},
"wiki": {
Expand All @@ -64,7 +72,8 @@
"items": {
"type": "string",
"description": "The title of the wiki page related to the entry.",
"minItems": 1
"minItems": 1,
"minLength": 1
}
}
},
Expand Down