Cleans up import and export options.

This commit is contained in:
2026-09-20 19:10:43 -07:00
parent 77176a6d4f
commit a3998d6c1d
31 changed files with 2280 additions and 110 deletions

View File

@@ -0,0 +1,87 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://majinnaibu.com/schemas/monster-card.schema.json",
"title": "MonsterCard",
"description": "JSON Schema for MonsterCards .card files",
"type": "object",
"required": [
"name",
"schemaVersion"
],
"properties": {
"$schema": {
"type": "string",
"format": "uri"
},
"schemaVersion": {
"type": "integer",
"minimum": 1
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"size": {
"type": "string"
},
"type": {
"type": "string"
},
"subtype": {
"type": "string"
},
"alignment": {
"type": "string"
},
"strengthScore": {
"type": "integer"
},
"dexterityScore": {
"type": "integer"
},
"constitutionScore": {
"type": "integer"
},
"intelligenceScore": {
"type": "integer"
},
"wisdomScore": {
"type": "integer"
},
"charismaScore": {
"type": "integer"
},
"hitDice": {
"type": "integer"
},
"walkSpeed": {
"type": "integer"
},
"burrowSpeed": {
"type": "integer"
},
"climbSpeed": {
"type": "integer"
},
"flySpeed": {
"type": "integer"
},
"swimSpeed": {
"type": "integer"
},
"abilities": {
"type": "array"
},
"actions": {
"type": "array"
},
"reactions": {
"type": "array"
},
"legendaryActions": {
"type": "array"
}
}
}