Initial import
This commit is contained in:
commit
ab891a315c
773 changed files with 257255 additions and 0 deletions
88
content/schema/abilities.schema.json
Normal file
88
content/schema/abilities.schema.json
Normal file
|
|
@ -0,0 +1,88 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "Ability Definitions",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["schemaVersion", "abilities"],
|
||||
"properties": {
|
||||
"schemaVersion": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
},
|
||||
"abilities": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["id", "name", "targeting", "cost", "power", "statusEffectsOnHit"],
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"targeting": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["mode", "range", "requiresLos"],
|
||||
"properties": {
|
||||
"mode": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"range": {
|
||||
"type": "number"
|
||||
},
|
||||
"requiresLos": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
},
|
||||
"cost": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["mp", "ap"],
|
||||
"properties": {
|
||||
"mp": {
|
||||
"type": "number"
|
||||
},
|
||||
"ap": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"power": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["formula", "base", "scalingStat", "scaling"],
|
||||
"properties": {
|
||||
"formula": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"base": {
|
||||
"type": "number"
|
||||
},
|
||||
"scalingStat": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"scaling": {
|
||||
"type": "number"
|
||||
}
|
||||
}
|
||||
},
|
||||
"statusEffectsOnHit": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue