-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
restructure card schema to spirit schema
- Loading branch information
1 parent
1d89567
commit cb52592
Showing
2 changed files
with
72 additions
and
76 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,72 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"title": "Victory Spirit Card Shema", | ||
"description": "A spirit card in Victory!", | ||
"required": ["Shard", "Name", "CardType", "Kind", "SpiritType"], | ||
"additionalProperties": false, | ||
"properties": | ||
{ | ||
"Shard": { | ||
"description": "Unique integer identifier for the card.", | ||
"type": "integer" | ||
}, | ||
"Name": { | ||
"description": "Displayed name (capitalisation, spacing retained).", | ||
"type": "string" | ||
}, | ||
"CardType": { | ||
"description": "Card type.", | ||
"type": "string", | ||
"enum": ["spirit", "spell"] | ||
}, | ||
"Description": { | ||
"description": "Flavour text for a non-effect spirit.", | ||
"type": "string" | ||
}, | ||
"Effects": { | ||
"description": "List of effects of the card.", | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"Text": {"type": "string"}, | ||
"RequiredLevel": {"type": "integer"} | ||
} | ||
} | ||
}, | ||
"Kind": { | ||
"description": "Kind of the spirit.", | ||
"enum": ["STANDARD", "UPGRADE", "FUSION"] | ||
}, | ||
"SpiritType": { | ||
"description": "Type of the spirit.", | ||
"enum": ["CYBERNETIC"] | ||
}, | ||
"Power": { | ||
"description": "Base power stat determining outcomes of battles with other spirits.", | ||
"oneOf": [ | ||
{"type": "integer", "minimum": 0}, | ||
{"enum": ["?"]} | ||
] | ||
}, | ||
"Sacrifices": { | ||
"description": "Number of sacrifices required for a sacrifice spawn.", | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 3 | ||
}, | ||
"Materials": { | ||
"description": "Materials required for a special spawn.", | ||
"type": "integer" | ||
}, | ||
"Upgrades": { | ||
"description": "Dynamic variables which change when the card is upgraded.", | ||
"type": "object", | ||
"properties": { | ||
"patternProperties": { | ||
"[0-9]*": {"type": "string"} | ||
} | ||
} | ||
} | ||
} | ||
} |