{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/nthu/main/json-schema/nthu-bus-stops-query-result-schema.json",
  "title": "BusStopsQueryResult",
  "description": "Result of querying bus stops.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/nthu-data-api.yaml#/components/schemas/BusStopsQueryResult",
  "properties": {
    "arrive_time": {
      "type": "string",
      "title": "Arrive Time",
      "description": "預計到達時間"
    },
    "dep_time": {
      "type": "string",
      "title": "Dep Time",
      "description": "發車時間"
    },
    "dep_stop": {
      "type": "string",
      "title": "Dep Stop",
      "description": "發車站牌"
    },
    "description": {
      "type": "string",
      "title": "Description",
      "description": "備註"
    },
    "bus_type": {
      "$ref": "#/$defs/BusType",
      "description": "營運車輛類型"
    }
  },
  "type": "object",
  "required": [
    "arrive_time",
    "dep_time",
    "dep_stop",
    "description",
    "bus_type"
  ],
  "$defs": {
    "BusType": {
      "type": "string",
      "enum": [
        "route_83",
        "large-sized_bus",
        "middle-sized_bus"
      ],
      "title": "BusType",
      "description": "Bus vehicle type."
    }
  }
}