changedOutput schema / (root)
Previous value: -{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "addressWarnings": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "address": {
- "additionalProperties": false,
- "properties": {
- "address1": {
- "type": "string"
- },
- "address2": {
- "type": "string"
- },
- "city": {
- "type": "string"
- },
- "country": {
- "type": "string"
- },
- "email": {
- "type": "string"
- },
- "fax": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "postalCode": {
- "type": "string"
- },
- "state": {
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "code": {
- "enum": [
- "address_unit_required",
- "address_unverified"
- ]
- },
- "message": {
- "type": "string"
- },
- "role": {
- "enum": [
- "recipient",
- "sender"
- ]
- }
- },
- "required": [
- "role",
- "code",
- "message",
- "address"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "amountCents": {
- "minimum": 0,
- "type": "integer"
- },
- "currency": {
- "const": "USD"
- },
- "document": {
- "additionalProperties": false,
- "properties": {
- "bytes": {
- "maximum": 10485760,
- "minimum": 1,
- "type": "integer"
- },
- "contentType": {
- "const": "application/pdf"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "pages": {
- "maximum": 50,
- "minimum": 1,
- "type": "integer"
- },
- "previewUrl": {
- "format": "uri-reference",
- "type": "string"
- },
- "sha256": {
- "pattern": "^[a-f0-9]{64}$",
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "pages",
- "bytes",
- "sha256",
- "previewUrl",
- "contentType"
- ],
- "type": "object"
- },
- "emailMessage": {
- "additionalProperties": true,
- "type": "object"
- },
- "estimatedDelivery": {
- "type": "string"
- },
- "expiresAt": {
- "type": "string"
- },
- "handwritten": {
- "additionalProperties": false,
- "properties": {
- "cardId": {
- "minLength": 1,
- "type": "string"
- },
- "cardImageUrl": {
- "format": "uri",
- "type": "string"
- },
- "cardName": {
- "type": "string"
- },
- "fontId": {
- "minLength": 1,
- "type": "string"
- },
- "fontImageUrl": {
- "format": "uri",
- "type": "string"
- },
- "fontLabel": {
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "previewKind": {
- "const": "design_and_style_samples"
- },
- "recipient": {
- "additionalProperties": false,
- "properties": {
- "address1": {
- "type": "string"
- },
- "address2": {
- "type": "string"
- },
- "city": {
- "type": "string"
- },
- "country": {
- "type": "string"
- },
- "email": {
- "type": "string"
- },
- "fax": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "postalCode": {
- "type": "string"
- },
- "state": {
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "sender": {
- "additionalProperties": false,
- "properties": {
- "address1": {
- "type": "string"
- },
- "address2": {
- "type": "string"
- },
- "city": {
- "type": "string"
- },
- "country": {
- "type": "string"
- },
- "email": {
- "type": "string"
- },
- "fax": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "postalCode": {
- "type": "string"
- },
- "state": {
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "stampName": {
- "type": "string"
- },
- "stampOptionId": {
- "minimum": 0,
- "type": "integer"
- },
- "wishes": {
- "type": "string"
- }
- },
- "required": [
- "cardId",
- "cardName",
- "cardImageUrl",
- "fontId",
- "fontLabel",
- "fontImageUrl",
- "message",
- "wishes",
- "sender",
- "recipient",
- "previewKind",
- "stampOptionId",
- "stampName"
- ],
- "type": "object"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "lineItems": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "amountCents": {
- "minimum": 0,
- "type": "integer"
- },
- "label": {
- "type": "string"
- }
- },
- "required": [
- "label",
- "amountCents"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "options": {
- "additionalProperties": true,
- "type": "object"
- },
- "recipient": {
- "additionalProperties": false,
- "properties": {
- "address1": {
- "type": "string"
- },
- "address2": {
- "type": "string"
- },
- "city": {
- "type": "string"
- },
- "country": {
- "type": "string"
- },
- "email": {
- "type": "string"
- },
- "fax": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "postalCode": {
- "type": "string"
- },
- "state": {
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "sender": {
- "additionalProperties": false,
- "properties": {
- "address1": {
- "type": "string"
- },
- "address2": {
- "type": "string"
- },
- "city": {
- "type": "string"
- },
- "country": {
- "type": "string"
- },
- "email": {
- "type": "string"
- },
- "fax": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "phone": {
- "type": "string"
- },
- "postalCode": {
- "type": "string"
- },
- "state": {
- "type": "string"
- }
- },
- "required": [
- "name"
- ],
- "type": "object"
- },
- "service": {
- "enum": [
- "fax",
- "letter",
- "certified",
- "postcard",
- "handwritten"
- ]
- },
- "summary": {
- "type": "string"
- }
- },
- "required": [
- "id",
- "service",
- "amountCents",
- "currency",
- "lineItems",
- "expiresAt",
- "estimatedDelivery",
- "summary",
- "recipient",
- "sender",
- "options"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "error": {
- "additionalProperties": false,
- "properties": {
- "code": {
- "minLength": 1,
- "type": "string"
- },
- "details": {
- "additionalProperties": false,
- "properties": {
- "addressRole": {
- "enum": [
- "recipient",
- "sender"
- ]
- },
- "canSendAsEntered": {
- "type": "boolean"
- }
- },
- "required": [
- "addressRole",
- "canSendAsEntered"
- ],
- "type": "object"
- },
- "message": {
- "type": "string"
- }
- },
- "required": [
- "code",
- "message"
- ],
- "type": "object"
- }
- },
- "required": [
- "error"
- ],
- "type": "object"
- }
- ],
- "type": "object"
-}New value: +null