{"swagger":"2.0","info":{"title":"email-markup","contact":{"name":"email-markup","url":"https://github.com/sullis/email-markup"},"version":"0.0.1-dev"},"consumes":["application/json"],"produces":["application/json"],"paths":{},"definitions":{"action_handler":{"type":"object","title":"action_handler","required":["at_type","url"],"properties":{"at_type":{"default":"HttpActionHandler","type":"string"},"url":{"type":"string"}}},"address":{"type":"object","title":"address","required":["addressCountry","addressLocality","addressRegion","postalCode","postOfficeBoxNumber","streetAddress"],"properties":{"addressCountry":{"type":"string"},"addressLocality":{"type":"string"},"addressRegion":{"type":"string"},"postalCode":{"type":"string"},"postOfficeBoxNumber":{"type":"string"},"streetAddress":{"type":"string"}}},"customer":{"type":"object","title":"customer","required":["name"],"properties":{"name":{"type":"string"}}},"goto_action":{"type":"object","title":"goto_action","required":["at_context","at_type","potentialAction","description"],"properties":{"at_context":{"default":"http://schema.org","type":"string"},"at_type":{"default":"EmailMessage","type":"string"},"potentialAction":{"$ref":"#/definitions/potential_action"},"description":{"type":"string"}}},"merchant":{"type":"object","title":"merchant","required":["name"],"properties":{"name":{"type":"string"}}},"offer":{"type":"object","title":"offer","required":["itemOffered","name","price","priceCurrency"],"properties":{"acceptedPaymentMethod":{"$ref":"#/definitions/payment_method"},"addOn":{"$ref":"#/definitions/offer"},"advanceBookingRequirement":{"type":"string"},"aggregateRating":{"type":"string"},"availability":{"type":"string"},"availabilityEnds":{"type":"string","format":"date-time"},"availabilityStarts":{"type":"string","format":"date-time"},"availableAtOrFrom":{"$ref":"#/definitions/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":"#/definitions/product"},"mpn":{"type":"string"},"name":{"type":"string"},"price":{"type":"number","format":"float"},"priceCurrency":{"type":"string"},"priceSpecification":{"$ref":"#/definitions/price_specification"},"priceValidUntil":{"type":"string"},"seller":{"$ref":"#/definitions/organization"},"serialNumber":{"type":"string"},"sku":{"type":"string"},"validFrom":{"type":"string","format":"date-time"},"validThrough":{"type":"string","format":"date-time"}}},"one_click_action":{"type":"object","title":"one_click_action","required":["at_context","at_type","potentialAction","description"],"properties":{"at_context":{"default":"http://schema.org","type":"string"},"at_type":{"default":"EmailMessage","type":"string"},"potentialAction":{"$ref":"#/definitions/potential_action"},"description":{"type":"string"}}},"order":{"type":"object","title":"order","required":["customer","isGift","merchant","orderNumber","priceCurrency","price","acceptedOffer","url","orderStatus","paymentMethod","paymentMethodId","orderDate"],"properties":{"billingAddress":{"$ref":"#/definitions/address"},"customer":{"$ref":"#/definitions/customer"},"discount":{"type":"number","format":"float"},"discountCurrency":{"type":"string"},"isGift":{"default":"false","type":"boolean"},"merchant":{"$ref":"#/definitions/merchant"},"orderNumber":{"type":"string"},"priceCurrency":{"type":"string"},"priceSpecification":{"$ref":"#/definitions/price_specification"},"price":{"type":"number","format":"float"},"acceptedOffer":{"type":"array","items":{"$ref":"#/definitions/offer"}},"url":{"type":"string"},"orderStatus":{"type":"string"},"paymentMethod":{"$ref":"#/definitions/payment_method"},"paymentMethodId":{"type":"string"},"orderDate":{"type":"string","format":"date-time"}}},"organization":{"type":"object","title":"organization","required":["address","legal_name"],"properties":{"address":{"$ref":"#/definitions/address"},"legal_name":{"type":"string"}}},"payment_method":{"type":"object","title":"payment_method","required":["name"],"properties":{"name":{"default":"http://schema.org/CreditCard","type":"string"}}},"place":{"type":"object","title":"place","required":["address","logo","map","telephone"],"properties":{"address":{"$ref":"#/definitions/address"},"logo":{"type":"string"},"map":{"type":"string"},"telephone":{"type":"string"}}},"potential_action":{"type":"object","title":"potential_action","required":["at_type","name","target"],"properties":{"at_type":{"type":"string","enum":["ConfirmAction","SaveAction","TrackAction","ViewAction"]},"handler":{"$ref":"#/definitions/action_handler"},"name":{"type":"string"},"target":{"type":"string"}}},"price_specification":{"type":"object","title":"price_specification","required":["eligibleQuantity","eligibleTransactionVolume","maxPrice","minPrice","price","priceCurrency","validFrom","validThrough","valueAddedTaxIncluded"],"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":{"default":"false","type":"boolean"}}},"product":{"type":"object","title":"product","required":["productID","sku"],"properties":{"productID":{"type":"string"},"sku":{"type":"string"},"brand":{"$ref":"#/definitions/organization"},"manufacturer":{"$ref":"#/definitions/organization"},"color":{"type":"string"}}}}}