Schema definition Viewpoint
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3447.png
location C:\x3d-code\www.web3d.org\specifications\x3d-3.3-JSONSchema.json
type Object
properties
Name   Occurrence
@DEF   Optional
@USE   Optional
IS   Optional
@centerOfRotation   Optional
@description   Optional
@fieldOfView   Optional
@jump   Optional
@orientation   Optional
@position   Optional
@retainUserOffsets   Optional
-metadata   Optional
-children   Optional
used by Scene / -children > array items [0]+ / Schema / Viewpoint
ViewpointGroup / -children > array items [0]+ / Schema / Viewpoint
-allNodes > array items [0]+ / Schema / Viewpoint
-child / Viewpoint
-children > array items [0]+ / Schema / Viewpoint
source code "Viewpoint": {
    "type": "object",
    "properties": {
        "@DEF": {
            "type": "string"
        },
        "@USE": {
            "type": "string"
        },
        "IS": {
            "$ref": "#/definitions/IS"
        },
        "@centerOfRotation": {
            "type": "array",
            "minItems": 3,
            "maxItems": 3,
            "items": {
                "type": "number",
                "default": 0
            }
        },
        "@description": {
            "type": "string"
        },
        "@fieldOfView": {
            "type": "number",
            "default": 0.7854
        },
        "@jump": {
            "type": "boolean",
            "default": true
        },
        "@orientation": {
            "type": "array",
            "minItems": 4,
            "maxItems": 4,
            "items": [
                {
                    "type": "number",
                    "default": 0
                },
                {
                    "type": "number",
                    "default": 0
                },
                {
                    "type": "number",
                    "default": 1
                }
            ],
            "additionalItems": {
                "type": "number",
                "default": 0
            }
        },
        "@position": {
            "type": "array",
            "minItems": 3,
            "maxItems": 3,
            "items": [
                {
                    "type": "number",
                    "default": 0
                },
                {
                    "type": "number",
                    "default": 0
                },
                {
                    "type": "number",
                    "default": 10
                }
            ],
            "additionalItems": false
        },
        "@retainUserOffsets": {
            "type": "boolean",
            "default": false
        },
        "-metadata": {
            "$ref": "#/definitions/-metadata"
        },
        "-children": {
            "$ref": "#/definitions/-commentRoute"
        }
    },
    "additionalProperties": false
}

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

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

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

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

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

Property Viewpoint / @description
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3453.png
property details
Occurrence  Optional
type String
source code "@description": {
    "type": "string"
}

Property Viewpoint / @fieldOfView
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3454.png
property details
Occurrence  Optional
schema details
Default  0.7854
type Numeric
source code "@fieldOfView": {
    "type": "number",
    "default": 0.7854
}

Property Viewpoint / @jump
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3455.png
property details
Occurrence  Optional
schema details
Default  true
type Boolean
source code "@jump": {
    "type": "boolean",
    "default": true
}

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

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

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

Array item Viewpoint / @orientation > array items [2] / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3459.png
schema details
Default  1
type Numeric
source code {
    "type": "number",
    "default": 1
}

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

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

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

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

Array item Viewpoint / @position > array items [2] / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3464.png
schema details
Default  10
type Numeric
source code {
    "type": "number",
    "default": 10
}

Property Viewpoint / @retainUserOffsets
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3465.png
property details
Occurrence  Optional
schema details
Default  false
type Boolean
source code "@retainUserOffsets": {
    "type": "boolean",
    "default": false
}

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

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


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