changedOutput schema / properties / item / properties / attributes / properties / payload / anyOf
Previous value: -[
- {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "communication_kind": {
- "enum": [
- "well_notification",
- "schedule_run_report",
- "well_brief",
- "well_reminder",
- "connector_grant_apology",
- "connect_provider_no_return",
- "statement_reread_result",
- "accounting_well_report",
- "task_hand_over"
- ],
- "type": "string"
- },
- "params": {
- "additionalProperties": {
- "anyOf": [
- {
- "maxLength": 1000,
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "type": "null"
- }
- ]
- },
- "propertyNames": {
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- },
- "type": "object"
- },
- "proposed_action": {
- "additionalProperties": false,
- "properties": {
- "draft": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "type": {
- "enum": [
- "invoice"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "id"
- ],
- "type": "object"
- },
- "object": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "type": {
- "enum": [
- "invoice"
- ],
- "type": "string"
- }
- },
- "required": [
- "type",
- "id"
- ],
- "type": "object"
- },
- "verb": {
- "enum": [
- "send"
- ],
- "type": "string"
- }
- },
- "required": [
- "verb",
- "object"
- ],
- "type": "object"
- }
- },
- "required": [
- "communication_kind",
- "params"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "communication_kind": {
- "const": "well_notification",
- "type": "string"
- },
- "params": {
- "additionalProperties": false,
- "properties": {
- "anomaly": {
- "enum": [
- "duplicate_charge",
- "low_balance"
- ],
- "type": "string"
- },
- "claim": {
- "additionalProperties": false,
- "properties": {
- "body": {
- "maxLength": 3000,
- "minLength": 1,
- "type": "string"
- },
- "card_text": {
- "maxLength": 3000,
- "minLength": 1,
- "type": "string"
- },
- "confirmation_id": {
- "maxLength": 255,
- "minLength": 1,
- "type": "string"
- },
- "subject": {
- "maxLength": 180,
- "minLength": 1,
- "type": "string"
- },
- "to": {
- "items": {
- "format": "email",
- "maxLength": 255,
- "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
- "type": "string"
- },
- "maxItems": 1,
- "type": "array"
- }
- },
- "required": [
- "to",
- "subject",
- "body"
- ],
- "type": "object"
- },
- "message": {
- "maxLength": 255,
- "minLength": 1,
- "type": "string"
- },
- "task_id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "title": {
- "maxLength": 120,
- "minLength": 1,
- "type": "string"
- },
- "workspace_name": {
- "maxLength": 255,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "anomaly",
- "task_id",
- "workspace_name",
- "title",
- "message"
- ],
- "type": "object"
- }
- },
- "required": [
- "communication_kind",
- "params"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "communication_kind": {
- "const": "well_notification",
- "type": "string"
- },
- "params": {
- "additionalProperties": false,
- "properties": {
- "balance_due": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "currency": {
- "maxLength": 3,
- "minLength": 3,
- "type": "string"
- },
- "customer_name": {
- "maxLength": 255,
- "minLength": 1,
- "type": "string"
- },
- "days_past_due": {
- "maximum": 30,
- "minimum": 7,
- "type": "integer"
- },
- "due_date": {
- "format": "date",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
- "type": "string"
- },
- "invoice_id": {
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "invoice_number": {
- "anyOf": [
- {
- "maxLength": 255,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "requested_payment_date": {
- "format": "date",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
- "type": "string"
- },
- "send": {
- "additionalProperties": false,
- "properties": {
- "bcc": {
- "description": "Addresses in blind copy.",
- "items": {
- "format": "email",
- "maxLength": 254,
- "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "body": {
- "description": "The email body, in plain text. Line breaks are kept.",
- "maxLength": 100000,
- "minLength": 1,
- "type": "string"
- },
- "cc": {
- "description": "Addresses in copy.",
- "items": {
- "format": "email",
- "maxLength": 254,
- "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
- "type": "string"
- },
- "maxItems": 50,
- "type": "array"
- },
- "invoice_id": {
- "description": "The id of the issued invoice this email sends. Omit it when the email is not about an invoice.",
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "reply_to_note_id": {
- "description": "The note_id of the mail this email answers, from the user's own email records: the email goes out as a reply in that mail's thread. Omit it for a new email.",
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "send_again": {
- "description": "True only when the user knows this invoice already went out at this step and asks to send it again anyway.",
- "type": "boolean"
- },
- "send_again_over": {
- "description": "Set by Well, never by you: the send a send-again card repeats.",
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
- "type": "string"
- },
- "sender_mailbox_id": {
- "description": "Only the `mailbox_id` of an `other_space_mailbox` a refusal offered, once the user said yes to sending from it. Omit it otherwise.",
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- },
- "subject": {
- "description": "The email subject line.",
- "maxLength": 300,
- "minLength": 1,
- "type": "string"
- },
- "to": {
- "description": "The recipients' email addresses, one entry per address.",
- "items": {
- "format": "email",
- "maxLength": 254,
- "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
- "type": "string"
- },
- "maxItems": 50,
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "to",
- "subject",
- "body"
- ],
- "type": "object"
- }
- },
- "required": [
- "invoice_id",
- "send",
- "customer_name",
- "invoice_number",
- "balance_due",
- "currency",
- "due_date",
- "days_past_due",
- "requested_payment_date"
- ],
- "type": "object"
- }
- },
- "required": [
- "communication_kind",
- "params"
- ],
- "type": "object"
- }
- ]
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "communication_kind": {
+ "enum": [
+ "well_notification",
+ "schedule_run_report",
+ "well_brief",
+ "well_reminder",
+ "connector_grant_apology",
+ "connect_provider_no_return",
+ "statement_reread_result",
+ "accounting_well_report",
+ "task_hand_over"
+ ],
+ "type": "string"
+ },
+ "params": {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "maxLength": 1000,
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "propertyNames": {
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "proposed_action": {
+ "additionalProperties": false,
+ "properties": {
+ "draft": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "invoice"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "id"
+ ],
+ "type": "object"
+ },
+ "object": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "type": {
+ "enum": [
+ "invoice"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "id"
+ ],
+ "type": "object"
+ },
+ "verb": {
+ "enum": [
+ "send"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "verb",
+ "object"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "communication_kind",
+ "params"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "communication_kind": {
+ "const": "well_notification",
+ "type": "string"
+ },
+ "params": {
+ "additionalProperties": false,
+ "properties": {
+ "anomaly": {
+ "enum": [
+ "duplicate_charge",
+ "low_balance"
+ ],
+ "type": "string"
+ },
+ "claim": {
+ "additionalProperties": false,
+ "properties": {
+ "body": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "card_text": {
+ "maxLength": 3000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "confirmation_id": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "subject": {
+ "maxLength": 180,
+ "minLength": 1,
+ "type": "string"
+ },
+ "to": {
+ "items": {
+ "format": "email",
+ "maxLength": 255,
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
+ "type": "string"
+ },
+ "maxItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "to",
+ "subject",
+ "body"
+ ],
+ "type": "object"
+ },
+ "message": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "task_id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "title": {
+ "maxLength": 120,
+ "minLength": 1,
+ "type": "string"
+ },
+ "workspace_name": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "anomaly",
+ "task_id",
+ "workspace_name",
+ "title",
+ "message"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "communication_kind",
+ "params"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "communication_kind": {
+ "const": "well_notification",
+ "type": "string"
+ },
+ "params": {
+ "additionalProperties": false,
+ "properties": {
+ "balance_due": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "currency": {
+ "maxLength": 3,
+ "minLength": 3,
+ "type": "string"
+ },
+ "customer_name": {
+ "maxLength": 255,
+ "minLength": 1,
+ "type": "string"
+ },
+ "days_past_due": {
+ "maximum": 30,
+ "minimum": 7,
+ "type": "integer"
+ },
+ "due_date": {
+ "format": "date",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
+ "type": "string"
+ },
+ "invoice_id": {
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "invoice_number": {
+ "anyOf": [
+ {
+ "maxLength": 255,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "requested_payment_date": {
+ "format": "date",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
+ "type": "string"
+ },
+ "send": {
+ "additionalProperties": false,
+ "properties": {
+ "accountant_package": {
+ "additionalProperties": false,
+ "description": "The calendar month (`calendar_year`, `calendar_month`) of a closed month whose receipts, bank reconciliation and journal the user asks to send to their accountant. Set `include_fec` only when the user asks for the FEC. Well builds the package and attaches it or links it; never describe the attachment or write a link yourself. Omit it for any other email.",
+ "properties": {
+ "calendar_month": {
+ "description": "The calendar month, 1 to 12, of the closed month.",
+ "maximum": 12,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "calendar_year": {
+ "description": "The calendar year of the closed month.",
+ "maximum": 2100,
+ "minimum": 2000,
+ "type": "integer"
+ },
+ "delivery": {
+ "description": "\"link\" only when a call refused the package as too large. Omit it otherwise.",
+ "enum": [
+ "auto",
+ "link"
+ ],
+ "type": "string"
+ },
+ "include_fec": {
+ "description": "True only when the user asks for the FEC. Only French books have one.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "calendar_year",
+ "calendar_month"
+ ],
+ "type": "object"
+ },
+ "bcc": {
+ "description": "Addresses in blind copy.",
+ "items": {
+ "format": "email",
+ "maxLength": 254,
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "body": {
+ "description": "The email body, in plain text. Line breaks are kept.",
+ "maxLength": 100000,
+ "minLength": 1,
+ "type": "string"
+ },
+ "bound_delivery": {
+ "description": "Set by Well, never by you: how the accountant package goes.",
+ "enum": [
+ "attached",
+ "link"
+ ],
+ "type": "string"
+ },
+ "bound_expires_on": {
+ "anyOf": [
+ {
+ "format": "date",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Set by Well, never by you: the day the package link expires."
+ },
+ "bound_fingerprint": {
+ "description": "Set by Well, never by you: the digest of the files the package showed.",
+ "type": "string"
+ },
+ "bound_receipt_count": {
+ "description": "Set by Well, never by you: the receipt count the package showed.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "cc": {
+ "description": "Addresses in copy.",
+ "items": {
+ "format": "email",
+ "maxLength": 254,
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ },
+ "invoice_id": {
+ "description": "The id of the issued invoice this email sends. Omit it when the email is not about an invoice.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "reply_to_note_id": {
+ "description": "The note_id of the mail this email answers, from the user's own email records: the email goes out as a reply in that mail's thread. Omit it for a new email.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "send_again": {
+ "description": "True only when the user knows this invoice already went out at this step and asks to send it again anyway.",
+ "type": "boolean"
+ },
+ "send_again_over": {
+ "description": "Set by Well, never by you: the send a send-again card repeats.",
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "sender_mailbox_id": {
+ "description": "Only the `mailbox_id` of an `other_space_mailbox` a refusal offered, once the user said yes to sending from it. Omit it otherwise.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ },
+ "subject": {
+ "description": "The email subject line.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+ },
+ "to": {
+ "description": "The recipients' email addresses, one entry per address. Empty only with accountant_package, which goes to the address Well remembers.",
+ "items": {
+ "format": "email",
+ "maxLength": 254,
+ "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
+ "type": "string"
+ },
+ "maxItems": 50,
+ "type": "array"
+ }
+ },
+ "required": [
+ "to",
+ "subject",
+ "body"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "invoice_id",
+ "send",
+ "customer_name",
+ "invoice_number",
+ "balance_due",
+ "currency",
+ "due_date",
+ "days_past_due",
+ "requested_payment_date"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "communication_kind",
+ "params"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+]