Region

Region used by this schema object.

$defs.region · object

Definition JSON

This fragment is shown exactly as published. Use the chevrons to fold objects and arrays; linked $ref values return to their targets in the complete schema.

{    "type": "object",
    "additionalProperties": false,
    "properties": {        "x": {            "type": "number",
            "minimum": 0        },
        "y": {            "type": "number",
            "minimum": 0        },
        "width": {            "type": "number",
            "exclusiveMinimum": 0        },
        "height": {            "type": "number",
            "exclusiveMinimum": 0        },
        "unit": {            "enum": [                "relative",
                "pixels",
                "points"            ]        }    },
    "required": [        "x",
        "y",
        "width",
        "height",
        "unit"    ]}

Fields

FieldTypeStatusMeaning
xnumber — minimum 0RequiredX used by this schema object.
ynumber — minimum 0RequiredY used by this schema object.
widthnumberRequiredWidth used by this schema object.
heightnumberRequiredHeight used by this schema object.
unitenum — "relative", "pixels", "points"RequiredUnit associated with the numeric value or limit. Use the unit exactly as published by the applicable profile vocabulary.