{ "swagger": "2.0", "info": { "title": "ADDP Catalog API", "contact": {}, "version": "1.0" }, "host": "localhost:8192", "basePath": "/api/v1/catalog", "paths": { "/collections": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "Catalog Collections" ], "summary": "查询项目组目录集合 | List project group catalog collections", "parameters": [ { "type": "string", "description": "Project Group 稳定 ID | Project Group stable ID", "name": "project_group_id", "in": "query" }, { "type": "integer", "description": "页码,默认 1 | Page number, default 1", "name": "page", "in": "query" }, { "type": "integer", "description": "每页数量,默认 20,最大 200 | Page size, default 20 and maximum 200", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "目录集合分页结果 | Paginated catalog collections", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.CollectionListResult" } }, "400": { "description": "请求参数无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.collection.read" ] }, "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Collections" ], "summary": "创建项目组目录集合 | Create a project group catalog collection", "parameters": [ { "description": "集合完整内容 | Complete collection content", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.createCollectionRequest" } } ], "responses": { "201": { "description": "目录集合 | Catalog collection", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.CollectionDetail" } }, "400": { "description": "请求参数无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "集合名称冲突 | Collection name conflict", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.collection.read", "catalog.collection.update" ] } }, "/collections/{id}": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "Catalog Collections" ], "summary": "读取项目组目录集合 | Get a project group catalog collection", "parameters": [ { "type": "string", "description": "Collection UUID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "目录集合与当前可见条目 | Collection and currently visible entries", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.CollectionDetail" } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "集合不存在或不可访问 | Collection not found or inaccessible", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.collection.read" ] }, "put": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Collections" ], "summary": "更新项目组目录集合 | Replace a project group catalog collection", "parameters": [ { "type": "string", "description": "Collection UUID", "name": "id", "in": "path", "required": true }, { "description": "集合版本与完整内容 | Collection version and complete content", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.updateCollectionRequest" } } ], "responses": { "200": { "description": "更新后的目录集合 | Updated catalog collection", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.CollectionDetail" } }, "400": { "description": "请求参数无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "集合不存在或不可访问 | Collection not found or inaccessible", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "版本或名称冲突 | Version or name conflict", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.collection.read", "catalog.collection.update" ] }, "delete": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "tags": [ "Catalog Collections" ], "summary": "删除项目组目录集合 | Delete a project group catalog collection", "parameters": [ { "type": "string", "description": "Collection UUID", "name": "id", "in": "path", "required": true }, { "description": "当前集合版本 | Current collection version", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.deleteCollectionRequest" } } ], "responses": { "204": { "description": "删除成功 | Deleted" }, "400": { "description": "请求参数无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "集合不存在或不可访问 | Collection not found or inaccessible", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "版本冲突 | Version conflict", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.collection.read", "catalog.collection.update" ] } }, "/domain_standard_references": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "Catalog Entries" ], "summary": "查询业务域目录标准引用 | List domain catalog standard references", "parameters": [ { "type": "string", "description": "精确业务域 ID | Exact domain ID", "name": "domain_id", "in": "query", "required": true }, { "enum": [ "governance", "inventory" ], "type": "string", "default": "governance", "description": "查看范围 | View", "name": "view", "in": "query" }, { "type": "integer", "default": 1, "description": "页码 | Page", "name": "page", "in": "query" }, { "type": "integer", "default": 20, "description": "每页条数,上限100 | Page size, max 100", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/domainreference.Page" } }, "400": { "description": "无效查询 | Invalid query", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": { "type": "string" } } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "读取失败 | Read failed", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-conditional-permissions": [ "catalog.inventory.read" ], "x-addp-required-permissions": [ "catalog.entry.read" ] } }, "/domains": { "get": { "security": [ { "BearerAuth": [] } ], "description": "使用 Catalog 运行身份动态读取 Standard 当前业务域,只公开名称、编码、定义和层级;不授予 Standard 专业详情权限,不保存副本 | Dynamically read current Standard domains using Catalog's service identity, exposing only name, code, description and hierarchy; does not grant Standard detail access or store copies", "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "查询企业目录业务域概况 | List catalog business domain overviews", "responses": { "200": { "description": "当前业务域概况 | Current domain overviews", "schema": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.DomainOverview" } } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": { "type": "string" } } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "Standard 当前不可达 | Standard currently unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read" ] } }, "/domains/{id}/overview": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "Catalog Entries" ], "summary": "查询业务域目录总览 | Get domain catalog overview", "parameters": [ { "type": "string", "description": "精确业务域 ID | Exact domain ID", "name": "id", "in": "path", "required": true }, { "enum": [ "governance", "inventory" ], "type": "string", "default": "governance", "description": "查看范围 | View", "name": "view", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.DomainResourceOverview" } }, "400": { "description": "无效查询 | Invalid query", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": { "type": "string" } } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "读取失败 | Read failed", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-conditional-permissions": [ "catalog.inventory.read" ], "x-addp-required-permissions": [ "catalog.entry.read" ] } }, "/entries": { "get": { "security": [ { "BearerAuth": [] } ], "description": "按目录可见性返回当前租户的企业目录条目;目录可见不代表底层数据内容授权 | Return enterprise catalog entries visible to the caller; catalog visibility does not grant data content access", "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "列出企业资源目录 | List enterprise catalog entries", "parameters": [ { "enum": [ "governance", "inventory" ], "type": "string", "description": "目录视图,默认 governance | Catalog view, governance by default", "name": "view", "in": "query" }, { "type": "string", "description": "名称搜索 | Name search", "name": "search", "in": "query" }, { "enum": [ "data_item", "business_entity", "logical_model", "metric", "data_service", "development_artifact", "data_application", "glossary", "element", "code_set", "standard_document" ], "type": "string", "description": "目录对象类型 | Catalog entry type", "name": "entry_type", "in": "query" }, { "enum": [ "active", "missing" ], "type": "string", "description": "来源状态 | Source status", "name": "source_status", "in": "query" }, { "type": "string", "description": "来源 owner 的精确稳定身份;第一阶段为 Meta fingerprint | Exact stable owner identity; Meta fingerprint in the first release", "name": "source_identity", "in": "query" }, { "enum": [ "discovered", "curated", "certified", "deprecated" ], "type": "string", "description": "治理状态 | Governance status", "name": "governance_status", "in": "query" }, { "enum": [ "inventory", "department", "tenant" ], "type": "string", "description": "目录可见性 | Catalog visibility", "name": "visibility", "in": "query" }, { "type": "string", "description": "主业务域稳定 ID | Primary Domain stable ID", "name": "primary_domain_id", "in": "query" }, { "type": "string", "description": "责任部门稳定 ID | Accountable Department stable ID", "name": "accountable_department_id", "in": "query" }, { "type": "string", "description": "来源引擎稳定 ID | Source engine stable ID", "name": "source_engine_id", "in": "query" }, { "enum": [ "business_definition", "primary_domain", "accountable_department", "business_owner", "data_steward", "glossary", "component_standard_mapping" ], "type": "string", "description": "治理缺口维度;必须与 view=inventory、coverage_state=missing 同时使用 | Governance gap dimension; requires view=inventory and coverage_state=missing", "name": "coverage_dimension", "in": "query" }, { "enum": [ "missing" ], "type": "string", "description": "治理覆盖状态;第一阶段仅支持 missing | Governance coverage state; only missing is supported in the first release", "name": "coverage_state", "in": "query" }, { "type": "integer", "description": "页码,默认 1 | Page number, default 1", "name": "page", "in": "query" }, { "type": "integer", "description": "每页数量,默认 20,最大 200 | Page size, default 20 and maximum 200", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "企业目录分页结果 | Paginated catalog entries", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryListResult" } }, "400": { "description": "请求参数无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "服务器内部错误 | Internal server error", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-conditional-permissions": [ "catalog.inventory.read" ], "x-addp-required-permissions": [ "catalog.entry.read" ] } }, "/entries/batch_governance": { "post": { "security": [ { "BearerAuth": [] } ], "description": "对 1 到 200 个显式选择且分别携带 version 的 CatalogEntry 原子分配同一个主业务域或责任部门,不改变编目状态;按稳定顺序锁定全部条目,任一失败整批回滚;不接受筛选结果全选;Model 业务实体/逻辑模型和 Standard 指标的主业务域仍由专业模块维护 | Atomically assign one primary domain or accountable department to 1–200 explicitly selected CatalogEntries, each with its own version, without changing curation status; all entries are locked in stable order and any failure rolls back the entire batch; filter-wide selection is not accepted; primary domains of Model business entities/logical models and Standard metrics remain owner-managed", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "批量分配目录条目的主业务域或责任部门 | Batch-assign primary domains or accountable departments to catalog entries", "parameters": [ { "description": "显式成员批量分配请求;跨模块 BIGINT ID 使用规范十进制字符串 | Explicit-member batch assignment request; cross-module BIGINT IDs use canonical decimal strings", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.batchGovernanceRequest" } } ], "responses": { "200": { "description": "批次 ID 与按请求顺序返回的新版本 | Batch ID and new versions in request order", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.BatchGovernanceResult" } }, "400": { "description": "请求无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "缺少资源盘点或目录维护权限 | Missing inventory or catalog update permission", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "任一条目不存在或不属于当前租户 | Any entry is missing or outside the current tenant", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "版本、状态、引用或专业 owner 边界冲突 | Version, state, reference, or professional-owner boundary conflict", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "Standard 或 System 引用校验不可达 | Standard or System reference validation unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.inventory.read", "catalog.entry.update" ] } }, "/entries/facets": { "get": { "security": [ { "BearerAuth": [] } ], "description": "Catalog 计算当前调用方可见条目中的引用集,Standard / System 动态解析显示信息;业务域包含 domain_path,分面解析不影响目录列表和 Ready | Catalog computes references from entries visible to the caller while Standard and System dynamically resolve display facts; domain facets include domain_path and facet resolution does not affect entry listing or readiness", "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "列出企业目录引用分面 | List enterprise catalog reference facets", "parameters": [ { "enum": [ "governance", "inventory" ], "type": "string", "description": "目录视图,默认 governance | Catalog view, governance by default", "name": "view", "in": "query" }, { "type": "string", "description": "已选主业务域稳定 ID;约束责任部门、资源类型和来源引擎统计 | Selected primary Domain stable ID; constrains Department, entry type, and source Engine counts", "name": "primary_domain_id", "in": "query" }, { "type": "string", "description": "已选责任部门稳定 ID;约束资源类型和来源引擎统计 | Selected accountable Department stable ID; constrains entry type and source Engine counts", "name": "accountable_department_id", "in": "query" }, { "enum": [ "data_item", "business_entity", "logical_model", "metric", "data_service", "development_artifact", "data_application", "glossary", "element", "code_set", "standard_document" ], "type": "string", "description": "已选资源类型;约束来源引擎统计 | Selected entry type; constrains source Engine counts", "name": "entry_type", "in": "query" } ], "responses": { "200": { "description": "权限感知引用分面 | Permission-aware reference facets", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryFacets" } }, "400": { "description": "请求参数无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "缺少盘点权限 | Inventory permission required", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "服务器内部错误 | Internal server error", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-conditional-permissions": [ "catalog.inventory.read" ], "x-addp-required-permissions": [ "catalog.entry.read" ] } }, "/entries/resolve-sources": { "post": { "security": [ { "BearerAuth": [] } ], "description": "只查询 Catalog 当前来源绑定与目录可见性,不代理或复制 owner 专业关系 | Query only current Catalog source bindings and catalog visibility without proxying or copying owner professional relations", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "解析专业来源对应的目录条目 | Resolve professional sources to catalog entries", "parameters": [ { "description": "1 到 200 个精确来源引用 | 1 to 200 exact source references", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.resolveSourceEntriesRequest" } } ], "responses": { "200": { "description": "按请求顺序返回目录解析结果 | Catalog resolutions in request order", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SourceEntryResolutionResult" } }, "400": { "description": "来源引用无效 | Invalid source reference", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "服务器内部错误 | Internal server error", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read" ] } }, "/entries/{id}": { "get": { "security": [ { "BearerAuth": [] } ], "description": "返回目录条目、当前来源绑定和组件;Meta 来源引擎的名称和类型从 System 动态解析,状态区分 current、missing 和 unavailable;映射的数据元名称与修订号按固定修订从 Standard 动态解析,解析失败只影响展示摘要;目录可见不代表底层数据内容授权 | Return the catalog entry, current source binding, and components; Meta source engine names and types are resolved dynamically from System with current, missing, or unavailable status; mapping element names and revision numbers are resolved from pinned Standard revisions; resolution failures affect only display summaries; catalog visibility does not grant data content access", "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "获取企业目录详情 | Get enterprise catalog entry", "parameters": [ { "type": "string", "description": "CatalogEntry UUID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "企业目录详情 | Catalog entry detail", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryDetail" } }, "400": { "description": "无效 ID | Invalid ID", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "条目不存在或不可见 | Entry not found or not visible", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "服务器内部错误 | Internal server error", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-conditional-permissions": [ "catalog.inventory.read" ], "x-addp-required-permissions": [ "catalog.entry.read" ] }, "put": { "security": [ { "BearerAuth": [] } ], "description": "使用聚合根 version 原子替换 discovered 或 curated 阶段的业务信息、普通语义关联、责任和可见性;字段标准映射使用独立资源和版本;curated 回到 discovered 只表示撤销编目,必须清空全部 Catalog 人工编目字段并恢复 inventory;认证、撤销认证和弃用只允许使用治理子资源 | Atomically replace business metadata, ordinary semantic links, responsibilities, and visibility while discovered or curated; field standard mappings use independent resources and versions; curated to discovered withdraws curation and clears Catalog-owned curation fields; certification and deprecation use the governance subresource", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "维护企业资源编目 | Maintain enterprise resource curation", "parameters": [ { "type": "string", "description": "CatalogEntry UUID", "name": "id", "in": "path", "required": true }, { "description": "完整可编辑聚合;所有跨模块 BIGINT ID 使用规范十进制字符串 | Complete editable aggregate; all cross-module BIGINT IDs use canonical decimal strings", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.updateEntryRequest" } } ], "responses": { "200": { "description": "更新后的完整条目 | Updated complete entry", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryDetail" } }, "400": { "description": "请求或编目要求无效 | Invalid request or curation requirements", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "缺少目录更新权限 | Missing catalog update permission", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "条目不存在 | Entry not found", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "版本、状态或引用冲突 | Version, state, or reference conflict", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "Standard 或 System 引用校验不可达 | Standard or System reference validation unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.update" ] } }, "/entries/{id}/data-dictionary": { "get": { "security": [ { "BearerAuth": [] } ], "description": "仅适用于来源有效的 Meta DataItem;物理字段始终来自 Meta 当前结构,as_of 仅用于解析 Standard 数据元及其精确码值集修订 | Only applies to active Meta DataItems; physical fields always come from the current Meta schema, while as_of resolves Standard data element and exact code-set revisions", "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "获取联邦数据字典 | Get federated data dictionary", "parameters": [ { "type": "string", "description": "CatalogEntry UUID", "name": "id", "in": "path", "required": true }, { "type": "string", "format": "date-time", "description": "Standard 修订查询时点,RFC3339;缺省为当前时刻 | Standard revision point in time in RFC3339; defaults to now", "name": "as_of", "in": "query" } ], "responses": { "200": { "description": "联邦数据字典 | Federated data dictionary", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.DataDictionary" } }, "400": { "description": "ID 或 as_of 无效 | Invalid ID or as_of", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "条目不存在或不可见 | Entry not found or not visible", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "该条目不适用数据字典 | Data dictionary not applicable", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "Meta 或 Standard 依赖不可用 | Meta or Standard dependency unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-conditional-permissions": [ "catalog.inventory.read" ], "x-addp-required-permissions": [ "catalog.entry.read" ] } }, "/entries/{id}/data-dictionary/export": { "get": { "security": [ { "BearerAuth": [] } ], "description": "使用与联邦数据字典查询相同的可见性和解析规则重新组合一次结果,并返回包含 generated_at 和 as_of 的不可变 UTF-8 JSON 附件;服务端不留存导出副本 | Re-resolves the federated data dictionary under the same visibility and resolution rules and returns an immutable UTF-8 JSON attachment containing generated_at and as_of; the server does not retain an export copy", "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "导出联邦数据字典快照 | Export federated data dictionary snapshot", "parameters": [ { "type": "string", "description": "CatalogEntry UUID", "name": "id", "in": "path", "required": true }, { "type": "string", "format": "date-time", "description": "Standard 修订查询时点,RFC3339;缺省为当前时刻 | Standard revision point in time in RFC3339; defaults to now", "name": "as_of", "in": "query" } ], "responses": { "200": { "description": "联邦数据字典 JSON 快照 | Federated data dictionary JSON snapshot", "schema": { "type": "file" } }, "400": { "description": "ID 或 as_of 无效 | Invalid ID or as_of", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "条目不存在或不可见 | Entry not found or not visible", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "该条目不适用数据字典 | Data dictionary not applicable", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "Meta 或 Standard 依赖不可用 | Meta or Standard dependency unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-conditional-permissions": [ "catalog.inventory.read" ], "x-addp-required-permissions": [ "catalog.entry.read" ] } }, "/entries/{id}/governance": { "put": { "security": [ { "BearerAuth": [] } ], "description": "仅对当前可见条目使用 version 原子执行认证、撤销认证、弃用、撤销弃用或继任项维护;撤销弃用需要弃用权限和原因,只回到已编目并清除当前继任项,保留历史,不恢复认证、数据权限或资产发布;其他编目事实保持不变 | Atomically certify, withdraw certification, deprecate, withdraw deprecation or maintain successors on a currently visible entry using version; withdrawing deprecation requires deprecation permission and a reason, returns only to curated and clears the current successor while retaining history, without restoring certification, data permissions or asset publication; other curation facts remain unchanged", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "维护企业资源治理状态 | Maintain enterprise resource governance state", "parameters": [ { "type": "string", "description": "CatalogEntry UUID", "name": "id", "in": "path", "required": true }, { "description": "治理状态完整更新 | Complete governance-state update", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.updateEntryGovernanceRequest" } } ], "responses": { "200": { "description": "更新后的完整条目 | Updated complete entry", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryDetail" } }, "400": { "description": "请求、认证要求或原因无效 | Invalid request, certification requirements, or reason", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "缺少目录更新或条件治理权限 | Missing catalog update or conditional governance permission", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "条目不存在 | Entry not found", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "版本、状态或推荐继任项冲突 | Version, state, or recommended-successor conflict", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-conditional-permissions": [ "catalog.entry.certify", "catalog.entry.deprecate" ], "x-addp-required-permissions": [ "catalog.entry.read", "catalog.entry.update" ] } }, "/entries/{id}/history": { "get": { "security": [ { "BearerAuth": [] } ], "description": "返回当前调用方可发现条目的来源绑定历史与最近 200 条不可变领域审计 | Return source binding history and the latest 200 immutable domain audit events for an entry visible to the caller", "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "获取目录历史 | Get catalog entry history", "parameters": [ { "type": "string", "description": "CatalogEntry UUID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "目录历史 | Catalog entry history", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryHistory" } }, "400": { "description": "无效 ID | Invalid ID", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "条目不存在或不可见 | Entry not found or not visible", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-conditional-permissions": [ "catalog.inventory.read" ], "x-addp-required-permissions": [ "catalog.entry.read", "catalog.audit.read" ] } }, "/entries/{id}/rebind-source": { "post": { "security": [ { "BearerAuth": [] } ], "description": "仅允许把 active + discovered + inventory 且无人工作业的临时条目合并到当前来源为 missing 的既有条目;请求必须携带两个聚合版本、原因和人工证据 | Only merge an active discovered inventory temporary entry without human work into an existing entry whose current source is missing; both aggregate versions, a reason, and human evidence are required", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "重绑目录来源 | Rebind catalog source", "parameters": [ { "type": "string", "description": "目标 CatalogEntry UUID | Target CatalogEntry UUID", "name": "id", "in": "path", "required": true }, { "description": "重绑请求 | Rebind request", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.rebindSourceRequest" } } ], "responses": { "200": { "description": "重绑后的规范目录条目 | Canonical catalog entry after rebind", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryDetail" } }, "400": { "description": "请求无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "目录条目不存在 | Catalog entry not found", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "版本或重绑前置条件冲突 | Version or rebind precondition conflict", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.source.rebind" ] } }, "/entries/{id}/responsibilities": { "put": { "security": [ { "BearerAuth": [] } ], "description": "仅对当前可见且已弃用的 active 条目,按 version 原子替换完整责任关系;须填写原因及有效责任部门、业务负责人和数据管理员;状态、业务定义、语义、可见范围设置及来源保持不变;责任部门变化影响部门可见范围;替换旧责任时自动解决关联任务并记录审计;不需要弃用权限,不授予数据权限 | Atomically replace complete responsibilities of a currently visible active deprecated entry using version; a reason and valid department, business owner and steward are required; state, business definitions, semantics, visibility setting and source remain unchanged; department changes affect department visibility; replaced responsibility tasks are resolved with audit; deprecation permission is not required and no data permissions are granted", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Governance" ], "summary": "移交已弃用条目责任 | Transfer responsibilities of a deprecated entry", "parameters": [ { "type": "string", "description": "目录条目 UUID | Catalog entry UUID", "name": "id", "in": "path", "required": true }, { "description": "完整责任移交请求 | Complete responsibility transfer", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.transferEntryResponsibilitiesRequest" } } ], "responses": { "200": { "description": "移交后的条目 | Entry after transfer", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryDetail" } }, "400": { "description": "请求或责任结构无效 | Invalid request or responsibility structure", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "缺少读取或维护权限 | Missing read or update permission", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "条目不存在或不可见 | Entry missing or not visible", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "版本、状态或引用冲突 | Version, state or reference conflict", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "责任校验服务不可用 | Responsibility validation unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.entry.update" ] } }, "/entries/{id}/sharing_boundary": { "get": { "security": [ { "BearerAuth": [] } ], "description": "当前业务负责人及条目可见性在跨模块核验前后检查;返回待确认 DataItem 边界,不扫描、不确认、不签发授权 | Rechecks current business ownership and entry visibility before and after remote validation. Returns the DataItem boundary for explicit confirmation, without scanning, confirming or granting access", "produces": [ "application/json" ], "tags": [ "Catalog Sharing" ], "summary": "核对共享确认边界 | Inspect the sharing confirmation boundary", "parameters": [ { "type": "string", "description": "条目 UUID | Entry UUID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "待确认边界 | Boundary to confirm", "schema": { "$ref": "#/definitions/authorizationfacts.Binding" } }, "400": { "description": "核验失败 | Validation failed", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "核验失败 | Validation failed", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "核验失败 | Validation failed", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "核验失败 | Validation failed", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "核验失败 | Validation failed", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "核验失败 | Validation failed", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "核验失败 | Validation failed", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.sharing_decision.create" ] } }, "/entries/{id}/sharing_decision_candidates": { "get": { "security": [ { "BearerAuth": [] } ], "description": "当前 Tenant User 需条目读取、独立源授权办理权限与目标引擎管理委派。只返回当前来源、原负责人关系及期限有效的分页摘要,不返回完整业务用途或全租户历史;不是受理依据,不授予确认或数据访问,提交仍须重新核验确认人的当前 IAM 资格 | The current Tenant User needs entry read, independent source authorization handling permission and target engine management delegation. Returns paginated summaries with a current source, original owner relation and valid expiry, not purpose text or tenant-wide history. Not acceptance evidence, confirmation permission or data access; submission still rechecks the confirmer's current IAM eligibility\nitem_fingerprint 与 boundary_hash 来自原共享确认冻结的 DataItem 边界,不以当前 Meta 边界替换;正式办理仍核验当前边界 | item_fingerprint and boundary_hash preserve the DataItem boundary frozen by the original sharing decision, not a replacement from current Meta facts; fulfillment still verifies the current boundary\n同数据项、边界、直接接收方、动作和精确期限的有效批准仅保留最新候选,先去重再计数分页;不删除历史,不合并不同边界或期限 | Equivalent current approvals for the same DataItem, boundary, direct recipient, action and exact expiry produce only the latest candidate before counting and pagination; history and distinct boundaries or expiries remain separate", "produces": [ "application/json" ], "tags": [ "Catalog Sharing" ], "summary": "读取可见条目的共享办理候选 | Read sharing handling candidates for a visible entry", "parameters": [ { "type": "string", "description": "条目 UUID | Entry UUID", "name": "id", "in": "path", "required": true }, { "type": "integer", "description": "页码,默认 1 | Page, default 1", "name": "page", "in": "query" }, { "type": "integer", "description": "每页数量,默认 10,最多 100 | Page size, default 10, maximum 100", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "当前候选摘要 | Current candidate summaries", "schema": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingDecisionCandidate" } }, "page": { "type": "integer" }, "page_size": { "type": "integer" }, "total": { "type": "integer", "format": "int64" }, "total_pages": { "type": "integer" } } } }, "400": { "description": "请求、资格或依赖错误 | Request, eligibility or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "请求、资格或依赖错误 | Request, eligibility or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "请求、资格或依赖错误 | Request, eligibility or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "请求、资格或依赖错误 | Request, eligibility or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "请求、资格或依赖错误 | Request, eligibility or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "请求、资格或依赖错误 | Request, eligibility or dependency error", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "system.engine_access_fulfillment.create" ] } }, "/entries/{id}/sharing_decisions": { "get": { "security": [ { "BearerAuth": [] } ], "description": "条目可见且具有独立确认权限;原确认人读本人记录,当前业务负责人复核全部历史,先过滤后分页。不发起办理或授予数据访问 | Requires entry visibility and independent confirmation permission. Original confirmers read own records; the current business owner reviews all history, filtered before pagination. Does not initiate fulfillment or grant data access", "produces": [ "application/json" ], "tags": [ "Catalog Sharing" ], "summary": "查找共享确认历史 | Find sharing confirmation history", "parameters": [ { "type": "string", "description": "条目 UUID | Entry UUID", "name": "id", "in": "path", "required": true }, { "type": "integer", "default": 1, "description": "页码,默认 1 | Page, default 1", "name": "page", "in": "query" }, { "type": "integer", "default": 20, "description": "每页数量,默认 20,最多 100 | Page size, default 20, maximum 100", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "可复核的确认历史 | Reviewable confirmation history", "schema": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingDecisionResult" } }, "page": { "type": "integer" }, "page_size": { "type": "integer" }, "total": { "type": "integer", "format": "int64" }, "total_pages": { "type": "integer" } } } }, "400": { "description": "参数、身份或读取范围错误 | Invalid parameters, identity or read scope", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "参数、身份或读取范围错误 | Invalid parameters, identity or read scope", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "参数、身份或读取范围错误 | Invalid parameters, identity or read scope", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "参数、身份或读取范围错误 | Invalid parameters, identity or read scope", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "参数、身份或读取范围错误 | Invalid parameters, identity or read scope", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.sharing_decision.create" ] }, "post": { "security": [ { "BearerAuth": [] } ], "description": "当前业务负责人显式确认;本人或本人项目组受益不自动拒绝。完整源目标经共享 MetaClient 读取 Meta 当前 complete 的授权资源事实并核验 System 引擎状态;不接受自报确认人或路径。必须显式选择 action:metadata_read 仅查看元数据(首期 PostgreSQL);read 读取数据并包含必要元数据。必须显式选择 expiry_mode:at_time 提供未来 expires_at;until_revoked 无到期时间(省略或 null),仍受当前资格、撤销与安全约束,漏填模式不默认永久。decision_id 同参重试返回原记录;决定不是受理回执或 Grant,不授予数据访问 | The current business owner explicitly confirms sharing, including self or own project-group benefit. The shared MetaClient reads Meta's current complete authorization facts; System still checks Engine lifecycle. Explicit action is required: metadata_read for metadata only (PostgreSQL initially), or read for data including necessary metadata. Explicit expiry_mode is required: at_time requires future expires_at; until_revoked requires an omitted or null date and remains subject to current eligibility, revocation and safety. Missing mode never defaults to indefinite. Identical parameters recover the original decision, not an acceptance receipt, Grant or data access\n当前来源及责任下,相同 DataItem、边界、接收方、动作和精确期限已有有效批准时,不同新编号返回 409 catalog_sharing_decision_exists;不覆盖原用途或创建重复批准,原编号同参恢复不受影响 | A different new ID returns 409 catalog_sharing_decision_exists when an equivalent effective approval already exists for the current source, original ownership, DataItem, boundary, recipient, action and exact validity; existing purpose/history and same-ID recovery are unchanged", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Sharing" ], "summary": "确认一次普通只读共享 | Confirm one ordinary read-only sharing decision", "parameters": [ { "type": "string", "description": "条目 UUID | Entry UUID", "name": "id", "in": "path", "required": true }, { "description": "共享确认参数 | Sharing confirmation parameters", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.createSharingDecisionRequest" } } ], "responses": { "200": { "description": "同参恢复的原决定 | Original decision recovered with identical parameters", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingDecisionResult" } }, "201": { "description": "新建的不可变业务决定 | New immutable business decision", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingDecisionResult" } }, "400": { "description": "请求或期限无效 | Invalid request or expiry", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "缺少独立权限或当前业务责任 | Missing independent permission or current business ownership", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "条目不存在或不可见 | Entry missing or invisible", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "版本、决定参数或当前目标冲突 | Version, decision binding or current target conflict", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "Meta 或 System 核验不可用 | Meta or System validation unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.sharing_decision.create" ] } }, "/entries/{id}/sharing_decisions/{decision_id}": { "get": { "security": [ { "BearerAuth": [] } ], "description": "当前可见条目下,原确认人读取本人历史,当前业务负责人可复核全部历史;均须独立共享确认权限。读取不重新确认、不要求办理权、不延长期限、不返回源数据 | Under a currently visible entry, the original confirmer may read own history and the current business owner may review all history, both with independent confirmation permission. No reconfirmation, fulfillment permission requirement, expiry extension or source data", "produces": [ "application/json" ], "tags": [ "Catalog Sharing" ], "summary": "读取共享确认记录 | Read a sharing confirmation record", "parameters": [ { "type": "string", "description": "条目 UUID | Entry UUID", "name": "id", "in": "path", "required": true }, { "type": "string", "description": "决定 UUID | Decision UUID", "name": "decision_id", "in": "path", "required": true } ], "responses": { "200": { "description": "不可变原记录 | Immutable original record", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingDecisionResult" } }, "400": { "description": "参数无效 | Invalid parameters", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "缺少独立功能权限 | Missing independent functional permissions", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "条目或范围内记录不存在或不可见 | Entry or in-scope record missing or invisible", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.sharing_decision.create" ] } }, "/entries/{id}/sharing_decisions/{decision_id}/fulfillments": { "get": { "security": [ { "BearerAuth": [] } ], "description": "原确认人或当前业务负责人在条目可见及独立确认权限内,只读查询 System 原受理及签发历史。granted_at 不表达当前访问 Allow;依赖失败返回错误,不伪装为 pending。查询不提交、关闭、核清或签发 | Original confirmer or current business owner, with entry visibility and independent confirmation permission, reads System's original acceptance and issuance history. Granted_at is not a current access Allow; dependency failures never become pending. Does not submit, close, settle or issue", "produces": [ "application/json" ], "tags": [ "Catalog Sharing" ], "summary": "复核共享确认的办理及签发历史 | Review fulfillment and issuance history for a sharing decision", "parameters": [ { "type": "string", "description": "条目 UUID | Entry UUID", "name": "id", "in": "path", "required": true }, { "type": "string", "description": "确认 UUID | Decision UUID", "name": "decision_id", "in": "path", "required": true }, { "type": "integer", "default": 1, "description": "页码,默认 1 | Page, default 1", "name": "page", "in": "query" }, { "type": "integer", "default": 20, "description": "每页数量,默认 20,最多 100 | Page size, default 20, maximum 100", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "只读历史,不代表当前数据访问权 | Read-only history, not current data access", "schema": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingFulfillmentHistory" } }, "page": { "type": "integer" }, "page_size": { "type": "integer" }, "total": { "type": "integer", "format": "int64" }, "total_pages": { "type": "integer" } } } }, "400": { "description": "请求、范围、绑定或依赖错误 | Request, scope, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "请求、范围、绑定或依赖错误 | Request, scope, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "请求、范围、绑定或依赖错误 | Request, scope, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "请求、范围、绑定或依赖错误 | Request, scope, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "请求、范围、绑定或依赖错误 | Request, scope, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "请求、范围、绑定或依赖错误 | Request, scope, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "请求、范围、绑定或依赖错误 | Request, scope, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.sharing_decision.create" ] } }, "/entries/{id}/sharing_fulfillments": { "get": { "security": [ { "BearerAuth": [] } ], "description": "当前 Tenant User 须具备条目读取、独立办理权及原引擎当前管理范围。仅列本人在仍可见条目下的原请求,资格过滤后分页,并动态查询接收方名称及权威办理、签发结果;不提交、关闭、核清或授权 | Requires current tenant user entry-read and independent fulfillment permissions plus current management scope for each original engine. Paginate only my original requests under a still-visible entry after scope filtering, dynamically resolving recipient names and authoritative fulfillment and issuance history; never submit, close, settle or grant access", "produces": [ "application/json" ], "tags": [ "Catalog Sharing" ], "summary": "找回本人原办理请求 | Find my original fulfillment requests", "parameters": [ { "type": "string", "description": "条目 UUID | Entry UUID", "name": "id", "in": "path", "required": true }, { "type": "integer", "default": 1, "description": "页码,默认 1 | Page, default 1", "name": "page", "in": "query" }, { "type": "integer", "default": 20, "description": "每页数量,默认 20,最多 100 | Page size, default 20, maximum 100", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "本人原请求 | My original requests", "schema": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingFulfillmentHistory" } }, "page": { "type": "integer" }, "page_size": { "type": "integer" }, "total": { "type": "integer", "format": "int64" }, "total_pages": { "type": "integer" } } } }, "400": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "system.engine_access_fulfillment.create" ] }, "post": { "security": [ { "BearerAuth": [] } ], "description": "从当前 User 派生办理人,提交 pending 后发送;202 表示等待权威核清,不表示授权成功 | Derive operator from the current User; send only after pending commits; 202 means awaiting authoritative settlement, not granted access", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Sharing" ], "summary": "正式准备并发送源读取授权办理 | Prepare and send source-read access fulfillment", "parameters": [ { "type": "string", "description": "条目 UUID | Entry UUID", "name": "id", "in": "path", "required": true }, { "description": "准备参数 | Preparation input", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.prepareSharingFulfillmentRequest" } } ], "responses": { "200": { "description": "办理或待核清结果,不是 Grant | Outcome or pending settlement, not a Grant", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingFulfillmentResult" } }, "202": { "description": "办理或待核清结果,不是 Grant | Outcome or pending settlement, not a Grant", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingFulfillmentResult" } }, "400": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "system.engine_access_fulfillment.create" ] } }, "/entries/{id}/sharing_fulfillments/{request_id}": { "get": { "security": [ { "BearerAuth": [] } ], "description": "按持久完整绑定读取 System 权威结果;仅本人、当前条目可见、独立办理权及原引擎当前管理范围。pending 表示权威未找到,不等于关闭;accepted 是历史受理而非 Grant。查询不提交、关闭或延长窗口 | Resolve the persisted exact binding against System; requires original operator, current entry visibility, independent fulfillment permission and original-engine management scope. Pending means authoritatively not found, not closed; accepted is historical acceptance, not a Grant. Never submits, closes or renews the window", "produces": [ "application/json" ], "tags": [ "Catalog Sharing" ], "summary": "只读查询本人原办理结果 | Read my original fulfillment outcome", "parameters": [ { "type": "string", "description": "条目 UUID | Entry UUID", "name": "id", "in": "path", "required": true }, { "type": "string", "description": "原请求 UUID,由本人原请求列表取得 | Original request UUID from my request list", "name": "request_id", "in": "path", "required": true } ], "responses": { "200": { "description": "原请求、受理及可空签发历史,不代表当前访问 Allow | Original request, acceptance and nullable historical grant time, not a current access Allow", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingFulfillmentHistory" } }, "400": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "请求、资格、绑定或依赖错误 | Request, eligibility, binding or dependency error", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "system.engine_access_fulfillment.create" ] } }, "/entries/{id}/sharing_recipient_candidates": { "get": { "security": [ { "BearerAuth": [] } ], "description": "当前 Tenant User 须具备条目读取及独立共享确认权限,并是可见有效 Meta 数据项的当前业务负责人。可选择同 Tenant 的有效账号或项目组,不要求本人加入该组;仅返回最小显示摘要,不返回成员、角色或数据,不授予共享或访问 | The current tenant user needs entry read, independent sharing confirmation permission and current business ownership of a visible active Meta data item. Active users or project groups in this tenant may be selected without group membership. Only minimal labels are returned, never members, roles, data or access grants\napprovals 仅包含本页接收方在当前来源、原业务责任与 Meta 基础识别边界下仍有效的批准编号及期限摘要;不是 Grant 或访问许可,Meta 依赖不可用时不伪装为没有批准 | approvals contains only current business approval IDs and validity summaries for recipients on this page, matching current source, original ownership and Meta's basic-recognition boundary. It is not a Grant or access Allow; unavailable Meta facts never become an empty approval claim", "produces": [ "application/json" ], "tags": [ "Catalog Sharing" ], "summary": "查询本条目的共享接收方候选 | List sharing recipient candidates for this entry", "parameters": [ { "type": "string", "description": "条目 UUID | Entry UUID", "name": "id", "in": "path", "required": true }, { "enum": [ "user", "project_group" ], "type": "string", "description": "接收主体类型 | Recipient type", "name": "recipient_type", "in": "query", "required": true }, { "type": "string", "description": "名称或编码,最多 100 字符 | Name or code, maximum 100 characters", "name": "search", "in": "query" }, { "type": "integer", "description": "页码,默认 1 | Page, default 1", "name": "page", "in": "query" }, { "type": "integer", "description": "每页数量,默认 20,最多 50 | Page size, default 20, maximum 50", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingRecipientCandidate" } }, "page": { "type": "integer" }, "page_size": { "type": "integer" }, "total": { "type": "integer", "format": "int64" }, "total_pages": { "type": "integer" } } } }, "400": { "description": "请求、资格、来源变化或依赖错误 | Request, eligibility, source change or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "请求、资格、来源变化或依赖错误 | Request, eligibility, source change or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "请求、资格、来源变化或依赖错误 | Request, eligibility, source change or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "请求、资格、来源变化或依赖错误 | Request, eligibility, source change or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "请求、资格、来源变化或依赖错误 | Request, eligibility, source change or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "请求、资格、来源变化或依赖错误 | Request, eligibility, source change or dependency error", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "请求、资格、来源变化或依赖错误 | Request, eligibility, source change or dependency error", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.sharing_decision.create" ] } }, "/governance/coverage": { "get": { "security": [ { "BearerAuth": [] } ], "description": "直接聚合 Catalog 当前权威事实并按适用对象计算分母,不读取持久化覆盖率投影 | Aggregate current authoritative Catalog facts with applicability-aware denominators and no persisted coverage projection", "produces": [ "application/json" ], "tags": [ "Catalog Governance" ], "summary": "查询目录治理覆盖率 | Get catalog governance coverage", "parameters": [ { "type": "string", "description": "精确主业务域 | Exact primary domain", "name": "primary_domain_id", "in": "query" } ], "responses": { "200": { "description": "资源盘点治理覆盖率 | Inventory governance coverage", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.GovernanceCoverage" } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "缺少资源盘点权限 | Inventory permission required", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "服务器内部错误 | Internal server error", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.inventory.read" ] } }, "/governance/tasks": { "get": { "security": [ { "BearerAuth": [] } ], "description": "仅返回当前可见条目的责任失效任务,分页计数和筛选遵守相同可见性;责任修复仍通过 CatalogEntry 完整聚合更新完成 | Return responsibility tasks only for currently visible entries with the same visibility applied to counts and filters; repair uses the full CatalogEntry aggregate update", "produces": [ "application/json" ], "tags": [ "Catalog Governance" ], "summary": "查询责任治理队列 | List responsibility governance tasks", "parameters": [ { "enum": [ "open", "resolved" ], "type": "string", "description": "任务状态,默认 open | Task status, open by default", "name": "status", "in": "query" }, { "type": "string", "description": "CatalogEntry UUID", "name": "entry_id", "in": "query" }, { "type": "integer", "description": "页码,默认 1 | Page number, default 1", "name": "page", "in": "query" }, { "type": "integer", "description": "每页数量,默认 20,最大 200 | Page size, default 20 and maximum 200", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "治理任务分页结果 | Paginated governance tasks", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.GovernanceTaskListResult" } }, "400": { "description": "请求参数无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "服务器内部错误 | Internal server error", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.entry.update" ] } }, "/me/entries": { "get": { "security": [ { "BearerAuth": [] } ], "description": "按当前 User 的责任、收藏或关注关系返回仍然可见的目录条目 | Return still-visible entries related to the current User by responsibility, favorite, or following", "produces": [ "application/json" ], "tags": [ "Catalog Personal" ], "summary": "查询我的目录 | List my catalog entries", "parameters": [ { "enum": [ "responsible", "favorite", "following" ], "type": "string", "description": "个人关系 | Personal relation", "name": "relation", "in": "query", "required": true }, { "type": "integer", "description": "页码,默认 1 | Page number, default 1", "name": "page", "in": "query" }, { "type": "integer", "description": "每页数量,默认 20,最大 200 | Page size, default 20 and maximum 200", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "我的目录分页结果 | Paginated personal catalog entries", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryListResult" } }, "400": { "description": "请求参数无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "当前主体不是 User 或权限不足 | User principal or permission required", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "服务器内部错误 | Internal server error", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read" ] } }, "/me/entries/{id}/marks": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "Catalog Personal" ], "summary": "读取我的条目标记 | Get my entry marks", "parameters": [ { "type": "string", "description": "CatalogEntry UUID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "收藏与关注状态 | Favorite and following state", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryMarks" } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "当前主体不是 User 或权限不足 | User principal or permission required", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "目录条目不存在或不可见 | Catalog entry not found or not visible", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read" ] }, "put": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Personal" ], "summary": "更新我的条目标记 | Replace my entry marks", "parameters": [ { "type": "string", "description": "CatalogEntry UUID", "name": "id", "in": "path", "required": true }, { "description": "完整收藏与关注状态 | Complete favorite and following state", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.replaceEntryMarksRequest" } } ], "responses": { "200": { "description": "更新后的标记 | Updated marks", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryMarks" } }, "400": { "description": "请求参数无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "当前主体不是 User 或权限不足 | User principal or permission required", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "目录条目不存在或不可见 | Catalog entry not found or not visible", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read" ] } }, "/me/project-groups": { "get": { "security": [ { "BearerAuth": [] } ], "description": "只组合当前 Tenant 集合功能权限与 AuthContext 中有效 Project Group membership,并由 System 动态解析名称;不枚举租户全部项目组 | Intersect current tenant collection permissions with effective Project Group memberships from AuthContext, and resolve names dynamically from System; does not enumerate every project group in the tenant", "produces": [ "application/json" ], "tags": [ "Catalog Personal" ], "summary": "查询我的目录集合项目组 | List my catalog collection project groups", "responses": { "200": { "description": "当前可访问项目组 | Currently accessible project groups", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.CollectionProjectGroupList" } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "当前主体不是 User 或权限不足 | User principal or permission required", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "System 当前不可达 | System currently unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read", "catalog.collection.read" ] } }, "/reference-candidates": { "get": { "security": [ { "BearerAuth": [] } ], "description": "Catalog 使用运行身份动态查询 Standard 或 System 当前可引用对象;不复制 owner 完整列表,owner 不可达只影响本次请求,业务域候选包含 domain_path | Catalog dynamically queries currently referenceable Standard or System objects using its runtime identity; owner lists are not copied, and owner unavailability affects only this request; domain candidates include domain_path", "produces": [ "application/json" ], "tags": [ "Catalog" ], "summary": "查询企业目录引用候选 | List enterprise catalog reference candidates", "parameters": [ { "enum": [ "domain", "glossary", "element", "department", "user" ], "type": "string", "description": "引用类型 | Reference type", "name": "reference_type", "in": "query", "required": true }, { "type": "string", "description": "名称或编码,最多 100 字符 | Name or code, maximum 100 characters", "name": "search", "in": "query" }, { "type": "integer", "description": "页码,默认 1 | Page number, default 1", "name": "page", "in": "query" }, { "type": "integer", "description": "每页数量,默认 20,最大 50 | Page size, default 20 and maximum 50", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "引用候选分页结果 | Paginated reference candidates", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.ReferenceCandidateList" } }, "400": { "description": "请求参数无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "权限不足 | Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "Standard 或 System 候选查询不可达 | Standard or System candidate query unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.update" ] } }, "/runtime/references/resolve": { "post": { "security": [ { "BearerAuth": [] } ], "description": "按请求顺序返回当前租户 CatalogEntry 的可组合与可发布状态;只允许 addp-asset Service Client 调用 | Return selectable and publishable states for current-tenant CatalogEntry references in request order; restricted to the addp-asset service client", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Runtime" ], "summary": "解析资产目录引用 | Resolve asset catalog references", "parameters": [ { "description": "CatalogEntry UUID 列表,1 到 200 个 | CatalogEntry UUID list, 1 to 200 items", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.resolveReferencesRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/internal_api.resolveReferencesResponse" } }, "400": { "description": "请求无效 | Invalid request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "未认证 | Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "非 addp-asset 客户端或权限不足 | Wrong service client or insufficient permission", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.reference.read" ] } }, "/runtime/sharing-fulfillments/{request_id}/basis": { "post": { "security": [ { "BearerAuth": [] } ], "description": "仅 addp-system Tenant Service;完整匹配仍待核清的请求,复核原来源和业务责任,不返回用途正文或访问权限 | addp-system Tenant Service only; match the complete pending request and continuous source/ownership; no purpose text or access grant", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Runtime" ], "summary": "反查精确持久办理依据 | Read exact persisted fulfillment basis", "parameters": [ { "type": "string", "description": "请求 UUID | Request UUID", "name": "request_id", "in": "path", "required": true }, { "description": "完整原绑定 | Complete original binding", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/authorization.SharingFulfillmentBinding" } } ], "responses": { "200": { "description": "持久依据 | Persisted basis", "schema": { "$ref": "#/definitions/authorization.SharingFulfillmentBasis" } }, "400": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } }, "500": { "description": "请求失败 | Request failed", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.sharing_fulfillment.read" ] } }, "/standard-mappings": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "Catalog Standard Mappings" ], "summary": "查询字段标准映射 | List field standard mappings", "parameters": [ { "type": "string", "description": "CatalogEntry UUID", "name": "catalog_entry_id", "in": "query", "required": true }, { "type": "integer", "description": "页码 | Page", "name": "page", "in": "query" }, { "type": "integer", "description": "每页数量,最多 200 | Page size, maximum 200", "name": "page_size", "in": "query" } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.StandardMappingList" } }, "400": { "description": "Bad Request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "Not Found", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read" ] }, "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Standard Mappings" ], "summary": "提交字段标准映射候选 | Propose a field standard mapping", "parameters": [ { "description": "确定的数据元修订及证据 | Exact element revision and evidence", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.standardMappingRequest" } } ], "responses": { "201": { "description": "Created", "schema": { "$ref": "#/definitions/internal_api.standardMappingResponse" } }, "400": { "description": "Bad Request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "Conflict", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "Service Unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.update" ] } }, "/standard-mappings/revision-options": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "Catalog Standard Mappings" ], "summary": "查询可选数据元修订 | List published element revision choices", "parameters": [ { "type": "string", "description": "数据元稳定 ID | Stable element ID", "name": "element_id", "in": "query", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.StandardMappingRevisionOption" } } }, "400": { "description": "Bad Request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "Service Unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.update" ] } }, "/standard-mappings/{id}": { "get": { "security": [ { "BearerAuth": [] } ], "produces": [ "application/json" ], "tags": [ "Catalog Standard Mappings" ], "summary": "查询字段标准映射 | Get a field standard mapping", "parameters": [ { "type": "string", "description": "StandardMapping UUID", "name": "id", "in": "path", "required": true } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/internal_api.standardMappingResponse" } }, "400": { "description": "Bad Request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "Not Found", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.read" ] }, "put": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Standard Mappings" ], "summary": "修改字段标准映射候选 | Update a proposed field standard mapping", "parameters": [ { "type": "string", "description": "StandardMapping UUID", "name": "id", "in": "path", "required": true }, { "description": "完整候选及映射版本 | Complete candidate and mapping version", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.standardMappingRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/internal_api.standardMappingResponse" } }, "400": { "description": "Bad Request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "Not Found", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "Conflict", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "Service Unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.update" ] }, "delete": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Standard Mappings" ], "summary": "删除字段标准映射候选 | Delete a proposed field standard mapping", "parameters": [ { "type": "string", "description": "StandardMapping UUID", "name": "id", "in": "path", "required": true }, { "description": "映射版本 | Mapping version", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.deleteStandardMappingRequest" } } ], "responses": { "204": { "description": "已删除 | Deleted" }, "400": { "description": "Bad Request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "Not Found", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "Conflict", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.entry.update" ] } }, "/standard-mappings/{id}/approve": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Standard Mappings" ], "summary": "审核通过字段标准映射 | Approve a field standard mapping", "parameters": [ { "type": "string", "description": "StandardMapping UUID", "name": "id", "in": "path", "required": true }, { "description": "版本与审核意见 | Version and review opinion", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.standardMappingDecisionRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/internal_api.standardMappingResponse" } }, "400": { "description": "Bad Request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "Not Found", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "Conflict", "schema": { "type": "object", "additionalProperties": true } }, "503": { "description": "Service Unavailable", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.standard_mapping.review" ] } }, "/standard-mappings/{id}/reject": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Standard Mappings" ], "summary": "驳回字段标准映射 | Reject a field standard mapping", "parameters": [ { "type": "string", "description": "StandardMapping UUID", "name": "id", "in": "path", "required": true }, { "description": "版本与审核意见 | Version and review opinion", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.standardMappingDecisionRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/internal_api.standardMappingResponse" } }, "400": { "description": "Bad Request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "Not Found", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "Conflict", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.standard_mapping.review" ] } }, "/standard-mappings/{id}/withdraw": { "post": { "security": [ { "BearerAuth": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Catalog Standard Mappings" ], "summary": "撤回字段标准映射 | Withdraw a field standard mapping", "parameters": [ { "type": "string", "description": "StandardMapping UUID", "name": "id", "in": "path", "required": true }, { "description": "版本与撤回原因 | Version and withdrawal reason", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/internal_api.standardMappingDecisionRequest" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/internal_api.standardMappingResponse" } }, "400": { "description": "Bad Request", "schema": { "type": "object", "additionalProperties": true } }, "401": { "description": "Unauthorized", "schema": { "type": "object", "additionalProperties": true } }, "403": { "description": "Forbidden", "schema": { "type": "object", "additionalProperties": true } }, "404": { "description": "Not Found", "schema": { "type": "object", "additionalProperties": true } }, "409": { "description": "Conflict", "schema": { "type": "object", "additionalProperties": true } } }, "x-addp-auth-mode": "permission", "x-addp-required-permissions": [ "catalog.standard_mapping.review" ] } } }, "definitions": { "authorization.SharingFulfillmentBasis": { "type": "object", "properties": { "binding": { "$ref": "#/definitions/authorization.SharingFulfillmentBinding" }, "confirmation": { "$ref": "#/definitions/authorization.SharingFulfillmentOperator" }, "request_id": { "type": "string" }, "tenant_id": { "type": "string", "example": "" } } }, "authorization.SharingFulfillmentBinding": { "type": "object", "properties": { "action": { "type": "string" }, "boundary_hash": { "type": "string" }, "caller_principal_id": { "type": "string", "example": "" }, "decision_id": { "type": "string" }, "expires_at": { "type": "string" }, "expiry_mode": { "type": "string" }, "item_fingerprint": { "type": "string" }, "operator": { "$ref": "#/definitions/authorization.SharingFulfillmentOperator" }, "path": { "$ref": "#/definitions/plugin.EngineCatalogPath" }, "recipient_id": { "type": "string", "example": "" }, "recipient_type": { "type": "string" } } }, "authorization.SharingFulfillmentOperator": { "type": "object", "properties": { "authorization_version": { "type": "string", "example": "" }, "principal_id": { "type": "string", "example": "" }, "tenant_membership_id": { "type": "string", "example": "" } } }, "authorization.SharingFulfillmentResolution": { "type": "object", "properties": { "binding": { "$ref": "#/definitions/authorization.SharingFulfillmentBinding" }, "deadline": { "type": "string" }, "outcome": { "type": "string" }, "recorded_at": { "type": "string" }, "request_id": { "type": "string" }, "tenant_id": { "type": "string", "example": "" } } }, "authorizationfacts.Binding": { "type": "object", "properties": { "boundary_hash": { "type": "string" }, "file_composition": { "$ref": "#/definitions/authorizationfacts.FileCompositionBoundary" }, "item_fingerprint": { "type": "string" }, "metadata_target": { "$ref": "#/definitions/authorizationfacts.MetadataBoundary" }, "native_target": { "$ref": "#/definitions/plugin.EngineCatalogPath" }, "scope": { "$ref": "#/definitions/authorizationfacts.ScopeBoundary" } } }, "authorizationfacts.FileCompositionBoundary": { "type": "object", "properties": { "format": { "type": "string" }, "refs": { "type": "array", "items": { "$ref": "#/definitions/authorizationfacts.FileCompositionRef" } }, "source_layout": { "description": "TIFF layout as observed by Meta, independent of its physical file count.", "type": "string" } } }, "authorizationfacts.FileCompositionRef": { "type": "object", "properties": { "primary": { "type": "boolean" }, "required": { "type": "boolean" }, "role": { "type": "string" }, "target": { "$ref": "#/definitions/plugin.EngineCatalogPath" } } }, "authorizationfacts.MetadataBoundary": { "type": "object", "properties": { "composition_digest": { "type": "string" }, "data_type": { "type": "string" }, "format": { "type": "string" }, "layout": { "type": "string" }, "target": { "$ref": "#/definitions/plugin.EngineCatalogPath" } } }, "authorizationfacts.ScopeBoundary": { "type": "object", "properties": { "format": { "type": "string" }, "root": { "$ref": "#/definitions/plugin.EngineCatalogPath" }, "rule_version": { "type": "integer" } } }, "client.StandardCodeItemSnapshot": { "type": "object", "properties": { "code": { "type": "string" }, "definition": { "type": "string" }, "label": { "type": "string" }, "replacement_item_id": { "type": "string", "example": "0" }, "sort_order": { "type": "integer" }, "status": { "type": "string" } } }, "client.StandardCodeSetRevisionSnapshot": { "type": "object", "properties": { "code": { "type": "string" }, "code_set_id": { "type": "string", "example": "0" }, "description": { "type": "string" }, "effective_from": { "type": "string" }, "effective_to": { "type": "string" }, "items": { "type": "array", "items": { "$ref": "#/definitions/client.StandardCodeItemSnapshot" } }, "name": { "type": "string" }, "origin": { "type": "string" }, "owner_domain_id": { "type": "string", "example": "0" }, "revision_id": { "type": "string", "example": "0" }, "revision_no": { "type": "integer" }, "scope_type": { "type": "string" }, "status": { "type": "string" }, "value_type": { "type": "string" } } }, "client.StandardElementRangeConstraint": { "type": "object", "properties": { "max": { "type": "string" }, "max_inclusive": { "type": "boolean" }, "min": { "type": "string" }, "min_inclusive": { "type": "boolean" } } }, "datatype.EnumInfo": { "type": "object", "properties": { "name": { "type": "string" }, "symbols": { "type": "array", "items": { "type": "string" } } } }, "datatype.FieldInfo": { "type": "object", "properties": { "comment": { "type": "string" }, "default_expression": { "type": "string" }, "element": { "$ref": "#/definitions/datatype.FieldInfo" }, "element_type": { "$ref": "#/definitions/datatype.FieldType" }, "enum": { "$ref": "#/definitions/datatype.EnumInfo" }, "fields": { "type": "array", "items": { "$ref": "#/definitions/datatype.FieldInfo" } }, "fixed": { "$ref": "#/definitions/datatype.FixedInfo" }, "generated": { "type": "boolean" }, "generation_expression": { "type": "string" }, "map_value": { "$ref": "#/definitions/datatype.FieldInfo" }, "name": { "type": "string" }, "native_type": { "type": "string" }, "nullable": { "type": "boolean" }, "ordinal_position": { "type": "integer" }, "path": { "type": "array", "items": { "type": "string" } }, "precision": { "type": "integer" }, "primary_key": { "type": "boolean" }, "scale": { "type": "integer" }, "size": { "type": "integer" }, "temporal": { "$ref": "#/definitions/datatype.TemporalInfo" }, "type": { "$ref": "#/definitions/datatype.FieldType" } } }, "datatype.FieldType": { "type": "string", "enum": [ "unknown", "string", "bool", "bytes", "mixed", "int", "bigint", "float", "double", "decimal", "date", "time", "timestamp", "json", "array", "uuid", "geometry" ], "x-enum-varnames": [ "FieldTypeUnknown", "FieldTypeString", "FieldTypeBool", "FieldTypeBytes", "FieldTypeMixed", "FieldTypeInt", "FieldTypeBigInt", "FieldTypeFloat", "FieldTypeDouble", "FieldTypeDecimal", "FieldTypeDate", "FieldTypeTime", "FieldTypeTimestamp", "FieldTypeJSON", "FieldTypeArray", "FieldTypeUUID", "FieldTypeGeometry" ] }, "datatype.FixedInfo": { "type": "object", "properties": { "name": { "type": "string" }, "size": { "type": "integer" } } }, "datatype.TemporalInfo": { "type": "object", "properties": { "timezone": { "type": "string" }, "unit": { "type": "string" } } }, "domainreference.Evidence": { "type": "object", "properties": { "owner_module": { "type": "string" }, "position": { "type": "string" }, "relation_kind": { "type": "string" }, "resource_id": { "type": "string" }, "resource_name": { "type": "string" }, "resource_revision_id": { "type": "string" }, "resource_type": { "type": "string" }, "revision_id": { "type": "string" }, "state": { "type": "string" } } }, "domainreference.Page": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/domainreference.Reference" } }, "page": { "type": "integer" }, "page_size": { "type": "integer" }, "total": { "type": "integer" }, "total_pages": { "type": "integer" } } }, "domainreference.Reference": { "type": "object", "properties": { "evidence": { "type": "array", "items": { "$ref": "#/definitions/domainreference.Evidence" } }, "evidence_truncated": { "type": "boolean" }, "source_identity": { "type": "string" }, "source_type": { "type": "string" } } }, "github_com_addp_catalog_internal_models.AuditEvent": { "type": "object", "properties": { "actor_id": { "type": "string" }, "actor_type": { "type": "string" }, "catalog_entry_id": { "type": "string" }, "created_at": { "type": "string" }, "details": { "$ref": "#/definitions/models.JSONMap" }, "event_type": { "type": "string" }, "id": { "type": "string" } } }, "github_com_addp_catalog_internal_models.Collection": { "type": "object", "properties": { "created_at": { "type": "string" }, "created_by": { "type": "string", "example": "" }, "description": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" }, "project_group_id": { "type": "string", "example": "" }, "updated_at": { "type": "string" }, "version": { "type": "integer" } } }, "github_com_addp_catalog_internal_models.Component": { "type": "object", "properties": { "catalog_entry_id": { "type": "string" }, "component_key": { "type": "string" }, "component_status": { "type": "string" }, "created_at": { "type": "string" }, "data_type": { "type": "string" }, "display_name": { "type": "string" }, "id": { "type": "string" }, "observed_snapshot": { "$ref": "#/definitions/models.JSONMap" }, "ordinal": { "type": "integer" }, "updated_at": { "type": "string" } } }, "github_com_addp_catalog_internal_models.Responsibility": { "type": "object", "properties": { "catalog_entry_id": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "string" }, "observed_snapshot": { "$ref": "#/definitions/models.JSONMap" }, "role": { "type": "string" }, "status": { "type": "string" }, "subject_id": { "type": "string", "example": "" }, "subject_type": { "type": "string" }, "updated_at": { "type": "string" }, "verified_at": { "type": "string" } } }, "github_com_addp_catalog_internal_models.SemanticAssociation": { "type": "object", "properties": { "catalog_entry_id": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "string" }, "observed_snapshot": { "$ref": "#/definitions/models.JSONMap" }, "observed_version": { "type": "integer" }, "relation_role": { "type": "string" }, "semantic_id": { "type": "string", "example": "" }, "semantic_type": { "type": "string" }, "updated_at": { "type": "string" }, "verified_at": { "type": "string" } } }, "github_com_addp_catalog_internal_models.SourceBinding": { "type": "object", "properties": { "bound_at": { "type": "string" }, "catalog_entry_id": { "type": "string" }, "created_at": { "type": "string" }, "id": { "type": "string" }, "is_current": { "type": "boolean" }, "missing_at": { "type": "string" }, "missing_reason": { "type": "string" }, "observed_at": { "type": "string" }, "observed_snapshot": { "$ref": "#/definitions/models.JSONMap" }, "replaced_binding_id": { "type": "string" }, "source_identity": { "type": "string" }, "source_module": { "type": "string" }, "source_status": { "type": "string" }, "source_type": { "type": "string" }, "source_version": { "type": "string" }, "updated_at": { "type": "string" } } }, "github_com_addp_catalog_internal_models.StandardMapping": { "type": "object", "properties": { "catalog_entry_id": { "type": "string" }, "component_id": { "type": "string" }, "confidence": { "type": "number" }, "created_at": { "type": "string" }, "element_id": { "type": "string", "example": "" }, "element_revision_id": { "type": "string", "example": "" }, "evidence": { "$ref": "#/definitions/models.JSONMap" }, "id": { "type": "string" }, "proposed_by_id": { "type": "string" }, "proposed_by_type": { "type": "string" }, "review_opinion": { "type": "string" }, "review_status": { "type": "string" }, "reviewed_at": { "type": "string" }, "reviewed_by_id": { "type": "string" }, "reviewed_by_type": { "type": "string" }, "source": { "type": "string" }, "updated_at": { "type": "string" }, "version": { "type": "integer" } } }, "github_com_addp_catalog_internal_service.BatchGovernanceEntryResult": { "type": "object", "properties": { "id": { "type": "string" }, "version": { "type": "integer" } } }, "github_com_addp_catalog_internal_service.BatchGovernanceResult": { "type": "object", "properties": { "batch_id": { "type": "string" }, "entries": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.BatchGovernanceEntryResult" } } } }, "github_com_addp_catalog_internal_service.CatalogReferenceResolution": { "type": "object", "properties": { "display_name": { "type": "string" }, "entry_status": { "type": "string" }, "entry_type": { "type": "string" }, "found": { "type": "boolean" }, "governance_status": { "type": "string" }, "id": { "type": "string" }, "publishable": { "type": "boolean" }, "selectable": { "type": "boolean" }, "source_identity": { "type": "string" }, "source_module": { "type": "string" }, "source_status": { "type": "string" }, "source_type": { "type": "string" }, "version": { "type": "string", "example": "" } } }, "github_com_addp_catalog_internal_service.CatalogSourceReference": { "type": "object", "properties": { "source_identity": { "type": "string" }, "source_module": { "type": "string", "enum": [ "meta", "model", "standard", "service", "develop", "workbench" ] }, "source_type": { "type": "string", "enum": [ "data_item", "entity", "logical_table", "metric", "query_service", "dev_task", "data_application", "glossary", "element", "code_set", "document" ] } } }, "github_com_addp_catalog_internal_service.CollectionDetail": { "type": "object", "properties": { "created_at": { "type": "string" }, "created_by": { "type": "string", "example": "" }, "description": { "type": "string" }, "entries": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntrySummary" } }, "id": { "type": "string" }, "name": { "type": "string" }, "project_group_id": { "type": "string", "example": "" }, "updated_at": { "type": "string" }, "version": { "type": "integer" } } }, "github_com_addp_catalog_internal_service.CollectionListResult": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_models.Collection" } }, "page": { "type": "integer" }, "page_size": { "type": "integer" }, "total": { "type": "integer" }, "total_pages": { "type": "integer" } } }, "github_com_addp_catalog_internal_service.CollectionProjectGroupList": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.CollectionProjectGroupOption" } } } }, "github_com_addp_catalog_internal_service.CollectionProjectGroupOption": { "type": "object", "properties": { "can_read": { "type": "boolean" }, "can_update": { "type": "boolean" }, "code": { "type": "string" }, "name": { "type": "string" }, "project_group_id": { "type": "string", "example": "" }, "relation_role": { "type": "string" }, "status": { "type": "string" } } }, "github_com_addp_catalog_internal_service.DataDictionary": { "type": "object", "properties": { "as_of": { "type": "string" }, "entry_id": { "type": "string", "format": "uuid" }, "fields": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.DataDictionaryField" } }, "generated_at": { "type": "string" }, "schema_version": { "type": "string" } } }, "github_com_addp_catalog_internal_service.DataDictionaryElementRevision": { "type": "object", "properties": { "code": { "type": "string" }, "code_set_revision": { "$ref": "#/definitions/client.StandardCodeSetRevisionSnapshot" }, "data_type": { "type": "string" }, "default_value": { "type": "string" }, "definition": { "type": "string" }, "effective_from": { "type": "string" }, "effective_to": { "type": "string" }, "element_id": { "type": "string", "example": "0" }, "element_revision_id": { "type": "string", "example": "0" }, "example_values": { "type": "array", "items": { "type": "string" } }, "format": { "type": "string" }, "length": { "type": "integer" }, "name": { "type": "string" }, "nullable": { "type": "boolean" }, "owner_domain_id": { "type": "string", "example": "0" }, "precision_num": { "type": "integer" }, "range_constraint": { "$ref": "#/definitions/client.StandardElementRangeConstraint" }, "revision_no": { "type": "integer" }, "scale": { "type": "integer" }, "scope_type": { "type": "string" }, "status": { "type": "string" }, "unit_id": { "type": "string", "example": "0" }, "value_domain_kind": { "type": "string" } } }, "github_com_addp_catalog_internal_service.DataDictionaryField": { "type": "object", "properties": { "component_id": { "type": "string", "format": "uuid" }, "element_id": { "type": "string", "example": "" }, "is_effective": { "type": "boolean" }, "physical": { "$ref": "#/definitions/datatype.FieldInfo" }, "standard": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.DataDictionaryElementRevision" } } }, "github_com_addp_catalog_internal_service.DomainOverview": { "type": "object", "properties": { "children": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.DomainOverview" } }, "code": { "type": "string" }, "description": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" }, "parent_id": { "type": "string" } } }, "github_com_addp_catalog_internal_service.DomainResourceOverview": { "type": "object", "properties": { "coverage": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.GovernanceCoverage" }, "domain_id": { "type": "string", "example": "" }, "entry_types": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryTypeFacet" } }, "governance_statuses": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.GovernanceStatusCoverage" } }, "observed_at": { "type": "string" }, "total_entries": { "type": "integer" }, "view": { "type": "string", "enum": [ "governance", "inventory" ] } } }, "github_com_addp_catalog_internal_service.EntryDetail": { "type": "object", "properties": { "business_description": { "type": "string" }, "business_name": { "type": "string" }, "components": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_models.Component" } }, "created_at": { "type": "string" }, "display_name": { "type": "string" }, "entry_status": { "type": "string" }, "entry_type": { "type": "string" }, "governance_status": { "type": "string" }, "id": { "type": "string" }, "merged_into_entry_id": { "type": "string" }, "quality_summary": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.QualitySummary" }, "recommended_successor": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntrySummary" }, "recommended_successor_entry_id": { "type": "string" }, "responsibilities": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_models.Responsibility" } }, "semantic_links": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_models.SemanticAssociation" } }, "source": { "$ref": "#/definitions/github_com_addp_catalog_internal_models.SourceBinding" }, "source_engine": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SourceEngineReference" }, "source_resolution": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SourceResolution" }, "standard_mappings": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.StandardMappingDetail" } }, "updated_at": { "type": "string" }, "version": { "type": "integer" }, "visibility": { "type": "string" } } }, "github_com_addp_catalog_internal_service.EntryFacetOption": { "type": "object", "properties": { "code": { "type": "string" }, "count": { "type": "integer" }, "domain_path": { "type": "array", "items": { "type": "string" } }, "engine_type": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" }, "referenceable": { "type": "boolean" }, "status": { "type": "string" } } }, "github_com_addp_catalog_internal_service.EntryFacets": { "type": "object", "properties": { "accountable_departments": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryReferenceFacet" }, "entry_types": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryTypeFacet" } }, "primary_domains": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryReferenceFacet" }, "source_engines": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryReferenceFacet" }, "view": { "type": "string", "enum": [ "governance", "inventory" ] } } }, "github_com_addp_catalog_internal_service.EntryHistory": { "type": "object", "properties": { "audit_events": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_models.AuditEvent" } }, "entry_id": { "type": "string" }, "source_bindings": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_models.SourceBinding" } } } }, "github_com_addp_catalog_internal_service.EntryListResult": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntrySummary" } }, "page": { "type": "integer" }, "page_size": { "type": "integer" }, "total": { "type": "integer" }, "total_pages": { "type": "integer" } } }, "github_com_addp_catalog_internal_service.EntryMarks": { "type": "object", "properties": { "favorite": { "type": "boolean" }, "following": { "type": "boolean" } } }, "github_com_addp_catalog_internal_service.EntryReferenceFacet": { "type": "object", "properties": { "options": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntryFacetOption" } }, "status": { "type": "string", "enum": [ "current", "unavailable" ] } } }, "github_com_addp_catalog_internal_service.EntrySummary": { "type": "object", "properties": { "business_description": { "type": "string" }, "business_name": { "type": "string" }, "created_at": { "type": "string" }, "display_name": { "type": "string" }, "entry_status": { "type": "string" }, "entry_type": { "type": "string" }, "governance_status": { "type": "string" }, "id": { "type": "string" }, "merged_into_entry_id": { "type": "string" }, "recommended_successor_entry_id": { "type": "string" }, "source_engine_id": { "type": "string", "example": "" }, "source_identity": { "type": "string" }, "source_status": { "type": "string" }, "updated_at": { "type": "string" }, "version": { "type": "integer" }, "visibility": { "type": "string" } } }, "github_com_addp_catalog_internal_service.EntryTypeFacet": { "type": "object", "properties": { "count": { "type": "integer" }, "entry_type": { "type": "string", "enum": [ "data_item", "business_entity", "logical_model", "metric", "data_service", "development_artifact", "data_application", "glossary", "element", "code_set", "standard_document" ] } } }, "github_com_addp_catalog_internal_service.GovernanceCoverage": { "type": "object", "properties": { "dimensions": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.GovernanceCoverageDimension" } }, "governance_statuses": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.GovernanceStatusCoverage" } }, "total_entries": { "type": "integer" }, "view": { "type": "string", "enum": [ "inventory" ] } } }, "github_com_addp_catalog_internal_service.GovernanceCoverageDimension": { "type": "object", "properties": { "applicable": { "type": "integer" }, "coverage_rate": { "type": "number" }, "covered": { "type": "integer" }, "key": { "type": "string", "enum": [ "business_definition", "primary_domain", "accountable_department", "business_owner", "data_steward", "glossary", "component_standard_mapping" ] }, "not_applicable": { "type": "integer" }, "not_covered": { "type": "integer" } } }, "github_com_addp_catalog_internal_service.GovernanceStatusCoverage": { "type": "object", "properties": { "count": { "type": "integer" }, "status": { "type": "string", "enum": [ "discovered", "curated", "certified", "deprecated" ] } } }, "github_com_addp_catalog_internal_service.GovernanceTaskListResult": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.GovernanceTaskSummary" } }, "page": { "type": "integer" }, "page_size": { "type": "integer" }, "total": { "type": "integer" }, "total_pages": { "type": "integer" } } }, "github_com_addp_catalog_internal_service.GovernanceTaskSummary": { "type": "object", "properties": { "catalog_entry_id": { "type": "string" }, "created_at": { "type": "string" }, "entry_display_name": { "type": "string" }, "entry_version": { "type": "integer" }, "id": { "type": "string" }, "observed_snapshot": { "$ref": "#/definitions/models.JSONMap" }, "opened_at": { "type": "string" }, "reason": { "type": "string" }, "resolution": { "type": "string" }, "resolved_at": { "type": "string" }, "responsibility_role": { "type": "string" }, "status": { "type": "string" }, "subject_id": { "type": "string", "example": "" }, "subject_type": { "type": "string" }, "task_type": { "type": "string" }, "updated_at": { "type": "string" } } }, "github_com_addp_catalog_internal_service.QualitySummary": { "type": "object", "properties": { "configured": { "type": "boolean" }, "detail_path": { "type": "string" }, "last_execution_id": { "type": "string" }, "last_execution_status": { "type": "string" }, "last_observed_at": { "type": "string" }, "open_issue_count": { "type": "integer" }, "quality_score": { "type": "number" }, "status": { "type": "string" } } }, "github_com_addp_catalog_internal_service.ReferenceCandidate": { "type": "object", "properties": { "code": { "type": "string" }, "domain_path": { "type": "array", "items": { "type": "string" } }, "id": { "type": "string" }, "name": { "type": "string" }, "reference_type": { "type": "string", "enum": [ "domain", "glossary", "element", "department", "user" ] }, "status": { "type": "string" } } }, "github_com_addp_catalog_internal_service.ReferenceCandidateList": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.ReferenceCandidate" } }, "page": { "type": "integer" }, "page_size": { "type": "integer" }, "total": { "type": "integer" }, "total_pages": { "type": "integer" } } }, "github_com_addp_catalog_internal_service.SharingApprovalSummary": { "type": "object", "properties": { "action": { "type": "string", "enum": [ "read", "metadata_read" ] }, "boundary_hash": { "type": "string" }, "expires_at": { "type": "string", "x-nullable": true }, "expiry_mode": { "type": "string", "enum": [ "at_time", "until_revoked" ] }, "id": { "type": "string" } } }, "github_com_addp_catalog_internal_service.SharingDecisionCandidate": { "type": "object", "properties": { "action": { "type": "string" }, "boundary_hash": { "type": "string" }, "confirmed_at": { "type": "string" }, "confirmed_by": { "type": "string", "example": "" }, "expires_at": { "type": "string", "format": "date-time", "x-nullable": true }, "expiry_mode": { "type": "string", "enum": [ "at_time", "until_revoked" ] }, "id": { "type": "string" }, "item_fingerprint": { "type": "string" }, "recipient_code": { "type": "string" }, "recipient_id": { "type": "string", "example": "" }, "recipient_label_status": { "type": "string", "enum": [ "resolved", "not_found" ] }, "recipient_name": { "type": "string" }, "recipient_type": { "type": "string" }, "target": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingDecisionTarget" } } }, "github_com_addp_catalog_internal_service.SharingDecisionResult": { "type": "object", "properties": { "action": { "type": "string", "enum": [ "read", "metadata_read" ] }, "authorization_version": { "type": "string", "example": "" }, "boundary_hash": { "type": "string" }, "catalog_entry_id": { "type": "string" }, "confirmed_by": { "type": "string", "example": "" }, "confirmer_in_project_group": { "type": "boolean" }, "confirmer_membership_id": { "type": "string", "example": "" }, "created_at": { "type": "string" }, "engine_id": { "type": "string", "example": "" }, "entry_version": { "type": "string", "example": "" }, "expires_at": { "type": "string", "format": "date-time", "x-nullable": true }, "expiry_mode": { "type": "string", "enum": [ "at_time", "until_revoked" ] }, "id": { "type": "string" }, "item_fingerprint": { "type": "string" }, "reason": { "type": "string" }, "recipient_code": { "type": "string" }, "recipient_id": { "type": "string", "example": "" }, "recipient_label_status": { "type": "string", "enum": [ "resolved", "not_found", "unavailable" ] }, "recipient_name": { "type": "string" }, "recipient_type": { "type": "string" }, "responsibility_id": { "type": "string" }, "self_beneficiary": { "type": "boolean" }, "source_binding_id": { "type": "string" }, "source_version": { "type": "string" }, "target": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingDecisionTarget" } } }, "github_com_addp_catalog_internal_service.SharingDecisionTarget": { "type": "object", "properties": { "engine_id": { "type": "string" }, "segments": { "type": "array", "items": { "$ref": "#/definitions/plugin.EngineCatalogSegment" } }, "version": { "type": "string" } } }, "github_com_addp_catalog_internal_service.SharingFulfillmentHistory": { "type": "object", "properties": { "action": { "type": "string" }, "created_at": { "type": "string" }, "deadline": { "type": "string", "format": "date-time", "x-nullable": true }, "decision_id": { "type": "string" }, "expires_at": { "type": "string", "format": "date-time", "x-nullable": true }, "expiry_mode": { "type": "string", "enum": [ "at_time", "until_revoked" ] }, "granted_at": { "type": "string", "format": "date-time", "x-nullable": true }, "recipient_code": { "type": "string" }, "recipient_id": { "type": "string", "example": "" }, "recipient_label_status": { "type": "string", "enum": [ "resolved", "not_found", "unavailable" ] }, "recipient_name": { "type": "string" }, "recipient_type": { "type": "string" }, "recorded_at": { "type": "string", "format": "date-time", "x-nullable": true }, "request_id": { "type": "string" }, "state": { "type": "string", "enum": [ "pending", "accepted", "closed" ] }, "target": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingDecisionTarget" }, "unissued_reason": { "type": "string", "enum": [ "relation_exists", "window_expired", "closed" ] } } }, "github_com_addp_catalog_internal_service.SharingFulfillmentResult": { "type": "object", "properties": { "request_id": { "type": "string" }, "resolution": { "$ref": "#/definitions/authorization.SharingFulfillmentResolution" }, "state": { "type": "string" } } }, "github_com_addp_catalog_internal_service.SharingRecipientCandidate": { "type": "object", "properties": { "approvals": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SharingApprovalSummary" } }, "code": { "type": "string" }, "id": { "type": "string" }, "name": { "type": "string" }, "recipient_type": { "type": "string", "enum": [ "user", "project_group" ] }, "status": { "type": "string" } } }, "github_com_addp_catalog_internal_service.SourceEngineReference": { "type": "object", "properties": { "engine_type": { "type": "string" }, "id": { "type": "string" }, "lifecycle_state": { "type": "string" }, "name": { "type": "string" }, "status": { "type": "string", "enum": [ "current", "missing", "unavailable" ] } } }, "github_com_addp_catalog_internal_service.SourceEntryResolution": { "type": "object", "properties": { "entry": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.EntrySummary" }, "found": { "type": "boolean" }, "owner_domain_id": { "type": "string" }, "scope_type": { "type": "string" }, "source_identity": { "type": "string" }, "source_module": { "type": "string", "enum": [ "meta", "model", "standard", "service", "develop", "workbench" ] }, "source_type": { "type": "string", "enum": [ "data_item", "entity", "logical_table", "metric", "query_service", "dev_task", "data_application", "glossary", "element", "code_set", "document" ] } } }, "github_com_addp_catalog_internal_service.SourceEntryResolutionResult": { "type": "object", "properties": { "results": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SourceEntryResolution" } } } }, "github_com_addp_catalog_internal_service.SourceResolution": { "type": "object", "properties": { "detail_path": { "type": "string" }, "engine_references": { "type": "object", "additionalProperties": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.SourceEngineReference" } }, "last_observed_at": { "type": "string" }, "owner_status": { "type": "string" }, "owner_version": { "type": "integer" }, "resolved_at": { "type": "string" }, "status": { "type": "string" }, "summary": { "type": "object", "additionalProperties": {} } } }, "github_com_addp_catalog_internal_service.StandardMappingDetail": { "type": "object", "properties": { "catalog_entry_id": { "type": "string" }, "component_id": { "type": "string" }, "confidence": { "type": "number" }, "created_at": { "type": "string" }, "element_id": { "type": "string", "example": "" }, "element_reference": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.StandardMappingElementReference" }, "element_revision_id": { "type": "string", "example": "" }, "evidence": { "$ref": "#/definitions/models.JSONMap" }, "id": { "type": "string" }, "proposed_by_id": { "type": "string" }, "proposed_by_type": { "type": "string" }, "review_opinion": { "type": "string" }, "review_status": { "type": "string" }, "reviewed_at": { "type": "string" }, "reviewed_by_id": { "type": "string" }, "reviewed_by_type": { "type": "string" }, "source": { "type": "string" }, "updated_at": { "type": "string" }, "version": { "type": "integer" } } }, "github_com_addp_catalog_internal_service.StandardMappingElementReference": { "type": "object", "properties": { "code": { "type": "string" }, "name": { "type": "string" }, "revision_no": { "type": "integer" }, "status": { "type": "string", "enum": [ "resolved", "unavailable", "missing", "unfixed" ] } } }, "github_com_addp_catalog_internal_service.StandardMappingList": { "type": "object", "properties": { "data": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_models.StandardMapping" } }, "page": { "type": "integer" }, "page_size": { "type": "integer" }, "total": { "type": "integer" }, "total_pages": { "type": "integer" } } }, "github_com_addp_catalog_internal_service.StandardMappingRevisionOption": { "type": "object", "properties": { "id": { "type": "string" }, "name": { "type": "string" }, "revision_no": { "type": "integer" } } }, "internal_api.batchGovernanceEntryRequest": { "type": "object", "required": [ "id", "version" ], "properties": { "id": { "type": "string", "format": "uuid" }, "version": { "type": "integer", "minimum": 1 } } }, "internal_api.batchGovernanceRequest": { "type": "object", "required": [ "entries", "operation", "reference_id" ], "properties": { "entries": { "type": "array", "maxItems": 200, "minItems": 1, "items": { "$ref": "#/definitions/internal_api.batchGovernanceEntryRequest" } }, "operation": { "type": "string", "enum": [ "assign_primary_domain", "assign_accountable_department" ] }, "reference_id": { "type": "string" } } }, "internal_api.createCollectionRequest": { "type": "object", "properties": { "description": { "type": "string" }, "entry_ids": { "type": "array", "items": { "type": "string" } }, "name": { "type": "string" }, "project_group_id": { "type": "string" } } }, "internal_api.createSharingDecisionRequest": { "type": "object", "required": [ "action", "expected_boundary_hash", "expiry_mode" ], "properties": { "action": { "type": "string", "enum": [ "read", "metadata_read" ] }, "decision_id": { "type": "string", "format": "uuid" }, "expected_boundary_hash": { "type": "string" }, "expires_at": { "type": "string", "format": "date-time", "x-nullable": true }, "expiry_mode": { "type": "string", "enum": [ "at_time", "until_revoked" ] }, "reason": { "type": "string", "maxLength": 2000 }, "recipient_id": { "type": "string" }, "recipient_type": { "type": "string", "enum": [ "user", "project_group" ] }, "version": { "type": "string" } } }, "internal_api.deleteCollectionRequest": { "type": "object", "properties": { "version": { "type": "integer", "minimum": 1 } } }, "internal_api.deleteStandardMappingRequest": { "type": "object", "properties": { "version": { "type": "integer", "minimum": 1 } } }, "internal_api.prepareSharingFulfillmentRequest": { "type": "object", "properties": { "decision_id": { "type": "string" }, "request_id": { "type": "string" } } }, "internal_api.rebindSourceRequest": { "type": "object", "properties": { "evidence": { "type": "string" }, "new_source_identity": { "type": "string" }, "reason": { "type": "string" }, "target_version": { "type": "integer", "minimum": 1 }, "temporary_entry_id": { "type": "string" }, "temporary_entry_version": { "type": "integer", "minimum": 1 } } }, "internal_api.replaceEntryMarksRequest": { "type": "object", "properties": { "favorite": { "type": "boolean" }, "following": { "type": "boolean" } } }, "internal_api.resolveReferencesRequest": { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "string" } } } }, "internal_api.resolveReferencesResponse": { "type": "object", "properties": { "results": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.CatalogReferenceResolution" } } } }, "internal_api.resolveSourceEntriesRequest": { "type": "object", "properties": { "references": { "type": "array", "items": { "$ref": "#/definitions/github_com_addp_catalog_internal_service.CatalogSourceReference" } } } }, "internal_api.standardMappingDecisionRequest": { "type": "object", "properties": { "opinion": { "type": "string" }, "version": { "type": "integer", "minimum": 1 } } }, "internal_api.standardMappingRequest": { "type": "object", "properties": { "catalog_entry_id": { "type": "string", "format": "uuid" }, "component_id": { "type": "string", "format": "uuid" }, "confidence": { "type": "number" }, "element_id": { "type": "string" }, "element_revision_id": { "type": "string" }, "evidence": { "$ref": "#/definitions/models.JSONMap" }, "version": { "type": "integer", "minimum": 1 } } }, "internal_api.standardMappingResponse": { "type": "object", "properties": { "catalog_entry_id": { "type": "string" }, "component_id": { "type": "string" }, "confidence": { "type": "number" }, "created_at": { "type": "string" }, "element_id": { "type": "string", "example": "" }, "element_revision_id": { "type": "string", "example": "" }, "evidence": { "$ref": "#/definitions/models.JSONMap" }, "id": { "type": "string" }, "proposed_by_id": { "type": "string" }, "proposed_by_type": { "type": "string" }, "review_opinion": { "type": "string" }, "review_status": { "type": "string" }, "reviewed_at": { "type": "string" }, "reviewed_by_id": { "type": "string" }, "reviewed_by_type": { "type": "string" }, "source": { "type": "string" }, "updated_at": { "type": "string" }, "version": { "type": "integer" } } }, "internal_api.transferEntryResponsibilitiesRequest": { "type": "object", "required": [ "reason", "responsibilities", "version" ], "properties": { "reason": { "type": "string" }, "responsibilities": { "type": "array", "maxItems": 200, "minItems": 3, "items": { "$ref": "#/definitions/internal_api.updateResponsibilityRequest" } }, "version": { "type": "integer", "minimum": 1 } } }, "internal_api.updateCollectionRequest": { "type": "object", "properties": { "description": { "type": "string" }, "entry_ids": { "type": "array", "items": { "type": "string" } }, "name": { "type": "string" }, "version": { "type": "integer", "minimum": 1 } } }, "internal_api.updateDomainLinkRequest": { "type": "object", "properties": { "id": { "type": "string" }, "role": { "type": "string", "enum": [ "primary", "secondary" ] } } }, "internal_api.updateEntryGovernanceRequest": { "type": "object", "properties": { "governance_status": { "type": "string", "enum": [ "curated", "certified", "deprecated" ] }, "reason": { "type": "string" }, "recommended_successor_entry_id": { "type": "string", "format": "uuid" }, "version": { "type": "integer", "minimum": 1 } } }, "internal_api.updateEntryRequest": { "type": "object", "properties": { "business_description": { "type": "string" }, "business_name": { "type": "string" }, "domains": { "type": "array", "items": { "$ref": "#/definitions/internal_api.updateDomainLinkRequest" } }, "glossary_ids": { "type": "array", "items": { "type": "string" } }, "governance_status": { "type": "string", "enum": [ "discovered", "curated" ] }, "responsibilities": { "type": "array", "items": { "$ref": "#/definitions/internal_api.updateResponsibilityRequest" } }, "version": { "type": "integer", "minimum": 1 }, "visibility": { "type": "string", "enum": [ "inventory", "department", "tenant" ] } } }, "internal_api.updateResponsibilityRequest": { "type": "object", "properties": { "role": { "type": "string", "enum": [ "accountable_department", "business_owner", "data_steward", "technical_owner" ] }, "subject_id": { "type": "string" }, "subject_type": { "type": "string", "enum": [ "department", "user" ] } } }, "models.JSONMap": { "type": "object", "additionalProperties": true }, "plugin.EngineCatalogPath": { "type": "object", "properties": { "engine_id": { "type": "integer" }, "segments": { "type": "array", "items": { "$ref": "#/definitions/plugin.EngineCatalogSegment" } }, "version": { "type": "string" } } }, "plugin.EngineCatalogSegment": { "type": "object", "properties": { "kind": { "type": "string" }, "name": { "type": "string" }, "term": { "type": "string" } } } }, "securityDefinitions": { "BearerAuth": { "type": "apiKey", "name": "Authorization", "in": "header" } } }