{
  "$id": "https://schema.nfh.global/VehicleCategory/v2.0",
  "x-iri": "https://schema.nfh.global/VehicleCategory/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "VehicleCategory",
  "type": "object",
  "description": "A broad classification of vehicles by their physical type, such as two-wheeler, three-wheeler, four-wheeler, or bus.",
  "properties": {
    "vehicleCategoryCode": {
      "description": "Code for the vehicle category (e.g. TWO_WHEELER, THREE_WHEELER, FOUR_WHEELER, BUS)",
      "type": "string"
    },
    "maxPassengers": {
      "description": "Maximum number of passengers for vehicles in this category",
      "type": "number"
    },
    "id": {
      "description": "Unique identifier for the category code",
      "type": "string"
    },
    "descriptor": {
      "description": "Human-readable label for the category",
      "$ref": "https://schema.nfh.global/Descriptor/v2.1/schema.json"
    },
    "parentCategoryId": {
      "description": "Identifier of the parent category if hierarchical",
      "type": "string"
    }
  },
  "additionalProperties": false,
  "x-tags": [
    "mobility",
    "ride-hailing"
  ]
}
