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"        },
        "y": {            "type": "number"        },
        "width": {            "type": "number"        },
        "height": {            "type": "number"        },
        "unit": {            "enum": [                "px",
                "normalized",
                "pt",
                "mm"            ]        },
        "rotation_degrees": {            "type": "number"        }    },
    "required": [        "x",
        "y",
        "width",
        "height",
        "unit"    ]}

Fields

FieldTypeStatusMeaning
xnumberRequiredX used by this schema object.
ynumberRequiredY used by this schema object.
widthnumberRequiredWidth used by this schema object.
heightnumberRequiredHeight used by this schema object.
unitenum — "px", "normalized", "pt", "mm"RequiredUnit associated with the numeric value or limit. Use the unit exactly as published by the applicable profile vocabulary.
rotation_degreesnumberOptionalRotation degrees used by this schema object.