openapi: 3.1.0
info:
  title: PickupDropoffPoint
  version: 2.0.0
  description: Schema definition for the PickupDropoffPoint entity in the Beckn Mobility
  license:
    name: CC-BY-NC-SA 4.0 International
    url: https://creativecommons.org/licenses/by-nc-sa/4.0/deed.en
  contact:
    name: Beckn Labs
    url: https://beckn.io
components:
  schemas:
    PickupDropoffPoint:
      x-iri: https://schema.nfh.global/PickupDropoffPoint/v2.0
      type: object
      title: PickupDropoffPoint
      description: A designated location used as a pickup or dropoff point for passengers
        in a ride-hailing or demand-responsive transport service.
      x-tags:
        - mobility
        - ride-hailing
      properties:
        pdpType:
          description: Type of point (PICKUP, DROPOFF, BOTH)
          type: string
        landmark:
          description: Nearby landmark or reference point
          type: string
        accessNotes:
          description: Instructions for accessing this pickup/dropoff point
          type: string
        id:
          description: Unique identifier for the fulfillment stop
          type: string
        location:
          description: Geographic location of the stop
          $ref: https://schema.nfh.global/Location/v2.0/attributes.yaml#/components/schemas/Location
        type:
          description: Type of stop (start, end, intermediate)
          type: string
        instructions:
          description: Instructions for passengers at this stop
          $ref: https://schema.nfh.global/Descriptor/v2.0/attributes.yaml#/components/schemas/Descriptor
        time:
          description: Expected time window at this stop
          $ref: https://schema.nfh.global/TimePeriod/v2.0/attributes.yaml#/components/schemas/TimePeriod
      additionalProperties: false
