Establish shared domain schemas and offline validation
This commit is contained in:
9
examples/campaign.yml
Normal file
9
examples/campaign.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
schema_version: maximumdirect.campaign.v1
|
||||
id: lantern-coast
|
||||
name: Lantern Coast Expedition
|
||||
description: A synthetic coastal exploration campaign.
|
||||
setting: Lantern Coast
|
||||
system: Sample Fantasy
|
||||
references:
|
||||
party: party.yml
|
||||
glossaries: [glossary.yml]
|
||||
22
examples/glossary.yml
Normal file
22
examples/glossary.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
schema_version: maximumdirect.glossary.v1
|
||||
collections:
|
||||
campaign:
|
||||
entries:
|
||||
- id: lighthouse
|
||||
name: Glass Lantern
|
||||
category: place
|
||||
aliases: [The Lantern]
|
||||
description: A fictional lighthouse at the entrance to the bay.
|
||||
spells:
|
||||
provenance:
|
||||
id: lantern-coast-original
|
||||
ruleset: sample-fantasy
|
||||
title: Synthetic campaign spells
|
||||
version: "1"
|
||||
license: CC0-1.0
|
||||
entries:
|
||||
- id: ember-veil
|
||||
name: Ember Veil
|
||||
category: spell
|
||||
aliases: [Veil of Embers]
|
||||
casting_time: one action
|
||||
15
examples/party.yml
Normal file
15
examples/party.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
schema_version: maximumdirect.party.v1
|
||||
characters:
|
||||
mira:
|
||||
player:
|
||||
name: Rowan
|
||||
character:
|
||||
name: Mira Vale
|
||||
aliases: [Mira, The Lantern]
|
||||
classes:
|
||||
- name: ranger
|
||||
level: 3
|
||||
homeland: Lantern Coast
|
||||
guide-npc:
|
||||
character:
|
||||
name: Tavi
|
||||
16
examples/sports.yml
Normal file
16
examples/sports.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
schema_version: maximumdirect.glossary.v1
|
||||
collections:
|
||||
clubs:
|
||||
sport: association football
|
||||
entries:
|
||||
- id: harbour
|
||||
name: Harbour Wanderers
|
||||
category: club
|
||||
aliases: []
|
||||
plural: null
|
||||
home_ground: Lantern Park
|
||||
venues:
|
||||
entries:
|
||||
- id: harbour
|
||||
name: Lantern Park
|
||||
category: venue
|
||||
12
examples/weather.json
Normal file
12
examples/weather.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"schema_version": "maximumdirect.glossary.v1",
|
||||
"collections": {
|
||||
"measurements": {
|
||||
"unit_system": "metric",
|
||||
"entries": [
|
||||
{"id": "temperature", "name": "Air temperature", "category": "measurement", "aliases": ["Temperature"], "unit": "degree Celsius"},
|
||||
{"id": "precipitation", "name": "Precipitation", "category": "measurement", "aliases": null, "unit": "millimetre"}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
15
examples/weather.yml
Normal file
15
examples/weather.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
schema_version: maximumdirect.glossary.v1
|
||||
collections:
|
||||
measurements:
|
||||
unit_system: metric
|
||||
entries:
|
||||
- id: temperature
|
||||
name: Air temperature
|
||||
category: measurement
|
||||
aliases: [Temperature]
|
||||
unit: degree Celsius
|
||||
- id: precipitation
|
||||
name: Precipitation
|
||||
category: measurement
|
||||
aliases: null
|
||||
unit: millimetre
|
||||
Reference in New Issue
Block a user