JSON Schema for D&D 5e weapon.
$schema: http://json-schema.org/draft-07/schema#
$id: weapon.schema.json
This schema describes a weapon. Extends item.schema.json
$comment: version 0.1.1
Type: object
Properties
- category
- path: /properties/category
- Type:
string
- damage
required
- path: /properties/damage
- Type:
object
- Properties
- damage . dice
- damage . type
- versatile_damage
- path: /properties/versatile_damage
- Type:
object
- Properties
- range
- path: /properties/range
- Type:
object
- Properties
- range . normal
- path: /properties/range/properties/normal
- Type:
integer
- Default:
5
- range . long
- path: /properties/range/properties/long
- Type:
integer
- Default:
0
- throw_range
- path: /properties/throw_range
- Type:
object
- Properties
- throw_range . normal
- path: /properties/throw_range/properties/normal
- Type:
integer
- Default:
0
- throw_range . long
- path: /properties/throw_range/properties/long
- Type:
integer
- Default:
0
- properties
- path: /properties/properties
- Type:
object
- Properties
- properties . Ammunition
- path: /properties/properties/properties/Ammunition
- Type:
string
- properties . Finnesse
- path: /properties/properties/properties/Finnesse
- Type:
boolean
- Default: false
- properties . Heavy
- path: /properties/properties/properties/Heavy
- Type:
boolean
- Default: false
- properties . Light
- path: /properties/properties/properties/Light
- Type:
boolean
- Default: false
- properties . Loading
- path: /properties/properties/properties/Loading
- Type:
boolean
- Default: false
- properties . Monk
- path: /properties/properties/properties/Monk
- Type:
boolean
- Default: false
- properties . Reach
- path: /properties/properties/properties/Reach
- Type:
boolean
- Default: false
- properties . Thrown
- path: /properties/properties/properties/Thrown
- Type:
boolean
- Default: false
- properties . TwoHanded
- path: /properties/properties/properties/TwoHanded
- Type:
boolean
- Default: false
- properties . Versatile
- path: /properties/properties/properties/Versatile
- Type:
boolean
- Default: false
- equipped
- path: /properties/equipped
- Type:
boolean
- Default: false
Generated with json-schema-md-doc