changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "properties": {
+ "certified": {
+ "description": "none, certified or certified_return_receipt",
+ "type": "string"
+ },
+ "checkout_url": {
+ "description": "Where the user pays; null once paid or cancelled",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "first_postcard_free": {
+ "additionalProperties": false,
+ "description": "Present when the first-postcard-free offer applies",
+ "properties": {
+ "applied": {
+ "type": "boolean"
+ },
+ "eligible": {
+ "type": "boolean"
+ },
+ "how": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "id": {
+ "description": "Order id, ord_…",
+ "type": "string"
+ },
+ "object": {
+ "enum": [
+ "postcard",
+ "letter"
+ ],
+ "type": "string"
+ },
+ "order_url": {
+ "description": "Order status page",
+ "type": "string"
+ },
+ "preview_url": {
+ "description": "Exact print preview",
+ "type": "string"
+ },
+ "price": {
+ "additionalProperties": false,
+ "properties": {
+ "amount_cents": {
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "display": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount_cents",
+ "currency",
+ "display"
+ ],
+ "type": "object"
+ },
+ "product": {
+ "description": "Product id, e.g. postcard_4x6 or letter_certified",
+ "type": "string"
+ },
+ "product_name": {
+ "type": "string"
+ },
+ "status": {
+ "description": "awaiting_payment, paid, printing, mailed, cancelled or refunded",
+ "type": "string"
+ },
+ "status_detail": {
+ "description": "Plain-English status to show the user",
+ "type": "string"
+ },
+ "tracking": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "number": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "number",
+ "url"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "USPS tracking, for Certified Mail once printed"
+ }
+ },
+ "required": [
+ "id",
+ "object",
+ "product",
+ "product_name",
+ "certified",
+ "status",
+ "status_detail",
+ "price",
+ "checkout_url",
+ "order_url",
+ "preview_url",
+ "tracking"
+ ],
+ "type": "object"
+}