{ "openapi": "3.0.4", "info": { "title": "停車資訊", "description": "本平臺提供涵蓋全國尺度之路外、路邊等停車動靜態資料服務API,歡迎各產政學單位介接使用。\n
後續將持續擴充各縣市、各港埠、各機場、各軌道場站、各觀光風景區、各高速公路休息站之停車場動靜態資料。\n
利用本平臺開放資料進行各項應用服務開發時,請考量不同特性使用者(如:性別/身心障礙/老幼等)的需求,並歡迎回饋寶貴意見。\n
計費方式:\n
計次:1,500次/1點\n
計量:150MB/1點\n---\n##### API使用說明與注意事項:\n1. 如您尚未註冊平臺會員帳號,或未以帳號登入,您將僅能以「訪客模式」使用平臺服務,包含:限以瀏覽器存取,限使用`【基礎服務】`,且限制每個呼叫來源端IP每日存取至多20次。。\n2. 如您已註冊平臺會員帳號,請務必確保在存取服務(包含瀏覽器、程式呼叫API)時帶入您的API金鑰,方能以「會員模式」使用完整平臺服務,包含平臺各類資料服務,如`【基礎服務】`、`【進階服務】`、`【加值服務】`、`【歷史服務】`、`【圖資服務】`、`【第三方服務】`等。\n3. 建議您立即[註冊平臺會員帳號](/register),依您用量需求訂閱服務方案,並於[【會員中心->資料服務->API金鑰】](/user/dataservice/key)取得API金鑰(即Client Id和Client Secret資訊)。\n4. 會員訂閱服務方案之級別不同,將決定其API金鑰之存取頻率有不同限制,各個方案的存取頻率限制說明請參考[訂閱收費](/pricing)。\n5. 以瀏覽器帶入API金鑰之操作方式:請點選Swagger UI上的Authorize按鈕,依指示填入Client Id和Client Secret資訊並進行驗證,驗證完成後可開始於Swagger UI使用API。\n6. 以程式呼叫API帶入API金鑰之操作方式:請參考[範例程式](https://github.com/tdxmotc/SampleCode)。\n7. 不論您是以瀏覽器或是以程式呼叫API,所有服務存取行為均將被記錄並定期檢視,以確保系統資源使用的合理分配與避免遭受濫用。\n\nAPI OAS文本 :[請點我](https://tdx.transportdata.tw/webapi/File/Swagger/V3/945f57da-f29d-4dfd-94ec-c35d9f62be7d)", "termsOfService": "https://tdx.transportdata.tw/term", "contact": { "name": "TDX客服信箱", "email": "tdx@motc.gov.tw" }, "version": "v1" }, "servers": [ { "url": "https://tdx.transportdata.tw/api/basic" } ], "paths": { "/v1/Parking/Alert/City/{City}": { "get": { "tags": [ "CityCarPark" ], "summary": "取得指定[縣市]之停車營運通阻資料", "operationId": "ParkingApi_ParkingCityAlert", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Keelung" ], "type": "string" }, "x-enum": { "Keelung": "基隆市" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.Alert]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.Alert]" } } } } } } }, "/v1/Parking/Authority": { "get": { "tags": [ "Common" ], "summary": "取得業管機關資料", "operationId": "ParkingApi_Authority", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingAuthorityWrapper[PTX.Service.DTO.Parking.Specification.V1.Authority]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingAuthorityWrapper[PTX.Service.DTO.Parking.Specification.V1.Authority]" } } } } } } }, "/v1/Parking/OffStreet/ParkingAvailability/City/{City}": { "get": { "tags": [ "CityCarPark" ], "summary": "取得指定[縣市]之停車場剩餘位資料", "operationId": "ParkingApi_ParkingCityAvailability", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "Taoyuan", "Taichung", "Tainan", "Kaohsiung", "Keelung", "ChanghuaCounty", "YunlinCounty", "PingtungCounty", "YilanCounty", "HualienCounty", "KinmenCounty" ], "type": "string" }, "x-enum": { "NewTaipei": "新北市", "YilanCounty": "宜蘭縣", "PingtungCounty": "屏東縣", "HsinchuCounty": "新竹縣", "Taoyuan": "桃園市", "Taipei": "臺北市", "Hsinchu": "新竹市", "YunlinCounty": "雲林縣", "MiaoliCounty": "苗栗縣", "Chiayi": "嘉義市", "TaitungCounty": "臺東縣", "Kaohsiung": "高雄市", "HualienCounty": "花蓮縣", "LienchiangCounty": "連江縣", "ChiayiCounty": "嘉義縣", "Keelung": "基隆市", "Taichung": "臺中市", "PenghuCounty": "澎湖縣", "ChanghuaCounty": "彰化縣", "KinmenCounty": "金門縣", "NantouCounty": "南投縣", "Tainan": "臺南市" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability]" } } } } } } }, "/v1/Parking/OffStreet/CarPark/City/{City}": { "get": { "tags": [ "CityCarPark" ], "summary": "取得指定[縣市]之停車場基本資料", "operationId": "ParkingApi_CarPark", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "Taoyuan", "Taichung", "Tainan", "Kaohsiung", "Keelung", "Hsinchu", "HsinchuCounty", "MiaoliCounty", "ChanghuaCounty", "NantouCounty", "YunlinCounty", "ChiayiCounty", "Chiayi", "PingtungCounty", "YilanCounty", "HualienCounty", "TaitungCounty", "KinmenCounty", "PenghuCounty", "LienchiangCounty" ], "type": "string" }, "x-enum": { "Keelung": "基隆市", "HsinchuCounty": "新竹縣", "TaitungCounty": "臺東縣", "MiaoliCounty": "苗栗縣", "PingtungCounty": "屏東縣", "HualienCounty": "花蓮縣", "LienchiangCounty": "連江縣", "KinmenCounty": "金門縣", "YunlinCounty": "雲林縣", "YilanCounty": "宜蘭縣", "Hsinchu": "新竹市", "ChiayiCounty": "嘉義縣", "NewTaipei": "新北市", "Taoyuan": "桃園市", "PenghuCounty": "澎湖縣", "Tainan": "臺南市", "Taipei": "臺北市", "Taichung": "臺中市", "Chiayi": "嘉義市", "ChanghuaCounty": "彰化縣", "Kaohsiung": "高雄市", "NantouCounty": "南投縣" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]" } } } } } } }, "/v1/Parking/OnStreet/ParkingSegmentChargeTime/City/{City}": { "get": { "tags": [ "OnStreetParking" ], "summary": "取得指定[縣市]之路邊停車路段收費時段與費率資料", "operationId": "ParkingApi_ParkingCurbParkingSegmentChargeTime", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Tainan", "HualienCounty", "Kaohsiung", "HsinchuCounty", "Taichung", "NewTaipei", "Taoyuan", "PingtungCounty", "Taipei", "PenghuCounty" ], "type": "string" }, "x-enum": { "HsinchuCounty": "新竹縣", "Tainan": "臺南市", "NewTaipei": "新北市", "Kaohsiung": "高雄市", "PenghuCounty": "澎湖縣", "Taoyuan": "桃園市", "HualienCounty": "花蓮縣", "PingtungCounty": "屏東縣", "Taipei": "臺北市", "Taichung": "臺中市" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentChargeTime]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentChargeTime]" } } } } } } }, "/v1/Parking/OnStreet/ParkingSegmentRate/City/{City}": { "get": { "tags": [ "OnStreetParking" ], "summary": "取得指定[縣市]之路邊停車路段費率方案資料", "operationId": "ParkingApi_ParkingCurbParkingSegmentRate", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Tainan", "HualienCounty", "Kaohsiung", "HsinchuCounty", "Taichung", "NewTaipei", "Taoyuan", "PingtungCounty", "Taipei", "PenghuCounty" ], "type": "string" }, "x-enum": { "Tainan": "臺南市", "Taoyuan": "桃園市", "HsinchuCounty": "新竹縣", "PingtungCounty": "屏東縣", "HualienCounty": "花蓮縣", "Taipei": "臺北市", "NewTaipei": "新北市", "Taichung": "臺中市", "Kaohsiung": "高雄市", "PenghuCounty": "澎湖縣" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentRate]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentRate]" } } } } } } }, "/v1/Parking/OnStreet/ParkingSpotChargeTime/City/{City}": { "get": { "tags": [ "OnStreetParking" ], "summary": "取得指定[縣市]之路邊停車格位收費時段資料", "operationId": "ParkingApi_ParkingCurbParkingSpotChargeTime", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Tainan", "HualienCounty", "HsinchuCounty", "PingtungCounty", "Taipei", "Taichung" ], "type": "string" }, "x-enum": { "HsinchuCounty": "新竹縣", "HualienCounty": "花蓮縣", "Taipei": "臺北市", "Tainan": "臺南市", "PingtungCounty": "屏東縣", "Taichung": "臺中市" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbParkingSpotChargeTime]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbParkingSpotChargeTime]" } } } } } } }, "/v1/Parking/OnStreet/ParkingSegment/City/{City}": { "get": { "tags": [ "OnStreetParking" ], "summary": "取得指定[縣市]之路邊停車路段基本資料", "operationId": "ParkingApi_ParkingCurbParkingSegment", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "NewTaipei", "Taoyuan", "Taichung", "Tainan", "Kaohsiung", "HsinchuCounty", "ChanghuaCounty", "PingtungCounty", "HualienCounty", "PenghuCounty" ], "type": "string" }, "x-enum": { "YilanCounty": "宜蘭縣", "Kaohsiung": "高雄市", "Tainan": "臺南市", "NantouCounty": "南投縣", "TaitungCounty": "臺東縣", "ChiayiCounty": "嘉義縣", "LienchiangCounty": "連江縣", "HsinchuCounty": "新竹縣", "Chiayi": "嘉義市", "KinmenCounty": "金門縣", "MiaoliCounty": "苗栗縣", "Taipei": "臺北市", "Taoyuan": "桃園市", "Hsinchu": "新竹市", "ChanghuaCounty": "彰化縣", "Keelung": "基隆市", "NewTaipei": "新北市", "PenghuCounty": "澎湖縣", "YunlinCounty": "雲林縣", "PingtungCounty": "屏東縣", "Taichung": "臺中市", "HualienCounty": "花蓮縣" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSegment]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSegment]" } } } } } } }, "/v1/Parking/OnStreet/ParkingSegmentAvailability/City/{City}": { "get": { "tags": [ "OnStreetParking" ], "summary": "取得指定[縣市]之路邊停車路段剩餘位動態資料", "operationId": "ParkingApi_ParkingCurbSegmentAvailability", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "NewTaipei", "Taoyuan", "Taichung", "Tainan", "ChanghuaCounty", "PingtungCounty", "HualienCounty" ], "type": "string" }, "x-enum": { "ChanghuaCounty": "彰化縣", "Chiayi": "嘉義市", "HualienCounty": "花蓮縣", "KinmenCounty": "金門縣", "HsinchuCounty": "新竹縣", "Keelung": "基隆市", "ChiayiCounty": "嘉義縣", "NewTaipei": "新北市", "PingtungCounty": "屏東縣", "Kaohsiung": "高雄市", "LienchiangCounty": "連江縣", "Taipei": "臺北市", "NantouCounty": "南投縣", "YunlinCounty": "雲林縣", "Taichung": "臺中市", "MiaoliCounty": "苗栗縣", "Tainan": "臺南市", "TaitungCounty": "臺東縣", "PenghuCounty": "澎湖縣", "YilanCounty": "宜蘭縣", "Hsinchu": "新竹市", "Taoyuan": "桃園市" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentAvailability]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentAvailability]" } } } } } } }, "/v1/Parking/OnStreet/ParkingSegmentSpace/City/{City}": { "get": { "tags": [ "OnStreetParking" ], "summary": "取得指定[縣市]之路邊停車路段車位數資料", "operationId": "ParkingApi_ParkingCurbParkingSegmentSpace", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "NewTaipei", "Taoyuan", "Taichung", "Tainan", "HsinchuCounty", "ChanghuaCounty", "PingtungCounty", "HualienCounty", "PenghuCounty" ], "type": "string" }, "x-enum": { "Chiayi": "嘉義市", "ChanghuaCounty": "彰化縣", "Kaohsiung": "高雄市", "PingtungCounty": "屏東縣", "Hsinchu": "新竹市", "HsinchuCounty": "新竹縣", "Taichung": "臺中市", "LienchiangCounty": "連江縣", "YunlinCounty": "雲林縣", "NantouCounty": "南投縣", "MiaoliCounty": "苗栗縣", "KinmenCounty": "金門縣", "ChiayiCounty": "嘉義縣", "NewTaipei": "新北市", "TaitungCounty": "臺東縣", "YilanCounty": "宜蘭縣", "Taoyuan": "桃園市", "PenghuCounty": "澎湖縣", "HualienCounty": "花蓮縣", "Taipei": "臺北市", "Tainan": "臺南市", "Keelung": "基隆市" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbSegmentParkingSpace]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbSegmentParkingSpace]" } } } } } } }, "/v1/Parking/OnStreet/ParkingSpot/City/{City}": { "get": { "tags": [ "OnStreetParking" ], "summary": "取得指定[縣市]之路邊停車格位基本資料", "operationId": "ParkingApi_ParkingCurbParkingSpot", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "NewTaipei", "Taichung", "Tainan", "HsinchuCounty", "PingtungCounty", "HualienCounty" ], "type": "string" }, "x-enum": { "MiaoliCounty": "苗栗縣", "Taichung": "臺中市", "TaitungCounty": "臺東縣", "PingtungCounty": "屏東縣", "YilanCounty": "宜蘭縣", "Keelung": "基隆市", "Kaohsiung": "高雄市", "Taoyuan": "桃園市", "Chiayi": "嘉義市", "NewTaipei": "新北市", "LienchiangCounty": "連江縣", "Taipei": "臺北市", "YunlinCounty": "雲林縣", "Hsinchu": "新竹市", "Tainan": "臺南市", "KinmenCounty": "金門縣", "ChiayiCounty": "嘉義縣", "PenghuCounty": "澎湖縣", "ChanghuaCounty": "彰化縣", "HualienCounty": "花蓮縣", "NantouCounty": "南投縣", "HsinchuCounty": "新竹縣" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSegmentSpot]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSegmentSpot]" } } } } } } }, "/v1/Parking/OnStreet/ParkingSpotAvailability/City/{City}": { "get": { "tags": [ "OnStreetParking" ], "summary": "取得指定[縣市]之路邊停車格位動態資料", "operationId": "ParkingApi_ParkingCurbParkingSpotAvailability", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "NewTaipei", "Taichung", "Tainan", "PingtungCounty", "HualienCounty" ], "type": "string" }, "x-enum": { "Taoyuan": "桃園市", "NewTaipei": "新北市", "Hsinchu": "新竹市", "HsinchuCounty": "新竹縣", "Kaohsiung": "高雄市", "YunlinCounty": "雲林縣", "Keelung": "基隆市", "Taichung": "臺中市", "ChiayiCounty": "嘉義縣", "Tainan": "臺南市", "NantouCounty": "南投縣", "Taipei": "臺北市", "LienchiangCounty": "連江縣", "Chiayi": "嘉義市", "MiaoliCounty": "苗栗縣", "KinmenCounty": "金門縣", "PenghuCounty": "澎湖縣", "TaitungCounty": "臺東縣", "HualienCounty": "花蓮縣", "YilanCounty": "宜蘭縣", "PingtungCounty": "屏東縣", "ChanghuaCounty": "彰化縣" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbSpotParkingAvailability]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbSpotParkingAvailability]" } } } } } } }, "/v1/Parking/OffStreet/ParkingFacility/City/{City}": { "get": { "tags": [ "CityCarPark" ], "summary": "取得指定[縣市]之停車場設施資料", "operationId": "ParkingApi_ParkingFacilityList", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "Taoyuan", "Taichung", "Tainan", "Keelung", "Hsinchu", "HsinchuCounty", "MiaoliCounty", "NantouCounty", "YunlinCounty", "ChiayiCounty", "Chiayi", "PingtungCounty", "HualienCounty", "TaitungCounty", "KinmenCounty", "LienchiangCounty" ], "type": "string" }, "x-enum": { "Chiayi": "嘉義市", "Keelung": "基隆市", "HsinchuCounty": "新竹縣", "Hsinchu": "新竹市", "Taipei": "臺北市", "Tainan": "臺南市", "MiaoliCounty": "苗栗縣", "TaitungCounty": "臺東縣", "LienchiangCounty": "連江縣", "YilanCounty": "宜蘭縣", "ChiayiCounty": "嘉義縣", "NewTaipei": "新北市", "PingtungCounty": "屏東縣", "HualienCounty": "花蓮縣", "Taoyuan": "桃園市", "NantouCounty": "南投縣", "ChanghuaCounty": "彰化縣", "Kaohsiung": "高雄市", "KinmenCounty": "金門縣", "PenghuCounty": "澎湖縣", "Taichung": "臺中市", "YunlinCounty": "雲林縣" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]" } } } } } } }, "/v1/Parking/OffStreet/Operator/City/{City}": { "get": { "tags": [ "CityCarPark" ], "summary": "取得指定[縣市]之停車場營運業者資料", "operationId": "ParkingApi_Operator", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "Taoyuan", "Taichung", "Tainan", "Kaohsiung", "Keelung", "Hsinchu", "HsinchuCounty", "MiaoliCounty", "ChanghuaCounty", "NantouCounty", "YunlinCounty", "ChiayiCounty", "Chiayi", "PingtungCounty", "YilanCounty", "HualienCounty", "TaitungCounty", "KinmenCounty", "PenghuCounty", "LienchiangCounty" ], "type": "string" }, "x-enum": { "HualienCounty": "花蓮縣", "Chiayi": "嘉義市", "MiaoliCounty": "苗栗縣", "YunlinCounty": "雲林縣", "NantouCounty": "南投縣", "Kaohsiung": "高雄市", "LienchiangCounty": "連江縣", "Tainan": "臺南市", "ChanghuaCounty": "彰化縣", "Hsinchu": "新竹市", "Taoyuan": "桃園市", "TaitungCounty": "臺東縣", "Taichung": "臺中市", "YilanCounty": "宜蘭縣", "NewTaipei": "新北市", "HsinchuCounty": "新竹縣", "PenghuCounty": "澎湖縣", "Taipei": "臺北市", "ChiayiCounty": "嘉義縣", "Keelung": "基隆市", "PingtungCounty": "屏東縣", "KinmenCounty": "金門縣" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]" } } } } } } }, "/v1/Parking/OffStreet/ParkingEntranceExit/City/{City}": { "get": { "tags": [ "CityCarPark" ], "summary": "取得指定[縣市]之停車場出入口資料", "operationId": "ParkingApi_ParkingEntranceExit", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "Taoyuan", "Taichung", "Tainan", "Keelung", "Hsinchu", "HsinchuCounty", "MiaoliCounty", "NantouCounty", "YunlinCounty", "ChiayiCounty", "Chiayi", "PingtungCounty", "HualienCounty", "TaitungCounty", "KinmenCounty", "LienchiangCounty" ], "type": "string" }, "x-enum": { "Chiayi": "嘉義市", "Taoyuan": "桃園市", "YunlinCounty": "雲林縣", "Taichung": "臺中市", "PingtungCounty": "屏東縣", "Keelung": "基隆市", "Kaohsiung": "高雄市", "Tainan": "臺南市", "ChiayiCounty": "嘉義縣", "PenghuCounty": "澎湖縣", "TaitungCounty": "臺東縣", "HualienCounty": "花蓮縣", "ChanghuaCounty": "彰化縣", "NantouCounty": "南投縣", "YilanCounty": "宜蘭縣", "Hsinchu": "新竹市", "MiaoliCounty": "苗栗縣", "LienchiangCounty": "連江縣", "KinmenCounty": "金門縣", "Taipei": "臺北市", "HsinchuCounty": "新竹縣", "NewTaipei": "新北市" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]" } } } } } } }, "/v1/Parking/OffStreet/ParkingRate/City/{City}": { "get": { "tags": [ "CityCarPark" ], "summary": "取得指定[縣市]之停車場費率資料", "operationId": "ParkingApi_ParkingRate", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "Taoyuan", "Taichung", "Tainan", "Keelung", "Hsinchu", "HsinchuCounty", "MiaoliCounty", "NantouCounty", "YunlinCounty", "ChiayiCounty", "Chiayi", "PingtungCounty", "HualienCounty", "TaitungCounty", "KinmenCounty", "LienchiangCounty" ], "type": "string" }, "x-enum": { "NewTaipei": "新北市", "TaitungCounty": "臺東縣", "Taoyuan": "桃園市", "YunlinCounty": "雲林縣", "Taipei": "臺北市", "HualienCounty": "花蓮縣", "Hsinchu": "新竹市", "Chiayi": "嘉義市", "PingtungCounty": "屏東縣", "ChanghuaCounty": "彰化縣", "PenghuCounty": "澎湖縣", "Tainan": "臺南市", "LienchiangCounty": "連江縣", "HsinchuCounty": "新竹縣", "NantouCounty": "南投縣", "KinmenCounty": "金門縣", "Taichung": "臺中市", "Keelung": "基隆市", "YilanCounty": "宜蘭縣", "ChiayiCounty": "嘉義縣", "MiaoliCounty": "苗栗縣", "Kaohsiung": "高雄市" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]" } } } } } } }, "/v1/Parking/OffStreet/ParkingServiceTime/City/{City}": { "get": { "tags": [ "CityCarPark" ], "summary": "取得指定[縣市]之停車場營業時間資料", "operationId": "ParkingApi_ParkingServiceTime", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "Taoyuan", "Taichung", "Tainan", "Keelung", "Hsinchu", "HsinchuCounty", "MiaoliCounty", "NantouCounty", "YunlinCounty", "ChiayiCounty", "Chiayi", "PingtungCounty", "HualienCounty", "TaitungCounty", "KinmenCounty", "LienchiangCounty" ], "type": "string" }, "x-enum": { "Kaohsiung": "高雄市", "HualienCounty": "花蓮縣", "Chiayi": "嘉義市", "HsinchuCounty": "新竹縣", "ChiayiCounty": "嘉義縣", "PingtungCounty": "屏東縣", "NantouCounty": "南投縣", "KinmenCounty": "金門縣", "PenghuCounty": "澎湖縣", "YilanCounty": "宜蘭縣", "YunlinCounty": "雲林縣", "ChanghuaCounty": "彰化縣", "MiaoliCounty": "苗栗縣", "Taichung": "臺中市", "TaitungCounty": "臺東縣", "Hsinchu": "新竹市", "Tainan": "臺南市", "Keelung": "基隆市", "LienchiangCounty": "連江縣", "NewTaipei": "新北市", "Taoyuan": "桃園市", "Taipei": "臺北市" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]" } } } } } } }, "/v1/Parking/OffStreet/ParkingSpace/City/{City}": { "get": { "tags": [ "CityCarPark" ], "summary": "取得指定[縣市]之停車場車位數資料", "operationId": "ParkingApi_ParkingSpace", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "Taoyuan", "Taichung", "Tainan", "Kaohsiung", "Keelung", "Hsinchu", "HsinchuCounty", "MiaoliCounty", "ChanghuaCounty", "NantouCounty", "YunlinCounty", "ChiayiCounty", "Chiayi", "PingtungCounty", "YilanCounty", "HualienCounty", "TaitungCounty", "KinmenCounty", "PenghuCounty", "LienchiangCounty" ], "type": "string" }, "x-enum": { "Tainan": "臺南市", "NantouCounty": "南投縣", "MiaoliCounty": "苗栗縣", "YilanCounty": "宜蘭縣", "Kaohsiung": "高雄市", "Taipei": "臺北市", "PingtungCounty": "屏東縣", "Hsinchu": "新竹市", "PenghuCounty": "澎湖縣", "HsinchuCounty": "新竹縣", "LienchiangCounty": "連江縣", "KinmenCounty": "金門縣", "HualienCounty": "花蓮縣", "TaitungCounty": "臺東縣", "Keelung": "基隆市", "Chiayi": "嘉義市", "ChiayiCounty": "嘉義縣", "NewTaipei": "新北市", "ChanghuaCounty": "彰化縣", "Taichung": "臺中市", "YunlinCounty": "雲林縣", "Taoyuan": "桃園市" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]" } } } } } } }, "/v1/Parking/OffStreet/ParkingSpot/City/{City}": { "get": { "tags": [ "CityCarPark" ], "summary": "取得指定[縣市]之停車場格位資料", "operationId": "ParkingApi_ParkingSpot", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "Tainan", "Keelung", "YunlinCounty" ], "type": "string" }, "x-enum": { "YilanCounty": "宜蘭縣", "ChanghuaCounty": "彰化縣", "NewTaipei": "新北市", "MiaoliCounty": "苗栗縣", "ChiayiCounty": "嘉義縣", "Taichung": "臺中市", "Tainan": "臺南市", "Taipei": "臺北市", "HsinchuCounty": "新竹縣", "NantouCounty": "南投縣", "LienchiangCounty": "連江縣", "Keelung": "基隆市", "PenghuCounty": "澎湖縣", "TaitungCounty": "臺東縣", "PingtungCounty": "屏東縣", "YunlinCounty": "雲林縣", "Hsinchu": "新竹市", "Kaohsiung": "高雄市", "KinmenCounty": "金門縣", "HualienCounty": "花蓮縣", "Taoyuan": "桃園市", "Chiayi": "嘉義市" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpot]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpot]" } } } } } } }, "/v1/Parking/OffStreet/ParkingSpotAvailability/City/{City}": { "get": { "tags": [ "CityCarPark" ], "summary": "取得指定[縣市]之停車場格位動態資料", "operationId": "ParkingApi_ParkingCitySpotAvailability", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Keelung" ], "type": "string" }, "x-enum": { "NewTaipei": "新北市", "Tainan": "臺南市", "Keelung": "基隆市" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpotAvailability]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpotAvailability]" } } } } } } }, "/v1/Parking/OffStreet/ParkingTicketing/City/{City}": { "get": { "tags": [ "CityCarPark" ], "summary": "取得指定[縣市]之停車場售票服務資料", "operationId": "ParkingApi_ParkingTicketing", "parameters": [ { "name": "City", "in": "path", "required": true, "schema": { "enum": [ "Taipei", "Taoyuan", "Taichung", "Tainan", "Keelung", "Hsinchu", "HsinchuCounty", "MiaoliCounty", "NantouCounty", "YunlinCounty", "ChiayiCounty", "Chiayi", "PingtungCounty", "HualienCounty", "TaitungCounty", "KinmenCounty", "LienchiangCounty" ], "type": "string" }, "x-enum": { "MiaoliCounty": "苗栗縣", "Tainan": "臺南市", "YunlinCounty": "雲林縣", "YilanCounty": "宜蘭縣", "Chiayi": "嘉義市", "PingtungCounty": "屏東縣", "Kaohsiung": "高雄市", "Taipei": "臺北市", "HualienCounty": "花蓮縣", "PenghuCounty": "澎湖縣", "LienchiangCounty": "連江縣", "TaitungCounty": "臺東縣", "Keelung": "基隆市", "Hsinchu": "新竹市", "Taichung": "臺中市", "NantouCounty": "南投縣", "HsinchuCounty": "新竹縣", "ChiayiCounty": "嘉義縣", "NewTaipei": "新北市", "Taoyuan": "桃園市", "ChanghuaCounty": "彰化縣", "KinmenCounty": "金門縣" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]" } } } } } } }, "/v1/Parking/OffStreet/CarPark/To/Toursim/ScenicSpot": { "get": { "tags": [ "TransportCarParkRelation" ], "summary": "取得所有觀光景點與停車場關聯資料", "operationId": "ParkingApi_ScenicSpotCarParkList", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ScenicSpotCarPark]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ScenicSpotCarPark]" } } } } } } }, "/v1/Parking/OffStreet/ParkingAvailability/Tourism": { "get": { "tags": [ "TourismCarPark" ], "summary": "取得觀光相關之停車場剩餘位資料", "operationId": "ParkingApi_ParkingTourismAvailability", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability]" } } } } } } }, "/v1/Parking/OffStreet/CarPark/Tourism": { "get": { "tags": [ "TourismCarPark" ], "summary": "取得所有觀光景點之停車場資料", "operationId": "ParkingApi_TourismCarPark", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]" } } } } } } }, "/v1/Parking/OffStreet/ParkingFacility/Tourism": { "get": { "tags": [ "TourismCarPark" ], "summary": "取得觀光相關之所有停車場設施資料", "operationId": "ParkingApi_ParkingFacilityTourism", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]" } } } } } } }, "/v1/Parking/OffStreet/Operator/Tourism": { "get": { "tags": [ "TourismCarPark" ], "summary": "取得觀光相關之所有停車場營運業者資料", "operationId": "ParkingApi_TourismOperator", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]" } } } } } } }, "/v1/Parking/OffStreet/ParkingEntranceExit/Tourism": { "get": { "tags": [ "TourismCarPark" ], "summary": "取得所有觀光景點之停車場出入口資料", "operationId": "ParkingApi_TourismParkingEntranceExit", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]" } } } } } } }, "/v1/Parking/OffStreet/ParkingRate/Tourism": { "get": { "tags": [ "TourismCarPark" ], "summary": "取得觀光相關之所有停車場費率資料", "operationId": "ParkingApi_ParkingRateTourism", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]" } } } } } } }, "/v1/Parking/OffStreet/ParkingServiceTime/Tourism": { "get": { "tags": [ "TourismCarPark" ], "summary": "取得觀光相關之所有停車場營業時間資料", "operationId": "ParkingApi_ParkingServiceTimeTourism", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]" } } } } } } }, "/v1/Parking/OffStreet/ParkingSpace/Tourism": { "get": { "tags": [ "TourismCarPark" ], "summary": "取得觀光相關之所有停車場車位數資料", "operationId": "ParkingApi_ParkingSpaceTourism", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]" } } } } } } }, "/v1/Parking/OffStreet/ParkingTicketing/Tourism": { "get": { "tags": [ "TourismCarPark" ], "summary": "取得觀光相關之所有停車場售票服務資料", "operationId": "ParkingApi_ParkingTicketingTourism", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]" } } } } } } }, "/v1/Parking/OffStreet/CarPark/Ship/Port/{Authority}": { "get": { "tags": [ "ShipPortCarPark" ], "summary": "取得指定[單位]港口停車場基本資料", "operationId": "ParkingApi_ShipCarPark", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TIPC" ], "type": "string" }, "x-enum": { "TIPC": "臺灣港務股份有限公司" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]" } } } } } } }, "/v1/Parking/OffStreet/ParkingFacility/Ship/Port/{Authority}": { "get": { "tags": [ "ShipPortCarPark" ], "summary": "取得指定[單位]港口之停車場設施資料", "operationId": "ParkingApi_ShipFacility", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TIPC" ], "type": "string" }, "x-enum": { "TIPC": "臺灣港務股份有限公司" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]" } } } } } } }, "/v1/Parking/OffStreet/Operator/Ship/Port/{Authority}": { "get": { "tags": [ "ShipPortCarPark" ], "summary": "取得指定[單位]港口之停車場營運業者資料", "operationId": "ParkingApi_ShipOperator", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TIPC" ], "type": "string" }, "x-enum": { "TIPC": "臺灣港務股份有限公司" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]" } } } } } } }, "/v1/Parking/OffStreet/ParkingEntranceExit/Ship/Port/{Authority}": { "get": { "tags": [ "ShipPortCarPark" ], "summary": "取得指定[單位]港口之停車場出入口資料", "operationId": "ParkingApi_ShipParkingEntranceExit", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TIPC" ], "type": "string" }, "x-enum": { "TIPC": "臺灣港務股份有限公司" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]" } } } } } } }, "/v1/Parking/OffStreet/ParkingRate/Ship/Port/{Authority}": { "get": { "tags": [ "ShipPortCarPark" ], "summary": "取得指定[單位]港口之停車場費率資料", "operationId": "ParkingApi_ShipParkingRate", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TIPC" ], "type": "string" }, "x-enum": { "TIPC": "臺灣港務股份有限公司" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]" } } } } } } }, "/v1/Parking/OffStreet/ParkingServiceTime/Ship/Port/{Authority}": { "get": { "tags": [ "ShipPortCarPark" ], "summary": "取得指定[單位]港口之停車場營業時間資料", "operationId": "ParkingApi_ShipParkingServiceTime", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TIPC" ], "type": "string" }, "x-enum": { "TIPC": "臺灣港務股份有限公司" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]" } } } } } } }, "/v1/Parking/OffStreet/ParkingSpace/Ship/Port/{Authority}": { "get": { "tags": [ "ShipPortCarPark" ], "summary": "取得指定[單位]港口之停車場車位數資料", "operationId": "ParkingApi_ShipParkingSpace", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TIPC" ], "type": "string" }, "x-enum": { "TIPC": "臺灣港務股份有限公司" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]" } } } } } } }, "/v1/Parking/OffStreet/ParkingTicketing/Ship/Port/{Authority}": { "get": { "tags": [ "ShipPortCarPark" ], "summary": "取得指定[單位]港口之停車場售票服務資料", "operationId": "ParkingApi_ShipParkingTicketing", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TIPC" ], "type": "string" }, "x-enum": { "TIPC": "臺灣港務股份有限公司" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]" } } } } } } }, "/v1/Parking/Alert/Rail/Station/{RailOperator}": { "get": { "tags": [ "​RailStationCarPark" ], "summary": "取得指定[軌道業者]之所有車站停車場營運通阻資料", "operationId": "ParkingApi_ParkingRailAlert", "parameters": [ { "name": "RailOperator", "in": "path", "required": true, "schema": { "enum": [ "KRTC", "THSR" ], "type": "string" }, "x-enum": { "KRTC": "高雄捷運(KRTC)", "THSR": "高鐵(THSR)" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.Alert]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.Alert]" } } } } } } }, "/v1/Parking/OffStreet/ParkingAvailability/Rail/Station/{RailOperator}": { "get": { "tags": [ "​RailStationCarPark" ], "summary": "取得指定[軌道業者]之所有車站停車場剩餘位資料", "operationId": "ParkingApi_ParkingRailAvailability", "parameters": [ { "name": "RailOperator", "in": "path", "required": true, "schema": { "enum": [ "TRA", "THSR", "KRTC", "TMRT" ], "type": "string" }, "x-enum": { "KRTC": "高雄捷運(KRTC)", "THSR": "高鐵(THSR)", "TYMC": "桃園捷運(TYMC)", "TRTC": "臺北捷運(TRTC)", "TMRT": "臺中捷運(TMRT)", "TRA": "臺鐵(TRA)" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability]" } } } } } } }, "/v1/Parking/OffStreet/CarPark/Rail/Station/{RailOperator}": { "get": { "tags": [ "​RailStationCarPark" ], "summary": "取得指定[軌道業者]之所有車站停車場基本資料", "operationId": "ParkingApi_CarParkRail", "parameters": [ { "name": "RailOperator", "in": "path", "required": true, "schema": { "enum": [ "TRA", "THSR", "TRTC", "KRTC", "TYMC", "TMRT" ], "type": "string" }, "x-enum": { "TRA": "臺鐵(TRA)", "KRTC": "高雄捷運(KRTC)", "THSR": "高鐵(THSR)", "TRTC": "臺北捷運(TRTC)", "TYMC": "桃園捷運(TYMC)", "TMRT": "臺中捷運(TMRT)" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]" } } } } } } }, "/v1/Parking/OffStreet/ParkingFacility/Rail/Station/{RailOperator}": { "get": { "tags": [ "​RailStationCarPark" ], "summary": "取得指定[軌道業者]之所有車站停車場設施資料", "operationId": "ParkingApi_ParkingFacilityRail", "parameters": [ { "name": "RailOperator", "in": "path", "required": true, "schema": { "enum": [ "TRA", "THSR", "TRTC", "KRTC", "TYMC", "TMRT" ], "type": "string" }, "x-enum": { "TRTC": "臺北捷運(TRTC)", "TYMC": "桃園捷運(TYMC)", "TMRT": "臺中捷運(TMRT)", "THSR": "高鐵(THSR)", "TRA": "臺鐵(TRA)", "KRTC": "高雄捷運(KRTC)" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]" } } } } } } }, "/v1/Parking/News/Rail/Station/{RailOperator}": { "get": { "tags": [ "​RailStationCarPark" ], "summary": "取得指定[軌道業者]之所有車站停車場最新消息資料", "operationId": "ParkingApi_ParkingRailNews", "parameters": [ { "name": "RailOperator", "in": "path", "required": true, "schema": { "enum": [ "KRTC" ], "type": "string" }, "x-enum": { "THSR": "高鐵(THSR)", "TRA": "臺鐵(TRA)", "TYMC": "桃園捷運(TYMC)", "TRTC": "臺北捷運(TRTC)", "KRTC": "高雄捷運(KRTC)" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.News]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.News]" } } } } } } }, "/v1/Parking/OffStreet/Operator/Rail/Station/{RailOperator}": { "get": { "tags": [ "​RailStationCarPark" ], "summary": "取得指定[軌道業者]之所有車站停車場營運業者資料", "operationId": "ParkingApi_OperatorRail", "parameters": [ { "name": "RailOperator", "in": "path", "required": true, "schema": { "enum": [ "TRA", "THSR", "TRTC", "KRTC", "TYMC", "TMRT" ], "type": "string" }, "x-enum": { "TRTC": "臺北捷運(TRTC)", "THSR": "高鐵(THSR)", "KRTC": "高雄捷運(KRTC)", "TYMC": "桃園捷運(TYMC)", "TMRT": "臺中捷運(TMRT)", "TRA": "臺鐵(TRA)" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]" } } } } } } }, "/v1/Parking/OffStreet/ParkingEntranceExit/Rail/Station/{RailOperator}": { "get": { "tags": [ "​RailStationCarPark" ], "summary": "取得指定[軌道業者]之所有車站停車場出入口資料", "operationId": "ParkingApi_ParkingEntranceExitRail", "parameters": [ { "name": "RailOperator", "in": "path", "required": true, "schema": { "enum": [ "TRA", "THSR", "TRTC", "KRTC", "TYMC", "TMRT" ], "type": "string" }, "x-enum": { "TRA": "臺鐵(TRA)", "KRTC": "高雄捷運(KRTC)", "THSR": "高鐵(THSR)", "TMRT": "臺中捷運(TMRT)", "TRTC": "臺北捷運(TRTC)", "TYMC": "桃園捷運(TYMC)" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]" } } } } } } }, "/v1/Parking/OffStreet/ParkingRate/Rail/Station/{RailOperator}": { "get": { "tags": [ "​RailStationCarPark" ], "summary": "取得指定[軌道業者]之所有車站停車場費率資料", "operationId": "ParkingApi_ParkingRateRail", "parameters": [ { "name": "RailOperator", "in": "path", "required": true, "schema": { "enum": [ "TRA", "THSR", "TRTC", "KRTC", "TYMC", "TMRT" ], "type": "string" }, "x-enum": { "KRTC": "高雄捷運(KRTC)", "TMRT": "臺中捷運(TMRT)", "TRTC": "臺北捷運(TRTC)", "TYMC": "桃園捷運(TYMC)", "THSR": "高鐵(THSR)", "TRA": "臺鐵(TRA)" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]" } } } } } } }, "/v1/Parking/OffStreet/ParkingServiceTime/Rail/Station/{RailOperator}": { "get": { "tags": [ "​RailStationCarPark" ], "summary": "取得指定[軌道業者]之所有車站停車場營業時間資料", "operationId": "ParkingApi_ParkingServiceTimeRail", "parameters": [ { "name": "RailOperator", "in": "path", "required": true, "schema": { "enum": [ "TRA", "THSR", "TRTC", "KRTC", "TYMC", "TMRT" ], "type": "string" }, "x-enum": { "TYMC": "桃園捷運(TYMC)", "TRA": "臺鐵(TRA)", "THSR": "高鐵(THSR)", "TMRT": "臺中捷運(TMRT)", "KRTC": "高雄捷運(KRTC)", "TRTC": "臺北捷運(TRTC)" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]" } } } } } } }, "/v1/Parking/OffStreet/ParkingSpace/Rail/Station/{RailOperator}": { "get": { "tags": [ "​RailStationCarPark" ], "summary": "取得指定[軌道業者]之所有車站停車場車位數資料", "operationId": "ParkingApi_ParkingSpaceRail", "parameters": [ { "name": "RailOperator", "in": "path", "required": true, "schema": { "enum": [ "TRA", "THSR", "TRTC", "KRTC", "TYMC", "TMRT" ], "type": "string" }, "x-enum": { "TYMC": "桃園捷運(TYMC)", "TRA": "臺鐵(TRA)", "THSR": "高鐵(THSR)", "TMRT": "臺中捷運(TMRT)", "KRTC": "高雄捷運(KRTC)", "TRTC": "臺北捷運(TRTC)" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]" } } } } } } }, "/v1/Parking/OffStreet/CarPark/To/Rail/Station/{RailOperator}": { "get": { "tags": [ "TransportCarParkRelation" ], "summary": "取得指定[軌道業者]之所有車站與停車場關聯資料", "operationId": "ParkingApi_RailStationCarPark", "parameters": [ { "name": "RailOperator", "in": "path", "required": true, "schema": { "enum": [ "TRA", "THSR", "TRTC", "KRTC", "TYMC", "TMRT" ], "type": "string" }, "x-enum": { "TRA": "臺鐵(TRA)", "TYMC": "桃園捷運(TYMC)", "TRTC": "臺北捷運(TRTC)", "THSR": "高鐵(THSR)", "TMRT": "臺中捷運(TMRT)", "KRTC": "高雄捷運(KRTC)" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.RailStationCarPark]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.RailStationCarPark]" } } } } } } }, "/v1/Parking/OffStreet/ParkingTicketing/Rail/Station/{RailOperator}": { "get": { "tags": [ "​RailStationCarPark" ], "summary": "取得指定[軌道業者]之所有車站停車場售票服務資料", "operationId": "ParkingApi_ParkingTicketingRail", "parameters": [ { "name": "RailOperator", "in": "path", "required": true, "schema": { "enum": [ "TRA", "THSR", "TRTC", "KRTC", "TYMC", "TMRT" ], "type": "string" }, "x-enum": { "TMRT": "臺中捷運(TMRT)", "KRTC": "高雄捷運(KRTC)", "THSR": "高鐵(THSR)", "TRA": "臺鐵(TRA)", "TYMC": "桃園捷運(TYMC)", "TRTC": "臺北捷運(TRTC)" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]" } } } } } } }, "/v1/Parking/OffStreet/ParkingAvailability/Road/Freeway/ServiceArea": { "get": { "tags": [ "FreewayCarPark" ], "summary": "取得高速公路之所有服務區之停車場剩餘位資料", "operationId": "ParkingApi_ParkingFreewayAvailability", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability]" } } } } } } }, "/v1/Parking/OffStreet/CarPark/Road/Freeway/ServiceArea": { "get": { "tags": [ "FreewayCarPark" ], "summary": "取得高速公路之所有服務區停車場資料", "operationId": "ParkingApi_FreewayCarPark", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]" } } } } } } }, "/v1/Parking/OffStreet/CarPark/To/Road/Freeway/ServiceArea": { "get": { "tags": [ "TransportCarParkRelation" ], "summary": "取得高速公路之所有服務區與停車場關聯資料", "operationId": "ParkingApi_FreewayCarParkList", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.FreewayCarPark]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.FreewayCarPark]" } } } } } } }, "/v1/Parking/OffStreet/ParkingFacility/Road/Freeway/ServiceArea": { "get": { "tags": [ "FreewayCarPark" ], "summary": "取得高速公路之所有服務區停車場設施資料", "operationId": "ParkingApi_ParkingFacilityFreeway", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]" } } } } } } }, "/v1/Parking/OffStreet/Operator/Road/Freeway/ServiceArea": { "get": { "tags": [ "FreewayCarPark" ], "summary": "取得高速公路之所有服務區停車場營運業者資料", "operationId": "ParkingApi_FreewayOperator", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]" } } } } } } }, "/v1/Parking/OffStreet/ParkingEntranceExit/Road/Freeway/ServiceArea": { "get": { "tags": [ "FreewayCarPark" ], "summary": "取得高速公路之所有服務區停車場出入口資料", "operationId": "ParkingApi_FreewayParkingEntranceExit", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]" } } } } } } }, "/v1/Parking/OffStreet/ParkingRate/Road/Freeway/ServiceArea": { "get": { "tags": [ "FreewayCarPark" ], "summary": "取得高速公路之所有服務區停車場費率資料", "operationId": "ParkingApi_ParkingRateFreeway", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]" } } } } } } }, "/v1/Parking/OffStreet/ParkingServiceTime/Road/Freeway/ServiceArea": { "get": { "tags": [ "FreewayCarPark" ], "summary": "取得高速公路之所有服務區停車場營業時間資料", "operationId": "ParkingApi_ParkingServiceTimeFreeway", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]" } } } } } } }, "/v1/Parking/OffStreet/ParkingSpace/Road/Freeway/ServiceArea": { "get": { "tags": [ "FreewayCarPark" ], "summary": "取得高速公路之所有服務區停車場車位數資料", "operationId": "ParkingApi_ParkingSpaceFreeway", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]" } } } } } } }, "/v1/Parking/OffStreet/ParkingTicketing/Road/Freeway/ServiceArea": { "get": { "tags": [ "FreewayCarPark" ], "summary": "取得高速公路之所有服務區停車場售票服務資料", "operationId": "ParkingApi_ParkingTicketingFreeway", "parameters": [ { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]" } } } } } } }, "/v1/Parking/Alert/Air/Airport/{Authority}": { "get": { "tags": [ "AirportCarPark" ], "summary": "取得指定[機場]之停車營運通阻資料", "operationId": "ParkingApi_ParkingAirportAlert", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TAC" ], "type": "string" }, "x-enum": { "TAC": "桃園國際機場" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.Alert]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.Alert]" } } } } } } }, "/v1/Parking/OffStreet/ParkingAvailability/Air/Airport/{Authority}": { "get": { "tags": [ "AirportCarPark" ], "summary": "取得指定[機場]之停車場剩餘位資料", "operationId": "ParkingApi_ParkingAirportAvailability", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TAC" ], "type": "string" }, "x-enum": { "TAC": "桃園國際機場" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability]" } } } } } } }, "/v1/Parking/OffStreet/CarPark/Air/Airport/{Authority}": { "get": { "tags": [ "AirportCarPark" ], "summary": "取得航空指定[單位]停車場基本資料", "operationId": "ParkingApi_AirCarPark", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TAC", "CAA" ], "type": "string" }, "x-enum": { "TAC": "桃園國際機場", "CAA": "交通部民用航空局" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]" } } } } } } }, "/v1/Parking/OffStreet/ParkingFacility/Air/Airport/{Authority}": { "get": { "tags": [ "AirportCarPark" ], "summary": "取得航空指定[單位]之停車場設施資料", "operationId": "ParkingApi_ParkingFacilityAir", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TAC", "CAA" ], "type": "string" }, "x-enum": { "CAA": "交通部民用航空局", "TAC": "桃園國際機場" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]" } } } } } } }, "/v1/Parking/News/Air/Airport/{Authority}": { "get": { "tags": [ "AirportCarPark" ], "summary": "取得指定[機場]之停車最新消息資料", "operationId": "ParkingApi_ParkingAirportNews", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TAC" ], "type": "string" }, "x-enum": { "TAC": "桃園國際機場" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.News]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.News]" } } } } } } }, "/v1/Parking/OffStreet/Operator/Air/Airport/{Authority}": { "get": { "tags": [ "AirportCarPark" ], "summary": "取得航空指定[單位]之機場停車場營運業者資料", "operationId": "ParkingApi_AirOperator", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TAC", "CAA" ], "type": "string" }, "x-enum": { "CAA": "交通部民用航空局", "TAC": "桃園國際機場" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]" } } } } } } }, "/v1/Parking/OffStreet/ParkingEntranceExit/Air/Airport/{Authority}": { "get": { "tags": [ "AirportCarPark" ], "summary": "取得航空指定[單位]之停車場出入口資料", "operationId": "ParkingApi_AirParkingEntranceExit", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TAC", "CAA" ], "type": "string" }, "x-enum": { "CAA": "交通部民用航空局", "TAC": "桃園國際機場" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]" } } } } } } }, "/v1/Parking/OffStreet/ParkingRate/Air/Airport/{Authority}": { "get": { "tags": [ "AirportCarPark" ], "summary": "取得航空指定[單位]之停車場費率資料", "operationId": "ParkingApi_ParkingRateAir", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "CAA", "TAC" ], "type": "string" }, "x-enum": { "CAA": "交通部民用航空局", "TAC": "桃園國際機場" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]" } } } } } } }, "/v1/Parking/OffStreet/CarPark/To/Air/Airport/{Authority}": { "get": { "tags": [ "TransportCarParkRelation" ], "summary": "取得航空指定[單位]與停車場關聯資料", "operationId": "ParkingApi_AirportCarParkList", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TAC" ], "type": "string" }, "x-enum": { "TAC": "桃園國際機場", "CAA": "交通部民用航空局" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.AirportCarPark]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.AirportCarPark]" } } } } } } }, "/v1/Parking/OffStreet/ParkingServiceTime/Air/Airport/{Authority}": { "get": { "tags": [ "AirportCarPark" ], "summary": "取得航空指定[單位]之停車場營業時間資料", "operationId": "ParkingApi_ParkingServiceTimeAir", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TAC", "CAA" ], "type": "string" }, "x-enum": { "CAA": "交通部民用航空局", "TAC": "桃園國際機場" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]" } } } } } } }, "/v1/Parking/OffStreet/ParkingSpace/Air/Airport/{Authority}": { "get": { "tags": [ "AirportCarPark" ], "summary": "取得航空指定[單位]之停車場車位數資料", "operationId": "ParkingApi_ParkingSpaceAir", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TAC", "CAA" ], "type": "string" }, "x-enum": { "CAA": "交通部民用航空局", "TAC": "桃園國際機場" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]" } } } } } } }, "/v1/Parking/OffStreet/ParkingTicketing/Air/Airport/{Authority}": { "get": { "tags": [ "AirportCarPark" ], "summary": "取得航空指定[單位]之停車場售票服務資料", "operationId": "ParkingApi_ParkingTicketingAir", "parameters": [ { "name": "Authority", "in": "path", "required": true, "schema": { "enum": [ "TAC", "CAA" ], "type": "string" }, "x-enum": { "TAC": "桃園國際機場", "CAA": "交通部民用航空局" } }, { "name": "$select", "in": "query", "description": "挑選", "schema": { "type": "string" } }, { "name": "$filter", "in": "query", "description": "過濾", "schema": { "type": "string" } }, { "name": "$orderby", "in": "query", "description": "排序", "schema": { "type": "string" } }, { "name": "$top", "in": "query", "description": "取前幾筆", "schema": { "type": "integer", "default": 30 } }, { "name": "$skip", "in": "query", "description": "跳過前幾筆", "schema": { "type": "string" } }, { "name": "$count", "in": "query", "description": "查詢數量", "schema": { "enum": [ true, false ], "type": "boolean" } }, { "name": "$format", "in": "query", "description": "指定來源格式", "required": true, "schema": { "enum": [ "JSON", "XML" ], "type": "string" } } ], "responses": { "200": { "description": "Success", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]" } }, "application/xml": { "schema": { "$ref": "#/components/schemas/PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]" } } } } } } } }, "components": { "schemas": { "PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.Alert]": { "title": "AlertList", "required": [ "Alerts", "AuthorityCode", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "Count": { "type": "integer", "format": "int64" }, "Alerts": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Alert" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingLiveWrapperOfAlert", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.Alert": { "title": "Alert", "required": [ "Description", "Status", "Title", "UpdateTime" ], "type": "object", "properties": { "AlertID": { "title": "String", "type": "string", "description": "通阻訊息代碼", "xml": { "name": "AlertID" } }, "OperatorID": { "title": "String", "type": "string", "description": "營運業者代碼", "xml": { "name": "OperatorID" } }, "OperatorName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "營運業者名稱", "xml": { "name": "NameType" } }, "Title": { "title": "String", "minLength": 1, "type": "string", "description": "通阻訊息標題", "xml": { "name": "Title" } }, "Description": { "title": "String", "minLength": 1, "type": "string", "description": "通阻訊息說明", "xml": { "name": "Description" } }, "Status": { "title": "Int32", "type": "integer", "description": "營運狀況 : [0:'營運停止',1:'營運正常',2:'營運異常']" }, "CarParks": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.AlertCarPark" }, "description": "停車場影響範圍", "xml": { "name": "List`1" } }, "ParkingSegments": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.AlertParkingSegment" }, "description": "路邊停車路段影響範圍", "xml": { "name": "List`1" } }, "ParkingSpots": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.AlertParkingSpot" }, "description": "路邊停車格位影響範圍", "xml": { "name": "List`1" } }, "Effect": { "title": "String", "type": "string", "description": "影響說明", "xml": { "name": "Effect" } }, "Reason": { "title": "String", "type": "string", "description": "影響原因", "xml": { "name": "Reason" } }, "AlertURL": { "title": "String", "type": "string", "description": "通阻訊息網址連結", "xml": { "name": "AlertURL" } }, "PublishTime": { "title": "String", "type": "string", "description": "訊息公告日期時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)", "xml": { "name": "PublishTime" } }, "StartTime": { "title": "String", "type": "string", "description": "訊息開始日期時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)", "xml": { "name": "StartTime" } }, "EndTime": { "title": "String", "type": "string", "description": "訊息結束日期時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)", "xml": { "name": "EndTime" } }, "UpdateTime": { "title": "String", "minLength": 1, "type": "string", "description": "本則通阻訊息之更新日期時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)", "xml": { "name": "UpdateTime" } } }, "xml": { "name": "Alert" } }, "PTX.Service.DTO.Parking.Specification.V1.AlertCarPark": { "title": "AlertCarPark", "required": [ "CarParkID" ], "type": "object", "properties": { "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "停車場代碼", "xml": { "name": "CarParkID" } } }, "xml": { "name": "AlertCarPark" } }, "PTX.Service.DTO.Parking.Specification.V1.AlertParkingSegment": { "title": "AlertParkingSegment", "required": [ "ParkingSegmentID", "ParkingSegmentName" ], "type": "object", "properties": { "ParkingSegmentID": { "title": "String", "minLength": 1, "type": "string", "description": "路邊停車路段代碼", "xml": { "name": "ParkingSegmentID" } }, "ParkingSegmentName": { "title": "String", "minLength": 1, "type": "string", "description": "路邊停車路段名稱", "xml": { "name": "ParkingSegmentName" } } }, "xml": { "name": "AlertParkingSegment" } }, "PTX.Service.DTO.Parking.Specification.V1.AlertParkingSpot": { "title": "AlertParkingSpot", "required": [ "ParkingSpotID" ], "type": "object", "properties": { "ParkingSpotID": { "title": "String", "minLength": 1, "type": "string", "description": "路邊停車格位代碼", "xml": { "name": "ParkingSpotID" } } }, "xml": { "name": "AlertParkingSpot" } }, "PTX.Service.DTO.Shared.Specification.V3.Base.NameType": { "title": "NameType", "type": "object", "properties": { "Zh_tw": { "title": "String", "type": "string", "description": "中文繁體名稱", "xml": { "name": "Zh_tw" } }, "En": { "title": "String", "type": "string", "description": "英文名稱", "xml": { "name": "En" } } }, "xml": { "name": "NameType" } }, "PTX.API.Parking.Model.ParkingAuthorityWrapper[PTX.Service.DTO.Parking.Specification.V1.Authority]": { "title": "AuthorityList", "type": "object", "properties": { "Count": { "type": "integer", "format": "int64" }, "Authorities": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Authority" }, "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingAuthorityWrapperOfAuthority", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.Authority": { "title": "Authority", "required": [ "Address", "AuthorityCode", "AuthorityName", "AuthorityOID", "Email", "Telephone" ], "type": "object", "properties": { "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "AuthorityName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "業管機關名稱", "xml": { "name": "NameType" } }, "AuthorityOID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關識別代碼", "xml": { "name": "AuthorityOID" } }, "Telephone": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關聯絡電話", "xml": { "name": "Telephone" } }, "Email": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關電子信箱", "xml": { "name": "Email" } }, "Address": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關地址", "xml": { "name": "Address" } }, "WebURL": { "title": "String", "type": "string", "description": "業管機關官網網址", "xml": { "name": "WebURL" } }, "LogoURL": { "title": "String", "type": "string", "description": "業管機關Logo網址", "xml": { "name": "LogoURL" } }, "UpdateTime": { "title": "DateTime", "type": "string", "description": "資料更新日期時間(ISO8601格式:yyyy-MM-ddTHH:mm:sszzz)", "format": "date-time" } }, "xml": { "name": "Authority" } }, "PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability]": { "title": "ParkingAvailabilityList", "required": [ "AuthorityCode", "ParkingAvailabilities", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "Count": { "type": "integer", "format": "int64" }, "ParkingAvailabilities": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingLiveWrapperOfParkingAvailability", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.ParkingAvailability": { "title": "ParkingAvailability", "required": [ "Availabilities", "AvailableSpaces", "CarParkID", "CarParkName", "ChargeStatus", "DataCollectTime", "FullStatus", "ServiceStatus", "TotalSpaces" ], "type": "object", "properties": { "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } }, "TotalSpaces": { "title": "Int32", "type": "integer", "description": "停車位總數", "format": "int32" }, "AvailableSpaces": { "title": "Int32", "type": "integer", "description": "停車剩餘位總數(-1: 未知/以現場為主(含非營業時段))", "format": "int32" }, "Availabilities": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Availability" }, "description": "停車場即時剩餘車位數資訊", "xml": { "name": "List`1" } }, "AreaAvailabilities": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.AreaAvailability" }, "description": "停車區域即時剩餘車位數資訊", "xml": { "name": "List`1" } }, "ServiceStatus": { "title": "Int32", "type": "integer", "description": "停車場營業狀態(以小客車為主) : [0:'休息中',1:'營業中',2:'暫停營業',3:'非營業時段']" }, "FullStatus": { "title": "Int32", "type": "integer", "description": "停車場格位狀態 : [0:'尚有空位',1:'車位將滿',2:'車位已滿',3:'過度擁擠']" }, "ServiceAvailableLevel": { "title": "String", "type": "string", "description": "尚有空位門檻(以小客車為主)", "xml": { "name": "ServiceAvailableLevel" } }, "AlmostFullLevel": { "title": "String", "type": "string", "description": "車位將滿門檻水準(以小客車為主)", "xml": { "name": "AlmostFullLevel" } }, "FullLevel": { "title": "String", "type": "string", "description": "車位已滿門檻水準(以小客車為主)", "xml": { "name": "FullLevel" } }, "OverCrowdingLevel": { "title": "String", "type": "string", "description": "過度擁擠門檻水準", "xml": { "name": "OverCrowdingLevel" } }, "ChargeStatus": { "title": "Int32", "type": "integer", "description": "停車收費狀態 : [0:'不收費',1:'正常收費',2:'暫停收費',3:'非收費時段']" }, "Remark": { "title": "String", "type": "string", "description": "備註", "xml": { "name": "Remark" } }, "DataCollectTime": { "title": "String", "minLength": 1, "type": "string", "description": "資料產製時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)", "xml": { "name": "DataCollectTime" } } }, "xml": { "name": "ParkingAvailability" } }, "PTX.Service.DTO.Parking.Specification.V1.Availability": { "title": "Availability", "required": [ "AvailableSpaces", "NumberOfSpaces", "SpaceType" ], "type": "object", "properties": { "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "NumberOfSpaces": { "title": "Int32", "type": "integer", "description": "停車位總數", "format": "int32" }, "AvailableSpaces": { "title": "Int32", "type": "integer", "description": "目前剩餘車位數(-1: 未知/以現場為主(含非營業時段))", "format": "int32" } }, "xml": { "name": "Availability" } }, "PTX.Service.DTO.Parking.Specification.V1.AreaAvailability": { "title": "AreaAvailability", "required": [ "AvailableSpaces", "NumberOfSpaces", "ParkingAreaID", "SpaceType" ], "type": "object", "properties": { "ParkingAreaID": { "title": "String", "minLength": 1, "type": "string", "description": "停車場區域代碼", "xml": { "name": "ParkingAreaID" } }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "NumberOfSpaces": { "title": "Int32", "type": "integer", "description": "停車位總數", "format": "int32" }, "AvailableSpaces": { "title": "Int32", "type": "integer", "description": "目前剩餘車位數 (-1: 未知/以現場為主(含非營業時段))", "format": "int32" } }, "xml": { "name": "AreaAvailability" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CarPark]": { "title": "CarParkList", "required": [ "AuthorityCode", "CarParks", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "CarParks": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.CarPark" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfCarPark", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.CarPark": { "title": "CarPark", "required": [ "Address", "CarParkID", "CarParkName", "CarParkPosition", "CarParkRegNo", "CarParkType", "ChargeTypes", "City", "CityCode", "Description", "Email", "EVRechargingAvailable", "FareDescription", "GasStation", "Gated", "IsFreeParkingOutOfHours", "IsPublic", "Lighting", "LiveOccuppancyAvailable", "MonthlyTicketAvailable", "OperationType", "OperatorID", "OvernightPermitted", "ParkingGuideType", "ParkingSiteTypes", "ParkingTypes", "ProhibitedForAnyHazardousMaterialLoads", "ReservationAvailable", "Restaurant", "SeasonTicketAvailable", "SecureParking", "SecurityGuard", "Shop", "Supervision", "Telephone", "TicketMachine", "TicketOffice", "Toilet", "TownID", "TownName", "WheelchairAccessible" ], "type": "object", "properties": { "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } }, "CarParkShortName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場簡稱", "xml": { "name": "NameType" } }, "CarParkRegNo": { "title": "String", "minLength": 1, "type": "string", "description": "停車場登記證號", "xml": { "name": "CarParkRegNo" } }, "OperatorID": { "title": "String", "minLength": 1, "type": "string", "description": "營運業者代碼", "xml": { "name": "OperatorID" } }, "Geometry": { "title": "String", "type": "string", "description": "停車場空間範圍(WKT)", "xml": { "name": "Geometry" } }, "Description": { "title": "String", "minLength": 1, "type": "string", "description": "停車場綜合描述", "xml": { "name": "Description" } }, "CarParkType": { "title": "Int32", "type": "integer", "description": "停車場類型 : [1:'平面',2:'立體',3:'地下',4:'立體停車塔',5:'立體機械式',6:'同時涵蓋2種以上',254:'其他',255:'未知']" }, "ParkingGuideType": { "title": "Int32", "type": "integer", "description": "停車導引類型 : [1:'自行找尋停車位',2:'有導引輔助設施協助尋找停車位',3:'人工導引停找車位',4:'代客泊車',5:'混合型',254:'其他',255:'未知']" }, "ParkingAreas": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ParkingArea" }, "description": "停車場區域", "xml": { "name": "List`1" } }, "ParkingTypes": { "title": "Array", "type": "array", "items": { "title": "Int32", "type": "integer", "description": "[1:'停車轉乘公共運輸',2:'臨時停車接送',3:'停車後轉使用公共自行車',4:'停車後步行',5:'活動專用停車場',6:'休息站專用停車場',7:'服務區專用停車場',8:'貨車及大型車停車場',9:'共享汽車租用服務停車場',10:'共乘服務停車場',254:'其他',255:'未知']" }, "description": "停車類型資訊: [1:'停車轉乘公共運輸',2:'臨時停車接送',3:'停車後轉使用公共自行車',4:'停車後步行',5:'活動專用停車場',6:'休息站專用停車場',7:'服務區專用停車場',8:'貨車及大型車停車場',9:'共享汽車租用服務停車場',10:'共乘服務停車場',254:'其他',255:'未知']", "xml": { "name": "List`1" } }, "ParkingSiteTypes": { "title": "Array", "type": "array", "items": { "title": "Int32", "type": "integer", "description": "[1:'軌道場站',2:'機場場站',3:'船舶場站',4:'商圈',5:'餐廳',6:'運動場',7:'飯店',8:'觀光地標',9:'電影院',10:'觀光景點',11:'學校',12:'美術博物館',13:'展覽中心',14:'會議中心',15:'宗教機構',16:'賣場',17:'動物園',18:'高速公路',19:'政府部門',20:'住宅區',21:'夜市',22:'市場',23:'公園',254:'其他',255:'未知']" }, "description": "停車場服務類型資訊: [1:'軌道場站',2:'機場場站',3:'船舶場站',4:'商圈',5:'餐廳',6:'運動場',7:'飯店',8:'觀光地標',9:'電影院',10:'觀光景點',11:'學校',12:'美術博物館',13:'展覽中心',14:'會議中心',15:'宗教機構',16:'賣場',17:'動物園',18:'高速公路',19:'政府部門',20:'住宅區',21:'夜市',22:'市場',23:'公園',254:'其他',255:'未知']", "xml": { "name": "List`1" } }, "ChargeTypes": { "title": "Array", "type": "array", "items": { "title": "Int32", "type": "integer", "description": "[1:'計時',2:'計次',3:'月租',4:'免費',254:'其他',255:'未知']" }, "description": "停車場收費方式: [1:'計時',2:'計次',3:'月租',4:'免費',254:'其他',255:'未知']", "xml": { "name": "List`1" } }, "Telephone": { "title": "String", "minLength": 1, "type": "string", "description": "停車場連絡電話", "xml": { "name": "Telephone" } }, "EmergencyPhone": { "title": "String", "type": "string", "description": "緊急連絡電話", "xml": { "name": "EmergencyPhone" } }, "CarParkPosition": { "title": "PointType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.PointType" } ], "description": "代表點坐標", "xml": { "name": "PointType" } }, "Email": { "title": "String", "minLength": 1, "type": "string", "description": "電子信箱", "xml": { "name": "Email" } }, "Address": { "title": "String", "minLength": 1, "type": "string", "description": "停車場地址", "xml": { "name": "Address" } }, "ImageURLs": { "title": "Array", "type": "array", "items": { "title": "String", "type": "string", "xml": { } }, "description": "停車場照片", "xml": { "name": "List`1" } }, "WebURL": { "title": "String", "type": "string", "description": "官網網址", "xml": { "name": "WebURL" } }, "FareURL": { "title": "String", "type": "string", "description": "票價資訊網址", "xml": { "name": "FareURL" } }, "FareDescription": { "title": "String", "minLength": 1, "type": "string", "description": "票價資訊文字描述", "xml": { "name": "FareDescription" } }, "SpecialOfferDescription": { "title": "String", "type": "string", "description": "優惠費率文字說明", "xml": { "name": "SpecialOfferDescription" } }, "IsFreeParkingOutOfHours": { "title": "Int32", "type": "integer", "description": "是否在營業時間外不收費 : [0:'否',1:'是']" }, "VehicleRestriction": { "title": "String", "type": "string", "description": "車輛限制文字描述", "xml": { "name": "VehicleRestriction" } }, "IsPublic": { "title": "Int32", "type": "integer", "description": "是否為公有停車場 : [0:'否',1:'是']" }, "IsMotorcycle": { "title": "Int32", "type": "integer", "description": "是否為機車停車場 : [0:'否',1:'是']" }, "OperationType": { "title": "Int32", "type": "integer", "description": "營運種類 : [1:'公辦民營',2:'公辦公營',3:'私有民營']" }, "LiveOccuppancyAvailable": { "title": "Int32", "type": "integer", "description": "是否有提供動態剩餘車位資訊 : [0:'否',1:'是']" }, "EVRechargingAvailable": { "title": "Int32", "type": "integer", "description": "是否有電動車充電設施 : [0:'否',1:'是']" }, "MonthlyTicketAvailable": { "title": "Int32", "type": "integer", "description": "是否有提供月票服務 : [0:'否',1:'是']" }, "SeasonTicketAvailable": { "title": "Int32", "type": "integer", "description": "是否有提供季票服務 : [0:'否',1:'是']" }, "ReservationAvailable": { "title": "Int32", "type": "integer", "description": "是否有提供預約停車服務 : [0:'否',1:'是']" }, "ReservationURL": { "title": "String", "type": "string", "description": "預約網址", "xml": { "name": "ReservationURL" } }, "ReservationDescription": { "title": "String", "type": "string", "description": "預約資訊文字描述", "xml": { "name": "ReservationDescription" } }, "WheelchairAccessible": { "title": "Int32", "type": "integer", "description": "是否有無障礙設施 : [0:'否',1:'是']" }, "OvernightPermitted": { "title": "Int32", "type": "integer", "description": "是否允許停車過夜 : [0:'否',1:'是']" }, "TicketMachine": { "title": "Int32", "type": "integer", "description": "是否有自動售票機 : [0:'否',1:'是']" }, "Toilet": { "title": "Int32", "type": "integer", "description": "是否有廁所 : [0:'否',1:'是']" }, "Restaurant": { "title": "Int32", "type": "integer", "description": "是否有餐廳 : [0:'否',1:'是']" }, "GasStation": { "title": "Int32", "type": "integer", "description": "是否有加油站 : [0:'否',1:'是']" }, "Shop": { "title": "Int32", "type": "integer", "description": "是否有商店 : [0:'否',1:'是']" }, "Gated": { "title": "Int32", "type": "integer", "description": "是否有閘口 : [0:'否',1:'是']" }, "Lighting": { "title": "Int32", "type": "integer", "description": "是否有照明設施 : [0:'否',1:'是']" }, "SecureParking": { "title": "Int32", "type": "integer", "description": "是否停車安全有保障 : [0:'否',1:'是']" }, "TicketOffice": { "title": "Int32", "type": "integer", "description": "是否有售票處 : [0:'否',1:'是']" }, "ProhibitedForAnyHazardousMaterialLoads": { "title": "Int32", "type": "integer", "description": "是否允許於停車場區域內裝卸危險物品 : [0:'否',1:'是']" }, "SecurityGuard": { "title": "Int32", "type": "integer", "description": "是否有管理人員 : [0:'否',1:'是']" }, "Supervision": { "title": "Int32", "type": "integer", "description": "是否有監視系統 : [0:'否',1:'是']" }, "SupervisionType": { "title": "Int32", "type": "integer", "description": "監視系統類型 : [1:'CCTV',2:'CCTV和IVA',254:'其他',255:'未知']" }, "LandMark": { "title": "String", "type": "string", "description": "停車場附近的地標/地物", "xml": { "name": "LandMark" } }, "BuildingName": { "title": "String", "type": "string", "description": "停車場所在大樓名稱", "xml": { "name": "BuildingName" } }, "LocationMapURL": { "title": "String", "type": "string", "description": "停車場位置圖網址", "xml": { "name": "LocationMapURL" } }, "City": { "title": "String", "minLength": 1, "type": "string", "description": "所在城市(英文)", "xml": { "name": "City" } }, "CityCode": { "title": "String", "minLength": 1, "type": "string", "description": "所在城市代碼", "xml": { "name": "CityCode" } }, "TownName": { "title": "String", "minLength": 1, "type": "string", "description": "所在行政區(鄉鎮區)(中文)", "xml": { "name": "TownName" } }, "TownID": { "title": "String", "minLength": 1, "type": "string", "description": "所在行政區(鄉鎮區)代碼", "xml": { "name": "TownID" } } }, "xml": { "name": "CarPark" } }, "PTX.Service.DTO.Parking.Specification.V1.ParkingArea": { "title": "ParkingArea", "required": [ "ParkingAreaID", "ParkingAreaName", "ParkingTypes" ], "type": "object", "properties": { "ParkingAreaID": { "title": "String", "minLength": 1, "type": "string", "description": "停車場區域代碼", "xml": { "name": "ParkingAreaID" } }, "ParkingAreaName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場區域名稱", "xml": { "name": "NameType" } }, "ParkingTypes": { "title": "Array", "type": "array", "items": { "title": "Int32", "type": "integer", "description": "[1:'停車轉乘公共運輸',2:'臨時停車接送',3:'停車後轉使用公共自行車',4:'停車後步行',5:'活動專用停車場',6:'休息站專用停車場',7:'服務區專用停車場',8:'貨車及大型車停車場',9:'共享汽車租用服務停車場',10:'共乘服務停車場',254:'其他',255:'未知']" }, "description": "停車類型資訊", "xml": { "name": "List`1" } }, "Geometry": { "title": "String", "type": "string", "description": "停車場區域空間範圍(WKT)", "xml": { "name": "Geometry" } } }, "xml": { "name": "ParkingArea" } }, "PTX.Service.DTO.Parking.Specification.V1.PointType": { "title": "PointType", "required": [ "PositionLat", "PositionLon" ], "type": "object", "properties": { "PositionLat": { "type": "number", "description": "位置緯度(WGS84)", "format": "double" }, "PositionLon": { "type": "number", "description": "位置經度(WGS84)", "format": "double" } }, "xml": { "name": "PointType" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentChargeTime]": { "title": "CurbParkingSegmentChargeTimeList", "required": [ "AuthorityCode", "CurbParkingSegmentChargeTimes", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "CurbParkingSegmentChargeTimes": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentChargeTime" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfCurbParkingSegmentChargeTime", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentChargeTime": { "title": "CurbParkingSegmentChargeTime", "required": [ "ChargeTimes", "HasNoParkingTime", "NoParkingTimes", "ParkingSegmentID", "ParkingSegmentName" ], "type": "object", "properties": { "ParkingSegmentID": { "title": "String", "minLength": 1, "type": "string", "description": "停車路段代碼", "xml": { "name": "ParkingSegmentID" } }, "ParkingSegmentName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車路段名稱", "xml": { "name": "NameType" } }, "ChargeTimes": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ChargeTimes" }, "description": "收費時段", "xml": { "name": "List`1" } }, "HasNoParkingTime": { "title": "Int32", "type": "integer", "description": "是否有限制時段 : [0:'否',1:'是']" }, "NoParkingTimes": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.NoParkingTime" }, "description": "限制停車時段", "xml": { "name": "List`1" } } }, "xml": { "name": "CurbParkingSegmentChargeTime" } }, "PTX.Service.DTO.Parking.Specification.V1.ChargeTimes": { "title": "ChargeTimes", "required": [ "EndTime", "Rates", "ServiceDay", "StartTime" ], "type": "object", "properties": { "ServiceDay": { "title": "ServiceDay", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ServiceDay" } ], "description": "服務日型態", "xml": { "name": "ServiceDay" } }, "StartTime": { "title": "String", "minLength": 1, "type": "string", "description": "開始營業時間(HH:mm)", "xml": { "name": "StartTime" } }, "EndTime": { "title": "String", "minLength": 1, "type": "string", "description": "結束營業時間(HH:mm)", "xml": { "name": "EndTime" } }, "Rates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ChargeTimesRate" }, "description": "費率資訊", "xml": { "name": "List`1" } } }, "xml": { "name": "ChargeTimes" } }, "PTX.Service.DTO.Parking.Specification.V1.ChargeTimesRate": { "title": "ChargeTimesRate", "required": [ "RateID", "RateType" ], "type": "object", "properties": { "RateType": { "title": "Int32", "type": "integer", "description": "費率類型 : [1:'FreeRate',2:'FlatRate',3:'HourlyRate',4:'ProgressiveRate']" }, "RateID": { "title": "String", "minLength": 1, "type": "string", "description": "費率代碼", "xml": { "name": "RateID" } }, "ParkingSpots": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ChargeTimeParkingSpot" }, "description": "適用此費率的停車格位", "xml": { "name": "List`1" } } }, "xml": { "name": "ChargeTimesRate" } }, "PTX.Service.DTO.Parking.Specification.V1.ChargeTimeParkingSpot": { "title": "ChargeTimeParkingSpot", "type": "object", "properties": { "ParkingSpotID": { "title": "String", "type": "string", "description": "停車格位代碼", "xml": { "name": "ParkingSpotID" } } }, "xml": { "name": "ChargeTimeParkingSpot" } }, "PTX.Service.DTO.Parking.Specification.V1.ServiceDay": { "title": "ServiceDay", "required": [ "Friday", "Monday", "Saturday", "Sunday", "Thursday", "Tuesday", "Wednesday" ], "type": "object", "properties": { "ServiceTag": { "title": "String", "type": "string", "description": "服務日標籤", "xml": { "name": "ServiceTag" } }, "Monday": { "title": "Int32", "type": "integer", "description": "星期一營運與否 : [0:'否',1:'是']" }, "Tuesday": { "title": "Int32", "type": "integer", "description": "星期二營運與否 : [0:'否',1:'是']" }, "Wednesday": { "title": "Int32", "type": "integer", "description": "星期三營運與否 : [0:'否',1:'是']" }, "Thursday": { "title": "Int32", "type": "integer", "description": "星期四營運與否 : [0:'否',1:'是']" }, "Friday": { "title": "Int32", "type": "integer", "description": "星期五營運與否 : [0:'否',1:'是']" }, "Saturday": { "title": "Int32", "type": "integer", "description": "星期六營運與否 : [0:'否',1:'是']" }, "Sunday": { "title": "Int32", "type": "integer", "description": "星期日營運與否 : [0:'否',1:'是']" }, "NationalHolidays": { "title": "Int32", "type": "integer", "description": "國定假日營運與否 : [0:'否',1:'是']" } }, "xml": { "name": "ServiceDay" } }, "PTX.Service.DTO.Parking.Specification.V1.NoParkingTime": { "title": "NoParkingTime", "type": "object", "properties": { "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "ServiceDay": { "title": "ServiceDay", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ServiceDay" } ], "description": "服務日型態", "xml": { "name": "ServiceDay" } }, "StartTime": { "title": "String", "type": "string", "description": "開始營業時間(HH:mm)", "xml": { "name": "StartTime" } }, "EndTime": { "title": "String", "type": "string", "description": "結束營業時間(HH:mm)", "xml": { "name": "EndTime" } } }, "xml": { "name": "NoParkingTime" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentRate]": { "title": "CurbParkingSegmentRateList", "required": [ "AuthorityCode", "CurbParkingSegmentRates", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "CurbParkingSegmentRates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentRate" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfCurbParkingSegmentRate", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentRate": { "title": "CurbParkingSegmentRate", "required": [ "FlatRates", "FreeRates", "HourlyRates", "ProgressiveRates" ], "type": "object", "properties": { "Description": { "title": "String", "type": "string", "description": "全部費率之文字性描述", "xml": { "name": "Description" } }, "FreeRates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.CurbFreeRate" }, "description": "免費費率", "xml": { "name": "List`1" } }, "FlatRates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.CurbFlatRate" }, "description": "計次費率", "xml": { "name": "List`1" } }, "HourlyRates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.CurbHourlyRate" }, "description": "計時費率", "xml": { "name": "List`1" } }, "ProgressiveRates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.CurbProgressiveRate" }, "description": "累進費率", "xml": { "name": "List`1" } } }, "xml": { "name": "CurbParkingSegmentRate" } }, "PTX.Service.DTO.Parking.Specification.V1.CurbFreeRate": { "title": "CurbFreeRate", "required": [ "FreeMaxStay", "RateID", "RateName", "RestrictionUserType", "SpaceType" ], "type": "object", "properties": { "RateID": { "title": "String", "minLength": 1, "type": "string", "description": "費率代碼", "xml": { "name": "RateID" } }, "RateName": { "title": "String", "minLength": 1, "type": "string", "description": "免費方案費率名稱", "xml": { "name": "RateName" } }, "RateDescription": { "title": "String", "type": "string", "description": "費率文字描述", "xml": { "name": "RateDescription" } }, "RestrictionUserType": { "title": "Int32", "type": "integer", "description": "費率適用之使用者類型限制 : [0:'無特別限制',1:'身心障礙',2:'在地居民',254:'其他',255:'未知']" }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "FreeMaxStay": { "title": "Int32", "type": "integer", "description": "最長免費停留時間(單位:分)", "format": "int32" }, "Restriction": { "title": "String", "type": "string", "description": "限制說明", "xml": { "name": "Restriction" } } }, "xml": { "name": "CurbFreeRate" } }, "PTX.Service.DTO.Parking.Specification.V1.CurbFlatRate": { "title": "CurbFlatRate", "required": [ "RateID", "RateName", "RatePrice", "RestrictionUserType", "SpaceType" ], "type": "object", "properties": { "RateID": { "title": "String", "minLength": 1, "type": "string", "description": "費率代碼", "xml": { "name": "RateID" } }, "RateName": { "title": "String", "minLength": 1, "type": "string", "description": "計次方案費率名稱", "xml": { "name": "RateName" } }, "RateDescription": { "title": "String", "type": "string", "description": "費率文字描述", "xml": { "name": "RateDescription" } }, "RestrictionUserType": { "title": "Int32", "type": "integer", "description": "費率適用之使用者類型限制 : [0:'無特別限制',1:'身心障礙',2:'在地居民',254:'其他',255:'未知']" }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "RatePrice": { "title": "Int32", "type": "integer", "description": "費率價格", "format": "int32" }, "FreeMaxStay": { "type": "integer", "description": "最長免費停留時間(單位:分)", "format": "int32" }, "MaxStay": { "type": "integer", "description": "最多停留時間限制(單位:分)", "format": "int32" }, "ResetInterval": { "type": "integer", "description": "多久重新計算一次(單位:分)", "format": "int32" }, "ResetTime": { "title": "String", "type": "string", "description": "當日重新計算時間(HH:mm)。若隔日重新計算,則為00:00", "xml": { "name": "ResetTime" } }, "Restriction": { "title": "String", "type": "string", "description": "限制說明", "xml": { "name": "Restriction" } } }, "xml": { "name": "CurbFlatRate" } }, "PTX.Service.DTO.Parking.Specification.V1.CurbHourlyRate": { "title": "CurbHourlyRate", "required": [ "MinHalfHourCharge", "RateID", "RateName", "RatePrice", "RateQualifier", "RestrictionUserType", "SpaceType" ], "type": "object", "properties": { "RateID": { "title": "String", "minLength": 1, "type": "string", "description": "費率代碼", "xml": { "name": "RateID" } }, "RateName": { "title": "String", "minLength": 1, "type": "string", "description": "計時方案費率名稱", "xml": { "name": "RateName" } }, "RateDescription": { "title": "String", "type": "string", "description": "費率文字描述", "xml": { "name": "RateDescription" } }, "RestrictionUserType": { "title": "Int32", "type": "integer", "description": "費率適用之使用者類型限制 : [0:'無特別限制',1:'身心障礙',2:'在地居民',254:'其他',255:'未知']" }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "FreeMaxStay": { "type": "integer", "description": "最長免費停留時間(單位:分)", "format": "int32" }, "RateQualifier": { "title": "Int32", "type": "integer", "description": "計費基準單位(單位:分)", "format": "int32" }, "RatePrice": { "title": "Int32", "type": "integer", "description": "費率價格", "format": "int32" }, "MaxPrice": { "type": "integer", "description": "每日最高計費上限", "format": "int32" }, "MaxStay": { "type": "integer", "description": "最多停留時間限制(單位:分)", "format": "int32" }, "MinHalfHourCharge": { "title": "Int32", "type": "integer", "description": "停車未滿30分鐘是否以半小時計費 : [0:'否',1:'是']" }, "Restriction": { "title": "String", "type": "string", "description": "限制說明", "xml": { "name": "Restriction" } } }, "xml": { "name": "CurbHourlyRate" } }, "PTX.Service.DTO.Parking.Specification.V1.CurbProgressiveRate": { "title": "CurbProgressiveRate", "required": [ "MaxStay", "MinHalfHourCharge", "RateDescription", "RateID", "RateName", "Rates", "RestrictionUserType", "SpaceType" ], "type": "object", "properties": { "RateID": { "title": "String", "minLength": 1, "type": "string", "description": "費率代碼", "xml": { "name": "RateID" } }, "RateName": { "title": "String", "minLength": 1, "type": "string", "description": "累進費率方案名稱", "xml": { "name": "RateName" } }, "RateDescription": { "title": "String", "minLength": 1, "type": "string", "description": "費率文字描述", "xml": { "name": "RateDescription" } }, "RestrictionUserType": { "title": "Int32", "type": "integer", "description": "費率適用之使用者類型限制 : [0:'無特別限制',1:'身心障礙',2:'在地居民',254:'其他',255:'未知']" }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "MaxPrice": { "type": "integer", "description": "每日最高計費上限", "format": "int32" }, "MaxStay": { "title": "Int32", "type": "integer", "description": "最多停留時間限制(單位:分)", "format": "int32" }, "MinHalfHourCharge": { "title": "Int32", "type": "integer", "description": "停車未滿30分鐘是否以半小時計費 : [0:'否',1:'是']" }, "Restriction": { "title": "String", "type": "string", "description": "限制說明", "xml": { "name": "Restriction" } }, "Rates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Rate" }, "description": "費率", "xml": { "name": "List`1" } } }, "xml": { "name": "CurbProgressiveRate" } }, "PTX.Service.DTO.Parking.Specification.V1.Rate": { "title": "Rate", "required": [ "RateNote", "RatePrice", "RateQualifier", "RateSequence", "StayEnd", "StayStart" ], "type": "object", "properties": { "RateSequence": { "title": "Int32", "type": "integer", "description": "費率排序", "format": "int32" }, "RateNote": { "title": "String", "minLength": 1, "type": "string", "description": "費率說明", "xml": { "name": "RateNote" } }, "StayStart": { "title": "Int32", "type": "integer", "description": "停留時間區間(起) (單位:分)", "format": "int32" }, "StayEnd": { "type": "integer", "description": "停留時間區間(迄) (單位:分),若為-1表示無上限", "format": "int32" }, "RateQualifier": { "title": "Int32", "type": "integer", "description": "計費基準單位(分)", "format": "int32" }, "RatePrice": { "title": "Int32", "type": "integer", "description": "費率價格", "format": "int32" } }, "xml": { "name": "Rate" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbParkingSpotChargeTime]": { "title": "CurbParkingSpotChargeTimeList", "required": [ "AuthorityCode", "CurbParkingSpotChargeTimes", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "CurbParkingSpotChargeTimes": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.CurbParkingSpotChargeTime" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfCurbParkingSpotChargeTime", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.CurbParkingSpotChargeTime": { "title": "CurbParkingSpotChargeTime", "required": [ "ChargeTimes", "HasNoParkingTime", "NoParkingTimes", "ParkingSpotID" ], "type": "object", "properties": { "ParkingSpotID": { "title": "String", "minLength": 1, "type": "string", "description": "停車格位代碼", "xml": { "name": "ParkingSpotID" } }, "ChargeTimes": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.SpotChargeTimes" }, "description": "收費時段", "xml": { "name": "List`1" } }, "HasNoParkingTime": { "title": "Int32", "type": "integer", "description": "是否有限制時段 : [0:'否',1:'是']" }, "NoParkingTimes": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.NoParkingTime" }, "description": "限制停車時段", "xml": { "name": "List`1" } } }, "xml": { "name": "CurbParkingSpotChargeTime" } }, "PTX.Service.DTO.Parking.Specification.V1.SpotChargeTimes": { "title": "SpotChargeTimes", "required": [ "EndTime", "Rates", "ServiceDay", "StartTime" ], "type": "object", "properties": { "ServiceDay": { "title": "ServiceDay", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ServiceDay" } ], "description": "服務日型態", "xml": { "name": "ServiceDay" } }, "StartTime": { "title": "String", "minLength": 1, "type": "string", "description": "開始營業時間(HH:mm)", "xml": { "name": "StartTime" } }, "EndTime": { "title": "String", "minLength": 1, "type": "string", "description": "結束營業時間(HH:mm)", "xml": { "name": "EndTime" } }, "Rates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.SpotChargeTimesRate" }, "description": "費率資訊", "xml": { "name": "List`1" } } }, "xml": { "name": "SpotChargeTimes" } }, "PTX.Service.DTO.Parking.Specification.V1.SpotChargeTimesRate": { "title": "SpotChargeTimesRate", "required": [ "RateID", "RateType" ], "type": "object", "properties": { "RateType": { "title": "Int32", "type": "integer", "description": "費率類型 : [1:'FreeRate',2:'FlatRate',3:'HourlyRate',4:'ProgressiveRate']" }, "RateID": { "title": "String", "minLength": 1, "type": "string", "description": "費率代碼", "xml": { "name": "RateID" } } }, "xml": { "name": "SpotChargeTimesRate" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSegment]": { "title": "ParkingSegmentList", "required": [ "AuthorityCode", "ParkingSegments", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "ParkingSegments": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ParkingSegment" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfParkingSegment", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.ParkingSegment": { "title": "ParkingSegment", "required": [ "City", "CityCode", "Description", "FareDescription", "ParkingSegmentID", "ParkingSegmentName", "ParkingSegmentPosition", "TownID", "TownName" ], "type": "object", "properties": { "ParkingSegmentID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車路段代碼", "xml": { "name": "ParkingSegmentID" } }, "ParkingSegmentName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車路段名稱", "xml": { "name": "NameType" } }, "RoadSection": { "title": "RoadType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.RoadType" } ], "description": "停車路段所在道路街廓", "xml": { "name": "RoadType" } }, "ParkingSegmentPosition": { "title": "PointType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.PointType" } ], "description": "路段代表點坐標", "xml": { "name": "PointType" } }, "Geometry": { "title": "String", "type": "string", "description": "路段範圍坐標", "xml": { "name": "Geometry" } }, "Description": { "title": "String", "minLength": 1, "type": "string", "description": "停車路段描述", "xml": { "name": "Description" } }, "FareDescription": { "title": "String", "minLength": 1, "type": "string", "description": "票價資訊文字描述", "xml": { "name": "FareDescription" } }, "HasChargingPoint": { "title": "Int32", "type": "integer", "description": "是否附屬充電樁 : [0:'否',1:'是']" }, "ImageURLs": { "title": "Array", "type": "array", "items": { "title": "String", "type": "string", "xml": { } }, "description": "停車路段照片", "xml": { "name": "List`1" } }, "City": { "title": "String", "minLength": 1, "type": "string", "description": "所在城市(英文)", "xml": { "name": "City" } }, "CityCode": { "title": "String", "minLength": 1, "type": "string", "description": "所在城市代碼", "xml": { "name": "CityCode" } }, "TownName": { "title": "String", "minLength": 1, "type": "string", "description": "所在行政區(鄉鎮區)(中文)", "xml": { "name": "TownName" } }, "TownID": { "title": "String", "minLength": 1, "type": "string", "description": "所在行政區(鄉鎮區)代碼", "xml": { "name": "TownID" } }, "LandMark": { "title": "String", "type": "string", "description": "停車場附近的地標/地物", "xml": { "name": "LandMark" } }, "Roads": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Road" }, "description": "所在道路資訊", "xml": { "name": "List`1" } }, "Links": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Link" }, "description": "所在路段資訊", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingSegment" } }, "PTX.Service.DTO.Parking.Specification.V1.Road": { "title": "Road", "type": "object", "properties": { "RoadID": { "title": "String", "type": "string", "description": "所在道路路名碼", "xml": { "name": "RoadID" } } }, "xml": { "name": "Road" } }, "PTX.Service.DTO.Parking.Specification.V1.Link": { "title": "Link", "type": "object", "properties": { "LinkID": { "title": "String", "type": "string", "description": "所在路段基礎編碼", "xml": { "name": "LinkID" } } }, "xml": { "name": "Link" } }, "PTX.Service.DTO.Parking.Specification.V1.RoadType": { "title": "RoadType", "required": [ "End", "Start" ], "type": "object", "properties": { "Start": { "title": "String", "minLength": 1, "type": "string", "description": "街廓起點路段名稱", "xml": { "name": "Start" } }, "End": { "title": "String", "minLength": 1, "type": "string", "description": "街廓迄點路段名稱", "xml": { "name": "End" } } }, "xml": { "name": "RoadType" } }, "PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentAvailability]": { "title": "CurbParkingSegmentAvailabilityList", "required": [ "AuthorityCode", "CurbParkingSegmentAvailabilities", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "Count": { "type": "integer", "format": "int64" }, "CurbParkingSegmentAvailabilities": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentAvailability" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingLiveWrapperOfCurbParkingSegmentAvailability", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.CurbParkingSegmentAvailability": { "title": "CurbParkingSegmentAvailability", "required": [ "Availabilities", "AvailableSpaces", "ChargeStatus", "DataCollectTime", "FullStatus", "ParkingSegmentID", "ParkingSegmentName", "ServiceStatus", "TotalSpaces" ], "type": "object", "properties": { "ParkingSegmentID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車路段代碼", "xml": { "name": "ParkingSegmentID" } }, "ParkingSegmentName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車路段名稱", "xml": { "name": "NameType" } }, "TotalSpaces": { "title": "Int32", "type": "integer", "description": "停車位總數", "format": "int32" }, "AvailableSpaces": { "title": "Int32", "type": "integer", "description": "停車剩餘位總數(-1: 未知/以現場為主(含非營業時段))", "format": "int32" }, "Availabilities": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.SegmentAvailability" }, "description": "即時剩餘車位數資訊", "xml": { "name": "List`1" } }, "ServiceStatus": { "title": "Int32", "type": "integer", "description": "停車路段營業狀態 : [0:'休息中',1:'營業中',2:'暫停營業',3:'非營業時段']" }, "FullStatus": { "title": "Int32", "type": "integer", "description": "停車路段格位狀態 : [0:'尚有空位',1:'車位將滿',2:'車位已滿',3:'過度擁擠']" }, "ServiceAvailableLevel": { "title": "String", "type": "string", "description": "尚有空位門檻(以小客車為主)", "xml": { "name": "ServiceAvailableLevel" } }, "AlmostFullLevel": { "title": "String", "type": "string", "description": "車位將滿門檻水準(以小客車為主)", "xml": { "name": "AlmostFullLevel" } }, "FullLevel": { "title": "String", "type": "string", "description": "車位已滿門檻水準(以小客車為主)", "xml": { "name": "FullLevel" } }, "OverCrowdingLevel": { "title": "String", "type": "string", "description": "過度擁擠門檻水準", "xml": { "name": "OverCrowdingLevel" } }, "ChargeStatus": { "title": "Int32", "type": "integer", "description": "停車收費狀態 : [0:'不收費',1:'正常收費',2:'暫停收費',3:'非收費時段']" }, "Remark": { "title": "String", "type": "string", "description": "備註", "xml": { "name": "Remark" } }, "DataCollectTime": { "title": "String", "minLength": 1, "type": "string", "description": "資料產製時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)", "xml": { "name": "DataCollectTime" } } }, "xml": { "name": "CurbParkingSegmentAvailability" } }, "PTX.Service.DTO.Parking.Specification.V1.SegmentAvailability": { "title": "SegmentAvailability", "required": [ "AvailableSpaces", "NumberOfSpaces", "SpaceType" ], "type": "object", "properties": { "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "NumberOfSpaces": { "title": "Int32", "type": "integer", "description": "停車位總數", "format": "int32" }, "AvailableSpaces": { "title": "Int32", "type": "integer", "description": "目前剩餘車位數(-1: 未知/以現場為主(含非營業時段))", "format": "int32" }, "Occupancy": { "title": "String", "type": "string", "description": "停車位使用率", "xml": { "name": "Occupancy" } } }, "xml": { "name": "SegmentAvailability" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbSegmentParkingSpace]": { "title": "CurbSegmentParkingSpaceList", "required": [ "AuthorityCode", "CurbSegmentParkingSpaces", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "CurbSegmentParkingSpaces": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.CurbSegmentParkingSpace" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfCurbSegmentParkingSpace", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.CurbSegmentParkingSpace": { "title": "CurbSegmentParkingSpace", "required": [ "ParkingSegmentID", "ParkingSegmentName", "Spaces", "TotalSpaces" ], "type": "object", "properties": { "ParkingSegmentID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車路段代碼", "xml": { "name": "ParkingSegmentID" } }, "ParkingSegmentName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車路段名稱", "xml": { "name": "NameType" } }, "TotalSpaces": { "title": "Int32", "type": "integer", "description": "停車位總數", "format": "int32" }, "Spaces": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.SegmentSpace" }, "description": "停車位資訊", "xml": { "name": "List`1" } } }, "xml": { "name": "CurbSegmentParkingSpace" } }, "PTX.Service.DTO.Parking.Specification.V1.SegmentSpace": { "title": "SegmentSpace", "required": [ "HasChargingPoint", "NumberOfSpaces", "SpaceType" ], "type": "object", "properties": { "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "HasChargingPoint": { "title": "Int32", "type": "integer", "description": "是否附屬充電樁 : [0:'否',1:'是']" }, "NumberOfSpaces": { "title": "Int32", "type": "integer", "description": "停車位數", "format": "int32" } }, "xml": { "name": "SegmentSpace" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSegmentSpot]": { "title": "ParkingSegmentSpotList", "required": [ "AuthorityCode", "ParkingSegmentSpots", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "ParkingSegmentSpots": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ParkingSegmentSpot" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfParkingSegmentSpot", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.ParkingSegmentSpot": { "title": "ParkingSegmentSpot", "required": [ "HasChargingPoint", "ParkingSegmentID", "ParkingSpotID", "Position", "SpaceType" ], "type": "object", "properties": { "ParkingSegmentID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車路段代碼", "xml": { "name": "ParkingSegmentID" } }, "ParkingSpotID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車格位代碼", "xml": { "name": "ParkingSpotID" } }, "Position": { "title": "PointType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.PointType" } ], "description": "停車格代表點坐標", "xml": { "name": "PointType" } }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "HasChargingPoint": { "title": "Int32", "type": "integer", "description": "是否附屬充電樁 : [0:'否',1:'是']" }, "Geometry": { "title": "String", "type": "string", "description": "停車格位範圍坐標", "xml": { "name": "Geometry" } }, "Length": { "type": "number", "description": "停車格位長度", "format": "double" }, "Width": { "type": "number", "description": "停車格位寬度", "format": "double" }, "LinkID": { "title": "String", "type": "string", "description": "路段基礎編碼", "xml": { "name": "LinkID" } } }, "xml": { "name": "ParkingSegmentSpot" } }, "PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.CurbSpotParkingAvailability]": { "title": "CurbSpotParkingAvailabilityList", "required": [ "AuthorityCode", "CurbSpotParkingAvailabilities", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "Count": { "type": "integer", "format": "int64" }, "CurbSpotParkingAvailabilities": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.CurbSpotParkingAvailability" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingLiveWrapperOfCurbSpotParkingAvailability", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.CurbSpotParkingAvailability": { "title": "CurbSpotParkingAvailability", "required": [ "ChargeStatus", "DataCollectTime", "DeviceStatus", "ParkingSegmentID", "ParkingSpotID", "ServiceStatus", "SpotStatus" ], "type": "object", "properties": { "ParkingSpotID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車格位代碼", "xml": { "name": "ParkingSpotID" } }, "ParkingSegmentID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車路段代碼", "xml": { "name": "ParkingSegmentID" } }, "ServiceStatus": { "title": "Int32", "type": "integer", "description": "停車路段營業狀態 : [0:'休息中',1:'營業中',2:'暫停營業',3:'非營業時段']" }, "SpotStatus": { "title": "Int32", "type": "integer", "description": "停車格位狀態 : [1:'使用中',2:'空位',3:'已預約',254:'其他',255:'未知']" }, "DeviceStatus": { "title": "Int32", "type": "integer", "description": "設備狀態 : [0:'異常',1:'正常']" }, "ChargeStatus": { "title": "Int32", "type": "integer", "description": "停車收費狀態 : [0:'不收費',1:'正常收費',2:'暫停收費',3:'非收費時段']" }, "Remark": { "title": "String", "type": "string", "description": "備註", "xml": { "name": "Remark" } }, "DataCollectTime": { "title": "String", "minLength": 1, "type": "string", "description": "資料產製時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)", "xml": { "name": "DataCollectTime" } } }, "xml": { "name": "CurbSpotParkingAvailability" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingFacility]": { "title": "ParkingFacilityList", "required": [ "AuthorityCode", "ParkingFacilities", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "ParkingFacilities": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ParkingFacility" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfParkingFacility", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.ParkingFacility": { "title": "ParkingFacility", "required": [ "CarParkID", "CarParkName", "Facilities" ], "type": "object", "properties": { "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } }, "Facilities": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Facility" }, "description": "設施", "xml": { "name": "List`1" } }, "FacilityMapURLs": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.FacilityMapURL" }, "description": "停車場設施簡圖網址連結資訊", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingFacility" } }, "PTX.Service.DTO.Parking.Specification.V1.Facility": { "title": "Facility", "required": [ "FacilityName", "FacilityType", "LocationDescription" ], "type": "object", "properties": { "FacilityName": { "title": "String", "minLength": 1, "type": "string", "description": "設施名稱", "xml": { "name": "FacilityName" } }, "FacilityType": { "title": "Int32", "type": "integer", "description": "設施類型代碼 : [1:'電梯',2:'廁所',3:'無障礙廁所',4:'哺乳室',5:'ATM自動提款機',6:'免費無線網路',7:'商店',8:'餐廳',9:'詢問處或旅客服務臺',10:'飲水機',11:'手機充電',12:'淋浴間',13:'候車室',14:'置物櫃',15:'保健室',16:'AED設備',17:'公共電話',18:'繳費機',19:'電動車充電站',20:'駕駛人休息室',21:'祈禱室',22:'遠通電收ETC門市',23:'加油站',24:'手推車回收區',25:'智慧尋車查詢機',26:'車位在席偵測系統',27:'車位在席顯示系統',28:'管理室',254:'其他',255:'未知']" }, "LocationDescription": { "title": "String", "minLength": 1, "type": "string", "description": "設施地點描述", "xml": { "name": "LocationDescription" } } }, "xml": { "name": "Facility" } }, "PTX.Service.DTO.Parking.Specification.V1.FacilityMapURL": { "title": "FacilityMapURL", "required": [ "FloorLevel", "MapName", "MapURL" ], "type": "object", "properties": { "MapName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場設施簡圖名稱", "xml": { "name": "NameType" } }, "MapURL": { "title": "String", "minLength": 1, "type": "string", "description": "停車場設施簡圖網址", "xml": { "name": "MapURL" } }, "FloorLevel": { "title": "String", "minLength": 1, "type": "string", "description": "樓層,若為0則表示不分樓層", "xml": { "name": "FloorLevel" } } }, "xml": { "name": "FacilityMapURL" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Operator]": { "title": "OperatorList", "required": [ "AuthorityCode", "Operators", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "Operators": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Operator" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfOperator", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.Operator": { "title": "Operator", "required": [ "Address", "BAN", "Email", "OperatorID", "OperatorName", "Telephone" ], "type": "object", "properties": { "OperatorID": { "title": "String", "minLength": 1, "type": "string", "description": "營運業者代碼", "xml": { "name": "OperatorID" } }, "OperatorName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "營運業者名稱", "xml": { "name": "NameType" } }, "Telephone": { "title": "String", "minLength": 1, "type": "string", "description": "營運業者連絡電話", "xml": { "name": "Telephone" } }, "Email": { "title": "String", "minLength": 1, "type": "string", "description": "營運業者電子信箱", "xml": { "name": "Email" } }, "Address": { "title": "String", "minLength": 1, "type": "string", "description": "營運業者地址", "xml": { "name": "Address" } }, "WebURL": { "title": "String", "type": "string", "description": "營運業者官網網址", "xml": { "name": "WebURL" } }, "LogoURL": { "title": "String", "type": "string", "description": "營運業者Logo網址", "xml": { "name": "LogoURL" } }, "TsAndCsURL": { "title": "String", "type": "string", "description": "營運業者服務條款網址", "xml": { "name": "TsAndCsURL" } }, "BAN": { "title": "String", "minLength": 1, "type": "string", "description": "統一編號", "xml": { "name": "BAN" } } }, "xml": { "name": "Operator" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit]": { "title": "ParkingEntranceExitList", "required": [ "AuthorityCode", "ParkingEntranceExits", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "ParkingEntranceExits": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfParkingEntranceExit", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.ParkingEntranceExit": { "title": "ParkingEntranceExit", "required": [ "CarParkID", "CarParkName", "EntranceExits", "EntranceExitType", "Entrances", "Exits" ], "type": "object", "properties": { "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } }, "EntranceExitType": { "title": "Int32", "type": "integer", "description": "出入口類型 : [1:'出入口同一位置',2:'出入口不同位置',3:'出入口部分相同部分不同位置']" }, "Entrances": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Entrance" }, "description": "入口位置資訊", "xml": { "name": "List`1" } }, "Exits": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Exit" }, "description": "出口位置資訊", "xml": { "name": "List`1" } }, "EntranceExits": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.EntranceExit" }, "description": "出入口位置資訊位置資訊", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingEntranceExit" } }, "PTX.Service.DTO.Parking.Specification.V1.Entrance": { "title": "Entrance", "required": [ "MaxAllowedHeight", "MaxAllowedWidth", "Position", "Type" ], "type": "object", "properties": { "EntranceName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "入口標示名稱", "xml": { "name": "NameType" } }, "Position": { "title": "PointType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.PointType" } ], "description": "入口坐標位置", "xml": { "name": "PointType" } }, "Type": { "title": "Int32", "type": "integer", "description": "入口方式 : [1:'閘門式',2:'開放式',3:'自動感應門',254:'其他',255:'未知']" }, "MaxAllowedWidth": { "type": "number", "description": "入口限制寬度(單位:CM)", "format": "double" }, "MaxAllowedHeight": { "type": "number", "description": "入口限制高度(單位:CM)", "format": "double" }, "MaxAllowedWeight": { "type": "number", "description": "車位限制重量(單位:KG)", "format": "double" }, "RoadID": { "title": "String", "type": "string", "description": "入口所在道路路名碼", "xml": { "name": "RoadID" } }, "RoadName": { "title": "String", "type": "string", "description": "入口所在道路名稱", "xml": { "name": "RoadName" } }, "CrossRoadName": { "title": "String", "type": "string", "description": "停車場所在交叉道路名稱", "xml": { "name": "CrossRoadName" } }, "LinkID": { "title": "String", "type": "string", "description": "入口所在路段基礎編碼", "xml": { "name": "LinkID" } }, "Bearing": { "title": "String", "type": "string", "description": "入口所在路段之方位(含北向(N)、東北向(NE)、東向(E)、東南向(SE)、南向(S)、西南向(SW)、西向(W)、西北向(NW))", "xml": { "name": "Bearing" } } }, "xml": { "name": "Entrance" } }, "PTX.Service.DTO.Parking.Specification.V1.Exit": { "title": "Exit", "required": [ "MaxAllowedHeight", "MaxAllowedWidth", "Position", "Type" ], "type": "object", "properties": { "ExitName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "出口標示名稱", "xml": { "name": "NameType" } }, "Position": { "title": "PointType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.PointType" } ], "description": "出口坐標位置", "xml": { "name": "PointType" } }, "Type": { "title": "Int32", "type": "integer", "description": "出口方式 : [1:'閘門式',2:'開放式',3:'自動感應門',254:'其他',255:'未知']" }, "MaxAllowedWidth": { "type": "number", "description": "出口限制寬度(單位:CM)", "format": "double" }, "MaxAllowedHeight": { "type": "number", "description": "出口限制高度(單位:CM)", "format": "double" }, "MaxAllowedWeight": { "type": "number", "description": "車位限制重量(單位:KG)", "format": "double" }, "RoadID": { "title": "String", "type": "string", "description": "出口所在道路路名碼", "xml": { "name": "RoadID" } }, "RoadName": { "title": "String", "type": "string", "description": "出口所在道路名稱", "xml": { "name": "RoadName" } }, "CrossRoadName": { "title": "String", "type": "string", "description": "停車場所在交叉道路名稱", "xml": { "name": "CrossRoadName" } }, "LinkID": { "title": "String", "type": "string", "description": "出口所在路段基礎編碼", "xml": { "name": "LinkID" } }, "Bearing": { "title": "String", "type": "string", "description": "出口所在路段之方位(含北向(N)、東北向(NE)、東向(E)、東南向(SE)、南向(S)、西南向(SW)、西向(W)、西北向(NW))", "xml": { "name": "Bearing" } } }, "xml": { "name": "Exit" } }, "PTX.Service.DTO.Parking.Specification.V1.EntranceExit": { "title": "EntranceExit", "required": [ "MaxAllowedHeight", "MaxAllowedWidth", "Position", "Type" ], "type": "object", "properties": { "EntranceExitName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "出入口標示名稱", "xml": { "name": "NameType" } }, "Position": { "title": "PointType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.PointType" } ], "description": "出入口坐標位置", "xml": { "name": "PointType" } }, "Type": { "title": "Int32", "type": "integer", "description": "出入口方式 : [1:'閘門式',2:'開放式',3:'自動感應門',254:'其他',255:'未知']" }, "MaxAllowedWidth": { "type": "number", "description": "出入口限制寬度(單位:CM)", "format": "double" }, "MaxAllowedHeight": { "type": "number", "description": "出入口限制高度(單位:CM)", "format": "double" }, "MaxAllowedWeight": { "type": "number", "description": "車位限制重量(單位:KG)", "format": "double" }, "RoadID": { "title": "String", "type": "string", "description": "出口所在道路路名碼", "xml": { "name": "RoadID" } }, "RoadName": { "title": "String", "type": "string", "description": "出入口所在道路名稱", "xml": { "name": "RoadName" } }, "CrossRoadName": { "title": "String", "type": "string", "description": "停車場所在交叉道路名稱", "xml": { "name": "CrossRoadName" } }, "LinkID": { "title": "String", "type": "string", "description": "出入口所在路段基礎編碼", "xml": { "name": "LinkID" } }, "Bearing": { "title": "String", "type": "string", "description": "出入口所在路段之方位(含北向(N)、東北向(NE)、東向(E)、東南向(SE)、南向(S)、西南向(SW)、西向(W)、西北向(NW))", "xml": { "name": "Bearing" } } }, "xml": { "name": "EntranceExit" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingRate]": { "title": "ParkingRateList", "required": [ "AuthorityCode", "ParkingRates", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "ParkingRates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ParkingRate" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfParkingRate", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.ParkingRate": { "title": "ParkingRate", "required": [ "BandRates", "CarParkID", "CarParkName", "Description", "FlatRates", "FreeRates", "HourlyRates", "ProgressiveRates", "RentRates" ], "type": "object", "properties": { "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } }, "Description": { "title": "String", "minLength": 1, "type": "string", "description": "全部費率之文字性描述", "xml": { "name": "Description" } }, "FreeRates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.FreeRate" }, "description": "免費費率", "xml": { "name": "List`1" } }, "FlatRates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.FlatRate" }, "description": "計次費率", "xml": { "name": "List`1" } }, "RentRates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.RentRate" }, "description": "租賃費率", "xml": { "name": "List`1" } }, "HourlyRates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.HourlyRate" }, "description": "計時費率", "xml": { "name": "List`1" } }, "ProgressiveRates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ProgressiveRate" }, "description": "累進費率", "xml": { "name": "List`1" } }, "BandRates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.BandRate" }, "description": "特定區間費率", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingRate" } }, "PTX.Service.DTO.Parking.Specification.V1.FreeRate": { "title": "FreeRate", "required": [ "FreeMaxStay", "RateName", "RestrictionUserType", "ServiceDay", "SpaceType" ], "type": "object", "properties": { "RateName": { "title": "String", "minLength": 1, "type": "string", "description": "免費方案費率名稱", "xml": { "name": "RateName" } }, "RateDescription": { "title": "String", "type": "string", "description": "費率文字描述", "xml": { "name": "RateDescription" } }, "RestrictionUserType": { "title": "Int32", "type": "integer", "description": "費率適用之使用者類型限制 : [0:'無特別限制',1:'身心障礙',2:'在地居民',254:'其他',255:'未知']" }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "FreeMaxStay": { "title": "Int32", "type": "integer", "description": "最長免費停留時間(單位:分)", "format": "int32" }, "ServiceDay": { "title": "ServiceDay", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ServiceDay" } ], "description": "服務日型態", "xml": { "name": "ServiceDay" } } }, "xml": { "name": "FreeRate" } }, "PTX.Service.DTO.Parking.Specification.V1.FlatRate": { "title": "FlatRate", "required": [ "RateName", "RatePrice", "RestrictionUserType", "ServiceDay", "SpaceType" ], "type": "object", "properties": { "RateName": { "title": "String", "minLength": 1, "type": "string", "description": "計次方案費率名稱", "xml": { "name": "RateName" } }, "RateDescription": { "title": "String", "type": "string", "description": "費率文字描述", "xml": { "name": "RateDescription" } }, "RestrictionUserType": { "title": "Int32", "type": "integer", "description": "費率適用之使用者類型限制 : [0:'無特別限制',1:'身心障礙',2:'在地居民',254:'其他',255:'未知']" }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "RatePrice": { "title": "Int32", "type": "integer", "description": "費率價格", "format": "int32" }, "FreeMaxStay": { "type": "integer", "description": "最長免費停留時間(單位:分)", "format": "int32" }, "MaxStay": { "type": "integer", "description": "最多停留時間限制(單位:分)", "format": "int32" }, "ResetInterval": { "type": "integer", "description": "多久重新計算一次(單位:分)", "format": "int32" }, "ResetTime": { "title": "String", "type": "string", "description": "當日重新計算時間(HH:mm)。若隔日重新計算,則為00:00", "xml": { "name": "ResetTime" } }, "ServiceDay": { "title": "ServiceDay", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ServiceDay" } ], "description": "服務日型態", "xml": { "name": "ServiceDay" } } }, "xml": { "name": "FlatRate" } }, "PTX.Service.DTO.Parking.Specification.V1.RentRate": { "title": "RentRate", "required": [ "ParkingTimes", "RateName", "RatePrice", "RentType", "RestrictionUserType", "SpaceType" ], "type": "object", "properties": { "RateName": { "title": "String", "minLength": 1, "type": "string", "description": "租賃方案費率名稱", "xml": { "name": "RateName" } }, "RateDescription": { "title": "String", "type": "string", "description": "費率文字描述", "xml": { "name": "RateDescription" } }, "RentType": { "title": "Int32", "type": "integer", "description": "租賃類型 : [1:'月租',2:'季租',3:'年租',254:'其他',255:'未知']" }, "RentDays": { "type": "integer", "description": "租賃天數", "format": "int32" }, "RestrictionUserType": { "title": "Int32", "type": "integer", "description": "費率適用之使用者類型限制 : [0:'無特別限制',1:'身心障礙',2:'在地居民',254:'其他',255:'未知']" }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "RatePrice": { "title": "Int32", "type": "integer", "description": "費率價格", "format": "int32" }, "Restriction": { "title": "String", "type": "string", "description": "限制說明", "xml": { "name": "Restriction" } }, "ParkingTimes": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ParkingTime" }, "description": "費率價格", "xml": { "name": "List`1" } } }, "xml": { "name": "RentRate" } }, "PTX.Service.DTO.Parking.Specification.V1.ParkingTime": { "title": "ParkingTime", "required": [ "EndTime", "ServiceDay", "StartTime" ], "type": "object", "properties": { "ServiceDay": { "title": "ServiceDay", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ServiceDay" } ], "description": "服務日型態", "xml": { "name": "ServiceDay" } }, "StartTime": { "title": "String", "minLength": 1, "type": "string", "description": "開始時間(HH:mm)", "xml": { "name": "StartTime" } }, "EndTime": { "title": "String", "minLength": 1, "type": "string", "description": "結束時間(HH:mm)", "xml": { "name": "EndTime" } } }, "xml": { "name": "ParkingTime" } }, "PTX.Service.DTO.Parking.Specification.V1.HourlyRate": { "title": "HourlyRate", "required": [ "EndTime", "MinHalfHourCharge", "RateName", "RatePrice", "RateQualifier", "RestrictionUserType", "ServiceDay", "SpaceType", "StartTime" ], "type": "object", "properties": { "RateName": { "title": "String", "minLength": 1, "type": "string", "description": "計時方案費率名稱", "xml": { "name": "RateName" } }, "RateDescription": { "title": "String", "type": "string", "description": "費率文字描述", "xml": { "name": "RateDescription" } }, "RestrictionUserType": { "title": "Int32", "type": "integer", "description": "費率適用之使用者類型限制 : [0:'無特別限制',1:'身心障礙',2:'在地居民',254:'其他',255:'未知']" }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "FreeMaxStay": { "type": "integer", "description": "最長免費停留時間(單位:分)", "format": "int32" }, "RateQualifier": { "title": "Int32", "type": "integer", "description": "計費基準單位(單位:分)", "format": "int32" }, "RatePrice": { "title": "Int32", "type": "integer", "description": "費率價格", "format": "int32" }, "MaxPrice": { "type": "integer", "description": "每日最高計費上限", "format": "int32" }, "MaxStay": { "type": "integer", "description": "最多停留時間限制(單位:分)", "format": "int32" }, "MinHalfHourCharge": { "title": "Int32", "type": "integer", "description": "停車未滿30分鐘是否以半小時計費 : [0:'否',1:'是']" }, "Restriction": { "title": "String", "type": "string", "description": "限制說明", "xml": { "name": "Restriction" } }, "StartTime": { "title": "String", "minLength": 1, "type": "string", "description": "開始時間(HH:mm)", "xml": { "name": "StartTime" } }, "EndTime": { "title": "String", "minLength": 1, "type": "string", "description": "結束時間(HH:mm)", "xml": { "name": "EndTime" } }, "ServiceDay": { "title": "ServiceDay", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ServiceDay" } ], "description": "服務日型態", "xml": { "name": "ServiceDay" } } }, "xml": { "name": "HourlyRate" } }, "PTX.Service.DTO.Parking.Specification.V1.ProgressiveRate": { "title": "ProgressiveRate", "required": [ "EndTime", "MaxStay", "MinHalfHourCharge", "RateDescription", "RateName", "Rates", "RestrictionUserType", "ServiceDay", "SpaceType", "StartTime" ], "type": "object", "properties": { "RateName": { "title": "String", "minLength": 1, "type": "string", "description": "累進費率方案名稱", "xml": { "name": "RateName" } }, "RateDescription": { "title": "String", "minLength": 1, "type": "string", "description": "費率文字描述", "xml": { "name": "RateDescription" } }, "RestrictionUserType": { "title": "Int32", "type": "integer", "description": "費率適用之使用者類型限制 : [0:'無特別限制',1:'身心障礙',2:'在地居民',254:'其他',255:'未知']" }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "MaxPrice": { "type": "integer", "description": "每日最高計費上限", "format": "int32" }, "MaxStay": { "title": "Int32", "type": "integer", "description": "最多停留時間限制(單位:分)", "format": "int32" }, "MinHalfHourCharge": { "title": "Int32", "type": "integer", "description": "停車未滿30分鐘是否以半小時計費 : [0:'否',1:'是']" }, "Restriction": { "title": "String", "type": "string", "description": "限制說明", "xml": { "name": "Restriction" } }, "Rates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Rate" }, "description": "費率", "xml": { "name": "List`1" } }, "StartTime": { "title": "String", "minLength": 1, "type": "string", "description": "開始時間(HH:mm)", "xml": { "name": "StartTime" } }, "EndTime": { "title": "String", "minLength": 1, "type": "string", "description": "結束時間(HH:mm)", "xml": { "name": "EndTime" } }, "ServiceDay": { "title": "ServiceDay", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ServiceDay" } ], "description": "服務日型態", "xml": { "name": "ServiceDay" } } }, "xml": { "name": "ProgressiveRate" } }, "PTX.Service.DTO.Parking.Specification.V1.BandRate": { "title": "BandRate", "required": [ "RateDescription", "RateName", "Rates", "RestrictionUserType", "ServiceDay", "SpaceType" ], "type": "object", "properties": { "RateName": { "title": "String", "minLength": 1, "type": "string", "description": "區間費率方案名稱", "xml": { "name": "RateName" } }, "RateDescription": { "title": "String", "minLength": 1, "type": "string", "description": "費率文字描述", "xml": { "name": "RateDescription" } }, "RestrictionUserType": { "title": "Int32", "type": "integer", "description": "費率適用之使用者類型限制 : [0:'無特別限制',1:'身心障礙',2:'在地居民',254:'其他',255:'未知']" }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "Rates": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Rate" }, "description": "費率", "xml": { "name": "List`1" } }, "StartTime": { "title": "String", "type": "string", "description": "開始時間(HH:mm)", "xml": { "name": "StartTime" } }, "EndTime": { "title": "String", "type": "string", "description": "結束時間(HH:mm)", "xml": { "name": "EndTime" } }, "ServiceDay": { "title": "ServiceDay", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ServiceDay" } ], "description": "服務日型態", "xml": { "name": "ServiceDay" } } }, "xml": { "name": "BandRate" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ServiceTime]": { "title": "ServiceTimeList", "required": [ "AuthorityCode", "ServiceTimes", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "ServiceTimes": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ServiceTime" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfServiceTime", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.ServiceTime": { "title": "ServiceTime", "required": [ "CarParkID", "CarParkName", "OpeningHours" ], "type": "object", "properties": { "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } }, "OpeningHours": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.OpeningHour" }, "description": "停車營業時間", "xml": { "name": "List`1" } } }, "xml": { "name": "ServiceTime" } }, "PTX.Service.DTO.Parking.Specification.V1.OpeningHour": { "title": "OpeningHour", "required": [ "Description", "EndTime", "FreeOfCharge", "ServiceDay", "StartTime" ], "type": "object", "properties": { "ServiceDay": { "title": "ServiceDay", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ServiceDay" } ], "description": "服務日型態", "xml": { "name": "ServiceDay" } }, "Description": { "title": "String", "minLength": 1, "type": "string", "description": "時段名稱描述", "xml": { "name": "Description" } }, "StartTime": { "title": "String", "minLength": 1, "type": "string", "description": "開始營業時間(HH:mm)", "xml": { "name": "StartTime" } }, "EndTime": { "title": "String", "minLength": 1, "type": "string", "description": "結束營業時間(HH:mm)", "xml": { "name": "EndTime" } }, "FreeOfCharge": { "title": "Int32", "type": "integer", "description": "該時段是否免費 : [0:'否',1:'是']" }, "LastEntranceTime": { "title": "String", "type": "string", "description": "最晚入場時間(HH:mm)", "xml": { "name": "LastEntranceTime" } } }, "xml": { "name": "OpeningHour" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpace]": { "title": "ParkingSpaceList", "required": [ "AuthorityCode", "ParkingSpaces", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "ParkingSpaces": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ParkingSpace" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfParkingSpace", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.ParkingSpace": { "title": "ParkingSpace", "required": [ "CarParkID", "CarParkName", "Spaces", "TotalSpaces" ], "type": "object", "properties": { "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } }, "TotalSpaces": { "title": "Int32", "type": "integer", "description": "停車位總數", "format": "int32" }, "Spaces": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Space" }, "description": "停車場停車位資訊", "xml": { "name": "List`1" } }, "AreaSpaces": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.AreaSpace" }, "description": "停車區域停車位資訊", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingSpace" } }, "PTX.Service.DTO.Parking.Specification.V1.Space": { "title": "Space", "required": [ "HasChargingPoint", "IsMechanical", "NumberOfSpaces", "SpaceType", "StayType" ], "type": "object", "properties": { "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "IsMechanical": { "title": "Int32", "type": "integer", "description": "是否為機械車位 : [0:'否',1:'是']" }, "HasChargingPoint": { "title": "Int32", "type": "integer", "description": "是否附屬充電樁 : [0:'否',1:'是']" }, "NumberOfSpaces": { "title": "Int32", "type": "integer", "description": "停車位數", "format": "int32" }, "MaxAllowedLength": { "type": "number", "description": "車位限制長度(單位:CM)", "format": "double" }, "MaxAllowedWidth": { "type": "number", "description": "車位限制寬度(單位:CM)", "format": "double" }, "MaxAllowedHeight": { "type": "number", "description": "車位限制高度(單位:CM)", "format": "double" }, "MaxAllowedWeight": { "type": "number", "description": "車位限制重量(單位:KG)", "format": "double" }, "StayType": { "title": "Int32", "type": "integer", "description": "停車停留類型 : [1:'臨停接送',2:'短時間停車',3:'長時間停車',4:'無限制停放',5:'租賃',254:'其他',255:'未知']" } }, "xml": { "name": "Space" } }, "PTX.Service.DTO.Parking.Specification.V1.AreaSpace": { "title": "AreaSpace", "required": [ "HasChargingPoint", "IsMechanical", "NumberOfSpaces", "ParkingAreaID", "SpaceType", "StayType" ], "type": "object", "properties": { "ParkingAreaID": { "title": "String", "minLength": 1, "type": "string", "description": "停車場區域代碼", "xml": { "name": "ParkingAreaID" } }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "IsMechanical": { "title": "Int32", "type": "integer", "description": "是否為機械車位 : [0:'否',1:'是']" }, "HasChargingPoint": { "title": "Int32", "type": "integer", "description": "是否附屬充電樁 : [0:'否',1:'是']" }, "NumberOfSpaces": { "title": "Int32", "type": "integer", "description": "停車位數", "format": "int32" }, "MaxAllowedLength": { "type": "number", "description": "車位限制長度(單位:CM)", "format": "double" }, "MaxAllowedWidth": { "type": "number", "description": "車位限制寬度(單位:CM)", "format": "double" }, "MaxAllowedHeight": { "type": "number", "description": "車位限制高度(單位:CM)", "format": "double" }, "MaxAllowedWeight": { "type": "number", "description": "車位限制重量(單位:KG)", "format": "double" }, "StayType": { "title": "Int32", "type": "integer", "description": "停車停留類型 : [1:'臨停接送',2:'短時間停車',3:'長時間停車',4:'無限制停放',5:'租賃',254:'其他',255:'未知']" } }, "xml": { "name": "AreaSpace" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpot]": { "title": "ParkingSpotList", "required": [ "AuthorityCode", "ParkingSpots", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "ParkingSpots": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ParkingSpot" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfParkingSpot", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.ParkingSpot": { "title": "ParkingSpot", "required": [ "CarParkID", "CarParkName", "Spots" ], "type": "object", "properties": { "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } }, "Spots": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Spot" }, "description": "停車格位資訊", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingSpot" } }, "PTX.Service.DTO.Parking.Specification.V1.Spot": { "title": "Spot", "required": [ "HasChargingPoint", "ParkingSpotID", "SpaceType" ], "type": "object", "properties": { "ParkingSpotID": { "title": "String", "minLength": 1, "type": "string", "description": "停車格位代碼", "xml": { "name": "ParkingSpotID" } }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型 : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "HasChargingPoint": { "title": "Int32", "type": "integer", "description": "是否附屬充電樁 : [0:'否',1:'是']" }, "Length": { "type": "number", "description": "停車格位長度(單位:CM)", "format": "double" }, "Width": { "type": "number", "description": "停車格位寬度(單位:CM)", "format": "double" }, "Floor": { "title": "String", "type": "string", "description": "停車格位所在樓層", "xml": { "name": "Floor" } } }, "xml": { "name": "Spot" } }, "PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.ParkingSpotAvailability]": { "title": "ParkingSpotAvailabilityList", "required": [ "AuthorityCode", "ParkingSpotAvailabilities", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "Count": { "type": "integer", "format": "int64" }, "ParkingSpotAvailabilities": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ParkingSpotAvailability" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingLiveWrapperOfParkingSpotAvailability", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.ParkingSpotAvailability": { "title": "ParkingSpotAvailability", "required": [ "CarParkID", "CarParkName", "SpotAvailabilities" ], "type": "object", "properties": { "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } }, "ParkingAreaID": { "title": "String", "type": "string", "description": "停車場區域代碼", "xml": { "name": "ParkingAreaID" } }, "SpotAvailabilities": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.SpotAvailability" }, "description": "停車格位動態資訊", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingSpotAvailability" } }, "PTX.Service.DTO.Parking.Specification.V1.SpotAvailability": { "title": "SpotAvailability", "required": [ "ChargeStatus", "DataCollectTime", "DeviceStatus", "Floor", "ParkingSpotID", "ServiceStatus", "SpaceType", "SpotStatus" ], "type": "object", "properties": { "ParkingSpotID": { "title": "String", "minLength": 1, "type": "string", "description": "停車格位代碼", "xml": { "name": "ParkingSpotID" } }, "SpaceType": { "title": "Int32", "type": "integer", "description": "停車位類型[0:All(所有停車位類型),1:Car/Automobile (自小客車位),2:Scooter/Motorcycle(機車位),3:Heavy Motorcycle(重型機車位),4:Bicycle(腳踏車位),5:Bus & Truck Container (大型車位-大巴士/大貨車/聯結車),6:MiniBus(小型巴士位),7:PregnantAndChild(孕婦及親子專用車位),8:Lady(婦女車位),9:DisabledParkingForCar (身心障礙汽車車位),10: DisabledParkingForScooter (身心障礙機車車位),11:EVRecgargeForCar電動汽車車位,12:EVRechargeForScooter電動機車車位,13:RehabilitationBus(復康巴士),14:MonthlyRentForScooter(月租機車位),15:MonthlyRentForCar(月租汽車位),16:QuarterlyRentForScooter(季租機車位),17:QuarterlyRentForCar(季租汽車位),18:SemiAnnualRentForScooter(半年租機車位),19:SemiAnnualRentForCar(半年租汽車位),20:AnnualRentForScooter(年租機車位),21:AnnualRentForCar(年租汽車位),22:RentForScooter(租賃機車位),23:RentForCar(租賃汽車位),24:Load/UnloadArea (卸貨車位),25:Taxi(計程車位),26:NightSafety(夜間安心停車位),27:TemporaryParking(臨時停車),28:ReservedParking (專用停車),29:ParkingReservation(預約停車),254:Other(其他),255:Unknown(未知)] : [0:'所有停車位類型',1:'自小客車位',2:'機車位',3:'重型機車位',4:'腳踏車位',5:'大型車位',6:'小型巴士位',7:'孕婦及親子專用車位',8:'婦女車位',9:'身心障礙汽車車位',10:'身心障礙機車車位',11:'電動汽車車位',12:'電動機車車位',13:'復康巴士',14:'月租機車位',15:'月租汽車位',16:'季租機車位',17:'季租汽車位',18:'半年租機車位',19:'半年租汽車位',20:'年租機車位',21:'年租汽車位',22:'租賃機車位',23:'租賃汽車位',24:'卸貨車位',25:'計程車位',26:'夜間安心停車位',27:'臨時停車',28:'專用停車',29:'預約停車',254:'其他',255:'未知']" }, "ServiceStatus": { "title": "Int32", "type": "integer", "description": "停車路段營業狀態[1:營業中(In Service),2:暫停營業(Closed)] : [0:'休息中',1:'營業中',2:'暫停營業',3:'非營業時段']" }, "SpotStatus": { "title": "Int32", "type": "integer", "description": "停車格位狀態[1:使用中(Occupied),2:空位(Free),3:已預約(Reserved),254:其他(Other),255:未知(Unknown)] : [1:'使用中',2:'空位',3:'已預約',254:'其他',255:'未知']" }, "DeviceStatus": { "title": "Int32", "type": "integer", "description": "設備狀態[1:正常(預設),0:異常] : [0:'異常',1:'正常']" }, "Floor": { "title": "String", "minLength": 1, "type": "string", "description": "停車格位所在樓層", "xml": { "name": "Floor" } }, "ChargeStatus": { "title": "Int32", "type": "integer", "description": "停車收費狀態[0:不收費(原本即為不收費之狀況,如高速公路停車場),1:正常收費,2:暫停收費(原為正常收費但因節日或活動等因素改為暫停收費之狀況),3:非收費時段] : [0:'不收費',1:'正常收費',2:'暫停收費',3:'非收費時段']" }, "Remark": { "title": "String", "type": "string", "description": "備註", "xml": { "name": "Remark" } }, "DataCollectTime": { "title": "String", "minLength": 1, "type": "string", "description": "資料產製時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)", "xml": { "name": "DataCollectTime" } } }, "xml": { "name": "SpotAvailability" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.Ticketing]": { "title": "TicketingList", "required": [ "AuthorityCode", "SrcUpdateInterval", "SrcUpdateTime", "Ticketings", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "Ticketings": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.Ticketing" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfTicketing", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.Ticketing": { "title": "Ticketing", "required": [ "CarParkID", "CarParkName", "HasInvoice", "HasTicketingMachine", "HasTicketingValidator", "InvoiceSupport", "InvoiceType", "PaymentDescription", "PaymentMethod", "PaymentProcess" ], "type": "object", "properties": { "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } }, "HasInvoice": { "title": "Int32", "type": "integer", "description": "是否開立發票 : [0:'否',1:'是']" }, "InvoiceType": { "title": "InvoiceType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.InvoiceType" } ], "description": "發票種類", "xml": { "name": "InvoiceType" } }, "InvoiceSupport": { "title": "InvoiceSupport", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.InvoiceSupport" } ], "description": "發票支援服務", "xml": { "name": "InvoiceSupport" } }, "HasEInvoice": { "title": "Int32", "type": "integer", "description": "是否開立電子發票 : [0:'否',1:'是']" }, "HasEInvoiceCarrier": { "title": "Int32", "type": "integer", "description": "電子發票是否提供載具存入 : [0:'否',1:'是']" }, "EInvoiceCarrierType": { "title": "EInvoiceCarrierType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.EInvoiceCarrierType" } ], "description": "支援電子發票載具種類", "xml": { "name": "EInvoiceCarrierType" } }, "PaymentProcess": { "title": "PaymentProcess", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.PaymentProcess" } ], "description": "付款流程", "xml": { "name": "PaymentProcess" } }, "PaymentMethod": { "title": "PaymentMethod", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.PaymentMethod" } ], "description": "付款方式", "xml": { "name": "PaymentMethod" } }, "SmartCard": { "title": "SmartCard", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.SmartCard" } ], "description": "支援電子票證類型", "xml": { "name": "SmartCard" } }, "PaymentDescription": { "title": "String", "minLength": 1, "type": "string", "description": "付款資訊文字描述", "xml": { "name": "PaymentDescription" } }, "PaymentURL": { "title": "String", "type": "string", "description": "付款說明網址", "xml": { "name": "PaymentURL" } }, "MobilePaymentURL": { "title": "String", "type": "string", "description": "行動支付付款網址", "xml": { "name": "MobilePaymentURL" } }, "HasTicketingMachine": { "title": "Int32", "type": "integer", "description": "是否有自動繳費機 : [0:'否',1:'是']" }, "TicketingMachine": { "title": "TicketingMachine", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.TicketingMachine" } ], "description": "自動繳費機資訊", "xml": { "name": "TicketingMachine" } }, "HasTicketingValidator": { "title": "Int32", "type": "integer", "description": "是否有票證驗票設備 : [0:'否',1:'是']" }, "TicketingValidatorType": { "title": "TicketingValidatorType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.TicketingValidatorType" } ], "description": "票證驗票設備類型", "xml": { "name": "TicketingValidatorType" } }, "PromotionDescription": { "title": "String", "type": "string", "description": "合作優惠文字描述", "xml": { "name": "PromotionDescription" } } }, "xml": { "name": "Ticketing" } }, "PTX.Service.DTO.Parking.Specification.V1.InvoiceType": { "title": "InvoiceType", "required": [ "DuplicateUniform", "TriplicateUniform" ], "type": "object", "properties": { "DuplicateUniform": { "title": "Int32", "type": "integer", "description": "二聯式發票 : [0:'否',1:'是']" }, "TriplicateUniform": { "title": "Int32", "type": "integer", "description": "三聯式發票(含統編) : [0:'否',1:'是']" } }, "xml": { "name": "InvoiceType" } }, "PTX.Service.DTO.Parking.Specification.V1.InvoiceSupport": { "title": "InvoiceSupport", "required": [ "BANPrinted", "Donation" ], "type": "object", "properties": { "BANPrinted": { "title": "Int32", "type": "integer", "description": "是否能打統一編號 : [0:'否',1:'是']" }, "Donation": { "title": "Int32", "type": "integer", "description": "是否支援愛心捐贈 : [0:'否',1:'是']" } }, "xml": { "name": "InvoiceSupport" } }, "PTX.Service.DTO.Parking.Specification.V1.EInvoiceCarrierType": { "title": "EInvoiceCarrierType", "required": [ "CreditCard", "DebitCard", "DonationCode", "Generic", "MemberCard", "SmartCard" ], "type": "object", "properties": { "Generic": { "title": "Int32", "type": "integer", "description": "共通性載具 : [0:'否',1:'是']" }, "SmartCard": { "title": "Int32", "type": "integer", "description": "票證載具 : [0:'否',1:'是']" }, "CreditCard": { "title": "Int32", "type": "integer", "description": "信用卡載具 : [0:'否',1:'是']" }, "DebitCard": { "title": "Int32", "type": "integer", "description": "金融卡載具 : [0:'否',1:'是']" }, "MemberCard": { "title": "Int32", "type": "integer", "description": "會員卡載具 : [0:'否',1:'是']" }, "DonationCode": { "title": "Int32", "type": "integer", "description": "愛心捐贈代碼 : [0:'否',1:'是']" } }, "xml": { "name": "EInvoiceCarrierType" } }, "PTX.Service.DTO.Parking.Specification.V1.PaymentProcess": { "title": "PaymentProcess", "required": [ "Others", "PayAndDisplay", "PayAtExitBoothManualCollection", "PayAtMachineOnFootPriorToExit", "PayByEtag", "PayByMobile", "PayByPrepaidToken", "PayBySmartCard" ], "type": "object", "properties": { "PayAndDisplay": { "title": "Int32", "type": "integer", "description": "先付費再停車 : [0:'否',1:'是']" }, "PayByPrepaidToken": { "title": "Int32", "type": "integer", "description": "先付費取得代幣後停車 : [0:'否',1:'是']" }, "PayAtExitBoothManualCollection": { "title": "Int32", "type": "integer", "description": "出口收費亭人工收費 : [0:'否',1:'是']" }, "PayAtMachineOnFootPriorToExit": { "title": "Int32", "type": "integer", "description": "離場前先於繳費機繳費 : [0:'否',1:'是']" }, "PayBySmartCard": { "title": "Int32", "type": "integer", "description": "利用電子票證付費 : [0:'否',1:'是']" }, "PayByMobile": { "title": "Int32", "type": "integer", "description": "利用手機行動裝置付費 : [0:'否',1:'是']" }, "PayByEtag": { "title": "Int32", "type": "integer", "description": "利用eTag感應付費 : [0:'否',1:'是']" }, "Others": { "title": "Int32", "type": "integer", "description": "其他付款方式 : [0:'否',1:'是']" } }, "xml": { "name": "PaymentProcess" } }, "PTX.Service.DTO.Parking.Specification.V1.PaymentMethod": { "title": "PaymentMethod", "required": [ "Cash", "CreditCard", "ETC", "MobilePayment", "Others", "SmartCard", "Token" ], "type": "object", "properties": { "Cash": { "title": "Int32", "type": "integer", "description": "現金 : [0:'否',1:'是']" }, "CreditCard": { "title": "Int32", "type": "integer", "description": "信用卡 : [0:'否',1:'是']" }, "SmartCard": { "title": "Int32", "type": "integer", "description": "電子票證 : [0:'否',1:'是']" }, "ETC": { "title": "Int32", "type": "integer", "description": "ETC帳戶 : [0:'否',1:'是']" }, "MobilePayment": { "title": "Int32", "type": "integer", "description": "行動支付 : [0:'否',1:'是']" }, "Token": { "title": "Int32", "type": "integer", "description": "代幣 : [0:'否',1:'是']" }, "Others": { "title": "Int32", "type": "integer", "description": "其他付款方法 : [0:'否',1:'是']" } }, "xml": { "name": "PaymentMethod" } }, "PTX.Service.DTO.Parking.Specification.V1.SmartCard": { "title": "SmartCard", "required": [ "EasyCard", "HappyCash", "ICash", "IPASS" ], "type": "object", "properties": { "EasyCard": { "title": "Int32", "type": "integer", "description": "悠遊卡 : [0:'否',1:'是']" }, "IPASS": { "title": "Int32", "type": "integer", "description": "一卡通 : [0:'否',1:'是']" }, "ICash": { "title": "Int32", "type": "integer", "description": "愛金卡 : [0:'否',1:'是']" }, "HappyCash": { "title": "Int32", "type": "integer", "description": "有錢卡 : [0:'否',1:'是']" } }, "xml": { "name": "SmartCard" } }, "PTX.Service.DTO.Parking.Specification.V1.TicketingMachine": { "title": "TicketingMachine", "required": [ "DisabledFriendly", "HeightOfMachineInterface", "NumberOfMachines" ], "type": "object", "properties": { "NumberOfMachines": { "type": "number", "description": "有多少自動繳費機", "format": "double" }, "HeightOfMachineInterface": { "type": "number", "description": "使用操作介面高度(單位:公分)", "format": "double" }, "DisabledFriendly": { "title": "Int32", "type": "integer", "description": "對身心障礙人士操作介面高度是否友善 : [0:'否',1:'是']" }, "Positions": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.PointType" }, "description": "自動繳費機位置坐標", "xml": { "name": "List`1" } } }, "xml": { "name": "TicketingMachine" } }, "PTX.Service.DTO.Parking.Specification.V1.TicketingValidatorType": { "title": "TicketingValidatorType", "required": [ "Contactless", "Magnetic", "NFC", "Others", "RFID" ], "type": "object", "properties": { "Contactless": { "title": "Int32", "type": "integer", "description": "非接觸式讀卡設備 : [0:'否',1:'是']" }, "Magnetic": { "title": "Int32", "type": "integer", "description": "磁票型驗票設備(接觸式) : [0:'否',1:'是']" }, "NFC": { "title": "Int32", "type": "integer", "description": "NFC型驗票設備 : [0:'否',1:'是']" }, "RFID": { "title": "Int32", "type": "integer", "description": "RFID型驗票設備 : [0:'否',1:'是']" }, "Others": { "title": "Int32", "type": "integer", "description": "其他種設備 : [0:'否',1:'是']" } }, "xml": { "name": "TicketingValidatorType" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.ScenicSpotCarPark]": { "title": "ScenicSpotCarParkList", "required": [ "AuthorityCode", "ScenicSpotCarParks", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "ScenicSpotCarParks": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.ScenicSpotCarPark" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfScenicSpotCarPark", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.ScenicSpotCarPark": { "title": "ScenicSpotCarPark", "required": [ "CarParkID", "CarParkName", "ScenicSpotID", "ScenicSpotName" ], "type": "object", "properties": { "ScenicSpotID": { "title": "String", "minLength": 1, "type": "string", "description": "觀光景點代碼", "xml": { "name": "ScenicSpotID" } }, "ScenicSpotName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "觀光景點名稱", "xml": { "name": "NameType" } }, "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } } }, "xml": { "name": "ScenicSpotCarPark" } }, "PTX.API.Parking.Model.ParkingLiveWrapper[PTX.Service.DTO.Parking.Specification.V1.News]": { "title": "NewsList", "required": [ "AuthorityCode", "Newses", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "Count": { "type": "integer", "format": "int64" }, "Newses": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.News" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingLiveWrapperOfNews", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.News": { "title": "News", "required": [ "Description", "Language", "NewsCategory", "NewsID", "PublishTime", "Title", "UpdateTime" ], "type": "object", "properties": { "NewsID": { "title": "String", "minLength": 1, "type": "string", "description": "最新消息原單位發布代碼", "xml": { "name": "NewsID" } }, "Language": { "title": "String", "minLength": 1, "type": "string", "description": "語系", "xml": { "name": "Language" } }, "OperatorID": { "title": "String", "type": "string", "description": "營運業者代碼", "xml": { "name": "OperatorID" } }, "OperatorName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "營運業者名稱", "xml": { "name": "NameType" } }, "Title": { "title": "String", "minLength": 1, "type": "string", "description": "消息標題", "xml": { "name": "Title" } }, "NewsCategory": { "title": "Int32", "type": "integer", "description": "消息類別 : [1:'最新消息',2:'新聞稿',3:'營運資訊',4:'轉乘資訊',5:'活動訊息',6:'系統公告',99:'其他']" }, "Description": { "title": "String", "minLength": 1, "type": "string", "description": "內容描述", "xml": { "name": "Description" } }, "NewsURL": { "title": "String", "type": "string", "description": "報導網站連結", "xml": { "name": "NewsURL" } }, "AttachmentURL": { "title": "String", "type": "string", "description": "相關網站連結", "xml": { "name": "AttachmentURL" } }, "PublishTime": { "title": "String", "minLength": 1, "type": "string", "description": "消息公告日期時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)", "xml": { "name": "PublishTime" } }, "StartTime": { "title": "String", "type": "string", "description": "開始日期時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)", "xml": { "name": "StartTime" } }, "EndTime": { "title": "String", "type": "string", "description": "結束日期時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)", "xml": { "name": "EndTime" } }, "UpdateTime": { "title": "String", "minLength": 1, "type": "string", "description": "本則最新最新消息之更新日期時間(ISO8601格式: yyyy-MM-ddTHH:mm:sszzz)", "xml": { "name": "UpdateTime" } } }, "xml": { "name": "News" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.RailStationCarPark]": { "title": "RailStationCarParkList", "required": [ "AuthorityCode", "RailStationCarParks", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "RailStationCarParks": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.RailStationCarPark" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfRailStationCarPark", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.RailStationCarPark": { "title": "RailStationCarPark", "required": [ "CarParkID", "CarParkName", "StationID", "StationName" ], "type": "object", "properties": { "StationID": { "title": "String", "minLength": 1, "type": "string", "description": "車站代碼", "xml": { "name": "StationID" } }, "StationName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "車站名稱", "xml": { "name": "NameType" } }, "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } } }, "xml": { "name": "RailStationCarPark" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.FreewayCarPark]": { "title": "FreewayCarParkList", "required": [ "AuthorityCode", "FreewayCarParks", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "FreewayCarParks": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.FreewayCarPark" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfFreewayCarPark", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.FreewayCarPark": { "title": "FreewayCarPark", "required": [ "CarParkID", "CarParkName", "ServiceAreaID", "ServiceAreaName" ], "type": "object", "properties": { "ServiceAreaID": { "title": "String", "minLength": 1, "type": "string", "description": "高速公路服務區代碼", "xml": { "name": "ServiceAreaID" } }, "ServiceAreaName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "高速公路服務區名稱", "xml": { "name": "NameType" } }, "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } } }, "xml": { "name": "FreewayCarPark" } }, "PTX.API.Parking.Model.ParkingWrapper[PTX.Service.DTO.Parking.Specification.V1.AirportCarPark]": { "title": "AirportCarParkList", "required": [ "AirportCarParks", "AuthorityCode", "SrcUpdateInterval", "SrcUpdateTime", "UpdateInterval", "UpdateTime", "VersionID" ], "type": "object", "properties": { "UpdateTime": { "type": "string", "format": "date-time" }, "UpdateInterval": { "title": "Int32", "type": "integer", "format": "int32" }, "SrcUpdateTime": { "type": "string", "format": "date-time" }, "SrcUpdateInterval": { "type": "integer", "format": "int32" }, "AuthorityCode": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關簡碼", "xml": { "name": "AuthorityCode" } }, "VersionID": { "type": "integer", "format": "int32" }, "Count": { "type": "integer", "format": "int64" }, "AirportCarParks": { "title": "Array", "type": "array", "items": { "$ref": "#/components/schemas/PTX.Service.DTO.Parking.Specification.V1.AirportCarPark" }, "description": "資料(陣列)", "xml": { "name": "List`1" } } }, "xml": { "name": "ParkingWrapperOfAirportCarPark", "namespace": "https://traffic.transportdata.tw/standard/parking/schema/" } }, "PTX.Service.DTO.Parking.Specification.V1.AirportCarPark": { "title": "AirportCarPark", "required": [ "AirportID", "AirportName", "CarParkID", "CarParkName", "Terminal" ], "type": "object", "properties": { "AirportID": { "title": "String", "minLength": 1, "type": "string", "description": "機場IATA國際代碼", "xml": { "name": "AirportID" } }, "AirportName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "機場IATA國際名稱", "xml": { "name": "NameType" } }, "Terminal": { "title": "String", "minLength": 1, "type": "string", "description": "航廈", "xml": { "name": "Terminal" } }, "CarParkID": { "title": "String", "minLength": 1, "type": "string", "description": "業管機關訂定之停車場代碼", "xml": { "name": "CarParkID" } }, "CarParkName": { "title": "NameType", "allOf": [ { "$ref": "#/components/schemas/PTX.Service.DTO.Shared.Specification.V3.Base.NameType" } ], "description": "停車場名稱", "xml": { "name": "NameType" } } }, "xml": { "name": "AirportCarPark" } } }, "securitySchemes": { "TDX": { "type": "oauth2", "description": "TDX會員可至【會員專區-資料服務-服務金鑰】功能頁面,從預設金鑰(或建立新的金鑰)取得Client Id和Client Secret資訊,分別輸入至下方client_id和client_secret欄位、按下Authorize按鈕,即可開始於Swagger介面呼叫TDX API。", "flows": { "clientCredentials": { "tokenUrl": "https://tdx.transportdata.tw/auth/realms/TDXConnect/protocol/openid-connect/token", "scopes": { } } } } } }, "security": [ { "TDX": [ ] } ], "tags": [ { "name": "CityCarPark", "description": "縣市停車場資料​" }, { "name": "Common", "description": "共通資料(停車資訊)" }, { "name": "OnStreetParking", "description": "縣市路邊停車場資料​" }, { "name": "TransportCarParkRelation", "description": "重要運輸場站與停車場關聯資料" }, { "name": "TourismCarPark", "description": "觀光景點與活動停車場資料" }, { "name": "ShipPortCarPark", "description": "航運港口停車場資料​​" }, { "name": "​RailStationCarPark", "description": "軌道車站停車場資料​" }, { "name": "FreewayCarPark", "description": "高速公路停車場資料" }, { "name": "AirportCarPark", "description": "機場停車場資料​" } ] }