You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
102 lines
1.8 KiB
102 lines
1.8 KiB
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Config",
|
|
"type": "object",
|
|
"required": [
|
|
"available_cards",
|
|
"name",
|
|
"piles",
|
|
"player_piles",
|
|
"script"
|
|
],
|
|
"properties": {
|
|
"authors": {
|
|
"default": [],
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"available_cards": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/Card"
|
|
}
|
|
},
|
|
"default_back": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"piles": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/Pile"
|
|
}
|
|
},
|
|
"player_piles": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"$ref": "#/definitions/Pile"
|
|
}
|
|
},
|
|
"script": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"default": "0.0.0",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"definitions": {
|
|
"Card": {
|
|
"type": "object",
|
|
"required": [
|
|
"image"
|
|
],
|
|
"properties": {
|
|
"back_image": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"image": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
},
|
|
"Pile": {
|
|
"type": "object",
|
|
"required": [
|
|
"name"
|
|
],
|
|
"properties": {
|
|
"cards": {
|
|
"default": [],
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"face_down": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"visible": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"additionalProperties": true
|
|
}
|
|
}
|
|
}
|