addedInput schema / properties / shapes / items / anyOf
Added value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "description": "Stroke color, as a CSS color.",
+ "type": "string"
+ },
+ "fill": {
+ "description": "A box's background, as a CSS color.",
+ "type": "string"
+ },
+ "fontSize": {
+ "description": "The text's size in pixels: 20 unless given, 28 or 36 for a heading.",
+ "maximum": 200,
+ "minimum": 8,
+ "type": "number"
+ },
+ "frame": {
+ "description": "The id of the frame the shape sits in. An empty string takes it out.",
+ "type": "string"
+ },
+ "from": {
+ "description": "The id of the shape an arrow leaves.",
+ "type": "string"
+ },
+ "height": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "id": {
+ "description": "Names the shape. The id of a shape on the board changes that shape, keeping the fields you leave out.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stroke": {
+ "description": "The line of a box's outline or an arrow.",
+ "enum": [
+ "solid",
+ "dashed",
+ "dotted"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "description": "The label of a box or an arrow, what a text shape says, or a frame's name.",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "to": {
+ "description": "The id of the shape an arrow points at.",
+ "type": "string"
+ },
+ "type": {
+ "description": "Required for a new shape.",
+ "enum": [
+ "rectangle",
+ "ellipse",
+ "diamond",
+ "text",
+ "frame"
+ ],
+ "type": "string"
+ },
+ "width": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "x": {
+ "description": "Left edge, in pixels. Leave out x and y of a new shape to have the board place it.",
+ "type": "number"
+ },
+ "y": {
+ "description": "Top edge, in pixels. y grows downward.",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "description": "Stroke color, as a CSS color.",
+ "type": "string"
+ },
+ "fill": {
+ "description": "A box's background, as a CSS color.",
+ "type": "string"
+ },
+ "fontSize": {
+ "description": "The text's size in pixels: 20 unless given, 28 or 36 for a heading.",
+ "maximum": 200,
+ "minimum": 8,
+ "type": "number"
+ },
+ "frame": {
+ "description": "The id of the frame the shape sits in. An empty string takes it out.",
+ "type": "string"
+ },
+ "from": {
+ "description": "The id of the shape an arrow leaves.",
+ "type": "string"
+ },
+ "height": {
+ "description": "Ignored for arrows. The board derives it from the connected shapes.",
+ "type": "number"
+ },
+ "id": {
+ "description": "Names the shape. The id of a shape on the board changes that shape, keeping the fields you leave out.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "stroke": {
+ "description": "The line of a box's outline or an arrow.",
+ "enum": [
+ "solid",
+ "dashed",
+ "dotted"
+ ],
+ "type": "string"
+ },
+ "text": {
+ "description": "The label of a box or an arrow, what a text shape says, or a frame's name.",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "to": {
+ "description": "The id of the shape an arrow points at.",
+ "type": "string"
+ },
+ "type": {
+ "const": "arrow",
+ "type": "string"
+ },
+ "width": {
+ "description": "Ignored for arrows. The board derives it from the connected shapes.",
+ "type": "number"
+ },
+ "x": {
+ "description": "Ignored for arrows. The board derives it from the connected shapes.",
+ "type": "number"
+ },
+ "y": {
+ "description": "Ignored for arrows. The board derives it from the connected shapes.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ }
+]
removedInput schema / properties / shapes / items / properties
Removed value: -{
- "color": {
- "description": "Stroke color, as a CSS color.",
- "type": "string"
- },
- "fill": {
- "description": "A box's background, as a CSS color.",
- "type": "string"
- },
- "fontSize": {
- "description": "The text's size in pixels: 20 unless given, 28 or 36 for a heading.",
- "maximum": 200,
- "minimum": 8,
- "type": "number"
- },
- "frame": {
- "description": "The id of the frame the shape sits in. An empty string takes it out.",
- "type": "string"
- },
- "from": {
- "description": "The id of the shape an arrow leaves.",
- "type": "string"
- },
- "height": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "id": {
- "description": "Names the shape. The id of a shape on the board changes that shape, keeping the fields you leave out.",
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- },
- "stroke": {
- "description": "The line of a box's outline or an arrow.",
- "enum": [
- "solid",
- "dashed",
- "dotted"
- ],
- "type": "string"
- },
- "text": {
- "description": "The label of a box or an arrow, what a text shape says, or a frame's name.",
- "maxLength": 2000,
- "type": "string"
- },
- "to": {
- "description": "The id of the shape an arrow points at.",
- "type": "string"
- },
- "type": {
- "description": "Required for a new shape.",
- "enum": [
- "rectangle",
- "ellipse",
- "diamond",
- "text",
- "arrow",
- "frame"
- ],
- "type": "string"
- },
- "width": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "x": {
- "description": "Left edge, in pixels. Leave out x and y of a new shape to have the board place it.",
- "type": "number"
- },
- "y": {
- "description": "Top edge, in pixels. y grows downward.",
- "type": "number"
- }
-}