Schema definition Transform
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3233.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
@rotation   Optional
@scale   Optional
@scaleOrientation   Optional
@translation   Optional
-children   Optional
-metadata   Optional
used by CADFace / -shape / Transform
Scene / -children > array items [0]+ / Schema / Transform
TransformSensor / -targetObject > array items [0]+ / Schema / Transform
-allNodes > array items [0]+ / Schema / Transform
-child / Transform
-children > array items [0]+ / Schema / Transform
-grouping > array items [0]+ / Schema / Transform
-pickTarget > array items [0]+ / Schema / Transform
source code "Transform": {
    "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
            }
        },
        "@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": {
            "$ref": "#/definitions/-children"
        },
        "-metadata": {
            "$ref": "#/definitions/-metadata"
        }
    },
    "additionalProperties": false
}

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

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

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

Property Transform / @bboxCenter
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3237.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 Transform / @bboxCenter > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3238.png
schema details
Default  0
type Numeric
source code {
    "type": "number",
    "default": 0
}

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

Property Transform / @center
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3240.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 Transform / @center > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3241.png
schema details
Default  0
type Numeric
source code {
    "type": "number",
    "default": 0
}

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

Property Transform / @scale
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3243.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 Transform / @scale > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3244.png
schema details
Default  1
type Numeric
source code {
    "type": "number",
    "default": 1
}

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

Property Transform / @translation
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3246.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 Transform / @translation > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3247.png
schema details
Default  0
type Numeric
source code {
    "type": "number",
    "default": 0
}

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

Property Transform / -metadata
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3249.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