Variable blockSchemaConst
blockSchema: {
additionalProperties: false;
description: "A rectangle with a position, width and height.";
properties: {
h: {
description: "Size on the Y axis.";
maximum: number;
minimum: number;
title: "Height";
type: "number";
};
w: {
description: "Size on the X axis.";
maximum: number;
minimum: number;
title: "Width";
type: "number";
};
x: {
description: "Position on the X axis.";
maximum: number;
minimum: number;
title: "Position X";
type: "number";
};
y: {
description: "Position on the Y axis.";
maximum: number;
minimum: number;
title: "Position Y";
type: "number";
};
};
required: readonly ["x", "y", "w", "h"];
title: "Block";
type: "object";
} = ...