Files
libretro/schemas/registry.schema.json
T
Abdessamad Derraz 4d3f589ef4 refactor: drop the archived platform status
RetroPie was the only platform with status: archived, which kept it out
of verify --all, slots, the pipeline and list_platforms unless
--include-archived was typed. release_pack already decides which packs a
release publishes and the installer serves every platform, so the status
set nothing apart. The field, its schema entry and the flag are gone, and
RetroPie is covered by every full run like any other platform.
2026-11-06 11:52:34 +01:00

29 lines
1.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://abdess.github.io/retrobios/api/v1/schemas/registry.schema.json",
"title": "RetroBIOS platform registry",
"description": "platforms/_registry.yml: each registered platform and whether a release publishes a ZIP pack for it. Install detection and the other per-platform fields are read by their own tools.",
"type": "object",
"required": ["platforms"],
"properties": {
"platforms": {
"type": "object",
"minProperties": 1,
"propertyNames": { "pattern": "^[a-z0-9_]+$" },
"additionalProperties": {
"type": "object",
"required": ["config"],
"properties": {
"config": { "type": "string", "pattern": "\\.yml$" },
"release_pack": {
"description": "true when a release publishes the platform's full ZIP pack. Absent or false: the installer serves the platform, its manifest is written all the same.",
"type": "boolean"
},
"device_group": { "type": "string" },
"extract_to": { "type": ["string", "null"] }
}
}
}
}
}