openapi: 3.1.1
info:
  title: FulfillmentStageEndpoint
  version: 2.0.0
  description: 'A stage boundary endpoint (entry or exit) within a fulfillment, such
    as pickup, handover, warehouse in/out, border crossing, gate entry/exit, security
    check, etc. May require one or more proofs/permits/tokens/documents.

    '
  license:
    name: CC-BY-NC-SA 4.0 International
  contact:
    name: Beckn Labs
    url: https://beckn.io
components:
  schemas:
    FulfillmentStageEndpoint:
      x-iri: https://schema.nfh.global/FulfillmentStageEndpoint/v2.0
      description: 'A stage boundary endpoint (entry or exit) within a fulfillment,
        such as pickup, handover, warehouse in/out, border crossing, gate entry/exit,
        security check, etc. May require one or more proofs/permits/tokens/documents.

        '
      title: FulfillmentStageEndpoint
      type: object
      additionalProperties: false
      properties:
        location:
          $ref: https://schema.nfh.global/Location/v2.0/attributes.yaml#/components/schemas/Location
        time:
          $ref: https://schema.nfh.global/TimePeriod/v2.1/attributes.yaml#/components/schemas/TimePeriod
        authorization:
          type: array
          description: 'One or more credentials required and/or issued at this endpoint.
            Includes machine-readable tokens (QR/URL/OTP) and manual documents (IDs,
            permits).

            '
          items:
            $ref: https://schema.nfh.global/FulfillmentStageAuthorization/v2.0/attributes.yaml#/components/schemas/FulfillmentStageAuthorization
      x-tags:
      - common
