diagram | |||||||||||||||||||||||||
location | C:\x3d-code\www.web3d.org\specifications\x3d-3.3-JSONSchema.json | ||||||||||||||||||||||||
type | Object | ||||||||||||||||||||||||
properties |
|
||||||||||||||||||||||||
used by | Scene / -children > array items [0]+ / Schema / Layout -allNodes > array items [0]+ / Schema / Layout -child / Layout -children > array items [0]+ / Schema / Layout -layers > array items [0]+ / Schema / Layer -layout / Layout |
||||||||||||||||||||||||
source code | "Layout": { "type": "object", "properties": { "@DEF": { "type": "string" }, "@USE": { "type": "string" }, "IS": { "$ref": "#/definitions/IS" }, "@align": { "oneOf": [ { "type": "array", "minItems": 1, "maxItems": 1, "items": { "type": "string", "enum": [ "CENTER" ], "default": "CENTER" } }, { "type": "array", "minItems": 2, "maxItems": 2, "items": [ { "type": "string", "enum": [ "LEFT", "CENTER", "RIGHT" ], "default": "CENTER" } ], "additionalItems": { "type": "string", "enum": [ "BOTTOM", "CENTER", "TOP" ], "default": "CENTER" } } ] }, "@offset": { "type": "array", "minItems": 1, "maxItems": 2, "items": { "type": "number", "default": 0 } }, "@offsetUnits": { "type": "array", "minItems": 1, "maxItems": 2, "items": { "type": "string", "enum": [ "WORLD", "FRACTION", "PIXEL" ], "default": "WORLD" } }, "@scaleMode": { "type": "array", "minItems": 1, "maxItems": 2, "items": { "type": "string", "enum": [ "NONE", "FRACTION", "STRETCH", "PIXEL" ], "default": "NONE" } }, "@size": { "type": "array", "minItems": 1, "maxItems": 2, "items": { "type": "number", "default": 1 } }, "@sizeUnits": { "type": "array", "minItems": 1, "maxItems": 2, "items": { "type": "string", "enum": [ "WORLD", "FRACTION", "PIXEL" ], "default": "WORLD" } }, "-metadata": { "$ref": "#/definitions/-metadata" }, "-children": { "$ref": "#/definitions/-commentRoute" } }, "additionalProperties": false } |
diagram | |||
property details |
|
||
type | String | ||
source code | "@DEF": { "type": "string" } |
diagram | |||
property details |
|
||
type | String | ||
source code | "@USE": { "type": "string" } |
diagram | |||
property details |
|
||
reference | IS | ||
source code | "IS": { "$ref": "#/definitions/IS" } |
diagram | |||||
property details |
|
||||
type | Any | ||||
array items |
|
||||
property wildcard |
|
||||
one of |
|
||||
source code | "@align": { "oneOf": [ { "type": "array", "minItems": 1, "maxItems": 1, "items": { "type": "string", "enum": [ "CENTER" ], "default": "CENTER" } }, { "type": "array", "minItems": 2, "maxItems": 2, "items": [ { "type": "string", "enum": [ "LEFT", "CENTER", "RIGHT" ], "default": "CENTER" } ], "additionalItems": { "type": "string", "enum": [ "BOTTOM", "CENTER", "TOP" ], "default": "CENTER" } } ] } |
diagram | |||||
type | Array | ||||
array constraints |
|
||||
array items |
|
||||
source code | { "type": "array", "minItems": 1, "maxItems": 1, "items": { "type": "string", "enum": [ "CENTER" ], "default": "CENTER" } } |
diagram | |||||
schema details |
|
||||
type | String | ||||
enumerations |
|
||||
source code | { "type": "string", "enum": [ "CENTER" ], "default": "CENTER" } |
diagram | |||||
type | Array | ||||
array constraints |
|
||||
array items |
|
||||
source code | { "type": "array", "minItems": 2, "maxItems": 2, "items": [ { "type": "string", "enum": [ "LEFT", "CENTER", "RIGHT" ], "default": "CENTER" } ], "additionalItems": { "type": "string", "enum": [ "BOTTOM", "CENTER", "TOP" ], "default": "CENTER" } } |
diagram | |||||||||
schema details |
|
||||||||
type | String | ||||||||
enumerations |
|
||||||||
source code | { "type": "string", "enum": [ "LEFT", "CENTER", "RIGHT" ], "default": "CENTER" } |
diagram | |||||||||
schema details |
|
||||||||
type | String | ||||||||
enumerations |
|
||||||||
source code | { "type": "string", "enum": [ "BOTTOM", "CENTER", "TOP" ], "default": "CENTER" } |
diagram | |||||
property details |
|
||||
type | Array | ||||
array constraints |
|
||||
array items |
|
||||
source code | "@offset": { "type": "array", "minItems": 1, "maxItems": 2, "items": { "type": "number", "default": 0 } } |
diagram | |||
schema details |
|
||
type | Numeric | ||
source code | { "type": "number", "default": 0 } |
diagram | |||||
property details |
|
||||
type | Array | ||||
array constraints |
|
||||
array items |
|
||||
source code | "@offsetUnits": { "type": "array", "minItems": 1, "maxItems": 2, "items": { "type": "string", "enum": [ "WORLD", "FRACTION", "PIXEL" ], "default": "WORLD" } } |
diagram | |||||||||
schema details |
|
||||||||
type | String | ||||||||
enumerations |
|
||||||||
source code | { "type": "string", "enum": [ "WORLD", "FRACTION", "PIXEL" ], "default": "WORLD" } |
diagram | |||||
property details |
|
||||
type | Array | ||||
array constraints |
|
||||
array items |
|
||||
source code | "@scaleMode": { "type": "array", "minItems": 1, "maxItems": 2, "items": { "type": "string", "enum": [ "NONE", "FRACTION", "STRETCH", "PIXEL" ], "default": "NONE" } } |
diagram | |||||||||||
schema details |
|
||||||||||
type | String | ||||||||||
enumerations |
|
||||||||||
source code | { "type": "string", "enum": [ "NONE", "FRACTION", "STRETCH", "PIXEL" ], "default": "NONE" } |
diagram | |||||
property details |
|
||||
type | Array | ||||
array constraints |
|
||||
array items |
|
||||
source code | "@size": { "type": "array", "minItems": 1, "maxItems": 2, "items": { "type": "number", "default": 1 } } |
diagram | |||
schema details |
|
||
type | Numeric | ||
source code | { "type": "number", "default": 1 } |
diagram | |||||
property details |
|
||||
type | Array | ||||
array constraints |
|
||||
array items |
|
||||
source code | "@sizeUnits": { "type": "array", "minItems": 1, "maxItems": 2, "items": { "type": "string", "enum": [ "WORLD", "FRACTION", "PIXEL" ], "default": "WORLD" } } |
diagram | |||||||||
schema details |
|
||||||||
type | String | ||||||||
enumerations |
|
||||||||
source code | { "type": "string", "enum": [ "WORLD", "FRACTION", "PIXEL" ], "default": "WORLD" } |
diagram | |||
property details |
|
||
reference | -metadata | ||
source code | "-metadata": { "$ref": "#/definitions/-metadata" } |
diagram | |||
property details |
|
||
reference | -commentRoute | ||
source code | "-children": { "$ref": "#/definitions/-commentRoute" } |