-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
289 lines (289 loc) · 10.2 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
{
"$schema": "http://json-schema.org/draft/2020-12/schema",
"$ref": "#/$defs/RvmBuilder",
"$defs": {
"AutoColorRule": {
"properties": {
"selection": {
"description": "A PML expressions to select elements",
"type": "string"
},
"color": {
"description": "Sets the color for the selection.",
"type": "string",
"pattern": "^#[A-Fa-f0-9]{6}$",
"format": "color"
},
"translucency": {
"description": "Sets the translucency for the selection. (0 = opaque; 99 = transparent)",
"type": "integer",
"minimum": 0,
"maximum": 99
}
},
"additionalProperties": false,
"type": "object",
"required": [
"selection",
"color"
]
},
"DumpAttOption": {
"properties": {
"filename": {
"description": "A file path to save the attribute dump file.",
"type": "string"
},
"selection": {
"description": "A PML expressions to select elements",
"type": "string"
},
"additionalAtts": {
"description": "Additional non standard attributes to dump",
"items": {
"type": "string"
},
"type": "array"
},
"hasNoData": {
"description": "If true, dumping attributes that have unset or =0/0 is enabled.",
"type": "boolean"
},
"hasUda": {
"description": "If true, dumping UDA is enabled.",
"type": "boolean"
}
},
"additionalProperties": false,
"type": "object",
"required": [
"filename",
"selection",
"hasNoData",
"hasUda"
]
},
"ExportOption": {
"properties": {
"filename": {
"description": "A file path to save the RVM file.",
"type": "string"
},
"rvmType": {
"description": "Specifies the RVM file format.",
"enum": [
"binary",
"text"
],
"default": "binary",
"type": "string"
},
"filenote": {
"description": "Adds a line of user-supplied text to the model file header.",
"type": "string"
},
"encoding": {
"description": "Specifies the character encoding",
"default": "utfeight",
"type": "string"
},
"impliedTube": {
"description": "Which container implied tubes is exported into",
"enum": [
"single",
"separate",
"upstream",
"downstream"
],
"default": "separate",
"type": "string"
},
"holes": {
"description": "If on, represents holes.",
"enum": [
"off",
"on",
"solid"
],
"default": "on",
"type": "string"
},
"repr": {
"description": "If on, representation settings is enabled.",
"enum": [
"off",
"on"
],
"default": "on",
"type": "string"
},
"reprCl": {
"description": "If on, represents tubing as center line.",
"enum": [
"off",
"on"
],
"default": "off",
"type": "string"
},
"reprTube": {
"description": "If on, represents tubing as solid tube.",
"enum": [
"off",
"on"
],
"default": "on",
"type": "string"
},
"reprInsu": {
"description": "If on, shows insulation.",
"enum": [
"off",
"on"
],
"default": "off",
"type": "string"
},
"reprObst": {
"description": "If on, shows elements out of levels range.",
"enum": [
"off",
"on"
],
"default": "off",
"type": "string"
},
"reprLevel": {
"description": "Sets the drawing level for the other elements.",
"type": "integer",
"default": 6,
"minimum": 0,
"maximum": 10
},
"reprLevelPipe": {
"description": "Sets the drawing level for piping.",
"type": "integer",
"default": 6,
"minimum": 0,
"maximum": 10
},
"reprLevelNozz": {
"description": "Sets the drawing level for nozzles.",
"type": "integer",
"default": 6,
"minimum": 0,
"maximum": 10
},
"reprLevelStru": {
"description": "Sets the drawing level for structures.",
"type": "integer",
"default": 6,
"minimum": 0,
"maximum": 10
},
"autoColor": {
"description": "If on, autocolor settings is enabled.",
"enum": [
"off",
"on"
],
"default": "on",
"type": "string"
},
"autoColorDisplayExport": {
"description": "If on, uses the same autocolor rules as Design module.",
"enum": [
"off",
"on"
],
"default": "off",
"type": "string"
},
"globalTranslucency": {
"description": "Sets translucency for all of the autocolor rules that set no translucency. (0 = opaque; 99 = transparent)",
"type": "integer",
"minimum": 0,
"maximum": 99
},
"autoColorRules": {
"description": "Color settings for each element types",
"items": {
"$ref": "#/$defs/AutoColorRule"
},
"type": "array"
},
"exportInclude": {
"description": "Elements to include in the export",
"items": {
"type": "string"
},
"type": "array"
},
"exportExclude": {
"description": "Elements to exclude from the export",
"items": {
"type": "string"
},
"type": "array"
},
"additionalCmds": {
"description": "Additional PML commands",
"items": {
"type": "string"
},
"type": "array"
}
},
"additionalProperties": false,
"type": "object"
},
"RvmBuilder": {
"properties": {
"filename": {
"description": "A file path to save the NWD file.",
"type": "string"
},
"workingDir": {
"description": "A directory path to save temporary files",
"type": "string"
},
"filetoolsTaskRunner": {
"description": "A file path of FileToolsTaskRunner.exe in Navisworks",
"type": "string"
},
"nwdVersion": {
"description": "Specifies the NWD file version.",
"type": "string"
},
"exportDefault": {
"description": "Global settings to export RVM files",
"$ref": "#/$defs/ExportOption"
},
"exportRvms": {
"description": "Settings to export each RVM file",
"items": {
"$ref": "#/$defs/ExportOption"
},
"type": "array"
},
"dumpAtt": {
"description": "If true, dumping attributes is enabled.",
"type": "boolean"
},
"dumpAttOption": {
"description": "Options to dump attributes",
"$ref": "#/$defs/DumpAttOption"
}
},
"additionalProperties": true,
"type": "object",
"required": [
"filename",
"workingDir",
"filetoolsTaskRunner",
"exportRvms",
"dumpAtt"
]
}
}
}