d823c1d0b9
Validation du contenu / validate (push) Successful in 34s
- Structure games/<bggId>-<nom>/ : game.json, scoring.json, rules.fr.json - 7 jeux intégrés à l'app (modèles de score), fiches de règles Azul et 6 qui prend - Schémas JSON générés depuis l'app (autocomplétion dans l'éditeur) - CI : validation avec le validateur de l'app, schémas à jour - Licence CC BY-SA 4.0, guide de contribution
40 lines
742 B
JSON
40 lines
742 B
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"$schema": {
|
|
"type": "string"
|
|
},
|
|
"schemaVersion": {
|
|
"type": "number",
|
|
"const": 1
|
|
},
|
|
"bggId": {
|
|
"type": "integer",
|
|
"exclusiveMinimum": 0
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 60
|
|
},
|
|
"slug": {
|
|
"type": "string",
|
|
"pattern": "^[a-z0-9][a-z0-9_-]*$",
|
|
"maxLength": 60
|
|
},
|
|
"officialRulesUrl": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"pattern": "^https\\:\\/\\/"
|
|
}
|
|
},
|
|
"required": [
|
|
"schemaVersion",
|
|
"bggId",
|
|
"name"
|
|
],
|
|
"additionalProperties": false,
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Jeu Skori (game.json)"
|
|
}
|