Schema definition FontStyle
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p946.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
@family   Optional
@horizontal   Optional
@justify   Optional
@language   Optional
@leftToRight   Optional
@size   Optional
@spacing   Optional
@style   Optional
@topToBottom   Optional
-metadata   Optional
-children   Optional
used by Text / -fontStyle / FontStyle
-allNodes > array items [0]+ / Schema / FontStyle
source code "FontStyle": {
    "type": "object",
    "properties": {
        "@DEF": {
            "type": "string"
        },
        "@USE": {
            "type": "string"
        },
        "IS": {
            "$ref": "#/definitions/IS"
        },
        "@family": {
            "type": "array",
            "items": [
                {
                    "type": "string",
                    "default": "SERIF"
                }
            ],
            "additionalItems": {
                "type": "string"
            }
        },
        "@horizontal": {
            "type": "boolean",
            "default": true
        },
        "@justify": {
            "$ref": "#/definitions/@justify"
        },
        "@language": {
            "type": "string"
        },
        "@leftToRight": {
            "type": "boolean",
            "default": true
        },
        "@size": {
            "type": "number",
            "exclusiveMinimum": 0,
            "default": 1
        },
        "@spacing": {
            "type": "number",
            "minimum": 0,
            "default": 1
        },
        "@style": {
            "type": "string",
            "enum": [
                "PLAIN",
                "BOLD",
                "ITALIC",
                "BOLDITALIC",
                ""
            ],
            "default": "PLAIN"
        },
        "@topToBottom": {
            "type": "boolean",
            "default": true
        },
        "-metadata": {
            "$ref": "#/definitions/-metadata"
        },
        "-children": {
            "$ref": "#/definitions/-commentRoute"
        }
    },
    "additionalProperties": false
}

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

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

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

Property FontStyle / @family
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p950.png
property details
Occurrence  Optional
type Array
array items
[0]  Schema
[1]+  Schema
source code "@family": {
    "type": "array",
    "items": [
        {
            "type": "string",
            "default": "SERIF"
        }
    ],
    "additionalItems": {
        "type": "string"
    }
}

Array item FontStyle / @family > array items [0] / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p951.png
schema details
Default  "SERIF"
type String
source code {
    "type": "string",
    "default": "SERIF"
}

Array item wildcard FontStyle / @family > array items [1]+ / Schema
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p952.png
type String
source code {
    "type": "string"
}

Property FontStyle / @horizontal
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p953.png
property details
Occurrence  Optional
schema details
Default  true
type Boolean
source code "@horizontal": {
    "type": "boolean",
    "default": true
}

Property FontStyle / @justify
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p954.png
property details
Occurrence  Optional
reference @justify
source code "@justify": {
    "$ref": "#/definitions/@justify"
}

Property FontStyle / @language
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p955.png
property details
Occurrence  Optional
type String
source code "@language": {
    "type": "string"
}

Property FontStyle / @leftToRight
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p956.png
property details
Occurrence  Optional
schema details
Default  true
type Boolean
source code "@leftToRight": {
    "type": "boolean",
    "default": true
}

Property FontStyle / @size
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p957.png
property details
Occurrence  Optional
schema details
Default  1
type Numeric
numeric constraints
Minimum  0
Excl. Min  true
source code "@size": {
    "type": "number",
    "exclusiveMinimum": 0,
    "default": 1
}

Property FontStyle / @spacing
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p958.png
property details
Occurrence  Optional
schema details
Default  1
type Numeric
numeric constraints
Minimum  0
source code "@spacing": {
    "type": "number",
    "minimum": 0,
    "default": 1
}

Property FontStyle / @style
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p959.png
property details
Occurrence  Optional
schema details
Default  "PLAIN"
type String
enumerations
Type   Value
string   PLAIN
string   BOLD
string   ITALIC
string   BOLDITALIC
string   
source code "@style": {
    "type": "string",
    "enum": [
        "PLAIN",
        "BOLD",
        "ITALIC",
        "BOLDITALIC",
        ""
    ],
    "default": "PLAIN"
}

Property FontStyle / @topToBottom
diagram x3d-3.3-JSONSchema_diagrams/x3d-3.3-JSONSchema_p960.png
property details
Occurrence  Optional
schema details
Default  true
type Boolean
source code "@topToBottom": {
    "type": "boolean",
    "default": true
}

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

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