24 lines
784 B
JSON
24 lines
784 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://schemas.maximumdirect.net/rpg/campaign/v0.2.0/schema.json",
|
|
"title": "MAXIMUMDIRECT RPG Campaign v1",
|
|
"type": "object",
|
|
"required": ["schema_version", "id"],
|
|
"properties": {
|
|
"schema_version": {"const": "maximumdirect.rpg.campaign.v1"},
|
|
"id": {"$ref": "#/$defs/text"},
|
|
"name": {"$ref": "#/$defs/text"},
|
|
"description": {"type": "string"},
|
|
"setting": {"$ref": "#/$defs/text"},
|
|
"system": {"$ref": "#/$defs/text"},
|
|
"references": {
|
|
"type": "object",
|
|
"properties": {
|
|
"party": {"$ref": "#/$defs/text"},
|
|
"glossaries": {"type": "array", "items": {"$ref": "#/$defs/text"}}
|
|
}
|
|
}
|
|
},
|
|
"$defs": {"text": {"type": "string", "minLength": 1}}
|
|
}
|