{ "lexicon": 1, "id": "ai.syui.system", "revision": 1, "description": "Syui's system definitions for game logic and metaphysics", "defs": { "main": { "type": "record", "record": { "key": "self", "recordType": "document", "schema": { "type": "object", "required": ["card", "system"], "properties": { "card": { "type": "array", "items": { "$ref": "#card" } }, "system": { "type": "array", "items": { "$ref": "#system" } }, "weapon": { "type": "array", "items": { "$ref": "#weapon" } }, "ability": { "type": "array", "items": { "$ref": "#ability" } }, "character": { "type": "array", "items": { "$ref": "#character" } } } } } }, "card": { "type": "object", "required": ["id", "img", "name", "lang"], "properties": { "id": { "type": "integer" }, "img": { "type": "string" }, "name": { "type": "string" }, "lang": { "type": "object", "properties": { "ja": { "type": "object", "properties": { "name": { "type": "string" }, "text": { "type": "string" } } } } } } }, "system": { "type": "object", "required": ["id", "enum", "name", "lang"], "properties": { "id": { "type": "integer" }, "enum": { "type": "array", "items": { "type": "string" } }, "name": { "type": "string" }, "alias": { "type": "array", "items": { "type": "string" } }, "lang": { "type": "object", "properties": { "ja": { "type": "string" } } }, "description": { "type": "string" } } }, "weapon": { "type": "object", "required": ["id", "img", "name", "lang"], "properties": { "id": { "type": "integer" }, "img": { "type": "string" }, "name": { "type": "string" }, "lang": { "type": "object", "properties": { "ja": { "type": "object", "properties": { "name": { "type": "string" }, "text": { "type": "string" } } } } } } }, "ability": { "type": "object", "required": ["id", "name", "color"], "properties": { "id": { "type": "integer" }, "name": { "type": "string" }, "lang": { "type": "object", "properties": { "ja": { "type": "string" } } }, "color": { "type": "string" }, "group": { "type": "array", "items": { "type": "string" } }, "duration": { "type": "integer" }, "multiplier": { "type": "object", "additionalProperties": { "type": "number" } } } }, "character": { "type": "object", "required": ["id", "name", "lang"], "properties": { "id": { "type": "integer" }, "img": { "type": "string" }, "name": { "type": "string" }, "lang": { "type": "object", "properties": { "ja": { "type": "object", "properties": { "name": { "type": "string" }, "text": { "type": "string" }, "description": { "type": "string" } } } } }, "text": { "type": "string" } } } } }