openapi: 3.1.1
info:
  title: Descriptor
  version: 2.0.0
  description: Schema definition for Descriptor in the Beckn Protocol
  license:
    name: CC-BY-NC-SA 4.0 International
  contact:
    name: Beckn Labs
    url: https://beckn.io
components:
  schemas:
    Descriptor:
      x-iri: https://schema.nfh.global/Descriptor/v2.0
      description: Schema definition for Descriptor in the Beckn Protocol
      title: Descriptor
      type: object
      properties:
        '@type':
          type: string
          enum:
          - beckn:Descriptor
          description: Type of the descriptor
          example: beckn:Descriptor
        schema:name:
          type: string
          description: Name of the item
          example: Premium Gaming Laptop Pro
        beckn:shortDesc:
          type: string
          description: Short description of the item
          example: High-performance gaming laptop with RTX graphics
        beckn:longDesc:
          type: string
          description: Detailed description of the item
          example: Powerful gaming laptop with NVIDIA RTX graphics, fast SSD storage, and high-refresh display
        schema:image:
          type: array
          items:
            type: string
            format: uri
      required:
      - '@type'
