beckn/protocol-specifications

Updating Customer Schema

emmayank opened this issue · 1 comments

Enhancing Customer Schema
We need ID and organization detail in the customer schema

Solution
Make the following changes to the Customer Schema

  1. Updating Customer schema to include an ID property that will be used to identify a customer
  2. Updating Customer schema to include the organization property that is a reference to the Organization schema.
Customer:
      description: Describes a customer buying/availing a product or a service
      type: object
      properties:
        id:
          description: ID of the customer.
          type: string
        person:
          $ref: '#/components/schemas/Person'
        organization:
          $ref: '#/components/schemas/Organization'
        contact:
          $ref: '#/components/schemas/Contact'

Closing this issue, as this is FIxed as part of #393