Schema definition LocalFog
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1601.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
@color   Optional
@enabled   Optional
@fogType   Optional
@visibilityRange   Optional
-metadata   Optional
-children   Optional
used by Scene / -children > array items [0]+ / Schema / LocalFog
-allNodes > array items [0]+ / Schema / LocalFog
-child / LocalFog
-children > array items [0]+ / Schema / LocalFog
source code "LocalFog": {
    "type": "object",
    "properties": {
        "@DEF": {
            "type": "string"
        },
        "@USE": {
            "type": "string"
        },
        "IS": {
            "$ref": "#/definitions/IS"
        },
        "@color": {
            "type": "array",
            "minItems": 3,
            "maxItems": 3,
            "items": {
                "type": "number",
                "minimum": 0,
                "maximum": 1,
                "default": 1
            }
        },
        "@enabled": {
            "type": "boolean",
            "default": true
        },
        "@fogType": {
            "type": "string",
            "enum": [
                "LINEAR",
                "EXPONENTIAL"
            ],
            "default": "LINEAR"
        },
        "@visibilityRange": {
            "type": "number",
            "minimum": 0,
            "default": 0
        },
        "-metadata": {
            "$ref": "#/definitions/-metadata"
        },
        "-children": {
            "$ref": "#/definitions/-commentRoute"
        }
    },
    "additionalProperties": false
}

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

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

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

Property LocalFog / @color
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1605.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 LocalFog / @color > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1606.png
schema details
Default  1
type Numeric
numeric constraints
Minimum  0
Maximum  1
source code {
    "type": "number",
    "minimum": 0,
    "maximum": 1,
    "default": 1
}

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

Property LocalFog / @fogType
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p1608.png
property details
Occurrence  Optional
schema details
Default  "LINEAR"
type String
enumerations
Type   Value
string   LINEAR
string   EXPONENTIAL
source code "@fogType": {
    "type": "string",
    "enum": [
        "LINEAR",
        "EXPONENTIAL"
    ],
    "default": "LINEAR"
}

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

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

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