openapi: 3.1.1
info:
  title: Instruction
  version: 2.0.0
  description: Schema definition for Instruction in the Beckn Protocol v2.0.1
  license:
    name: CC-BY-NC-SA 4.0 International
  contact:
    name: Beckn Labs
    url: https://beckn.io
components:
  schemas:
    Instruction:
      x-iri: https://schema.nfh.global/Instruction/v2.0
      description: Schema definition for Instruction in the Beckn Protocol v2.0.1
      title: Instruction
      type: object
      properties:
        descriptor:
          $ref: https://schema.nfh.global/Descriptor/v2.1/attributes.yaml#/components/schemas/Descriptor
        id:
          type: string
        validity:
          $ref: https://schema.nfh.global/TimePeriod/v2.1/attributes.yaml#/components/schemas/TimePeriod
      required:
      - id
      - descriptor
      additionalProperties: false
      x-tags:
      - common
