> For the complete documentation index, see [llms.txt](https://docs.coreway.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coreway.com/yoov-plus/worksheet/worksheet-design/field-type/region.md).

# 地区

地区字段用于规范录入中国境内的行政区域信息，适用于记录地址、籍贯、客户所在地等业务场景。

**1. 地区层级设置**

可选择记录的详细程度，共支持三种层级：

* **省**（例如：`广东省`）
* **省/市**（例如：`广东省/深圳市`）
* **省/市/县**（例如：`广东省/深圳市/南山区`）

**2. 数据写入规则**

系统会根据您设置的层级，进行智能匹配并逐级写入，确保数据规范性。

* **格式**：各级之间以 **“/”** 分隔。
* **匹配逻辑**：从省到县逐级匹配。若在某一级未找到匹配选项，则该级及后续级别**不予写入**。
* **示例**：\
  若要写入的地址为 `广东省/深圳市/南山区`，而字段设置为 **“省/市/县”** 三级：
  1. 系统在省份选项中匹配到“广东省”，**写入**。
  2. 在广东省下属城市中匹配到“深圳市”，**写入**。
  3. 在深圳市下属区县中匹配到“南山区”，**写入**。\
     若字段仅设置为 **“省/市”**，则只写入 `广东省/深圳市`。

**3. 默认值设置**

支持为字段预设自动填充的地区。

* **其他字段值**：引用本表或关联表中的其他**地区字段**值
* **查询工作表**：通过条件查询其他工作表，并将匹配记录的地区信息填充至此。

**4. 验证规则**

* **必填**：该字段必须选择地区信息。

<figure><img src="/files/LgLRkK92Y5LhP6DxHNNA" alt=""><figcaption></figcaption></figure>


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.coreway.com/yoov-plus/worksheet/worksheet-design/field-type/region.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
