Skip to content

Commit

Permalink
fix: schema
Browse files Browse the repository at this point in the history
  • Loading branch information
qixils committed Nov 2, 2023
1 parent 1fbc882 commit 052bcee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion data.schema.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/qixils/mari0pository/main/data.schema.json",
"title": "Mari0pository",
"description": "A repository of content for Mari0 and its derivatives.",
Expand Down Expand Up @@ -78,6 +79,7 @@
"if": {
"properties": {
"type": {
"type": "string",
"pattern": "(mappack|tileset|character|enemy)"
}
}
Expand All @@ -101,7 +103,9 @@
"ranges": {
"description": "A list of version ranges this asset is compatible with. The components of a version range separated by a dash are AND'd, while the components separated into different items in the array are OR'd.",
"type": "array",
"items": "string"
"items": {
"type": "string"
}
}
},
"required": [
Expand Down

0 comments on commit 052bcee

Please sign in to comment.