Schema definition ShaderProgram
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2774.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
@type   Optional
@url   Optional
#sourceText   Optional
field   Optional
-metadata   Optional
-children   Optional
used by -allNodes > array items [0]+ / Schema / ShaderProgram
-programs > array items [0]+ / Schema / ShaderProgram
-watchList > array items [0]+ / Schema / ShaderProgram
source code "ShaderProgram": {
    "type": "object",
    "properties": {
        "@DEF": {
            "type": "string"
        },
        "@USE": {
            "type": "string"
        },
        "IS": {
            "$ref": "#/definitions/IS"
        },
        "@type": {
            "type": "string",
            "default": "VERTEX"
        },
        "@url": {
            "type": "array",
            "items": {
                "type": "string",
                "format": "uri-reference"
            }
        },
        "#sourceText": {
            "type": "array",
            "minItems": 1,
            "items": {
                "type": "string"
            }
        },
        "field": {
            "$ref": "#/definitions/field"
        },
        "-metadata": {
            "$ref": "#/definitions/-metadata"
        },
        "-children": {
            "$ref": "#/definitions/-commentRoute"
        }
    },
    "additionalProperties": false
}

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

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

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

Property ShaderProgram / @type
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2778.png
property details
Occurrence  Optional
schema details
Default  "VERTEX"
type String
source code "@type": {
    "type": "string",
    "default": "VERTEX"
}

Property ShaderProgram / @url
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2779.png
property details
Occurrence  Optional
type Array
array items
[0]+  Schema
source code "@url": {
    "type": "array",
    "items": {
        "type": "string",
        "format": "uri-reference"
    }
}

Array item wildcard ShaderProgram / @url > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2780.png
type String
string constraints
Format  uri-reference
source code {
    "type": "string",
    "format": "uri-reference"
}

Property ShaderProgram / #sourceText
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2781.png
property details
Occurrence  Optional
type Array
array constraints
Min Items  1
array items
[0]+  Schema
source code "#sourceText": {
    "type": "array",
    "minItems": 1,
    "items": {
        "type": "string"
    }
}

Array item wildcard ShaderProgram / #sourceText > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p2782.png
type String
source code {
    "type": "string"
}

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

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

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