-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from VladimirKuletski/master
JSON schema check
- Loading branch information
Showing
3 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"type": "array", | ||
"title": "Root Schema", | ||
"minItems": 1, | ||
"uniqueItems": true, | ||
"items": { | ||
"type": "object", | ||
"title": "A Schema", | ||
"minProperties": 4, | ||
"additionalProperties": false, | ||
"properties": { | ||
"id": { | ||
"type": "integer", | ||
"title": "The id Schema" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"title": "The name Schema" | ||
}, | ||
"world": { | ||
"type": "string", | ||
"title": "The world Schema" | ||
}, | ||
"abilities": { | ||
"type": "string", | ||
"title": "The abilities Schema" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"type": "array", | ||
"title": "Root Schema", | ||
"minItems": 1, | ||
"uniqueItems": true, | ||
"items": { | ||
"type": "object", | ||
"title": "A Schema", | ||
"minProperties": 6, | ||
"additionalProperties": false, | ||
"properties": { | ||
"id": { | ||
"type": "integer", | ||
"title": "The id Schema" | ||
}, | ||
"upgrademap": { | ||
"type": "integer", | ||
"title": "The upgrademap Schema" | ||
}, | ||
"rebuild": { | ||
"type": "integer", | ||
"title": "The rebuild Schema" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"title": "The name Schema" | ||
}, | ||
"world": { | ||
"type": "string", | ||
"title": "The world Schema" | ||
}, | ||
"abilities": { | ||
"type": "string", | ||
"title": "The abilities Schema" | ||
} | ||
} | ||
} | ||
} |