| 1 | { |
| 2 | "$schema": "https://raw.githubusercontent.com/dolphin-emu/dolphin/master/docs/game-mod-descriptor.json", |
| 3 | "title": "Dolphin Game Mod Descriptor", |
| 4 | "type": "object", |
| 5 | "required": ["type", "version", "base-file"], |
| 6 | "properties": { |
| 7 | "type": { |
| 8 | "type": "string", |
| 9 | "pattern": "^dolphin-game-mod-descriptor$" |
| 10 | }, |
| 11 | "version": { |
| 12 | "type": "integer" |
| 13 | }, |
| 14 | "base-file": { |
| 15 | "type": "string" |
| 16 | }, |
| 17 | "display-name": { |
| 18 | "type": "string" |
| 19 | }, |
| 20 | "maker": { |
| 21 | "type": "string" |
| 22 | }, |
| 23 | "banner": { |
| 24 | "type": "string" |
| 25 | }, |
| 26 | "riivolution": { |
| 27 | "type": "object", |
| 28 | "required": ["patches"], |
| 29 | "properties": { |
| 30 | "patches": { |
| 31 | "type": "array", |
| 32 | "items": { |
| 33 | "type": "object", |
| 34 | "required": ["xml", "root", "options"], |
| 35 | "properties": { |
| 36 | "xml": { |
| 37 | "type": "string" |
| 38 | }, |
| 39 | "root": { |
| 40 | "type": "string" |
| 41 | }, |
| 42 | "options": { |
| 43 | "type": "array", |
| 44 | "items": { |
| 45 | "type": "object", |
| 46 | "required": ["choice"], |
| 47 | "properties": { |
| 48 | "section-name": { |
| 49 | "type": "string" |
| 50 | }, |
| 51 | "option-id": { |
| 52 | "type": "string" |
| 53 | }, |
| 54 | "option-name": { |
| 55 | "type": "string" |
| 56 | }, |
| 57 | "choice": { |
| 58 | "type": "integer" |
| 59 | } |
| 60 | } |
| 61 | } |
| 62 | } |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | } |
| 68 | } |
| 69 | } |