# API資料上架說明

為協助來源資料可自主檢驗所產製的資料結構與交通部所頒布的[【公共運輸旅運資料標準】](https://ptx.transportdata.tw/PTX/Data/Download)是否一致，本平臺提供[【資料驗證工具】](https://ptx.transportdata.tw/PTX/XSDValidator/Validator)，使來源單位可自行將已開發完成的API網址抑或XML資料內容透過此工具直接完整進行資料驗證，確保是否符合標準格式規範。

![資料上架流程](/files/-Lx4Bf-yjemqZaBuVam0)

註1：詳細內容請參考「[XML 標準格式說明文件](https://ptx.transportdata.tw/PTX/Data/Download)」 \
註2：標準XML驗證工具請參考「 [資料驗證工具](https://ptx.transportdata.tw/PTX/XSDValidator/Validator)」


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://motc-ptx-api-documentation.gitbook.io/motc-ptx-api-documentation/api-zi-liao-shang-jia.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
