openapi: 3.1.0
info:
  title: VehicleDescriptor
  version: 2.0.0
  description: Schema definition for the VehicleDescriptor 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:
    VehicleDescriptor:
      x-iri: https://schema.nfh.global/VehicleDescriptor/v2.0
      type: object
      title: VehicleDescriptor
      description: An identifier that uniquely references a specific vehicle in a
        real-time transit feed.
      x-tags:
        - mobility
        - ride-hailing
      properties:
        vehicleId:
          description: Internal system identifier for the vehicle
          type: string
        label:
          description: User-visible label or number for the vehicle
          type: string
        licensePlate:
          description: Vehicle license plate number
          type: string
        name:
          description: Short display name of the entity
          type: string
        short_desc:
          description: Brief textual description
          type: string
        long_desc:
          description: Detailed or long-form description
          type: string
        media:
          description: Media resource URLs (images, audio, video)
          type: string
          format: uri
        images:
          description: Image URLs for visual display
          type: string
          format: uri
      additionalProperties: false
