9d323e7d94
Validation du contenu / validate (push) Has been cancelled
- champ starter des modèles d'Azul (jeton premier joueur), d'Harmonies (main fixe), d'Odin (joueur suivant) et des Chouineurs (meilleur total) ; - documente les icônes de catégories et du joueur qui a la main dans assets/, et les créations originales (« original »: true, sans source) ; - schémas régénérés. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
79 lines
1.7 KiB
JSON
79 lines
1.7 KiB
JSON
{
|
|
"type": "object",
|
|
"properties": {
|
|
"$schema": {
|
|
"type": "string"
|
|
},
|
|
"schemaVersion": {
|
|
"type": "number",
|
|
"const": 1
|
|
},
|
|
"files": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"file": {
|
|
"type": "string",
|
|
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*\\.(png|jpe?g|webp)$"
|
|
},
|
|
"role": {
|
|
"type": "string",
|
|
"enum": [
|
|
"logo",
|
|
"banner",
|
|
"category-icon",
|
|
"starter-icon"
|
|
]
|
|
},
|
|
"category": {
|
|
"type": "string",
|
|
"pattern": "^[a-z0-9][a-z0-9_-]*$"
|
|
},
|
|
"license": {
|
|
"type": "string",
|
|
"enum": [
|
|
"CC0-1.0",
|
|
"CC-BY-4.0",
|
|
"CC-BY-SA-4.0",
|
|
"publisher-permission"
|
|
]
|
|
},
|
|
"author": {
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"maxLength": 120
|
|
},
|
|
"original": {
|
|
"type": "boolean"
|
|
},
|
|
"source": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"pattern": "^https\\:\\/\\/"
|
|
},
|
|
"permission": {
|
|
"type": "string",
|
|
"format": "uri",
|
|
"pattern": "^https\\:\\/\\/"
|
|
}
|
|
},
|
|
"required": [
|
|
"file",
|
|
"role",
|
|
"license"
|
|
],
|
|
"additionalProperties": false
|
|
},
|
|
"minItems": 1
|
|
}
|
|
},
|
|
"required": [
|
|
"schemaVersion",
|
|
"files"
|
|
],
|
|
"additionalProperties": false,
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Images libres d'un jeu (assets/assets.json)"
|
|
}
|