Files
skori_games/schemas/rules.schema.json
T
homer d823c1d0b9
Validation du contenu / validate (push) Successful in 34s
Initialise le catalogue de jeux Skori
- 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
2026-10-18 21:19:01 +02:00

65 lines
1.1 KiB
JSON

{
"type": "object",
"properties": {
"$schema": {
"type": "string"
},
"schemaVersion": {
"type": "number",
"const": 1
},
"locale": {
"type": "string",
"enum": [
"fr"
],
"default": "fr"
},
"summary": {
"type": "string",
"maxLength": 300,
"minLength": 1
},
"goal": {
"type": "string",
"maxLength": 1000,
"minLength": 1
},
"setup": {
"type": "string",
"maxLength": 3000
},
"turn": {
"type": "string",
"maxLength": 5000,
"minLength": 1
},
"end": {
"type": "string",
"maxLength": 2000
},
"scoring": {
"type": "string",
"maxLength": 3000
},
"tips": {
"type": "string",
"maxLength": 2000
},
"officialRulesUrl": {
"type": "string",
"format": "uri",
"pattern": "^https\\:\\/\\/"
}
},
"required": [
"schemaVersion",
"summary",
"goal",
"turn"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Fiche de règles Skori (rules.fr.json)"
}