Schema definition X3D
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3584.png
location C:\x3d-code\www.web3d.org\specifications\x3d-3.3-JSONSchema.json
type Object
properties
Name   Occurrence
@profile   Required
@version   Required
@xsd:noNamespaceSchemaLocation   Optional
-children   Optional
JSON schema   Optional
encoding   Required
head   Optional
Scene   Required
used by x3d-3.3-JSONSchema.json / X3D
source code "X3D": {
    "type": "object",
    "properties": {
        "@profile": {
            "type": "string",
            "enum": [
                "Core",
                "Interchange",
                "CADInterchange",
                "Interactive",
                "Immersive",
                "MedicalInterchange",
                "MPEG4Interactive",
                "Full"
            ]
        },
        "@version": {
            "type": "string",
            "enum": [
                "3.0",
                "3.1",
                "3.2",
                "3.3"
            ],
            "default": "3.3"
        },
        "@xsd:noNamespaceSchemaLocation": {
            "type": "string",
            "format": "uri"
        },
        "-children": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "#comment": {
                        "type": "string"
                    }
                },
                "additionalProperties": false
            }
        },
        "JSON schema": {
            "type": "string"
        },
        "encoding": {
            "type": "string",
            "enum": [
                "UTF-8",
                "UTF-16",
                "UTF-32"
            ]
        },
        "head": {
            "$ref": "#/definitions/head"
        },
        "Scene": {
            "$ref": "#/definitions/Scene"
        }
    },
    "required": [
        "@profile",
        "@version",
        "encoding",
        "Scene"
    ],
    "additionalProperties": false
}

Property X3D / @profile
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3585.png
property details
Occurrence  Required
type String
enumerations
Type   Value
string   Core
string   Interchange
string   CADInterchange
string   Interactive
string   Immersive
string   MedicalInterchange
string   MPEG4Interactive
string   Full
source code "@profile": {
    "type": "string",
    "enum": [
        "Core",
        "Interchange",
        "CADInterchange",
        "Interactive",
        "Immersive",
        "MedicalInterchange",
        "MPEG4Interactive",
        "Full"
    ]
}

Property X3D / @version
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3586.png
property details
Occurrence  Required
schema details
Default  "3.3"
type String
enumerations
Type   Value
string   3.0
string   3.1
string   3.2
string   3.3
source code "@version": {
    "type": "string",
    "enum": [
        "3.0",
        "3.1",
        "3.2",
        "3.3"
    ],
    "default": "3.3"
}

Property X3D / @xsd:noNamespaceSchemaLocation
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3587.png
property details
Occurrence  Optional
type String
string constraints
Format  uri
source code "@xsd:noNamespaceSchemaLocation": {
    "type": "string",
    "format": "uri"
}

Property X3D / -children
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3588.png
property details
Occurrence  Optional
type Array
array items
[0]+  Schema
source code "-children": {
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "#comment": {
                "type": "string"
            }
        },
        "additionalProperties": false
    }
}

Array item wildcard X3D / -children > array items [0]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3589.png
type Object
properties
Name   Occurrence
#comment   Optional
source code {
    "type": "object",
    "properties": {
        "#comment": {
            "type": "string"
        }
    },
    "additionalProperties": false
}

Property X3D / -children > array items [0]+ / Schema / #comment
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3590.png
property details
Occurrence  Optional
type String
source code "#comment": {
    "type": "string"
}

Property X3D / JSON schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3591.png
property details
Occurrence  Optional
type String
source code "JSON schema": {
    "type": "string"
}

Property X3D / encoding
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3592.png
property details
Occurrence  Required
type String
enumerations
Type   Value
string   UTF-8
string   UTF-16
string   UTF-32
source code "encoding": {
    "type": "string",
    "enum": [
        "UTF-8",
        "UTF-16",
        "UTF-32"
    ]
}

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

Property X3D / Scene
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p3594.png
property details
Occurrence  Required
reference Scene
source code "Scene": {
    "$ref": "#/definitions/Scene"
}


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