$schema: http://json-schema.org/draft-07/schema#
$id: Spell.schema.json
This schema describes a 5e spell.
Samples may be found at https://github.com/BrianWendt/dnd5e_json_schema/tree/master/samples/Spell/
$comment: version 0.1.1
Type: object
Properties
- name
required
- path: /properties/name
- Type:
string
- Examples:
- “Acid Splash”
- description
required
- path: /properties/description
- Type:
string
- higher_level
- path: /properties/higher_level
- Type:
string
- level
required
- path: /properties/level
- Type:
string
- Examples:
- “Cantrip”
- “1”
- “2”
- “3”
- “4”
- casting_time
required
- path: /properties/casting_time
- Type:
string
- Default: “1 Action”
- range_area
required
- path: /properties/range_area
- Type:
string
- Examples:
- “60ft”
- “Self”
- components
required
- path: /properties/components
- Type:
array
- Items
- path: /properties/components/items
- Type:
string
- Enum Values:
- “V”
- “S”
- “M”
- “F”
- “DF”
- “XP”
- material
- path: /properties/material
- Type:
string
- ritual
- path: /properties/ritual
- Type:
boolean
- Default: false
- concentration
- path: /properties/concentration
- Type:
boolean
- Default: false
- duration
required
- path: /properties/duration
- Type:
string
- Examples:
- “Instantaneous”
- school
- path: /properties/school
- Type:
string
- Examples:
- “Conjuring”
- attack_save
- path: /properties/attack_save
- Type:
string
- Examples:
- “DEX Save”
- “Ranged”
- damage_effect
- path: /properties/damage_effect
- Type:
string
- Examples:
- “Acid”
- tags
- path: /properties/tags
- $ref: tag.schema.json
- Examples:
- “Bard”
- “Wizard”
- “Warlock”
- source
Generated with json-schema-md-doc