---
title: 属性目录
description: Human Plugin 在 credential.type 中接受的证件类型公开目录：其格式、Human Plugin 如何加载它，以及无法加载时启动为何失败。
canonical: https://developer.unico.io/zh-CN/human-plugin/additional-resources/attribute-catalog
locale: zh-CN
generated_by: markdown-export
---

# 属性目录

credential.type 中可接受的证件类型列表。

该目录是 Unico 发布的公开 JSON 文件，地址为 `https://human-token-assets.unico.app/attribute-catalog.json`。请通过它查看可使用的代码。

```json
{
  "schema_version": 1,
  "version": "2026-10-29.1",
  "attributes": [
    { "code": "DUI_TYPE_BR_CPF", "country_code": "BRA" },
    { "code": "DUI_TYPE_NG_BVN", "country_code": "NGA" }
  ]
}
```

- `code` 是您在 `credential.type` 中发送的值。匹配**严格且区分大小写**。
- `country_code` 是签发该证件的国家，采用 ISO 3166-1 alpha-3 代码。Human Plugin 在 `data.ndocs` 中以 `countryCode` 返回它。

## Human Plugin 如何使用它

- 在**启动时下载一次**并保存在内存中。新的目录会在 Human Plugin 下次重启时生效。
- 如果 Human Plugin 无法在 10 秒内下载到有效的目录，它将**无法启动**。请允许出站 HTTPS 访问 `human-token-assets.unico.app`。
- 不会向目录主机发送任何客户数据。
- 如果创建请求中的 `credential.type` 不在目录内，将在存储或发送任何内容之前，以 `422 ATTRIBUTE_TYPE_NOT_SUPPORTED` 拒绝。