引用
NS-16, clause 1. NXS-STD-ST-000015@0.1.0. https://nexustandards.com/standards/ns-16/#nx-c-1
1. 模式(NS16-R1 至 NS16-R4)
Context name NXS-<SCOPE>[-<DOMAIN>][-<SECTOR>][-<REGION>][-<ENV>] NXS-GRX-WAT-CAN Artifact UNI NXS-<SCOPE>-<CAT>[-<DOMAIN>][-<SECTOR>][-<REGION>][-<ENV>]-<SERIAL>[@<VERSION>] NXS-GRX-AR-WAT-CAN-000012@1.0.0 Context record NXS-<SCOPE>-DP|PR[-<DOMAIN>][-<SECTOR>][-<REGION>][-<ENV>]-<SERIAL> NXS-GRX-DP-WAT-CAN-000001
- NS16-R1 One name, many artefacts. Everything about one context carries the same context name and differs only in CAT and SERIAL: the article
NXS-GRX-AR-WAT-CAN-000012,该数据集 NXS-GRX-DS-WAT-CAN-000004, the report NXS-GRX-RP-WAT-CAN-000002,仪表板数字 NXS-GRX-FG-WAT-CAN-000009,部署 NXS-GRX-DP-WAT-CAN-000001,该条款 NXS-GOV-CL-WAT-CAN-000003 (a clause's scope is its issuer, its context segments its subject). - NS16-R2 The name is derived, the UNI is allocated. A context name is never minted and never typed with a serial; it is computed from a UNI by dropping CAT and SERIAL. Writing
NXS-GRX-WAT-CAN-000012 (no CAT) is an error, as is inventing a serial. - NS16-R3 各段是代码,不是词语。
WAT, CAN, WUT, PRD 来自登记册(domains.yaml, sectors.yaml, regions.yaml, nexus-standards.yaml#identifier.environments);表单中已有的司法管辖区标签(ISO 3166-1 alpha-2、GLOBAL、区域标签)仅通过 registry/jurisdictions.yaml, never by guess. A new domain or sector is a proposal under NS-13 before any artefact uses it. Prose spells the meaning next to the code on first use: "NXS-GRX-WAT-CAN (the data system, water, Canada)". - NS16-R4 Most specific true context, nothing more. An artefact carries only the segments that are true of all of it. A Canada-wide water article is
…-WAT-CAN-…;仅涉及公用事业的文章增加 WUT; a global water method carries WAT alone; an artefact about two countries carries the M49 region that contains both or no REGION, with the countries in context.jurisdictions or the record's keywords. A segment is never added for search engine reasons.
引用
NS-16, clause 2. NXS-STD-ST-000015@0.1.0. https://nexustandards.com/standards/ns-16/#nx-c-2
2. 文章与出版物(AR、PP、RP、TN、WP、BK、CP、PS、PO)(NS16-R5 至 NS16-R8)
| 地表 | 承载 | 示例 |
|---|
| 首部元数据(Markdown、HTML head、DOCX 核心属性) | uni, contextName, version, publisherRef, license | uni: NXS-GRX-AR-WAT-CAN-000012, contextName: NXS-GRX-WAT-CAN |
| Title block | title; the UNI 行;以标签形式显示的情境名称 | “加拿大流域水观测”· NXS-GRX-AR-WAT-CAN-000012@1.0.0 · 标签 NXS-GRX-WAT-CAN |
| Running header or footer | 带版本的 UNI | NXS-GRX-AR-WAT-CAN-000012@1.0.0 · page 3 |
| 引用(NS-2) | UNI, version, publisher, date, resolver URL | … NXS-GRX-AR-WAT-CAN-000012@1.0.0. https://nexustandards.com/uni/NXS-GRX-AR-WAT-CAN-000012 |
| 内含数据与图表 | 各自在图注或表注中以其 UNI 和版本引用 | 图 2 NXS-GRX-FG-WAT-CAN-000009@1,数据 NXS-GRX-DS-WAT-CAN-000004@2 |
| WordPress | _nexus_uni 元数据, <meta name="nexus-uni">, data-nexus-uni on the article root, slug derived from the title (never from the UNI) | /water-observations-canadian-basins/ |
- NS16-R5 An article's UNI is minted when the draft is created, not when it is published; the record is DRAFT until publication and never changes identifier.
- NS16-R6 变更主张的新版本属于新的版本(
@2.0.0);翻译是带有 language 集;新的文章即新的序列号。 - NS16-R7 文章所依据的每一个数字、图表、数据集和模型均按 UNI 和版本引用;没有可引用记录的论断采用 NS-0 P6 的措辞(“未观测到”“估计”“声明”)。
- NS16-R8 文章从不以品牌词称呼该系统;而是以显示名称称之("
NXS-GRX)和上下文名称,首次使用时说明其含义。
引用
NS-16, clause 3. NXS-STD-ST-000015@0.1.0. https://nexustandards.com/standards/ns-16/#nx-c-3
3. 文件、标准、政策和条款(DC、ST、PC、CL、TN、DL)(NS16-R9 至 NS16-R11)
- NS16-R9 First line of every Markdown document:
Nexus-UNI: <uni>;特定情境的文件还会在其标题块中注明情境名称(NS-4)。标准本身没有情境段(它们属于 STD 范围,且具全球性)。 - NS16-R10 政策或条款以发布方作为范围(SCOPE),并以主题背景作为分段:
NXS-GOV-PC-WAT-CAN-000001 是加拿大的一项水治理政策;其 appliesTo 和 subjects selectors list the same domain and jurisdiction, and the standards validator refuses a mismatch between segments and selectors. - NS16-R11 条款的证明(
NXS-NSF-AT-…)本身不带上下文段:这些上下文段由证明内部的主体 UNI 携带。
引用
NS-16, clause 4. NXS-STD-ST-000015@0.1.0. https://nexustandards.com/standards/ns-16/#nx-c-4
4. 代码、模式、迁移和模型(SW、SV、SC、MG、WF、MD)(NS16-R12 至 NS16-R15)
| 地表 | 承载 | 示例 |
|---|
| 源文件头部,第 1 行或第 2 行 | // Nexus-UNI: <uni> (the module's own UNI, scope of the owning system, no context segments) | // Nexus-UNI: NXS-GRX-SW-000004 |
| 特定情境模块(加拿大水资源适配模块) | 含各分段的模块 UNI | // Nexus-UNI: NXS-GRX-SW-WAT-CAN-000001 |
| 包清单 | nexus.uni, nexus.contextName | "nexus": { "uni": "NXS-GRX-SW-000004" } |
| JSON Schema | $id carries the repository path; x-nexus-uni carries the UNI | "x-nexus-uni": "NXS-STD-SC-000002" |
| SQL migration | -- Nexus-UNI: <uni> 第2行 | -- Nexus-UNI: NXS-GOV-MG-000001 |
| Model card, dataset sheet (NS-12) | uni, contextName, training-data UNIs | NXS-GRX-MD-WAT-CAN-000002 |
| 容器镜像、SBOM、构建证明 | the UNI as an OCI annotation org.nexus.uni and in the SBOM externalReferences | |
| Git | commit trailer Nexus-UNI: <uni> when a commit introduces or versions an artefact (optional, recommended) | |
- NS16-R12 代码模块的 UNI 标识的是模块本身,而非其部署;部署是一条 NS-9 情境记录(
DP),其 context.ofUni is the module or system UNI, and the deployment's context name (NXS-GRX-WAT-WUT-CAN-PRD) is what operators, dashboards and incident records use. - NS16-R13 The header UNI is checked by the repository validator against the catalogue; a header naming a UNI the catalogue does not hold fails CI.
- NS16-R14 按上下文键控的配置以上下文名称作为键(
contexts["NXS-GRX-WAT-CAN"])绝不使用自由文本标签,以便配置、记录和页面通过同一字符串关联。 - NS16-R15 代码中的标识符为经 NS-1 库验证的字符串(
parseNxsId);代码绝不通过拼接构建 UNI,除非通过 formatNxsId 并附有该结构返回的序列号。
引用
NS-16, clause 5. NXS-STD-ST-000015@0.1.0. https://nexustandards.com/standards/ns-16/#nx-c-5
5. 数据与记录(DS、EV;NS-3 记录类型)(NS16-R16 至 NS16-R18)
- NS16-R16 关于某一情境的数据集带有情境分段:
NXS-GRX-DS-WAT-CAN-000004。其 NS-3 记录保留各自的语法(NXS-GRX-OB-CAN-000042@3):记录类型带有 REGION,也可带有 DOMAIN 和 SECTOR;数据集在 STAC、DCAT 和 PROV-O 对照中列出其记录的 UNI(NS-3b)。 - NS16-R17 Every table or file that stores records has a
uni column or field holding the full UNI and, where it helps queries, a context_name 由其派生的列;该派生是 UNI 的函数,绝不是第二个事实来源。 - NS16-R18 由数据渲染而成的地图瓦片、图表或产品,须带有其所渲染数据的 UNI(NS-5)以及自身的 UNI;没有来源追溯 UNI 的瓦片属于固定装置,并须标明为固定装置。
引用
NS-16, clause 6. NXS-STD-ST-000015@0.1.0. https://nexustandards.com/standards/ns-16/#nx-c-6
6. API 与服务(SV)(NS16-R19 至 NS16-R22)
| 地表 | 承载 |
|---|
| 响应头 | X-Nexus-UNI: <uni of the primary record>; X-Nexus-Context: <context name> 当响应限定于某一情境时 |
| 响应机构 | uni 在每条记录上; contextName on every list scoped to a context; never a derived score without the UNIs it came from |
| 申请 | context filters use the context name or its segments (?context=NXS-GRX-WAT-CAN 或 ?domain=WAT®ion=CAN);绝不使用自由文本标签 |
| 解析器 | GET /uni/<uni> landing page or JSON; GET /ctx/<contextName> every published record of the context, newest first, by CAT |
| OpenAPI | x-nexus-uni on the document and on every operation that serves a catalogued record |
| 错误 | RFC 9457 problem with uni 和 contextName 如已知,以及键入的代码(UNI_INVALID, UNI_NOT_IN_CATALOG, CONTEXT_UNKNOWN) |
- NS16-R19 服务自身的 UNI (SV)位于其健康响应中;为某一情境部署的服务会报告该部署情境记录的 UNI(
DP)及情境名称,见于 /ready. - NS16-R20 API 不得根据调用方的地址、语言或租户推导上下文;上下文须在请求中或记录上明确给出。
- NS16-R21 限定于某一情境的列表端点返回该情境确切名称的记录,并且,当
?include=narrower,扩展它的名称(NXS-GRX-WAT-CAN 包括 NXS-GRX-WAT-WUT-CAN); never the reverse. - NS16-R22 Writes that create a catalogued artefact return
201 附已分配的 UNI 以及 X-Nexus-UNI 标头;当该架构不可用时,响应会携带类型化的 uniAllocation state and the record stays DRAFT (NS-10/11 Commons adoption).
引用
NS-16, clause 7. NXS-STD-ST-000015@0.1.0. https://nexustandards.com/standards/ns-16/#nx-c-7
7. 界面:页面、讨论室、仪表板和护照(NS16-R23 至 NS16-R27)
| 要素 | 规则 |
|---|
| 页面头部 | <meta name="nexus-uni">, <link rel="canonical"> 至解析器落地页,JSON-LD identifier |
| 面包屑导航 | display name → context name chips in segment order → artefact: NXS-GRX › WAT › CAN › Article 000012 |
| Identifier line | 完整的 UNI (含版本,以等宽字体显示)、复制操作,以及链接至 /uni/<uni> |
| Context chip | NXS-GRX-WAT-CAN,一个标签,链接至 /ctx/<contextName>;悬停时逐段拼读各部分 |
| 会议室面板 | every row shows its UNI (or its typed pending state) and its supported claim level; a context panel is titled by the context name |
| 护照(NS-15) | identity section: SU UNI first, then the contexts (DP, PR) the subject belongs to, each as a context chip |
| 筛选条件 | 按细分使用登记册标签(Domain: Water;Region: Canada),不使用自由文本 |
| 空状态 | “NXS-GRX-WAT-CAN 未编目任何记录”,并附带分类原因,绝不留空 |
- NS16-R23 用户界面绝不为某一情境显示评分、徽章、排名或“实时”状态;它只显示记录、其 UNI 以及其记录的状态(NS-0 P6)。
- NS16-R24 A context chip is where a context is named; free-text labels ("Canada water programme") are titles, never identifiers, and never appear without the chip.
- NS16-R25 Tokens, type and both themes follow the UI kit; the identifier line uses the kit's monospace token; the chip uses the identifier style, never a brand colour.
- NS16-R26 Every exported figure, CSV, PDF or image from a dashboard carries the UNIs of what it shows in its metadata and footer.
- NS16-R27 搜索会为 UNI、情境名称以及每个分段连同其登记册标签建立索引,因此“Canada water”和
NXS-GRX-WAT-CAN 找到相同的记录。
引用
NS-16, clause 8. NXS-STD-ST-000015@0.1.0. https://nexustandards.com/standards/ns-16/#nx-c-8
8. 实例:数据系统在加拿大的水务工作
Reading any row: the display name tells which system, the chip tells where and about what, the UNI tells which artefact and version, the resolver tells what is recorded about it.
引用
NS-16, clause 9. NXS-STD-ST-000015@0.1.0. https://nexustandards.com/standards/ns-16/#nx-c-9
9. 符合性(NS-14)
| 级别 | 要求 |
|---|
| NS-16 Basic | R1, R2, R3, R9, R12, R13, R15, R19, R22, R23 |
| NS-16 标准 | 基础项加 R4 至 R8、R10、R14、R16、R17、R20、R21、R24、R27 |
| NS-16 完整版 | 每条规则 |
A consumer declares its level in registry/consumers.yaml;VERIFIED 需要由受托评估方出具 NS-11 证明(仓库验证器和 API 合同验证器是 R9、R13、R19 和 R22 的评估方)。
引用
NS-16, clause 10. NXS-STD-ST-000015@0.1.0. https://nexustandards.com/standards/ns-16/#nx-c-10
10. 未决事项
- NS16-O1 whether record kinds (NS-3) may carry DOMAIN and SECTOR in production allocations, or REGION only (fabric key change in nexus-foundry SQL 2033).
- NS16-O2 the
/ctx/ resolver's treatment of restricted records (count only, or omit). - NS16-O3 subdivision jurisdictions (ISO 3166-2,
CA-ON)作为第五个分段或仅作记录;在作出决定之前仅作记录。 - NS16-O4(已于 2026-10-16 解决)表单中已有的辖区标签如何进入 REGION 段:通过
registry/jurisdictions.yaml (alpha-2、GLOBAL 及区域标签映射到 alpha-3 或 M49;刻意不包含 EU),由使用方内置并进行漂移测试。
变更历史
Versions from the catalogue; entries from the changelog that name this document.
| 版本 | 日期 | 备注 |
|---|
0.1.0 | 2026年10月16日 | current version in the catalogue |
更新日志中没有提及 NS-16 的条目。