Debian Codegraph @

.vscode/schemas/define.schema.json

raw
1 {
2 "$schema": "http://json-schema.org/draft-07/schema#",
3 "type": "array",
4 "items": {
5 "type": "object",
6 "additionalProperties": false,
7 "properties": {
8 "name": {
9 "type": "string",
10 "markdownDescription": "OCaml name of the define."
11 },
12 "define": {
13 "type": "string",
14 "markdownDescription": "Actual name of the define as it's used in `-D` on the CLI and in Haxe code."
15 },
16 "doc": {
17 "type": "string",
18 "markdownDescription": "Documentation for the define that is shown in `--help-defines`."
19 },
20 "platforms": {
21 "type": "array",
22 "markdownDescription": "Platforms on which this define has an effect.",
23 "minItems": 1,
24 "items": {
25 "enum": [
26 "js",
27 "lua",
28 "neko",
29 "flash",
30 "php",
31 "cpp",
32 "cs",
33 "java",
34 "python",
35 "hl",
36 "eval"
37 ]
38 }
39 },
40 "params": {
41 "type": "array",
42 "markdownDescription": "Parameters this define takes.",
43 "minItems": 1,
44 "items": {
45 "type": "string"
46 }
47 },
48 "devcomment": {
49 "type": "string",
50 "markdownDescription": "Internal comment that is not exposed."
51 },
52 "links": {
53 "type": "array",
54 "markdownDescription": "Relevant URLs.",
55 "minItems": 1,
56 "items": {
57 "type": "string",
58 "format": "uri"
59 }
60 },
61 "reserved": {
62 "type": "boolean",
63 "markdownDescription": "Reserved defines may not be defined from the command line."
64 },
65 "deprecated": {
66 "type": "string",
67 "markdownDescription": "Reason for the define to be deprecated."
68 }
69 },
70 "required": [
71 "name",
72 "define",
73 "doc"
74 ]
75 }
76 }