{ "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" ] }, "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 }, "source": { "type": "string", "format": "uri", "pattern": "^https\\:\\/\\/" }, "permission": { "type": "string", "format": "uri", "pattern": "^https\\:\\/\\/" } }, "required": [ "file", "role", "license", "source" ], "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)" }