diff options
| author | Charlie Blake | 2018-02-15 12:48:35 +0000 |
|---|---|---|
| committer | GitHub | 2018-02-15 12:48:35 +0000 |
| commit | 9e865ef56ff2b90695343e2e5b7be6e05b2c56f4 (patch) | |
| tree | 7cd620ee74084d74d849b44fae2db3897763cadb /resources/rules-presets/input-file-schema.json | |
| parent | Merge pull request #37 from thecharlesblake/docs (diff) | |
| parent | Add simple auto-found + works w/ removable founds (diff) | |
| download | metasol-9e865ef56ff2b90695343e2e5b7be6e05b2c56f4.tar.gz metasol-9e865ef56ff2b90695343e2e5b7be6e05b2c56f4.zip | |
Merge pull request #38 from thecharlesblake/foundation-dominance
Foundation dominance
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 |
