Schema definition LOD
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1612.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
@bboxCenter   Optional
@bboxSize   Optional
@center   Optional
@forceTransitions   Optional
@range   Optional
-children   Optional
-metadata   Optional
used by CADFace / -shape / LOD
Scene / -children > array items [0]+ / Schema / LOD
TransformSensor / -targetObject > array items [0]+ / Schema / LOD
-allNodes > array items [0]+ / Schema / LOD
-child / LOD
-children > array items [0]+ / Schema / LOD
-grouping > array items [0]+ / Schema / LOD
-pickTarget > array items [0]+ / Schema / LOD
source code "LOD": {
    "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
            }
        },
        "@forceTransitions": {
            "type": "boolean",
            "default": false
        },
        "@range": {
            "type": "array",
            "minItems": 1,
            "items": {
                "type": "number",
                "oneOf": [
                    {
                        "type": "number",
                        "enum": [
                            -1
                        ]
                    },
                    {
                        "type": "number",
                        "minimum": 0
                    }
                ]
            }
        },
        "-children": {
            "$ref": "#/definitions/-children"
        },
        "-metadata": {
            "$ref": "#/definitions/-metadata"
        }
    },
    "additionalProperties": false
}

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

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

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

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

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

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

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

Property LOD / @range
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1622.png
property details
Occurrence  Optional
type Array
array constraints
Min Items  1
array items
[0]+  Schema
source code "@range": {
    "type": "array",
    "minItems": 1,
    "items": {
        "type": "number",
        "oneOf": [
            {
                "type": "number",
                "enum": [
                    -1
                ]
            },
            {
                "type": "number",
                "minimum": 0
            }
        ]
    }
}

Array item wildcard LOD / @range > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1623.png
type Numeric
one of
(0)  Schema
(1)  Schema
source code {
    "type": "number",
    "oneOf": [
        {
            "type": "number",
            "enum": [
                -1
            ]
        },
        {
            "type": "number",
            "minimum": 0
        }
    ]
}

Operator subschema LOD / @range > array items [0]+ / Schema > one of (0) / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1624.png
type Numeric
enumerations
Type   Value
number   -1
source code {
    "type": "number",
    "enum": [
        -1
    ]
}

Operator subschema LOD / @range > array items [0]+ / Schema > one of (1) / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1625.png
type Numeric
numeric constraints
Minimum  0
source code {
    "type": "number",
    "minimum": 0
}

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

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