| 1 |
{ |
| 2 |
"$schema": "http://json-schema.org/draft/2020-12/schema#", |
| 3 |
"type": "object", |
| 4 |
"required": ["version"], |
| 5 |
"properties": { |
| 6 |
"version": { |
| 7 |
"description": "The data version of snippet file to generate.", |
| 8 |
"oneOf": [ |
| 9 |
{ |
| 10 |
"type": "integer", |
| 11 |
"const": 1 |
| 12 |
}, |
| 13 |
{ |
| 14 |
"type": "object", |
| 15 |
"required": [ |
| 16 |
"major" |
| 17 |
], |
| 18 |
"properties": { |
| 19 |
"major": { |
| 20 |
"type": "integer", |
| 21 |
"const": 1 |
| 22 |
}, |
| 23 |
"minor": { |
| 24 |
"type": "integer", |
| 25 |
"const": 0 |
| 26 |
} |
| 27 |
}, |
| 28 |
"additionalProperties": false |
| 29 |
} |
| 30 |
] |
| 31 |
}, |
| 32 |
"callbacks": { |
| 33 |
"type": "array", |
| 34 |
"description": "A list of command-line strings for callbacks to handle collected instrumentation data. Whenever these callbacks are executed, the full path to a v1 Index File is appended to the arguments included in the string.", |
| 35 |
"items": { |
| 36 |
"type": "string" |
| 37 |
} |
| 38 |
}, |
| 39 |
"hooks": { |
| 40 |
"type": "array", |
| 41 |
"description": "A list of strings specifying when indexing should occur automatically. These are the intervals when instrumentation data should be collated and user callbacks should be invoked to handle the data.", |
| 42 |
"items": { |
| 43 |
"enum": [ |
| 44 |
"postGenerate", |
| 45 |
"preBuild", |
| 46 |
"postBuild", |
| 47 |
"preCMakeBuild", |
| 48 |
"postCMakeBuild", |
| 49 |
"postCMakeInstall", |
| 50 |
"postCMakeWorkflow", |
| 51 |
"postCTest" |
| 52 |
], |
| 53 |
"type": "string" |
| 54 |
}, |
| 55 |
"uniqueItems": true |
| 56 |
}, |
| 57 |
"options": { |
| 58 |
"type": "array", |
| 59 |
"description": "A list of strings used to enable certain optional behavior, including the collection of certain additional data.", |
| 60 |
"uniqueItems": true, |
| 61 |
"items": { |
| 62 |
"enum": [ |
| 63 |
"staticSystemInformation", |
| 64 |
"dynamicSystemInformation", |
| 65 |
"cdashSubmit", |
| 66 |
"cdashVerbose", |
| 67 |
"trace" |
| 68 |
], |
| 69 |
"type": "string" |
| 70 |
} |
| 71 |
} |
| 72 |
} |
| 73 |
} |