Schema definition CADPart
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p229.png
location E:\x3d-code\www.web3d.org\specifications\x3d-3.3-JSONSchema.json
type Object
properties
Name   Occurrence
@DEF   Optional
@USE   Optional
IS   Optional
@bboxCenter   Optional
@bboxSize   Optional
@center   Optional
@name   Optional
@rotation   Optional
@scale   Optional
@scaleOrientation   Optional
@translation   Optional
-children   Optional
-metadata   Optional
used by Scene / -children > array items [0]+ / Schema / CADPart
TransformSensor / -targetObject > array items [0]+ / Schema / CADPart
-allNodes > array items [0]+ / Schema / CADPart
-child / CADPart
-children > array items [0]+ / Schema / CADPart
-grouping > array items [0]+ / Schema / CADPart
-pickTarget > array items [0]+ / Schema / CADPart
source code "CADPart": {
    "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"
        },
        "@center": {
            "type": "array",
            "minItems": 3,
            "maxItems": 3,
            "items": {
                "type": "number",
                "default": 0
            }
        },
        "@name": {
            "type": "string"
        },
        "@rotation": {
            "$ref": "#/definitions/@rotation"
        },
        "@scale": {
            "type": "array",
            "minItems": 3,
            "maxItems": 3,
            "items": {
                "type": "number",
                "default": 1
            }
        },
        "@scaleOrientation": {
            "$ref": "#/definitions/@rotation"
        },
        "@translation": {
            "type": "array",
            "minItems": 3,
            "maxItems": 3,
            "items": {
                "type": "number",
                "default": 0
            }
        },
        "-children": {
            "type": "array",
            "minItems": 1,
            "items": {
                "type": "object",
                "properties": {
                    "#comment": {
                        "type": "string"
                    },
                    "CADFace": {
                        "$ref": "#/definitions/CADFace"
                    },
                    "ProtoInstance": {
                        "$ref": "#/definitions/ProtoInstance"
                    },
                    "ROUTE": {
                        "$ref": "#/definitions/ROUTE"
                    }
                },
                "additionalProperties": false
            }
        },
        "-metadata": {
            "$ref": "#/definitions/-metadata"
        }
    },
    "additionalProperties": false
}

Property CADPart / @DEF
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p230.png
property details
Occurrence  Optional
type String
source code "@DEF": {
    "type": "string"
}

Property CADPart / @USE
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p231.png
property details
Occurrence  Optional
type String
source code "@USE": {
    "type": "string"
}

Property CADPart / IS
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p232.png
property details
Occurrence  Optional
reference IS
source code "IS": {
    "$ref": "#/definitions/IS"
}

Property CADPart / @bboxCenter
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p233.png
property details
Occurrence  Optional
type Array
array constraints
Min Items  3
Max Items  3
array items
[0 - 2]  Schema
source code "@bboxCenter": {
    "type": "array",
    "minItems": 3,
    "maxItems": 3,
    "items": {
        "type": "number",
        "default": 0
    }
}

Array item wildcard CADPart / @bboxCenter > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p234.png
schema details
Default  0
type Numeric
source code {
    "type": "number",
    "default": 0
}

Property CADPart / @bboxSize
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p235.png
property details
Occurrence  Optional
reference @bboxSize
source code "@bboxSize": {
    "$ref": "#/definitions/@bboxSize"
}

Property CADPart / @center
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p236.png
property details
Occurrence  Optional
type Array
array constraints
Min Items  3
Max Items  3
array items
[0 - 2]  Schema
source code "@center": {
    "type": "array",
    "minItems": 3,
    "maxItems": 3,
    "items": {
        "type": "number",
        "default": 0
    }
}

Array item wildcard CADPart / @center > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p237.png
schema details
Default  0
type Numeric
source code {
    "type": "number",
    "default": 0
}

Property CADPart / @name
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p238.png
property details
Occurrence  Optional
type String
source code "@name": {
    "type": "string"
}

Property CADPart / @rotation
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p239.png
property details
Occurrence  Optional
reference @rotation
source code "@rotation": {
    "$ref": "#/definitions/@rotation"
}

Property CADPart / @scale
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p240.png
property details
Occurrence  Optional
type Array
array constraints
Min Items  3
Max Items  3
array items
[0 - 2]  Schema
source code "@scale": {
    "type": "array",
    "minItems": 3,
    "maxItems": 3,
    "items": {
        "type": "number",
        "default": 1
    }
}

Array item wildcard CADPart / @scale > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p241.png
schema details
Default  1
type Numeric
source code {
    "type": "number",
    "default": 1
}

Property CADPart / @scaleOrientation
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p242.png
property details
Occurrence  Optional
reference @rotation
source code "@scaleOrientation": {
    "$ref": "#/definitions/@rotation"
}

Property CADPart / @translation
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p243.png
property details
Occurrence  Optional
type Array
array constraints
Min Items  3
Max Items  3
array items
[0 - 2]  Schema
source code "@translation": {
    "type": "array",
    "minItems": 3,
    "maxItems": 3,
    "items": {
        "type": "number",
        "default": 0
    }
}

Array item wildcard CADPart / @translation > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p244.png
schema details
Default  0
type Numeric
source code {
    "type": "number",
    "default": 0
}

Property CADPart / -children
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p245.png
property details
Occurrence  Optional
type Array
array constraints
Min Items  1
array items
[0]+  Schema
source code "-children": {
    "type": "array",
    "minItems": 1,
    "items": {
        "type": "object",
        "properties": {
            "#comment": {
                "type": "string"
            },
            "CADFace": {
                "$ref": "#/definitions/CADFace"
            },
            "ProtoInstance": {
                "$ref": "#/definitions/ProtoInstance"
            },
            "ROUTE": {
                "$ref": "#/definitions/ROUTE"
            }
        },
        "additionalProperties": false
    }
}

Array item wildcard CADPart / -children > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p246.png
type Object
properties
Name   Occurrence
#comment   Optional
CADFace   Optional
ProtoInstance   Optional
ROUTE   Optional
source code {
    "type": "object",
    "properties": {
        "#comment": {
            "type": "string"
        },
        "CADFace": {
            "$ref": "#/definitions/CADFace"
        },
        "ProtoInstance": {
            "$ref": "#/definitions/ProtoInstance"
        },
        "ROUTE": {
            "$ref": "#/definitions/ROUTE"
        }
    },
    "additionalProperties": false
}

Property CADPart / -children > array items [0]+ / Schema / #comment
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p247.png
property details
Occurrence  Optional
type String
source code "#comment": {
    "type": "string"
}

Property CADPart / -children > array items [0]+ / Schema / CADFace
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p248.png
property details
Occurrence  Optional
reference CADFace
source code "CADFace": {
    "$ref": "#/definitions/CADFace"
}

Property CADPart / -children > array items [0]+ / Schema / ProtoInstance
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p249.png
property details
Occurrence  Optional
reference ProtoInstance
source code "ProtoInstance": {
    "$ref": "#/definitions/ProtoInstance"
}

Property CADPart / -children > array items [0]+ / Schema / ROUTE
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p250.png
property details
Occurrence  Optional
reference ROUTE
source code "ROUTE": {
    "$ref": "#/definitions/ROUTE"
}

Property CADPart / -metadata
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p251.png
property details
Occurrence  Optional
reference -metadata
source code "-metadata": {
    "$ref": "#/definitions/-metadata"
}


JSON Schema documentation generated by XMLSpy JSON Schema Editor http://www.altova.com/xmlspy/json-schema-editor.html