Schema definition Fog
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p928.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
@color   Optional
@fogType   Optional
@visibilityRange   Optional
-metadata   Optional
-children   Optional
used by Scene / -children > array items [0]+ / Schema / Fog
-allNodes > array items [0]+ / Schema / Fog
-child / Fog
-children > array items [0]+ / Schema / Fog
source code "Fog": {
    "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
            }
        },
        "@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 Fog / @DEF
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p929.png
property details
Occurrence  Optional
type String
source code "@DEF": {
    "type": "string"
}

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

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

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

Property Fog / @fogType
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p934.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 Fog / @visibilityRange
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p935.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 Fog / -metadata
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p936.png
property details
Occurrence  Optional
reference -metadata
source code "-metadata": {
    "$ref": "#/definitions/-metadata"
}

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