addedOutput schema / properties / data / properties
Added value: +{
+ "order": {
+ "additionalProperties": false,
+ "properties": {
+ "amount_cents": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "card_count": {
+ "maximum": 500,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "cards": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount_cents": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "artist_name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "cancellable": {
+ "type": "boolean"
+ },
+ "currency": {
+ "const": "usd",
+ "type": "string"
+ },
+ "fulfillment_status": {
+ "anyOf": [
+ {
+ "enum": [
+ "scheduled",
+ "preparing",
+ "ready",
+ "mailed",
+ "cancel_requested",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "id": {
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
+ "type": "string"
+ },
+ "input": {
+ "additionalProperties": false,
+ "properties": {
+ "design_key": {
+ "maxLength": 160,
+ "minLength": 1,
+ "type": "string"
+ },
+ "design_version": {
+ "exclusiveMinimum": 0,
+ "maximum": 2147483646,
+ "type": "integer"
+ },
+ "format": {
+ "description": "Postcard, flat card in an envelope, or folded card in an envelope. Omit to select flat_card_in_envelope.",
+ "enum": [
+ "postcard",
+ "flat_card_in_envelope",
+ "folded_card_in_envelope"
+ ],
+ "type": "string"
+ },
+ "include_paddock_gift": {
+ "type": "boolean"
+ },
+ "message": {
+ "description": "Personal message, at most 2000 Unicode characters. Printed artwork wording is separate.",
+ "maxLength": 4000,
+ "type": "string"
+ },
+ "message_font": {
+ "enum": [
+ "serif",
+ "sans_serif",
+ "old_school",
+ "handwriting"
+ ],
+ "type": "string"
+ },
+ "occasion": {
+ "additionalProperties": false,
+ "description": "Optional occasion and timing context, independent of the selected artwork. Omit for an ordinary just-because card.",
+ "properties": {
+ "calendar": {
+ "const": "us-western-v1",
+ "type": "string"
+ },
+ "day": {
+ "maximum": 31,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "kind": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "month": {
+ "maximum": 12,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "send_on": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "calendar"
+ ],
+ "type": "object"
+ },
+ "recipient": {
+ "additionalProperties": false,
+ "properties": {
+ "address_confirmed": {
+ "const": true,
+ "type": "boolean"
+ },
+ "anniversary_day": {
+ "maximum": 31,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "anniversary_month": {
+ "maximum": 12,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "birthday_day": {
+ "maximum": 31,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "birthday_month": {
+ "maximum": 12,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "birthday_year": {
+ "anyOf": [
+ {
+ "maximum": 9999,
+ "minimum": 1,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "display_name": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "greeting_name": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "mailing_address": {
+ "additionalProperties": false,
+ "properties": {
+ "country_code": {
+ "pattern": "^[A-Z]{2}$",
+ "type": "string"
+ },
+ "line1": {
+ "maxLength": 320,
+ "type": "string"
+ },
+ "line2": {
+ "maxLength": 320,
+ "type": "string"
+ },
+ "locality": {
+ "maxLength": 320,
+ "type": "string"
+ },
+ "postal_code": {
+ "maxLength": 48,
+ "type": "string"
+ },
+ "region": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "line1",
+ "line2",
+ "locality",
+ "region",
+ "postal_code",
+ "country_code"
+ ],
+ "type": "object"
+ },
+ "origin": {
+ "const": "manual",
+ "type": "string"
+ }
+ },
+ "required": [
+ "display_name",
+ "birthday_month",
+ "birthday_day",
+ "mailing_address",
+ "address_confirmed",
+ "origin"
+ ],
+ "type": "object"
+ },
+ "return_address": {
+ "additionalProperties": false,
+ "properties": {
+ "display_name": {
+ "maxLength": 240,
+ "type": "string"
+ },
+ "mailing_address": {
+ "additionalProperties": false,
+ "properties": {
+ "country_code": {
+ "pattern": "^[A-Z]{2}$",
+ "type": "string"
+ },
+ "line1": {
+ "maxLength": 320,
+ "type": "string"
+ },
+ "line2": {
+ "maxLength": 320,
+ "type": "string"
+ },
+ "locality": {
+ "maxLength": 320,
+ "type": "string"
+ },
+ "postal_code": {
+ "maxLength": 48,
+ "type": "string"
+ },
+ "region": {
+ "maxLength": 160,
+ "type": "string"
+ }
+ },
+ "required": [
+ "line1",
+ "line2",
+ "locality",
+ "region",
+ "postal_code",
+ "country_code"
+ ],
+ "type": "object"
+ },
+ "source_kind": {
+ "const": "manual",
+ "type": "string"
+ }
+ },
+ "required": [
+ "display_name",
+ "mailing_address",
+ "source_kind"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "design_key",
+ "design_version",
+ "message",
+ "recipient"
+ ],
+ "type": "object"
+ },
+ "mailed_at": {
+ "anyOf": [
+ {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "offer_version": {
+ "type": "string"
+ },
+ "payment_state": {
+ "enum": [
+ "unpaid",
+ "pending",
+ "paid",
+ "failed",
+ "expired",
+ "refunding",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "quote_expires_at": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "refund_review_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "refund_state": {
+ "enum": [
+ "none",
+ "pending",
+ "processing",
+ "succeeded",
+ "failed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "schedule": {
+ "additionalProperties": false,
+ "properties": {
+ "arrival_end": {
+ "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"
+ },
+ "arrival_start": {
+ "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"
+ },
+ "birthday_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"
+ },
+ "collection_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"
+ },
+ "edit_deadline": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "estimate_basis": {
+ "type": "string"
+ },
+ "late": {
+ "type": "boolean"
+ },
+ "leap_day_observed": {
+ "type": "boolean"
+ },
+ "next_year": {
+ "type": "boolean"
+ },
+ "one_off": {
+ "const": true,
+ "type": "boolean"
+ },
+ "post_by": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "send_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"
+ },
+ "time_zone": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "time_zone",
+ "birthday_date",
+ "send_date",
+ "collection_date",
+ "arrival_start",
+ "arrival_end",
+ "edit_deadline",
+ "post_by",
+ "estimate_basis",
+ "late",
+ "leap_day_observed",
+ "next_year"
+ ],
+ "type": "object"
+ },
+ "state": {
+ "enum": [
+ "prepared",
+ "checkout_pending",
+ "paid",
+ "cancel_requested",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "tax_review_reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "terms_version": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "revision",
+ "state",
+ "payment_state",
+ "refund_state",
+ "refund_review_reason",
+ "tax_review_reason",
+ "input",
+ "schedule",
+ "amount_cents",
+ "currency",
+ "offer_version",
+ "terms_version",
+ "title",
+ "artist_name",
+ "quote_expires_at",
+ "fulfillment_status",
+ "mailed_at",
+ "cancellable"
+ ],
+ "type": "object"
+ },
+ "maxItems": 500,
+ "minItems": 1,
+ "type": "array"
+ },
+ "checkout_url": {
+ "anyOf": [
+ {
+ "format": "uri",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currency": {
+ "const": "usd",
+ "type": "string"
+ },
+ "customer_content": {
+ "additionalProperties": false,
+ "properties": {
+ "rights_accepted": {
+ "type": "boolean"
+ },
+ "rights_required": {
+ "type": "boolean"
+ },
+ "terms_version": {
+ "const": "customer-print-v1",
+ "type": "string"
+ }
+ },
+ "required": [
+ "rights_required",
+ "rights_accepted",
+ "terms_version"
+ ],
+ "type": "object"
+ },
+ "id": {
+ "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
+ "type": "string"
+ },
+ "payment_state": {
+ "enum": [
+ "unpaid",
+ "pending",
+ "paid",
+ "failed",
+ "expired",
+ "refunding",
+ "refunded"
+ ],
+ "type": "string"
+ },
+ "quote_expires_at": {
+ "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|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "refund_state": {
+ "enum": [
+ "none",
+ "pending",
+ "partial",
+ "succeeded",
+ "failed",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "state": {
+ "enum": [
+ "prepared",
+ "checkout_pending",
+ "paid",
+ "cancel_requested",
+ "cancelled"
+ ],
+ "type": "string"
+ },
+ "tax_ready_count": {
+ "maximum": 500,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "id",
+ "revision",
+ "state",
+ "payment_state",
+ "refund_state",
+ "amount_cents",
+ "currency",
+ "card_count",
+ "tax_ready_count",
+ "quote_expires_at",
+ "checkout_url",
+ "cards"
+ ],
+ "type": "object"
+ },
+ "order_access_token": {
+ "pattern": "^[A-Za-z0-9_-]{43}$",
+ "type": "string"
+ },
+ "payment_required": {
+ "type": "boolean"
+ },
+ "reused": {
+ "type": "boolean"
+ },
+ "review_url": {
+ "format": "uri",
+ "type": "string"
+ }
+}