{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://abdess.github.io/retrobios/api/v1/schemas/release.schema.json", "title": "RetroBIOS release record", "description": "What the packs of the latest release hold, read from the archives when the release is cut.", "type": "object", "additionalProperties": false, "required": ["schema_version", "tag", "packs"], "properties": { "schema_version": { "const": 1, "description": "Format version of this record, raised when a field changes meaning or goes away." }, "tag": { "type": "string", "pattern": "^v[0-9]{4}\\.[0-9]{2}\\.[0-9]{2}$" }, "packs": { "type": "object", "minProperties": 1, "propertyNames": { "pattern": "_BIOS_Pack\\.zip$" }, "additionalProperties": { "type": "object", "additionalProperties": false, "required": ["files", "extracted_size", "download_size", "assets", "platforms"], "properties": { "platforms": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string" } }, "files": { "type": "integer", "minimum": 1 }, "extracted_size": { "type": "integer", "minimum": 0 }, "download_size": { "type": "integer", "minimum": 1 }, "assets": { "type": "array", "minItems": 1, "uniqueItems": true, "items": { "type": "string" } } } } } } }