mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-24 14:24:54 +00:00
docs: Add JSON Schema for game mod descriptors.
This commit is contained in:
parent
b50861ea44
commit
aa0595589a
1 changed files with 66 additions and 0 deletions
66
docs/game-mod-descriptor.json
Normal file
66
docs/game-mod-descriptor.json
Normal file
|
@ -0,0 +1,66 @@
|
|||
{
|
||||
"$schema": "https://raw.githubusercontent.com/dolphin-emu/dolphin/master/docs/game-mod-descriptor.json",
|
||||
"title": "Dolphin Game Mod Descriptor",
|
||||
"type": "object",
|
||||
"required": ["type", "version", "base-file"],
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"pattern": "^dolphin-game-mod-descriptor$"
|
||||
},
|
||||
"version": {
|
||||
"type": "integer"
|
||||
},
|
||||
"base-file": {
|
||||
"type": "string"
|
||||
},
|
||||
"display-name": {
|
||||
"type": "string"
|
||||
},
|
||||
"banner": {
|
||||
"type": "string"
|
||||
},
|
||||
"riivolution": {
|
||||
"type": "object",
|
||||
"required": ["patches"],
|
||||
"properties": {
|
||||
"patches": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["xml", "root", "options"],
|
||||
"properties": {
|
||||
"xml": {
|
||||
"type": "string"
|
||||
},
|
||||
"root": {
|
||||
"type": "string"
|
||||
},
|
||||
"options": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["choice"],
|
||||
"properties": {
|
||||
"section-name": {
|
||||
"type": "string"
|
||||
},
|
||||
"option-id": {
|
||||
"type": "string"
|
||||
},
|
||||
"option-name": {
|
||||
"type": "string"
|
||||
},
|
||||
"choice": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue