diff options
Diffstat (limited to 'resources/rules-presets/input-file-schema.json')
| -rw-r--r-- | resources/rules-presets/input-file-schema.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/resources/rules-presets/input-file-schema.json b/resources/rules-presets/input-file-schema.json new file mode 100644 index 0000000..1b55e4f --- /dev/null +++ b/resources/rules-presets/input-file-schema.json @@ -0,0 +1,32 @@ +{ + "$schema": "http://json-schema.org/draft-04/schema#", + "definitions": { + "card": { + "type": "string", + "pattern": "^(?i)([A|[1-9]|1[0-3]|J|Q|K])([C|D|H|S])$" + } + }, + "type": "object", + "properties": { + "tableau piles": { + "type": "array", + "items": { + "type": "array", + "items": { + "$ref": "#/definitions/card" + } + } + }, + "hole card": { + "$ref": "#/definitions/card" + } + }, + "additionalProperties": false, + "anyOf": [ + { + "required": [ + "tableau piles" + ] + } + ] +}
\ No newline at end of file |
