资源与工具
The registry, the schemas, the record catalogue, the reference command-line tool, snippets for parsing a UNI (Unique Nexus Identifier) in five languages and the export crosswalks. Each file links to its path in the canonical repository; files in preparation are marked planned. Repository revision 52ade713b78a.
- 危害关系(NHS-1):1,867
- 危害(NHS-1):905
- Risk standards: 348
- 外部标准:253
- 区域(ISO 3166):249
- Programme areas: 77
- 记录类别:38
- 范围代码:32
- 领域代码:30
- 部门代码:13
流程。
NXS-STD-ST-000001NXS-EWS-DS-KEN-000003NXS-GRX-RP-M002-000007@1.2.0NXS-GRX-OB-KEN-000042@3NXS-GCR-AR-000015示例标识符模式。启用脚本后,可输入 UNI,系统会对照登记册检查每一段,在记录已发布时解析到该记录,并以 URN、解析器链接和引用格式表示。
UNI 结构逐段解读 NS-1 语法,附登记册的范围和类别代码。解析链接指向解析器;本页不分配任何标识符。
- 登记册
- 10
- 作为数据发布
- 风险标准
- 348
- 记录
- 灾害
- 905
- NHS-1
- 外部标准
- 253
- 仅供引用,从不复制
机器可读登记册
YAML 是权威形式;JSON 投影由解析器服务提供,并计划作为代码库导出文件提供。
| 文件 | 包含内容 | 格式 |
|---|---|---|
| the Nexus Standards register | 语法、32 个范围、38 个类别、9 种记录类型、规则 NS1-R1 至 R7、界面 | YAML · JSON 导出 计划中 |
| the programme areas register | 77 programme areas in 6 tiers | YAML |
| the external standards register | 253 项外部标准,含机构、版本、URL、领域、获取方式、关系、核实情况 | YAML |
| the consumers register | 已列出 0 个实施 | YAML |
| the domains register | 30 个领域 | YAML |
| the open standards stack register | 与 UNI 配合使用的开放索引和标准 | YAML |
registry/ecosystem-coverage.yaml | 214 coverage areas of the Global Centre for Risk and Innovation (GCRI Canada), The Global Risks Forum (GRF) and The Global Risks Alliance (GRA) sites | YAML |
JSON Schema
6 个 JSON Schema。
标准目录
104 records: the authoritative record of the identifiers of the standards themselves, append-only and allocated through the reference command-line tool.
| 文件 | 格式 |
|---|---|
catalog/artifact-catalog.yaml | YAML |
catalog/artifact-catalog.json 计划中 | JSON |
catalog/artifact-catalog.csv 计划中 | CSV |
参考命令行工具
node tools/nexus-id.mjs: validate, parse, next, mint, catalogue and export (NS-1 section 7). Exit codes: 0 valid, 1 invalid, 2 usage error. Source.
| 命令 | 用法 |
|---|---|
| 验证 | node tools/nexus-id.mjs validate NXS-EWS-DS-000042 |
| 解析 | node tools/nexus-id.mjs parse NXS-GRX-RP-M002-000007@1.2.0 |
| 下一个序列号 | node tools/nexus-id.mjs next --scope EWS --category DS --region KEN |
| 铸造(追加一条草案记录) | node tools/nexus-id.mjs mint --scope EWS --category DS --title "..." --path <repo path> --region KEN --publisher GCRI_CANADA --work-package RF-21 |
| 目录 | node tools/nexus-id.mjs catalog validate · node tools/nexus-id.mjs catalog list --scope GRX |
| 导出 | node tools/nexus-id.mjs export NXS-STD-ST-000001 --format zenodo|datacite |
开发者工具计划
开发者工具计划列出了 44 个工具和集成,其状态依据能力矩阵确定:4 个已有,13 个部分可用,25 个为目标。“已有”指已在代码库中提供;“部分可用”指部分提供;“目标”指已计划并定义了验收测试。通过验收测试即为实施证据;集成在发布之前均列为计划中。
命令行工具
| 工具 | 平面 | 状态 |
|---|---|---|
| nexus-id(已有) | Node/TypeScript (repo tools/nexus-id.mjs) | 已有“”} |
nexus-std | TypeScript(以 npm 包形式分发,并为离线隔离主机提供用 Go 构建的单一二进制文件) | 目标“”} |
nexus-std-eval | Rust | 目标“”} |
SDK(按多语言平面划分)
| 工具 | 平面 | 状态 |
|---|---|---|
| @nexus-standards/core(JS/TS) | TypeScript | 部分可用“”} |
| nexus-standards(Python) | Python(scientific-compute/python 适配器平面) | 目标“”} |
nexusstandards (R) | R 适配器(scientific-compute/r) | 目标“”} |
nexus-standards-go | Go | 目标“”} |
nexus-standards-rs | Rust | 目标“”} |
| Julia | – | 未说明状态“”} |
编辑器和桌面工具
| 工具 | 平面 | 状态 |
|---|---|---|
| VS Code 扩展 nexus-standards | TypeScript | 目标“”} |
| QGIS plugin Nexus Standards | Python | 目标“”} |
| 浏览器符合性沙盒 | TypeScript + WASM(Rust 评估器) | 目标“”} |
CI 与供应链工具
| 工具 | 平面 | 状态 |
|---|---|---|
| GitHub Action nexus-standards/conformance-action@v1 | TypeScript | 目标“”} |
| 发布签名和 SBOM | Go/Rust 构建平面 | 部分可用“”} |
| 模式和词汇的单向收紧检查 | 节点 | 目标“”} |
| 复制规则检查(已有) | 节点 | 已有“”} |
契约制品
| 工具 | 平面 | 状态 |
|---|---|---|
schemas/*.v2.json | – | 目标“”} |
registry/vocabulary.yaml, ontology/nexus-standards.ttl | – | 目标“”} |
contracts/openapi/nexus-standards.v1.yaml | – | 目标“”} |
contracts/asyncapi/nexus-standards.v1.yaml | – | 目标“”} |
| contracts/proto/nexus/standards/v1/*.proto | – | 目标“”} |
| Test corpus tests/<NS-n>/… | – | 目标“”} |
发布、索引和标识符集成
| 工具 | 平面 | 状态 |
|---|---|---|
| Zenodo 存档管线(NS-8) | TypeScript | 目标“”} |
| DataCite 导出 | TypeScript | 已有“”} |
| Software Heritage | 节点 | 目标“”} |
| ORCID, ROR | TypeScript | 部分可用“”} |
| Crossref | – | 目标“”} |
| Schema.org JSON-LD | TypeScript/PHP | 部分可用“”} |
| DCAT 3 和 STAC 目录发布 | TypeScript | 目标“”} |
| 站点地图和 IndexNow | TypeScript | 部分可用“”} |
| OpenAlex | – | 未说明状态“”} |
数据和领域适配器
| 工具 | 平面 | 状态 |
|---|---|---|
| SDMX | TypeScript(绑定器已有) | 部分可用“”} |
| HXL / HDX | TypeScript(绑定器已有) | 部分可用“”} |
| IATI | TypeScript | 部分可用“”} |
| CAP 1.2 | TypeScript(绑定器已有) | 部分可用“”} |
| WIS2 | TypeScript + Go | 目标“”} |
| STAC / COG / Zarr | Python(pystac、odc-stac)和 TypeScript(绑定器已有) | 部分可用“”} |
| HIP / GLIDE | TypeScript | 目标“”} |
| RDLS | Python | 目标“”} |
| HL7 FHIR 标准 | Python | 目标“”} |
| OGC API – Features / DGGS | TypeScript | 部分可用“”} |
门户和空间集成
| 工具 | 平面 | 状态 |
|---|---|---|
| WordPress 插件模块(解析器、区块、来源追溯、复制规则、章节、沙盒) | PHP(插件)+ TypeScript(区块) | 部分可用“”} |
| Station 空间界面 | TypeScript | 部分可用“”} |
| nxs 网站构建器 | 节点 | 已有“”} |
解析和验证 UNI
Reference snippets derived from the NS-1 grammar; the TypeScript library listed in the consumers register is the reference implementation.
JavaScript
const RE = /^NXS-([A-Z]{3})-([A-Z]{2})(?:-([A-Z]{3}|M[0-9]{3}))?-([0-9]{6})(?:@([0-9]+(?:\.[0-9]+\.[0-9]+)?))?$/; export function parseUni(s) { const m = RE.exec(String(s).trim().toUpperCase()); if (!m) return null; return { scope: m[1], category: m[2], region: m[3] ?? null, serial: m[4], version: m[5] ?? null, urn: "urn:nexus:uni:" + m[0] }; } // a record: { uni, title, scope, category, status, creators, publisherRef, publicationDate, rights, legalState, claimCeiling, locations }Python
import re RE = re.compile(r"^NXS-([A-Z]{3})-([A-Z]{2})(?:-([A-Z]{3}|M[0-9]{3}))?-([0-9]{6})(?:@([0-9]+(?:\.[0-9]+\.[0-9]+)?))?$") def parse_uni(s: str): m = RE.match(s.strip().upper()) if not m: return None scope, cat, region, serial, version = m.groups() return {"scope": scope, "category": cat, "region": region, "serial": serial, "version": version, "urn": f"urn:nexus:uni:{m.group(0)}"}R
uni_re <- "^NXS-([A-Z]{3})-([A-Z]{2})(?:-([A-Z]{3}|M[0-9]{3}))?-([0-9]{6})(?:@([0-9]+(?:\\.[0-9]+\\.[0-9]+)?))?$" parse_uni <- function(s) { s <- toupper(trimws(s)) if (!grepl(uni_re, s, perl = TRUE)) return(NULL) m <- regmatches(s, regexec(uni_re, s, perl = TRUE))[[1]] list(scope = m[2], category = m[3], region = m[4], serial = m[5], version = m[6], urn = paste0("urn:nexus:uni:", s)) }SQL(PostgreSQL)
-- PostgreSQL: a UNI column with the NS-1 grammar as a check constraint (records are allocated by the catalog or the UNI fabric, never typed) ALTER TABLE my_records ADD COLUMN uni text CHECK (uni ~ '^NXS-[A-Z]{3}-[A-Z]{2}(-([A-Z]{3}|M[0-9]{3}))?-[0-9]{6}(@[0-9]+(\.[0-9]+\.[0-9]+)?)?$');QGIS
-- QGIS field calculator expression: 1 when the attribute "uni" is a well-formed UNI regexp_match("uni", '^NXS-[A-Z]{3}-[A-Z]{2}(-([A-Z]{3}|M[0-9]{3}))?-[0-9]{6}(@[0-9]+(\\.[0-9]+\\.[0-9]+)?)?$') > 0 -- planned: a QGIS processing script that reads the catalog JSON and joins records by UNI源文件和机器可读文件
Every publishable file of the canonical repository, 155 entries in 14 groups, each linked on the main branch with its raw form and history. Text, registry, schemas and catalogue are CC BY 4.0; tools and tests are Apache-2.0. Open the repository · Download main as ZIP.
Project files (13)
| 文件 | 包含内容 | 链接 |
|---|---|---|
CHANGELOG.md | 变更日志 | 原始文件 · 历史 |
CONTRIBUTING.md | Contributing to the Nexus Standards | 原始文件 · 历史 |
GOVERNANCE.md | NXS-STD-DC-000001 | 原始文件 · 历史 |
LICENSING.md | 许可 | 原始文件 · 历史 |
NOTICE.md | 通知 | 原始文件 · 历史 |
README.md | NXS-STD-DC-000001 | 原始文件 · 历史 |
SECURITY.md | 安全政策与协调脆弱性披露 | 原始文件 · 历史 |
CITATION.cff | software and citation metadata | 原始文件 · 历史 |
.github/ISSUE_TEMPLATE/1-comment.yml | 问题表单 | 原始文件 · 历史 |
.github/ISSUE_TEMPLATE/2-proposal.yml | 问题表单 | 原始文件 · 历史 |
.github/ISSUE_TEMPLATE/3-errata.yml | 问题表单 | 原始文件 · 历史 |
.github/pull_request_template.md | change request template | 原始文件 · 历史 |
.github/CODEOWNERS | 按路径划分的审查人 | 原始文件 · 历史 |
许可(3)
| 文件 | 包含内容 | 链接 |
|---|---|---|
LICENSES/Apache-2.0.txt | 许可文本 | 原始文件 · 历史 |
LICENSES/CC-BY-4.0.txt | 许可文本 | 原始文件 · 历史 |
REUSE.toml | 每个路径的许可(REUSE) | 原始文件 · 历史 |
标准(17)
登记册(29)
| 文件 | 包含内容 | 链接 |
|---|---|---|
registry/consumers.yaml | Register of implementations of the Nexus Standards | 原始文件 · 历史 |
registry/dags.yaml | NXS-STD-RS-000002 | 原始文件 · 历史 |
registry/disciplines.yaml | NXS-STD-DS-000012 | 原始文件 · 历史 |
registry/domains.yaml | Nexus 领域(NS-9 context.domains,NS-10 对象选择器) | 原始文件 · 历史 |
registry/ecosystem-coverage.yaml | NXS-STD-DS-000002 | 原始文件 · 历史 |
registry/external-standards.yaml | NXS-STD-DS-000001 | 原始文件 · 历史 |
registry/feed-updates.yaml | NXS-STD-RS-000006 | 原始文件 · 历史 |
registry/governance.yaml | NXS-STD-RS-000005 | 原始文件 · 历史 |
registry/harmonisation.yaml | NXS-STD-DS-000007 | 原始文件 · 历史 |
registry/industries.yaml | NXS-STD-DS-000011 | 原始文件 · 历史 |
registry/jurisdictions.yaml | 法域标签到 REGION 段的对照(NS-16 §4,NS16-O4) | 原始文件 · 历史 |
registry/licensing-rules.yaml | 内置许可规则(NRS-A5) | 原始文件 · 历史 |
registry/native-register.yaml | NXS-STD-DS-000006 | 原始文件 · 历史 |
registry/nexus-standards.yaml | Nexus Standards NS-1 – the UNI (Unique Nexus Identifier) and artefact catalogue | 原始文件 · 历史 |
registry/open-standards-stack.yaml | UNI 之下的开放标准与开源技术栈 | 原始文件 · 历史 |
registry/participation.yaml | NXS-STD-DS-000009 | 原始文件 · 历史 |
registry/regions.yaml | REGION 段登记册(ISO 3166-1 alpha-3 和 UN M49) | 原始文件 · 历史 |
registry/requirements.yaml | NXS-STD-DS-000013 | 原始文件 · 历史 |
registry/review-investigations.yaml | NXS-STD-DS-000015 | 原始文件 · 历史 |
registry/risk-standards.source.yaml | NXS-STD-DS-000008 | 原始文件 · 历史 |
registry/risk-standards.yaml | NXS-STD-DS-000004 | 原始文件 · 历史 |
registry/risk-taxonomy.yaml | NXS-STD-DS-000005 | 原始文件 · 历史 |
registry/risk-vocabulary.yaml | NXS-STD-DS-000010 | 原始文件 · 历史 |
registry/roadmap.yaml | NXS-STD-RS-000007 | 原始文件 · 历史 |
registry/sectors.yaml | 部门与行业(NS-9 context.sectors,NS-10 对象选择器) | 原始文件 · 历史 |
registry/source-hosts.yaml | 标准共享库中引用的来源主机政策 | 原始文件 · 历史 |
registry/standard-packages.yaml | NXS-STD-RS-000003 | 原始文件 · 历史 |
registry/subsites.yaml | Nexus Standards subsites – the systemic architecture of nexustandards.com | 原始文件 · 历史 |
registry/trust-roots.yaml | 用于核验 Nexus Standards 发布版本的信任根(NRS-A4) | 原始文件 · 历史 |
原生词表(5)
| 文件 | 包含内容 | 链接 |
|---|---|---|
registry/native/import.yaml | Native standards data imported as open reference data. | 原始文件 · 历史 |
registry/native/nexus-vocabularies.json | · | 原始文件 · 历史 |
registry/native/nhs-1.json | · | 原始文件 · 历史 |
registry/native/nis-1.json | · | 原始文件 · 历史 |
registry/native/risk-methods.json | · | 原始文件 · 历史 |
模式(6)
| 文件 | 包含内容 | 链接 |
|---|---|---|
schemas/nexus-artifact-record.v1.json | Nexus artefact record (NS-1) | 原始文件 · 历史 |
schemas/nexus-attestation.v1.json | Nexus 符合性证明(NS-11) | 原始文件 · 历史 |
schemas/nexus-clause.v1.json | Nexus 条款(NS-10) | 原始文件 · 历史 |
schemas/nexus-policy.v1.json | Nexus 政策(NS-10) | 原始文件 · 历史 |
schemas/nexus-proposal.v1.json | Nexus 标准提案(NS-13) | 原始文件 · 历史 |
schemas/nexus-subject-passport.v1.json | Nexus 主体护照信封(NS-15) | 原始文件 · 历史 |
机器可读文件(14)
| 文件 | 包含内容 | 链接 |
|---|---|---|
machine/alignment.ttl | Turtle(RDF) | 原始文件 · 历史 |
machine/catalogue.jsonld | JSON-LD | 原始文件 · 历史 |
machine/catalogue.oscal.json | OSCAL JSON | 原始文件 · 历史 |
machine/catalogue.ttl | Turtle(RDF) | 原始文件 · 历史 |
machine/context.jsonld | JSON-LD | 原始文件 · 历史 |
machine/harmonisation.ttl | Turtle(RDF) | 原始文件 · 历史 |
machine/index.json | JSON | 原始文件 · 历史 |
machine/native-vocabularies.ttl | Turtle(RDF) | 原始文件 · 历史 |
machine/nexus-risk-ontology.ttl | Turtle(RDF) | 原始文件 · 历史 |
machine/nexus-risk-shapes.ttl | Turtle(RDF) | 原始文件 · 历史 |
machine/policies/Apache-2.0.odrl.jsonld | JSON-LD | 原始文件 · 历史 |
machine/policies/CC-BY-4.0.odrl.jsonld | JSON-LD | 原始文件 · 历史 |
machine/policies/LicenseRef-Nexus-Proprietary.odrl.jsonld | JSON-LD | 原始文件 · 历史 |
machine/risk-taxonomy.ttl | Turtle(RDF) | 原始文件 · 历史 |
Catalogue (1)
| 文件 | 包含内容 | 链接 |
|---|---|---|
catalog/artifact-catalog.yaml | artefact catalogue (NS-1) | 原始文件 · 历史 |
提案(NS-13)(7)
| 文件 | 包含内容 | 链接 |
|---|---|---|
proposals/NXS-STD-PC-000004.json | 情境代码分配规则以及技术流的四个领域代码:CMP、DTW、SNS、PNT | 原始文件 · 历史 |
proposals/NXS-STD-PC-000005.json | Nexus 风险标准:涵盖风险核心、六条锚定关联流、技术、金融、政策、发展、跨领域主题、危害、情报、计划以及 系统 | 原始文件 · 历史 |
proposals/NXS-STD-PC-000006.json | 全面完成 Nexus 风险标准、风险分类法以及 AI 原生、本体原生的标准基础设施(A 系列) | 原始文件 · 历史 |
proposals/NXS-STD-PC-000007.json | Native convergence of the Nexus Risk Standards: every classification derived from the Nexus-native authorities (NHS-1, NIS-1, the Risk Master, the Nexus vocabularies, the Universe, NXOSI and NRM) | 原始文件 · 历史 |
proposals/NXS-STD-PC-000008.json | Participation, cadence and gateways of the Nexus Standards: monthly Council sessions, quarterly reviews, working groups, open calls for experts and contribution gateways in the public repository and on every institutional site | 原始文件 · 历史 |
proposals/NXS-STD-PC-000009.json | Risk atlas 1.1: NHS-1 1.1.0 with planetary, frontier-technology, health, society, built-system and systemic hazards and seven risk classes; the Nexus-native risk vocabulary; industries, proposed sector codes, disciplines and the full jurisdiction crosswalk | 原始文件 · 历史 |
proposals/NXS-STD-PC-000010.json | Nexus Standards 的首个工作计划:起草规则和要求登记册、维护程序、信息危害政策、NHS-2 模型规范、新的核心标准 NRS-C17 至 NRS-C24、工作流职责范围、无障碍与语言政策,以及合格评定方案 | 原始文件 · 历史 |
Governance (21)
Research (2)
| 文件 | 包含内容 | 链接 |
|---|---|---|
research/STANDARDS_DEVELOPMENT_LITERATURE_REVIEW.md | NXS-STD-RP-000004 | 原始文件 · 历史 |
research/STANDARDS_LANDSCAPE.md | NXS-STD-RP-000001 | 原始文件 · 历史 |
指南(4)
| 文件 | 包含内容 | 链接 |
|---|---|---|
the network's own records | NXS-STD-DC-000001 | 原始文件 · 历史 |
the network's own records | NXS-STD-DC-000022 | 原始文件 · 历史 |
the network's own records | NXS-STD-DC-000035 | 原始文件 · 历史 |
the network's own records | NXS-STD-DC-000001 | 原始文件 · 历史 |
发布(3)
| 文件 | 包含内容 | 链接 |
|---|---|---|
release/manifest.json | 附文件摘要的发布清单 | 原始文件 · 历史 |
release/statement.intoto.json | in-toto 来源追溯声明 | 原始文件 · 历史 |
| 发布版本 | 带标签的发布版本 | · |
工具和测试(30)
每条记录的元数据导出
Served by the resolver service (/api/uni/<uni>/export?format=…), as stated in NS-1 section 6; downloads from the standards repository are planned.
| 格式 | 地点 |
|---|---|
| Zenodo 存档元数据 | export –format zenodo · API |
| DataCite 4.5 | export –format datacite · API |
| Schema.org JSON-LD | API(schema-org) |
| CodeMeta 3.0 | API(codemeta) |
| CITATION.cff | API(citation-cff) |
| STAC · DCAT · PROV | API(stac、dcat、prov) |
| 解析器的 OpenAPI 3.1 | 标准代码库中的 openapi.json 计划中 |
问答。
登记册的 JSON 形式在哪里?
围绕标准的各项内容。
参与标准工作。
邀请政府、监管机构、标准机构、行业、学术界和社区在首个正式版本(目标为 2030 年)发布前共同完善该目录:对草案提出意见、提出变更建议、加入工作组或承办实地演练。
状态与用途。Nexus Standards 是根据 NS-13 通过公开流程制定、供自愿使用而发布的提议标准;它们不构成认证、认可或监管批准,采用与否仍由全球标准委员会以及各国的国家标准委员会决定。UNI(唯一 Nexus 标识符)用于识别制品,不对其进行认证。标准机构及其标准的名称归其管理者所有,仅用于识别相关文件;此处不转载任何外部标准的文本。Nexus Standards 与此处提及的任何标准机构均无隶属关系,也未获其认可或认证。
许可:标准文本、登记册、模式和数据采用 CC BY 4.0;参考代码采用 Apache-2.0。外部标准按名称、编号和链接引用,并适用其各自许可。第三方数据、库和字体保留其各自许可:见第三方声明。