{ "components": { "schemas": { "action_handler": { "properties": { "at_type": { "type": "string", "default": "HttpActionHandler" }, "url": { "type": "string" } }, "required": [ "at_type", "url" ], "type": "object" }, "address": { "properties": { "addressCountry": { "type": "string" }, "addressLocality": { "type": "string" }, "addressRegion": { "type": "string" }, "postalCode": { "type": "string" }, "postOfficeBoxNumber": { "type": "string" }, "streetAddress": { "type": "string" } }, "required": [ "addressCountry", "addressLocality", "addressRegion", "postalCode", "postOfficeBoxNumber", "streetAddress" ], "type": "object" }, "customer": { "properties": { "name": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "goto_action": { "properties": { "at_context": { "type": "string", "default": "http://schema.org" }, "at_type": { "type": "string", "default": "EmailMessage" }, "potentialAction": { "$ref": "#/components/schemas/potential_action" }, "description": { "type": "string" } }, "required": [ "at_context", "at_type", "potentialAction", "description" ], "type": "object" }, "merchant": { "properties": { "name": { "type": "string" } }, "required": [ "name" ], "type": "object" }, "offer": { "properties": { "acceptedPaymentMethod": { "$ref": "#/components/schemas/payment_method" }, "addOn": { "$ref": "#/components/schemas/offer" }, "advanceBookingRequirement": { "type": "string" }, "aggregateRating": { "type": "string" }, "availability": { "type": "string" }, "availabilityEnds": { "type": "string", "format": "date-time" }, "availabilityStarts": { "type": "string", "format": "date-time" }, "availableAtOrFrom": { "$ref": "#/components/schemas/place" }, "availableDeliveryMethod": { "type": "string" }, "businessFunction": { "type": "string" }, "category": { "type": "string" }, "deliveryLeadTime": { "type": "string" }, "eligibleCustomerType": { "type": "string" }, "eligibleDuration": { "type": "string" }, "eligibleQuantity": { "type": "string" }, "eligibleRegion": { "type": "string" }, "eligibleTransactionVolume": { "type": "string" }, "gtin13": { "type": "string" }, "gtin14": { "type": "string" }, "gtin8": { "type": "string" }, "includesObject": { "type": "string" }, "ineligibleRegion": { "type": "string" }, "inventoryLevel": { "type": "string" }, "itemCondition": { "type": "string" }, "itemOffered": { "$ref": "#/components/schemas/product" }, "mpn": { "type": "string" }, "name": { "type": "string" }, "price": { "type": "number", "format": "float" }, "priceCurrency": { "type": "string" }, "priceSpecification": { "$ref": "#/components/schemas/price_specification" }, "priceValidUntil": { "type": "string" }, "seller": { "$ref": "#/components/schemas/organization" }, "serialNumber": { "type": "string" }, "sku": { "type": "string" }, "validFrom": { "type": "string", "format": "date-time" }, "validThrough": { "type": "string", "format": "date-time" } }, "required": [ "itemOffered", "name", "price", "priceCurrency" ], "type": "object" }, "one_click_action": { "properties": { "at_context": { "type": "string", "default": "http://schema.org" }, "at_type": { "type": "string", "default": "EmailMessage" }, "potentialAction": { "$ref": "#/components/schemas/potential_action" }, "description": { "type": "string" } }, "required": [ "at_context", "at_type", "potentialAction", "description" ], "type": "object" }, "order": { "properties": { "billingAddress": { "$ref": "#/components/schemas/address" }, "customer": { "$ref": "#/components/schemas/customer" }, "discount": { "type": "number", "format": "float" }, "discountCurrency": { "type": "string" }, "isGift": { "type": "boolean", "default": "false" }, "merchant": { "$ref": "#/components/schemas/merchant" }, "orderNumber": { "type": "string" }, "priceCurrency": { "type": "string" }, "priceSpecification": { "$ref": "#/components/schemas/price_specification" }, "price": { "type": "number", "format": "float" }, "acceptedOffer": { "items": { "$ref": "#/components/schemas/offer" }, "type": "array" }, "url": { "type": "string" }, "orderStatus": { "type": "string" }, "paymentMethod": { "$ref": "#/components/schemas/payment_method" }, "paymentMethodId": { "type": "string" }, "orderDate": { "type": "string", "format": "date-time" } }, "required": [ "customer", "isGift", "merchant", "orderNumber", "priceCurrency", "price", "acceptedOffer", "url", "orderStatus", "paymentMethod", "paymentMethodId", "orderDate" ], "type": "object" }, "organization": { "properties": { "address": { "$ref": "#/components/schemas/address" }, "legal_name": { "type": "string" } }, "required": [ "address", "legal_name" ], "type": "object" }, "payment_method": { "properties": { "name": { "type": "string", "default": "http://schema.org/CreditCard" } }, "required": [ "name" ], "type": "object" }, "place": { "properties": { "address": { "$ref": "#/components/schemas/address" }, "logo": { "type": "string" }, "map": { "type": "string" }, "telephone": { "type": "string" } }, "required": [ "address", "logo", "map", "telephone" ], "type": "object" }, "potential_action": { "properties": { "at_type": { "$ref": "#/components/schemas/action_types" }, "handler": { "$ref": "#/components/schemas/action_handler" }, "name": { "type": "string" }, "target": { "type": "string" } }, "required": [ "at_type", "name", "target" ], "type": "object" }, "price_specification": { "properties": { "eligibleQuantity": { "type": "string" }, "eligibleTransactionVolume": { "type": "string" }, "maxPrice": { "type": "number", "format": "float" }, "minPrice": { "type": "number", "format": "float" }, "price": { "type": "number", "format": "float" }, "priceCurrency": { "type": "string" }, "validFrom": { "type": "string", "format": "date-time" }, "validThrough": { "type": "string", "format": "date-time" }, "valueAddedTaxIncluded": { "type": "boolean", "default": "false" } }, "required": [ "eligibleQuantity", "eligibleTransactionVolume", "maxPrice", "minPrice", "price", "priceCurrency", "validFrom", "validThrough", "valueAddedTaxIncluded" ], "type": "object" }, "product": { "properties": { "productID": { "type": "string" }, "sku": { "type": "string" }, "brand": { "$ref": "#/components/schemas/organization" }, "manufacturer": { "$ref": "#/components/schemas/organization" }, "color": { "type": "string" } }, "required": [ "productID", "sku" ], "type": "object" }, "action_types": { "description": "Possible values: ConfirmAction,SaveAction,TrackAction,ViewAction.", "enum": [ "ConfirmAction", "SaveAction", "TrackAction", "ViewAction" ], "type": "string" } } }, "info": { "contact": { "name": "email-markup", "url": "https://github.com/sullis/email-markup" }, "license": {}, "termsOfService": "", "title": "email-markup", "version": "0.0.1-dev" }, "openapi": "3.0.2", "paths": {}, "servers": [ {} ] }