Schema definition -shaders
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p4441.png
location C:\x3d-code\www.web3d.org\specifications\x3d-3.3-JSONSchema.json
schema details
Description  MF X3DShaderNode content
type Array
array constraints
Min Items  1
array items
[0]+  Schema
used by Appearance / -shaders
source code "-shaders": {
    "description": "MF X3DShaderNode content",
    "type": "array",
    "minItems": 1,
    "items": {
        "type": "object",
        "properties": {
            "ComposedShader": {
                "$ref": "#/definitions/ComposedShader"
            },
            "PackagedShader": {
                "$ref": "#/definitions/PackagedShader"
            },
            "ProgramShader": {
                "$ref": "#/definitions/ProgramShader"
            },
            "ProtoInstance": {
                "$ref": "#/definitions/ProtoInstance"
            }
        },
        "additionalProperties": false
    }
}

Array item wildcard -shaders > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p4442.png
type Object
properties
Name   Occurrence
ComposedShader   Optional
PackagedShader   Optional
ProgramShader   Optional
ProtoInstance   Optional
source code {
    "type": "object",
    "properties": {
        "ComposedShader": {
            "$ref": "#/definitions/ComposedShader"
        },
        "PackagedShader": {
            "$ref": "#/definitions/PackagedShader"
        },
        "ProgramShader": {
            "$ref": "#/definitions/ProgramShader"
        },
        "ProtoInstance": {
            "$ref": "#/definitions/ProtoInstance"
        }
    },
    "additionalProperties": false
}

Property -shaders > array items [0]+ / Schema / ComposedShader
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p4443.png
property details
Occurrence  Optional
reference ComposedShader
source code "ComposedShader": {
    "$ref": "#/definitions/ComposedShader"
}

Property -shaders > array items [0]+ / Schema / PackagedShader
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p4444.png
property details
Occurrence  Optional
reference PackagedShader
source code "PackagedShader": {
    "$ref": "#/definitions/PackagedShader"
}

Property -shaders > array items [0]+ / Schema / ProgramShader
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p4445.png
property details
Occurrence  Optional
reference ProgramShader
source code "ProgramShader": {
    "$ref": "#/definitions/ProgramShader"
}

Property -shaders > array items [0]+ / Schema / ProtoInstance
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p4446.png
property details
Occurrence  Optional
reference ProtoInstance
source code "ProtoInstance": {
    "$ref": "#/definitions/ProtoInstance"
}


JSON Schema documentation generated by XMLSpy JSON Schema Editor http://www.altova.com/xmlspy/json-schema-editor.html