JSON schemas for tierlist-stars (gh)
Last active
September 10, 2024 22:25
-
-
Save Atulin/cf2574164b726d35b8de92e9fbc925c5 to your computer and use it in GitHub Desktop.
Tierlist Stars schemas
This file contains hidden or 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
| { | |
| "type": "object", | |
| "properties": { | |
| "$schema": { | |
| "type": "string", | |
| "const": "https://gist.githubusercontent.com/Atulin/cf2574164b726d35b8de92e9fbc925c5/raw/data%255Cschemas%255Ccharacter.json" | |
| }, | |
| "name": { | |
| "type": "string" | |
| }, | |
| "rarity": { | |
| "type": "integer", | |
| "minimum": 1, | |
| "maximum": 6 | |
| }, | |
| "image": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "string", | |
| "const": "none" | |
| } | |
| ] | |
| }, | |
| "class": { | |
| "type": "string", | |
| "enum": [ | |
| "detonator", | |
| "converter", | |
| "supporter", | |
| "sniper" | |
| ] | |
| }, | |
| "element": { | |
| "type": "string", | |
| "enum": [ | |
| "fire", | |
| "forest", | |
| "water", | |
| "thunder", | |
| "wildcard" | |
| ] | |
| }, | |
| "element_secondary": { | |
| "$ref": "#/properties/element" | |
| }, | |
| "traits": { | |
| "type": "array", | |
| "items": { | |
| "type": "string", | |
| "enum": [ | |
| "dark tiles", | |
| "enhanced tiles", | |
| "collab", | |
| "dragon maid", | |
| "persona", | |
| "atelier ryza", | |
| "old seal" | |
| ] | |
| }, | |
| "default": [] | |
| }, | |
| "class_details": { | |
| "type": "string" | |
| }, | |
| "ratings": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "tier": { | |
| "type": "string", | |
| "enum": [ | |
| "D", | |
| "C", | |
| "B", | |
| "A", | |
| "S", | |
| "SS", | |
| "SSS" | |
| ] | |
| }, | |
| "conditions": { | |
| "type": "array", | |
| "items": { | |
| "anyOf": [ | |
| { | |
| "type": "string", | |
| "enum": [ | |
| "Team", | |
| "Niche" | |
| ] | |
| }, | |
| { | |
| "type": "string" | |
| } | |
| ] | |
| }, | |
| "default": [] | |
| }, | |
| "breakthrough": { | |
| "anyOf": [ | |
| { | |
| "type": "integer", | |
| "minimum": 0, | |
| "maximum": 6 | |
| }, | |
| { | |
| "type": "string", | |
| "const": "MBT" | |
| } | |
| ] | |
| }, | |
| "refinement": { | |
| "type": "integer", | |
| "minimum": 0, | |
| "maximum": 3 | |
| }, | |
| "modifier": { | |
| "type": "string", | |
| "enum": [ | |
| "+", | |
| "-" | |
| ] | |
| }, | |
| "description": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "tier", | |
| "description" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "default": [] | |
| }, | |
| "advantages": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "disadvantages": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "explanation": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "$schema", | |
| "name", | |
| "rarity", | |
| "class", | |
| "element", | |
| "advantages", | |
| "disadvantages", | |
| "explanation" | |
| ], | |
| "additionalProperties": false, | |
| "$schema": "http://json-schema.org/draft-07/schema#" | |
| } |
This file contains hidden or 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
| { | |
| "type": "object", | |
| "properties": { | |
| "name": { | |
| "type": "string" | |
| }, | |
| "rarity": { | |
| "type": "integer", | |
| "minimum": 1, | |
| "maximum": 6 | |
| }, | |
| "image": { | |
| "anyOf": [ | |
| { | |
| "type": "string" | |
| }, | |
| { | |
| "type": "string", | |
| "const": "none" | |
| } | |
| ] | |
| }, | |
| "class": { | |
| "type": "string", | |
| "enum": [ | |
| "detonator", | |
| "converter", | |
| "supporter", | |
| "sniper" | |
| ] | |
| }, | |
| "element": { | |
| "type": "string", | |
| "enum": [ | |
| "fire", | |
| "forest", | |
| "water", | |
| "thunder", | |
| "wildcard" | |
| ] | |
| }, | |
| "element_secondary": { | |
| "$ref": "#/properties/element" | |
| }, | |
| "class_details": { | |
| "type": "string" | |
| }, | |
| "ratings": { | |
| "type": "array", | |
| "items": { | |
| "type": "object", | |
| "properties": { | |
| "tier": { | |
| "type": "string", | |
| "enum": [ | |
| "D", | |
| "C", | |
| "B", | |
| "A", | |
| "S", | |
| "SS", | |
| "SSS" | |
| ] | |
| }, | |
| "conditions": { | |
| "type": "array", | |
| "items": { | |
| "anyOf": [ | |
| { | |
| "type": "string", | |
| "enum": [ | |
| "Team", | |
| "Niche" | |
| ] | |
| }, | |
| { | |
| "type": "string" | |
| } | |
| ] | |
| }, | |
| "default": [] | |
| }, | |
| "breakthrough": { | |
| "anyOf": [ | |
| { | |
| "type": "integer", | |
| "minimum": 0, | |
| "maximum": 6 | |
| }, | |
| { | |
| "type": "string", | |
| "const": "MBT" | |
| } | |
| ] | |
| }, | |
| "refinement": { | |
| "type": "integer", | |
| "minimum": 0, | |
| "maximum": 3 | |
| }, | |
| "modifier": { | |
| "type": "string", | |
| "enum": [ | |
| "+", | |
| "-" | |
| ] | |
| }, | |
| "description": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "tier", | |
| "description" | |
| ], | |
| "additionalProperties": false | |
| }, | |
| "default": [] | |
| }, | |
| "advantages": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "disadvantages": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| }, | |
| "explanation": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "name", | |
| "rarity", | |
| "class", | |
| "element", | |
| "advantages", | |
| "disadvantages", | |
| "explanation" | |
| ], | |
| "additionalProperties": false, | |
| "$schema": "http://json-schema.org/draft-07/schema#" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment