Schema definition SphereSensor
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2910.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
@autoOffset   Optional
@description   Optional
@enabled   Optional
@offset   Optional
-metadata   Optional
-children   Optional
used by Scene / -children > array items [0]+ / Schema / SphereSensor
-allNodes > array items [0]+ / Schema / SphereSensor
-child / SphereSensor
-children > array items [0]+ / Schema / SphereSensor
source code "SphereSensor": {
    "type": "object",
    "properties": {
        "@DEF": {
            "type": "string"
        },
        "@USE": {
            "type": "string"
        },
        "IS": {
            "$ref": "#/definitions/IS"
        },
        "@autoOffset": {
            "type": "boolean",
            "default": true
        },
        "@description": {
            "type": "string"
        },
        "@enabled": {
            "type": "boolean",
            "default": true
        },
        "@offset": {
            "type": "array",
            "minItems": 4,
            "maxItems": 4,
            "items": [
                {
                    "type": "number",
                    "minimum": -1,
                    "maximum": 1,
                    "default": 0
                },
                {
                    "type": "number",
                    "minimum": -1,
                    "maximum": 1,
                    "default": 1
                },
                {
                    "type": "number",
                    "minimum": -1,
                    "maximum": 1,
                    "default": 0
                },
                {
                    "type": "number",
                    "default": 0
                }
            ],
            "additionalItems": false
        },
        "-metadata": {
            "$ref": "#/definitions/-metadata"
        },
        "-children": {
            "$ref": "#/definitions/-commentRoute"
        }
    },
    "additionalProperties": false
}

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

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

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

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

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

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

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

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

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

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

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

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

Property SphereSensor / -children
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2923.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