| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "$id": "https://github.com/linux-msm/hexagon-dsp-binaries/conf.d/schema.json", |
| 4 | "title": "hexagon-dsp-binaries conf.d entry", |
| 5 | "description": "Schema for conf.d/hexagon-dsp-binaries-*.yaml files.", |
| 6 | "type": "object", |
| 7 | "additionalProperties": false, |
| 8 | "required": ["machines"], |
| 9 | "properties": { |
| 10 | "machines": { |
| 11 | "type": "object", |
| 12 | "minProperties": 1, |
| 13 | "patternProperties": { |
| 14 | "^.+$": { |
| 15 | "type": "object", |
| 16 | "additionalProperties": false, |
| 17 | "required": ["DSP_LIBRARY_PATH"], |
| 18 | "properties": { |
| 19 | "DSP_LIBRARY_PATH": { |
| 20 | "type": "string", |
| 21 | "pattern": "^([^/]+/)+dsp$" |
| 22 | }, |
| 23 | "ADSP_ARCH": { |
| 24 | "type": "string", |
| 25 | "pattern": "^v[0-9a-f]+$" |
| 26 | }, |
| 27 | "MDSP_ARCH": { |
| 28 | "type": "string", |
| 29 | "pattern": "^v[0-9a-f]+$" |
| 30 | }, |
| 31 | "SDSP_ARCH": { |
| 32 | "type": "string", |
| 33 | "pattern": "^v[0-9a-f]+$" |
| 34 | }, |
| 35 | "CDSP_ARCH": { |
| 36 | "type": "string", |
| 37 | "pattern": "^v[0-9a-f]+$" |
| 38 | } |
| 39 | } |
| 40 | } |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | } |