Schema definition field
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3595.png
location C:\x3d-code\www.web3d.org\specifications\x3d-3.3-JSONSchema.json
type Array
array constraints
Min Items  1
array items
[0]+  Schema
used by ComposedShader / field
ExternProtoDeclare / field
PackagedShader / field
ProtoInterface / field
Script / field
ShaderProgram / field
source code "field": {
    "type": "array",
    "minItems": 1,
    "items": {
        "type": "object",
        "properties": {
            "@name": {
                "type": "string"
            },
            "@accessType": {
                "type": "string",
                "enum": [
                    "inputOnly",
                    "inputOutput",
                    "outputOnly",
                    "initializeOnly"
                ]
            },
            "@type": {
                "type": "string"
            },
            "@value": {
            },
            "-children": {
                "$ref": "#/definitions/-allNodes"
            },
            "@appinfo": {
                "type": "string"
            },
            "@documentation": {
                "type": "string"
            }
        },
        "required": [
            "@name",
            "@accessType",
            "@type"
        ],
        "additionalProperties": false
    }
}

Array item wildcard field > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3596.png
type Object
properties
Name   Occurrence
@name   Required
@accessType   Required
@type   Required
@value   Optional
-children   Optional
@appinfo   Optional
@documentation   Optional
source code {
    "type": "object",
    "properties": {
        "@name": {
            "type": "string"
        },
        "@accessType": {
            "type": "string",
            "enum": [
                "inputOnly",
                "inputOutput",
                "outputOnly",
                "initializeOnly"
            ]
        },
        "@type": {
            "type": "string"
        },
        "@value": {
        },
        "-children": {
            "$ref": "#/definitions/-allNodes"
        },
        "@appinfo": {
            "type": "string"
        },
        "@documentation": {
            "type": "string"
        }
    },
    "required": [
        "@name",
        "@accessType",
        "@type"
    ],
    "additionalProperties": false
}

Property field > array items [0]+ / Schema / @name
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3597.png
property details
Occurrence  Required
type String
source code "@name": {
    "type": "string"
}

Property field > array items [0]+ / Schema / @accessType
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3598.png
property details
Occurrence  Required
type String
enumerations
Type   Value
string   inputOnly
string   inputOutput
string   outputOnly
string   initializeOnly
source code "@accessType": {
    "type": "string",
    "enum": [
        "inputOnly",
        "inputOutput",
        "outputOnly",
        "initializeOnly"
    ]
}

Property field > array items [0]+ / Schema / @type
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3599.png
property details
Occurrence  Required
type String
source code "@type": {
    "type": "string"
}

Property field > array items [0]+ / Schema / @value
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3600.png
property details
Occurrence  Optional
type Any
array items
[0]+  Unconstrained
property wildcard
Definition  Unconstrained
source code "@value": {
}

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

Property field > array items [0]+ / Schema / @appinfo
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3602.png
property details
Occurrence  Optional
type String
source code "@appinfo": {
    "type": "string"
}

Property field > array items [0]+ / Schema / @documentation
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3603.png
property details
Occurrence  Optional
type String
source code "@documentation": {
    "type": "string"
}


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