Files
libretro/schemas/target-manifest.schema.json
T
Abdessamad Derraz a2e8809945 fix: map a card's image name to its board
Batocera and KNULLI write the image name, not the board, to the card's board file (post-image-script.sh). The target scraper now records each board's images from Config.in, the target lists carry them, and the installer maps a card's image to its board. KNULLI's boot/knulli.board is read too.
2026-11-06 03:40:34 +01:00

26 lines
1.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://abdess.github.io/retrobios/api/v1/schemas/target-manifest.schema.json",
"title": "RetroBIOS hardware target manifest",
"description": "Per-target core availability. A null core list means the target publishes no inventory: a known target with no filter, not an absent one.",
"type": "object",
"additionalProperties": {
"oneOf": [
{ "type": "null" },
{ "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
{
"type": "object",
"additionalProperties": false,
"required": ["cores"],
"properties": {
"cores": { "type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true },
"images": {
"description": "The image names the target builds, as a card's board file writes them (boot/batocera.board, boot/knulli.board).",
"type": "array", "items": { "type": "string", "minLength": 1 }, "uniqueItems": true
}
}
}
]
}
}