openapi: 3.1.0
info:
  title: BikeAllowed
  version: 2.0.0
  description: Schema definition for the BikeAllowed 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:
    BikeAllowed:
      x-iri: https://schema.nfh.global/BikeAllowed/v2.0
      type: object
      title: BikeAllowed
      description: An indicator specifying whether bicycles are permitted on board
        a particular route or vehicle journey.
      x-tags:
        - mobility
        - ride-hailing
      properties:
        bikeAllowedValue:
          description: 'Indicates whether bikes are allowed: yes, no, or unknown'
          type: string
        id:
          description: Unique identifier for the feature
          type: string
        descriptor:
          description: Human-readable label of the feature
          $ref: https://schema.nfh.global/Descriptor/v2.0/attributes.yaml#/components/schemas/Descriptor
        value:
          description: Value of the feature (e.g. yes, no, unknown)
          type: string
      additionalProperties: false
