{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/appyway/json-schema/appyway-permitted-vehicle-iread-only-collection-ok-response-schema.json",
  "title": "PermittedVehicleIReadOnlyCollectionOkResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/appyway-permittedvehicles-api-openapi.yml#/components/schemas/PermittedVehicleIReadOnlyCollectionOkResponse",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean",
      "readOnly": true
    },
    "result": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/PermittedVehicle"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "PermittedVehicle": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "Unique identifier",
          "format": "int32"
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name"
        },
        "restrictionTypeIds": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "integer",
            "format": "int32"
          },
          "description": "Identifiers of the Ylp.Reference.Contracts.Model.RestrictionTypes that this vehicle type is applicable to."
        }
      },
      "additionalProperties": false,
      "description": "Indicates what vehicle types are permitted to use a feature such as a bus or cycle lane."
    }
  }
}