| diagram |  | ||||||||||||||||||
| location | C:\x3d-code\www.web3d.org\specifications\x3d-3.3-JSONSchema.json | ||||||||||||||||||
| type | Object | ||||||||||||||||||
| properties | 
 | ||||||||||||||||||
| used by | Scene / -children > array items [0]+ / Schema / Switch TransformSensor / -targetObject > array items [0]+ / Schema / Switch -allNodes > array items [0]+ / Schema / Switch -child / Switch -children > array items [0]+ / Schema / Switch -grouping > array items [0]+ / Schema / Switch -pickTarget > array items [0]+ / Schema / Switch | ||||||||||||||||||
| source code | "Switch": { "type": "object", "properties": { "@DEF": { "type": "string" }, "@USE": { "type": "string" }, "IS": { "$ref": "#/definitions/IS" }, "@bboxCenter": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "default": 0 } }, "@bboxSize": { "$ref": "#/definitions/@bboxSize" }, "@whichChoice": { "type": "integer", "minimum": -1, "default": -1 }, "-children": { "$ref": "#/definitions/-children" }, "-metadata": { "$ref": "#/definitions/-metadata" } }, "additionalProperties": false } | 
| diagram |  | ||
| property details | 
 | ||
| type | String | ||
| source code | "@DEF": { "type": "string" } | 
| diagram |  | ||
| property details | 
 | ||
| type | String | ||
| source code | "@USE": { "type": "string" } | 
| diagram |  | ||
| property details | 
 | ||
| reference | IS | ||
| source code | "IS": { "$ref": "#/definitions/IS" } | 
| diagram |  | ||||
| property details | 
 | ||||
| type | Array | ||||
| array constraints | 
 | ||||
| array items | 
 | ||||
| source code | "@bboxCenter": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "number", "default": 0 } } | 
| diagram |  | ||
| schema details | 
 | ||
| type | Numeric | ||
| source code | { "type": "number", "default": 0 } | 
| diagram |  | ||
| property details | 
 | ||
| reference | @bboxSize | ||
| source code | "@bboxSize": { "$ref": "#/definitions/@bboxSize" } | 
| diagram |  | ||||
| property details | 
 | ||||
| schema details | 
 | ||||
| type | Numeric | ||||
| numeric constraints | 
 | ||||
| source code | "@whichChoice": { "type": "integer", "minimum": -1, "default": -1 } | 
| diagram |  | ||
| property details | 
 | ||
| reference | -children | ||
| source code | "-children": { "$ref": "#/definitions/-children" } | 
| diagram |  | ||
| property details | 
 | ||
| reference | -metadata | ||
| source code | "-metadata": { "$ref": "#/definitions/-metadata" } |