openapi: 3.0.3
info:
  title: email-markup
  version: 0.0.1-dev
components:
  schemas:
    ComGithubSullisEmailMarkupV0ModelsPaymentMethod:
      type: object
      required:
      - name
      properties:
        name:
          default: http://schema.org/CreditCard
          type: string
    ComGithubSullisEmailMarkupV0ModelsOffer:
      type: object
      required:
      - itemOffered
      - name
      - price
      - priceCurrency
      properties:
        acceptedPaymentMethod:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsPaymentMethod'
        addOn:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsOffer'
        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/ComGithubSullisEmailMarkupV0ModelsPlace'
        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/ComGithubSullisEmailMarkupV0ModelsProduct'
        mpn:
          type: string
        name:
          type: string
        price:
          type: number
        priceCurrency:
          type: string
        priceSpecification:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsPriceSpecification'
        priceValidUntil:
          type: string
        seller:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsOrganization'
        serialNumber:
          type: string
        sku:
          type: string
        validFrom:
          type: string
          format: date-time
        validThrough:
          type: string
          format: date-time
    ComGithubSullisEmailMarkupV0ModelsPlace:
      type: object
      required:
      - address
      - logo
      - map
      - telephone
      properties:
        address:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsAddress'
        logo:
          type: string
        map:
          type: string
        telephone:
          type: string
    ComGithubSullisEmailMarkupV0ModelsPriceSpecification:
      type: object
      required:
      - eligibleQuantity
      - eligibleTransactionVolume
      - maxPrice
      - minPrice
      - price
      - priceCurrency
      - validFrom
      - validThrough
      - valueAddedTaxIncluded
      properties:
        eligibleQuantity:
          type: string
        eligibleTransactionVolume:
          type: string
        maxPrice:
          type: number
        minPrice:
          type: number
        price:
          type: number
        priceCurrency:
          type: string
        validFrom:
          type: string
          format: date-time
        validThrough:
          type: string
          format: date-time
        valueAddedTaxIncluded:
          type: boolean
    ComGithubSullisEmailMarkupV0ModelsActionHandler:
      type: object
      required:
      - at_type
      - url
      properties:
        at_type:
          default: HttpActionHandler
          type: string
        url:
          type: string
    ComGithubSullisEmailMarkupV0ModelsGotoAction:
      type: object
      required:
      - at_context
      - at_type
      - potentialAction
      - description
      properties:
        at_context:
          default: http://schema.org
          type: string
        at_type:
          default: EmailMessage
          type: string
        potentialAction:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsPotentialAction'
        description:
          type: string
    ComGithubSullisEmailMarkupV0ModelsCustomer:
      type: object
      required:
      - name
      properties:
        name:
          type: string
    ComGithubSullisEmailMarkupV0ModelsProduct:
      type: object
      required:
      - productID
      - sku
      properties:
        productID:
          type: string
        sku:
          type: string
        brand:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsOrganization'
        manufacturer:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsOrganization'
        color:
          type: string
    ComGithubSullisEmailMarkupV0ModelsOrder:
      type: object
      required:
      - customer
      - isGift
      - merchant
      - orderNumber
      - priceCurrency
      - price
      - acceptedOffer
      - url
      - orderStatus
      - paymentMethod
      - paymentMethodId
      - orderDate
      properties:
        billingAddress:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsAddress'
        customer:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsCustomer'
        discount:
          type: number
        discountCurrency:
          type: string
        isGift:
          type: boolean
        merchant:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsMerchant'
        orderNumber:
          type: string
        priceCurrency:
          type: string
        priceSpecification:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsPriceSpecification'
        price:
          type: number
        acceptedOffer:
          type: array
          items:
            $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsOffer'
        url:
          type: string
        orderStatus:
          type: string
        paymentMethod:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsPaymentMethod'
        paymentMethodId:
          type: string
        orderDate:
          type: string
          format: date-time
    ComGithubSullisEmailMarkupV0ModelsPotentialAction:
      type: object
      required:
      - at_type
      - name
      - target
      properties:
        at_type:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0EnumsActionTypes'
        handler:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsActionHandler'
        name:
          type: string
        target:
          type: string
    ComGithubSullisEmailMarkupV0ModelsOrganization:
      type: object
      required:
      - address
      - legal_name
      properties:
        address:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsAddress'
        legal_name:
          type: string
    ComGithubSullisEmailMarkupV0ModelsOneClickAction:
      type: object
      required:
      - at_context
      - at_type
      - potentialAction
      - description
      properties:
        at_context:
          default: http://schema.org
          type: string
        at_type:
          default: EmailMessage
          type: string
        potentialAction:
          $ref: '#/components/schemas/ComGithubSullisEmailMarkupV0ModelsPotentialAction'
        description:
          type: string
    ComGithubSullisEmailMarkupV0ModelsAddress:
      type: object
      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
    ComGithubSullisEmailMarkupV0ModelsMerchant:
      type: object
      required:
      - name
      properties:
        name:
          type: string
    ComGithubSullisEmailMarkupV0EnumsActionTypes:
      type: string
      enum:
      - ConfirmAction
      - SaveAction
      - TrackAction
      - ViewAction
