30 lines
578 B
YAML
30 lines
578 B
YAML
$id: https://hyperboria.babyl.ca/character.json
|
|
title: Hyperboria character sheet
|
|
type: object
|
|
additionalProperties: false
|
|
required:
|
|
- name
|
|
- player
|
|
- statistics
|
|
properties:
|
|
name: &string
|
|
type: string
|
|
player: *string
|
|
statistics:
|
|
type: object
|
|
allRequired: true
|
|
properties:
|
|
strength: &stat
|
|
$ref: '#/$defs/statistic'
|
|
dexterity: *stat
|
|
constitution: *stat
|
|
intelligence: *stat
|
|
wisdom: *stat
|
|
charisma: *stat
|
|
$defs:
|
|
statistic:
|
|
type: number
|
|
minimum: 1
|
|
maximum: 20
|
|
|