{ "$schema": "http://json-schema.org/draft-07/schema#", "$id": "actions.json", "version": "1.1.1", "type": "object", "properties": { "action": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "entries": { "type": "array", "items": { "$ref": "entry.json" } }, "source": { "type": "string" }, "page": { "type": "integer" }, "fromVariant": { "type": "string" }, "time": { "type": "array", "items": { "oneOf": [ {"type": "string"}, { "type": "object", "properties": { "unit": { "type": "string", "enum": ["action", "bonus", "reaction"] }, "number": { "type": "integer" } }, "required": ["unit", "number"], "additionalProperties": false } ] } }, "srd": { "$ref": "util.json#/definitions/srd" }, "seeAlsoAction": { "type": "array", "items": { "type": "string" } } }, "required": [ "name", "entries", "source", "page" ], "additionalProperties": false } } }, "required": [ "action" ], "additionalProperties": false }