changedInput schema / properties / content / anyOf
Previous value: -[
- {
- "properties": {
- "body": {
- "type": "string"
- },
- "kind": {
- "const": "doc"
- }
- },
- "required": [
- "kind",
- "body"
- ],
- "type": "object"
- },
- {
- "properties": {
- "body": {
- "type": "string"
- },
- "bodyFormat": {
- "description": "How `body` is written: \"markdown\" (default) or \"html\". An HTML readme replaces a Markdown one and vice versa — a folder keeps one readme.",
- "enum": [
- "markdown",
- "html"
- ],
- "type": "string"
- },
- "kind": {
- "const": "folder"
- }
- },
- "required": [
- "kind",
- "body"
- ],
- "type": "object"
- },
- {
- "properties": {
- "document": {
- "properties": {
- "appState": {
- "additionalProperties": {},
- "default": {},
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "elements": {
- "default": [],
- "items": {},
- "type": "array"
- },
- "version": {
- "const": 1
- }
- },
- "required": [
- "version"
- ],
- "type": "object"
- },
- "kind": {
- "const": "whiteboard"
- }
- },
- "required": [
- "kind",
- "document"
- ],
- "type": "object"
- },
- {
- "properties": {
- "document": {
- "properties": {
- "edges": {
- "default": [],
- "items": {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "default": "",
- "maxLength": 120,
- "type": "string"
- },
- "outcome": {
- "default": "default",
- "maxLength": 120,
- "type": "string"
- },
- "source": {
- "minLength": 1,
- "type": "string"
- },
- "target": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "source",
- "target"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "nodes": {
- "default": [],
- "items": {
- "anyOf": [
- {
- "properties": {
- "baseId": {
- "default": "",
- "maxLength": 160,
- "type": "string"
- },
- "description": {
- "default": "",
- "maxLength": 500,
- "type": "string"
- },
- "eventName": {
- "default": "manual",
- "maxLength": 160,
- "type": "string"
- },
- "fieldSlug": {
- "maxLength": 160,
- "type": "string"
- },
- "hookToken": {
- "maxLength": 100,
- "minLength": 16,
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "trigger"
- },
- "label": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "position": {
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "required": [
- "x",
- "y"
- ],
- "type": "object"
- },
- "schedule": {
- "properties": {
- "at": {
- "default": "09:00",
- "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
- "type": "string"
- },
- "every": {
- "default": 1,
- "maximum": 1000,
- "minimum": 1,
- "type": "integer"
- },
- "timezone": {
- "default": "UTC",
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- },
- "unit": {
- "default": "days",
- "enum": [
- "minutes",
- "hours",
- "days",
- "weeks"
- ],
- "type": "string"
- },
- "weekday": {
- "default": 1,
- "maximum": 6,
- "minimum": 0,
- "type": "integer"
- }
- },
- "type": "object"
- },
- "toValue": {
- "maxLength": 500,
- "type": "string"
- }
- },
- "required": [
- "id",
- "position",
- "label",
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "description": {
- "default": "",
- "maxLength": 500,
- "type": "string"
- },
- "headers": {
- "items": {
- "properties": {
- "name": {
- "maxLength": 200,
- "type": "string"
- },
- "value": {
- "maxLength": 4000,
- "type": "string"
- }
- },
- "required": [
- "name",
- "value"
- ],
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "webhook"
- },
- "label": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "method": {
- "default": "POST",
- "enum": [
- "GET",
- "POST",
- "PUT",
- "PATCH",
- "DELETE"
- ],
- "type": "string"
- },
- "position": {
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "required": [
- "x",
- "y"
- ],
- "type": "object"
- },
- "url": {
- "default": "",
- "maxLength": 2000,
- "type": "string"
- }
- },
- "required": [
- "id",
- "position",
- "label",
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "code": {
- "maxLength": 50000,
- "type": "string"
- },
- "description": {
- "default": "",
- "maxLength": 500,
- "type": "string"
- },
- "functionName": {
- "default": "",
- "maxLength": 160,
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "function"
- },
- "label": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "language": {
- "enum": [
- "javascript",
- "python"
- ],
- "type": "string"
- },
- "packages": {
- "maxLength": 1000,
- "type": "string"
- },
- "position": {
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "required": [
- "x",
- "y"
- ],
- "type": "object"
- },
- "runIn": {
- "enum": [
- "server",
- "sandbox"
- ],
- "type": "string"
- },
- "webhookRuleId": {
- "default": "",
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "position",
- "label",
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "description": {
- "default": "",
- "maxLength": 500,
- "type": "string"
- },
- "expression": {
- "default": "",
- "maxLength": 2000,
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "condition"
- },
- "label": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "position": {
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "required": [
- "x",
- "y"
- ],
- "type": "object"
- }
- },
- "required": [
- "id",
- "position",
- "label",
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "description": {
- "default": "",
- "maxLength": 500,
- "type": "string"
- },
- "duration": {
- "default": 1,
- "maximum": 525600,
- "minimum": 0,
- "type": "integer"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "wait"
- },
- "label": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "position": {
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "required": [
- "x",
- "y"
- ],
- "type": "object"
- },
- "unit": {
- "default": "hours",
- "enum": [
- "minutes",
- "hours",
- "days"
- ],
- "type": "string"
- }
- },
- "required": [
- "id",
- "position",
- "label",
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "allowAgents": {
- "default": false,
- "type": "boolean"
- },
- "approver": {
- "default": "",
- "maxLength": 160,
- "type": "string"
- },
- "description": {
- "default": "",
- "maxLength": 500,
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "approval"
- },
- "label": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "position": {
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "required": [
- "x",
- "y"
- ],
- "type": "object"
- }
- },
- "required": [
- "id",
- "position",
- "label",
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "actionName": {
- "default": "",
- "maxLength": 160,
- "type": "string"
- },
- "baseId": {
- "default": "",
- "maxLength": 160,
- "type": "string"
- },
- "description": {
- "default": "",
- "maxLength": 500,
- "type": "string"
- },
- "fields": {
- "additionalProperties": {},
- "default": {},
- "propertyNames": {
- "maxLength": 160,
- "minLength": 1,
- "type": "string"
- },
- "type": "object"
- },
- "forEach": {
- "type": "boolean"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "action"
- },
- "label": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "limit": {
- "maximum": 200,
- "minimum": 1,
- "type": "integer"
- },
- "position": {
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "required": [
- "x",
- "y"
- ],
- "type": "object"
- },
- "targetRecordId": {
- "default": "",
- "maxLength": 500,
- "type": "string"
- },
- "viewId": {
- "maxLength": 160,
- "type": "string"
- }
- },
- "required": [
- "id",
- "position",
- "label",
- "kind"
- ],
- "type": "object"
- },
- {
- "properties": {
- "description": {
- "default": "",
- "maxLength": 500,
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "kind": {
- "const": "end"
- },
- "label": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "outcome": {
- "default": "completed",
- "maxLength": 160,
- "type": "string"
- },
- "position": {
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "required": [
- "x",
- "y"
- ],
- "type": "object"
- }
- },
- "required": [
- "id",
- "position",
- "label",
- "kind"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "settings": {
- "default": {
- "concurrency": 1,
- "errorPolicy": "stop",
- "executionMode": "manual",
- "timeoutMs": 30000
- },
- "properties": {
- "concurrency": {
- "default": 1,
- "maximum": 50,
- "minimum": 1,
- "type": "integer"
- },
- "errorPolicy": {
- "default": "stop",
- "enum": [
- "stop",
- "continue"
- ],
- "type": "string"
- },
- "executionMode": {
- "default": "manual",
- "enum": [
- "manual",
- "event"
- ],
- "type": "string"
- },
- "timeoutMs": {
- "default": 30000,
- "maximum": 300000,
- "minimum": 1000,
- "type": "integer"
- }
- },
- "type": "object"
- },
- "version": {
- "const": 2
- }
- },
- "required": [
- "version"
- ],
- "type": "object"
- },
- "kind": {
- "const": "workflow"
- }
- },
- "required": [
- "kind",
- "document"
- ],
- "type": "object"
- },
- {
- "properties": {
- "document": {
- "properties": {
- "source": {
- "maxLength": 500000,
- "type": "string"
- },
- "version": {
- "const": 1
- }
- },
- "required": [
- "version",
- "source"
- ],
- "type": "object"
- },
- "kind": {
- "const": "html"
- }
- },
- "required": [
- "kind",
- "document"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "body": {
+ "type": "string"
+ },
+ "kind": {
+ "const": "doc"
+ }
+ },
+ "required": [
+ "kind",
+ "body"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "body": {
+ "type": "string"
+ },
+ "bodyFormat": {
+ "description": "How `body` is written: \"markdown\" (default) or \"html\". An HTML readme replaces a Markdown one and vice versa — a folder keeps one readme.",
+ "enum": [
+ "markdown",
+ "html"
+ ],
+ "type": "string"
+ },
+ "kind": {
+ "const": "folder"
+ }
+ },
+ "required": [
+ "kind",
+ "body"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "document": {
+ "properties": {
+ "appState": {
+ "additionalProperties": {},
+ "default": {},
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "elements": {
+ "default": [],
+ "items": {},
+ "type": "array"
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "whiteboard"
+ }
+ },
+ "required": [
+ "kind",
+ "document"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "document": {
+ "properties": {
+ "edges": {
+ "default": [],
+ "items": {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "default": "",
+ "maxLength": 120,
+ "type": "string"
+ },
+ "outcome": {
+ "default": "default",
+ "maxLength": 120,
+ "type": "string"
+ },
+ "source": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "target": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "source",
+ "target"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "nodes": {
+ "default": [],
+ "items": {
+ "anyOf": [
+ {
+ "properties": {
+ "baseId": {
+ "default": "",
+ "maxLength": 160,
+ "type": "string"
+ },
+ "description": {
+ "default": "",
+ "maxLength": 500,
+ "type": "string"
+ },
+ "eventName": {
+ "default": "manual",
+ "maxLength": 160,
+ "type": "string"
+ },
+ "fieldSlug": {
+ "maxLength": 160,
+ "type": "string"
+ },
+ "hookToken": {
+ "maxLength": 100,
+ "minLength": 16,
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "trigger"
+ },
+ "label": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "position": {
+ "properties": {
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "schedule": {
+ "properties": {
+ "at": {
+ "default": "09:00",
+ "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
+ "type": "string"
+ },
+ "every": {
+ "default": 1,
+ "maximum": 1000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "timezone": {
+ "default": "UTC",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "unit": {
+ "default": "days",
+ "enum": [
+ "minutes",
+ "hours",
+ "days",
+ "weeks"
+ ],
+ "type": "string"
+ },
+ "weekday": {
+ "default": 1,
+ "maximum": 6,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "toValue": {
+ "maxLength": 500,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "label",
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "description": {
+ "default": "",
+ "maxLength": 500,
+ "type": "string"
+ },
+ "headers": {
+ "items": {
+ "properties": {
+ "name": {
+ "maxLength": 200,
+ "type": "string"
+ },
+ "value": {
+ "maxLength": 4000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "value"
+ ],
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "webhook"
+ },
+ "label": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "method": {
+ "default": "POST",
+ "enum": [
+ "GET",
+ "POST",
+ "PUT",
+ "PATCH",
+ "DELETE"
+ ],
+ "type": "string"
+ },
+ "position": {
+ "properties": {
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "signingSecret": {
+ "maxLength": 100,
+ "minLength": 16,
+ "type": "string"
+ },
+ "url": {
+ "default": "",
+ "maxLength": 2000,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "label",
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "code": {
+ "maxLength": 50000,
+ "type": "string"
+ },
+ "description": {
+ "default": "",
+ "maxLength": 500,
+ "type": "string"
+ },
+ "functionName": {
+ "default": "",
+ "maxLength": 160,
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "function"
+ },
+ "label": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "language": {
+ "enum": [
+ "javascript",
+ "python"
+ ],
+ "type": "string"
+ },
+ "packages": {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ "position": {
+ "properties": {
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "runIn": {
+ "enum": [
+ "server",
+ "sandbox"
+ ],
+ "type": "string"
+ },
+ "webhookRuleId": {
+ "default": "",
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "label",
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "description": {
+ "default": "",
+ "maxLength": 500,
+ "type": "string"
+ },
+ "expression": {
+ "default": "",
+ "maxLength": 2000,
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "condition"
+ },
+ "label": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "position": {
+ "properties": {
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "label",
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "description": {
+ "default": "",
+ "maxLength": 500,
+ "type": "string"
+ },
+ "duration": {
+ "default": 1,
+ "maximum": 525600,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "wait"
+ },
+ "label": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "position": {
+ "properties": {
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "unit": {
+ "default": "hours",
+ "enum": [
+ "minutes",
+ "hours",
+ "days"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "label",
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "allowAgents": {
+ "default": false,
+ "type": "boolean"
+ },
+ "approver": {
+ "default": "",
+ "maxLength": 160,
+ "type": "string"
+ },
+ "description": {
+ "default": "",
+ "maxLength": 500,
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "approval"
+ },
+ "label": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "position": {
+ "properties": {
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "label",
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "actionName": {
+ "default": "",
+ "maxLength": 160,
+ "type": "string"
+ },
+ "baseId": {
+ "default": "",
+ "maxLength": 160,
+ "type": "string"
+ },
+ "description": {
+ "default": "",
+ "maxLength": 500,
+ "type": "string"
+ },
+ "fields": {
+ "additionalProperties": {},
+ "default": {},
+ "propertyNames": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "forEach": {
+ "type": "boolean"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "action"
+ },
+ "label": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "limit": {
+ "maximum": 200,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "position": {
+ "properties": {
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ },
+ "targetRecordId": {
+ "default": "",
+ "maxLength": 500,
+ "type": "string"
+ },
+ "viewId": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "label",
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "description": {
+ "default": "",
+ "maxLength": 500,
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "kind": {
+ "const": "end"
+ },
+ "label": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "outcome": {
+ "default": "completed",
+ "maxLength": 160,
+ "type": "string"
+ },
+ "position": {
+ "properties": {
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "id",
+ "position",
+ "label",
+ "kind"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "settings": {
+ "default": {
+ "concurrency": 1,
+ "errorPolicy": "stop",
+ "executionMode": "manual",
+ "timeoutMs": 30000
+ },
+ "properties": {
+ "concurrency": {
+ "default": 1,
+ "maximum": 50,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "errorPolicy": {
+ "default": "stop",
+ "enum": [
+ "stop",
+ "continue"
+ ],
+ "type": "string"
+ },
+ "executionMode": {
+ "default": "manual",
+ "enum": [
+ "manual",
+ "event"
+ ],
+ "type": "string"
+ },
+ "timeoutMs": {
+ "default": 30000,
+ "maximum": 300000,
+ "minimum": 1000,
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "version": {
+ "const": 2
+ }
+ },
+ "required": [
+ "version"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "workflow"
+ }
+ },
+ "required": [
+ "kind",
+ "document"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "document": {
+ "properties": {
+ "source": {
+ "maxLength": 500000,
+ "type": "string"
+ },
+ "version": {
+ "const": 1
+ }
+ },
+ "required": [
+ "version",
+ "source"
+ ],
+ "type": "object"
+ },
+ "kind": {
+ "const": "html"
+ }
+ },
+ "required": [
+ "kind",
+ "document"
+ ],
+ "type": "object"
+ }
+]