Schema definition PointLight
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2190.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
@ambientIntensity   Optional
@attenuation   Optional
@color   Optional
@global   Optional
@intensity   Optional
@location   Optional
@on   Optional
@radius   Optional
-metadata   Optional
-children   Optional
used by Scene / -children > array items [0]+ / Schema / PointLight
-allNodes > array items [0]+ / Schema / PointLight
-child / PointLight
-children > array items [0]+ / Schema / PointLight
source code "PointLight": {
    "type": "object",
    "properties": {
        "@DEF": {
            "type": "string"
        },
        "@USE": {
            "type": "string"
        },
        "IS": {
            "$ref": "#/definitions/IS"
        },
        "@ambientIntensity": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "default": 0
        },
        "@attenuation": {
            "type": "array",
            "minItems": 3,
            "maxItems": 3,
            "items": [
                {
                    "type": "number",
                    "minimum": 0,
                    "default": 1
                },
                {
                    "type": "number",
                    "minimum": 0,
                    "default": 0
                },
                {
                    "type": "number",
                    "minimum": 0,
                    "default": 0
                }
            ],
            "additionalItems": false
        },
        "@color": {
            "type": "array",
            "minItems": 3,
            "maxItems": 3,
            "items": {
                "type": "number",
                "minimum": 0,
                "maximum": 1,
                "default": 1
            }
        },
        "@global": {
            "type": "boolean",
            "default": true
        },
        "@intensity": {
            "type": "number",
            "minimum": 0,
            "maximum": 1,
            "default": 1
        },
        "@location": {
            "type": "array",
            "minItems": 3,
            "maxItems": 3,
            "items": {
                "type": "number",
                "default": 0
            }
        },
        "@on": {
            "type": "boolean",
            "default": true
        },
        "@radius": {
            "type": "number",
            "minimum": 0,
            "default": 100
        },
        "-metadata": {
            "$ref": "#/definitions/-metadata"
        },
        "-children": {
            "$ref": "#/definitions/-commentRoute"
        }
    },
    "additionalProperties": false
}

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

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

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

Property PointLight / @ambientIntensity
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2194.png
property details
Occurrence  Optional
schema details
Default  0
type Numeric
numeric constraints
Minimum  0
Maximum  1
source code "@ambientIntensity": {
    "type": "number",
    "minimum": 0,
    "maximum": 1,
    "default": 0
}

Property PointLight / @attenuation
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2195.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 "@attenuation": {
    "type": "array",
    "minItems": 3,
    "maxItems": 3,
    "items": [
        {
            "type": "number",
            "minimum": 0,
            "default": 1
        },
        {
            "type": "number",
            "minimum": 0,
            "default": 0
        },
        {
            "type": "number",
            "minimum": 0,
            "default": 0
        }
    ],
    "additionalItems": false
}

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

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

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

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

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

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

Property PointLight / @intensity
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2202.png
property details
Occurrence  Optional
schema details
Default  1
type Numeric
numeric constraints
Minimum  0
Maximum  1
source code "@intensity": {
    "type": "number",
    "minimum": 0,
    "maximum": 1,
    "default": 1
}

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

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

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

Property PointLight / @radius
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2206.png
property details
Occurrence  Optional
schema details
Default  100
type Numeric
numeric constraints
Minimum  0
source code "@radius": {
    "type": "number",
    "minimum": 0,
    "default": 100
}

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

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