changedInput schema / properties / changes / items / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "add_node",
- "type": "string"
- },
- "color": {
- "description": "Fill color as a hex code, such as #0a84ff. Omit it to use the model style.",
- "maxLength": 40,
- "type": "string"
- },
- "labels": {
- "description": "Node labels, such as [\"Customer\"] or [\"Router\", \"Egress\"]. No two nodes can have the same set of labels.",
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "layers": {
- "description": "Names of the layers the node belongs to. Any layer that doesn't exist yet is created.",
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "properties": {
- "description": "Properties in display order. On a node, the first property's example is shown as its caption.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "example": {
- "description": "An example value.",
- "maxLength": 20000,
- "type": "string"
- },
- "key": {
- "description": "Property key in camelCase, such as orderId. For an existing property, use the key exactly as get_model spells it.",
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "required": {
- "description": "Set to true to add a property existence constraint (IS NOT NULL), which needs Neo4j Enterprise Edition or Aura.",
- "type": "boolean"
- },
- "type": {
- "description": "The Neo4j property type, one of: STRING, INTEGER, FLOAT, BOOLEAN, DATE, ZONED DATETIME, LOCAL DATETIME, LIST<STRING>, POINT, DURATION, LIST<BOOLEAN>, LIST<DATE>, LIST<DURATION>, LIST<FLOAT>, LIST<INTEGER>, LIST<LOCAL DATETIME>, LIST<LOCAL TIME>, LIST<POINT>, LIST<UUID>, LIST<ZONED DATETIME>, LIST<ZONED TIME>, LOCAL TIME, UUID, VECTOR, ZONED TIME. Omit it if unknown.",
- "maxLength": 100,
- "type": "string"
- },
- "unique": {
- "description": "Set to true to add a property uniqueness constraint (IS UNIQUE).",
- "type": "boolean"
- }
- },
- "required": [
- "key"
- ],
- "type": "object"
- },
- "maxItems": 500,
- "type": "array"
- },
- "ref": {
- "description": "A short name of your choosing, used to refer to the node later in this list.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "labels"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "update_node",
- "type": "string"
- },
- "color": {
- "anyOf": [
- {
- "description": "Fill color as a hex code, such as #0a84ff.",
- "maxLength": 40,
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Fill color as a hex code, or null to use the model style."
- },
- "labels": {
- "description": "Node labels, such as [\"Customer\"] or [\"Router\", \"Egress\"]. No two nodes can have the same set of labels.",
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 20,
- "type": "array"
- },
- "layers": {
- "description": "Names of the layers the node belongs to. Any layer that doesn't exist yet is created.",
- "items": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "node": {
- "description": "The node's id, or the ref of a node added earlier in this list.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "node"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "remove_node",
- "type": "string"
- },
- "node": {
- "description": "The node's id, or the ref of a node added earlier in this list.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "node"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "add_relationship",
- "type": "string"
- },
- "from": {
- "description": "The node's id, or the ref of a node added earlier in this list.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "properties": {
- "description": "Properties in display order. On a node, the first property's example is shown as its caption.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "example": {
- "description": "An example value.",
- "maxLength": 20000,
- "type": "string"
- },
- "key": {
- "description": "Property key in camelCase, such as orderId. For an existing property, use the key exactly as get_model spells it.",
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "required": {
- "description": "Set to true to add a property existence constraint (IS NOT NULL), which needs Neo4j Enterprise Edition or Aura.",
- "type": "boolean"
- },
- "type": {
- "description": "The Neo4j property type, one of: STRING, INTEGER, FLOAT, BOOLEAN, DATE, ZONED DATETIME, LOCAL DATETIME, LIST<STRING>, POINT, DURATION, LIST<BOOLEAN>, LIST<DATE>, LIST<DURATION>, LIST<FLOAT>, LIST<INTEGER>, LIST<LOCAL DATETIME>, LIST<LOCAL TIME>, LIST<POINT>, LIST<UUID>, LIST<ZONED DATETIME>, LIST<ZONED TIME>, LOCAL TIME, UUID, VECTOR, ZONED TIME. Omit it if unknown.",
- "maxLength": 100,
- "type": "string"
- },
- "unique": {
- "description": "Set to true to add a property uniqueness constraint (IS UNIQUE).",
- "type": "boolean"
- }
- },
- "required": [
- "key"
- ],
- "type": "object"
- },
- "maxItems": 500,
- "type": "array"
- },
- "ref": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "to": {
- "description": "The node's id, or the ref of a node added earlier in this list.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "from",
- "to",
- "type"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "update_relationship",
- "type": "string"
- },
- "from": {
- "description": "The node's id, or the ref of a node added earlier in this list.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "relationship": {
- "description": "The relationship's id, or the ref of a relationship added earlier in this list.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "to": {
- "description": "The node's id, or the ref of a node added earlier in this list.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "relationship"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "remove_relationship",
- "type": "string"
- },
- "relationship": {
- "description": "The relationship's id, or the ref of a relationship added earlier in this list.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "relationship"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "set_property",
- "type": "string"
- },
- "example": {
- "description": "An example value, or \"\" to clear it.",
- "maxLength": 20000,
- "type": "string"
- },
- "key": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "on": {
- "description": "The id or ref of the node or relationship the property belongs to.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "position": {
- "description": "Move the property to the top or the bottom of the list. On a node, the top property's example is shown as its caption.",
- "enum": [
- "first",
- "last"
- ],
- "type": "string"
- },
- "required": {
- "type": "boolean"
- },
- "type": {
- "description": "A property type, or \"\" to clear it.",
- "maxLength": 100,
- "type": "string"
- },
- "unique": {
- "type": "boolean"
- }
- },
- "required": [
- "action",
- "on",
- "key"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "rename_property",
- "type": "string"
- },
- "key": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "newKey": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "on": {
- "description": "The id or ref of the node or relationship the property belongs to.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "on",
- "key",
- "newKey"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "remove_property",
- "type": "string"
- },
- "key": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "on": {
- "description": "The id or ref of the node or relationship the property belongs to.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "on",
- "key"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "add_note",
- "type": "string"
- },
- "attachTo": {
- "items": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "color": {
- "description": "Fill color as a hex code, such as #0a84ff. Omit it for a white note.",
- "maxLength": 40,
- "type": "string"
- },
- "ref": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "text": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "text"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "update_note",
- "type": "string"
- },
- "attachTo": {
- "description": "Ids or refs of the nodes and relationships to attach the note to, replacing its current attachments. Use [] to detach it from all of them.",
- "items": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "color": {
- "description": "Fill color as a hex code, such as #0a84ff.",
- "maxLength": 40,
- "type": "string"
- },
- "note": {
- "description": "The note's id, or the ref of a note added earlier in this list.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "text": {
- "maxLength": 20000,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "note"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "remove_note",
- "type": "string"
- },
- "note": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "note"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "remove_layer",
- "type": "string"
- },
- "layer": {
- "description": "The layer's name, as listed by get_model.",
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "moveContentsTo": {
- "description": "The name of the layer to move this layer's nodes and relationships to. Omit it to delete them instead. Nodes that also belong to another layer stay in that layer.",
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "layer"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "rename_layer",
- "type": "string"
- },
- "layer": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "layer",
- "name"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "const": "rename_model",
- "type": "string"
- },
- "name": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "action",
- "name"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "add_node",
+ "type": "string"
+ },
+ "color": {
+ "description": "Fill color as a hex code, such as #0a84ff. Omit it to use the model style.",
+ "maxLength": 40,
+ "type": "string"
+ },
+ "labels": {
+ "description": "Node labels, such as [\"Customer\"] or [\"Router\", \"Egress\"]. No two nodes can have the same set of labels.",
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "layers": {
+ "description": "Names of the layers the node belongs to. Any layer that doesn't exist yet is created.",
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "properties": {
+ "description": "Properties in display order. On a node, the first property's example is shown as its caption.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "example": {
+ "description": "An example value.",
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "key": {
+ "description": "Property key in camelCase, such as orderId. For an existing property, use the key exactly as get_model spells it.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "partOfKey": {
+ "description": "Set to true on every property that together identifies the node or relationship, such as orderId and lineNo on an order line. toro4n exports one key constraint over all of them, REQUIRE (n.orderId, n.lineNo) IS NODE KEY (IS RELATIONSHIP KEY on a relationship): each must be present and the combination unique. Needs Neo4j Enterprise Edition or Aura. An element has one key.",
+ "type": "boolean"
+ },
+ "required": {
+ "description": "Set to true to add a property existence constraint (IS NOT NULL), which needs Neo4j Enterprise Edition or Aura.",
+ "type": "boolean"
+ },
+ "type": {
+ "description": "The Neo4j property type, one of: STRING, INTEGER, FLOAT, BOOLEAN, DATE, ZONED DATETIME, LOCAL DATETIME, LIST<STRING>, POINT, DURATION, LIST<BOOLEAN>, LIST<DATE>, LIST<DURATION>, LIST<FLOAT>, LIST<INTEGER>, LIST<LOCAL DATETIME>, LIST<LOCAL TIME>, LIST<POINT>, LIST<UUID>, LIST<ZONED DATETIME>, LIST<ZONED TIME>, LOCAL TIME, UUID, VECTOR, ZONED TIME. Omit it if unknown.",
+ "maxLength": 100,
+ "type": "string"
+ },
+ "unique": {
+ "description": "Set to true to add a property uniqueness constraint (IS UNIQUE).",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "key"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "ref": {
+ "description": "A short name of your choosing, used to refer to the node later in this list.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "labels"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "update_node",
+ "type": "string"
+ },
+ "color": {
+ "anyOf": [
+ {
+ "description": "Fill color as a hex code, such as #0a84ff.",
+ "maxLength": 40,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Fill color as a hex code, or null to use the model style."
+ },
+ "labels": {
+ "description": "Node labels, such as [\"Customer\"] or [\"Router\", \"Egress\"]. No two nodes can have the same set of labels.",
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "layers": {
+ "description": "Names of the layers the node belongs to. Any layer that doesn't exist yet is created.",
+ "items": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "node": {
+ "description": "The node's id, or the ref of a node added earlier in this list.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "node"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "remove_node",
+ "type": "string"
+ },
+ "node": {
+ "description": "The node's id, or the ref of a node added earlier in this list.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "node"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "add_relationship",
+ "type": "string"
+ },
+ "from": {
+ "description": "The node's id, or the ref of a node added earlier in this list.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "properties": {
+ "description": "Properties in display order. On a node, the first property's example is shown as its caption.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "example": {
+ "description": "An example value.",
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "key": {
+ "description": "Property key in camelCase, such as orderId. For an existing property, use the key exactly as get_model spells it.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "partOfKey": {
+ "description": "Set to true on every property that together identifies the node or relationship, such as orderId and lineNo on an order line. toro4n exports one key constraint over all of them, REQUIRE (n.orderId, n.lineNo) IS NODE KEY (IS RELATIONSHIP KEY on a relationship): each must be present and the combination unique. Needs Neo4j Enterprise Edition or Aura. An element has one key.",
+ "type": "boolean"
+ },
+ "required": {
+ "description": "Set to true to add a property existence constraint (IS NOT NULL), which needs Neo4j Enterprise Edition or Aura.",
+ "type": "boolean"
+ },
+ "type": {
+ "description": "The Neo4j property type, one of: STRING, INTEGER, FLOAT, BOOLEAN, DATE, ZONED DATETIME, LOCAL DATETIME, LIST<STRING>, POINT, DURATION, LIST<BOOLEAN>, LIST<DATE>, LIST<DURATION>, LIST<FLOAT>, LIST<INTEGER>, LIST<LOCAL DATETIME>, LIST<LOCAL TIME>, LIST<POINT>, LIST<UUID>, LIST<ZONED DATETIME>, LIST<ZONED TIME>, LOCAL TIME, UUID, VECTOR, ZONED TIME. Omit it if unknown.",
+ "maxLength": 100,
+ "type": "string"
+ },
+ "unique": {
+ "description": "Set to true to add a property uniqueness constraint (IS UNIQUE).",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "key"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "type": "array"
+ },
+ "ref": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "to": {
+ "description": "The node's id, or the ref of a node added earlier in this list.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "from",
+ "to",
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "update_relationship",
+ "type": "string"
+ },
+ "from": {
+ "description": "The node's id, or the ref of a node added earlier in this list.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "relationship": {
+ "description": "The relationship's id, or the ref of a relationship added earlier in this list.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "to": {
+ "description": "The node's id, or the ref of a node added earlier in this list.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "relationship"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "remove_relationship",
+ "type": "string"
+ },
+ "relationship": {
+ "description": "The relationship's id, or the ref of a relationship added earlier in this list.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "relationship"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "set_property",
+ "type": "string"
+ },
+ "example": {
+ "description": "An example value, or \"\" to clear it.",
+ "maxLength": 20000,
+ "type": "string"
+ },
+ "key": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "on": {
+ "description": "The id or ref of the node or relationship the property belongs to.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "partOfKey": {
+ "type": "boolean"
+ },
+ "position": {
+ "description": "Move the property to the top or the bottom of the list. On a node, the top property's example is shown as its caption.",
+ "enum": [
+ "first",
+ "last"
+ ],
+ "type": "string"
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "type": {
+ "description": "A property type, or \"\" to clear it.",
+ "maxLength": 100,
+ "type": "string"
+ },
+ "unique": {
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "action",
+ "on",
+ "key"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "rename_property",
+ "type": "string"
+ },
+ "key": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "newKey": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "on": {
+ "description": "The id or ref of the node or relationship the property belongs to.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "on",
+ "key",
+ "newKey"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "remove_property",
+ "type": "string"
+ },
+ "key": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "on": {
+ "description": "The id or ref of the node or relationship the property belongs to.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "on",
+ "key"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "add_note",
+ "type": "string"
+ },
+ "attachTo": {
+ "items": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "color": {
+ "description": "Fill color as a hex code, such as #0a84ff. Omit it for a white note.",
+ "maxLength": 40,
+ "type": "string"
+ },
+ "ref": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "text"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "update_note",
+ "type": "string"
+ },
+ "attachTo": {
+ "description": "Ids or refs of the nodes and relationships to attach the note to, replacing its current attachments. Use [] to detach it from all of them.",
+ "items": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "color": {
+ "description": "Fill color as a hex code, such as #0a84ff.",
+ "maxLength": 40,
+ "type": "string"
+ },
+ "note": {
+ "description": "The note's id, or the ref of a note added earlier in this list.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "text": {
+ "maxLength": 20000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "note"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "remove_note",
+ "type": "string"
+ },
+ "note": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "note"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "remove_layer",
+ "type": "string"
+ },
+ "layer": {
+ "description": "The layer's name, as listed by get_model.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "moveContentsTo": {
+ "description": "The name of the layer to move this layer's nodes and relationships to. Omit it to delete them instead. Nodes that also belong to another layer stay in that layer.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "layer"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "rename_layer",
+ "type": "string"
+ },
+ "layer": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "layer",
+ "name"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "const": "rename_model",
+ "type": "string"
+ },
+ "name": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "action",
+ "name"
+ ],
+ "type": "object"
+ }
+]