Schema definition Viewport
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3489.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
@clipBoundary   Optional
-children   Optional
-metadata   Optional
used by Scene / -children > array items [0]+ / Schema / Viewport
TransformSensor / -targetObject > array items [0]+ / Schema / Viewport
-allNodes > array items [0]+ / Schema / Viewport
-child / Viewport
-children > array items [0]+ / Schema / Viewport
-grouping > array items [0]+ / Schema / Viewport
-pickTarget > array items [0]+ / Schema / Viewport
-viewport / Viewport
source code "Viewport": {
    "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"
        },
        "@clipBoundary": {
            "type": "array",
            "minItems": 4,
            "maxItems": 4,
            "items": [
                {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "default": 0
                },
                {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "default": 1
                },
                {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "default": 0
                },
                {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1,
                    "default": 1
                }
            ],
            "additionalItems": false
        },
        "-children": {
            "$ref": "#/definitions/-children"
        },
        "-metadata": {
            "$ref": "#/definitions/-metadata"
        }
    },
    "additionalProperties": false
}

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

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

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

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

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

Property Viewport / @clipBoundary
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3496.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 "@clipBoundary": {
    "type": "array",
    "minItems": 4,
    "maxItems": 4,
    "items": [
        {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "default": 0
        },
        {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "default": 1
        },
        {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "default": 0
        },
        {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "default": 1
        }
    ],
    "additionalItems": false
}

Array item Viewport / @clipBoundary > array items [0] / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3497.png
schema details
Default  0
type Numeric
numeric constraints
Minimum  0
Maximum  1
source code {
    "type": "number",
    "minimum": 0,
    "maximum": 1,
    "default": 0
}

Array item Viewport / @clipBoundary > array items [1] / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3498.png
schema details
Default  1
type Numeric
numeric constraints
Minimum  0
Maximum  1
source code {
    "type": "number",
    "minimum": 0,
    "maximum": 1,
    "default": 1
}

Array item Viewport / @clipBoundary > array items [2] / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3499.png
schema details
Default  0
type Numeric
numeric constraints
Minimum  0
Maximum  1
source code {
    "type": "number",
    "minimum": 0,
    "maximum": 1,
    "default": 0
}

Array item Viewport / @clipBoundary > array items [3] / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3500.png
schema details
Default  1
type Numeric
numeric constraints
Minimum  0
Maximum  1
source code {
    "type": "number",
    "minimum": 0,
    "maximum": 1,
    "default": 1
}

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

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