Carries the third-generation-interop pattern shipped at
jouleclaw/vocab/v1 across every TX Science open standard. Every
sister standard now has a stable IRI for every wire field of
every major data type, plus a Turtle ontology covering classes,
enumerations, and properties.
What ships, per standard:
arl/vocab/ Claim, Session, Evaluation, Attestation;
the four axes (Validation Depth 1–9,
Convergence A–E, EnergyProfile, S0–S4);
ARL-S isolation tiers 0–3.
openpay/vocab/ Money, Currency, PaymentMethod, Receipt,
Refund, Dispute; the five rails (FedNow / PIX
/ SEPA Instant / USDC / USDT); the four card
schemes; the seven lifecycle states.
smart-byte/vocab/ Byte, Envelope, Issuer, Holder, KERI AID,
LockstepEvent; the cargo-class taxonomy
(Value / Coding / Identity / Telemetry /
Custom) and the shared HwShunt / ModelBased /
Estimator energy-provenance enum.
eoc/vocab/ Query, Resolution, EOC Receipt, the four
cascade stages (Cache / KeyValue / Graph /
Neural), CarbonRecord, VendorAPI binding.
wai/vocab/ Manifest, Capability, Codec; the two paths
(NeuralPath shared-prior + ZerothPath
registered codec menu); the six modalities;
the nine codecs in the v1 menu.
joule-code/vocab/ README.md complements the LEXICON.md / v1.jsonld
/ v1.ttl already shipped in b838b86.
Every JSON-LD `@context` pairs with a Turtle ontology. Every
ontology subclasses W3C PROV-O where the alignment is exact
(prov:Activity for sessions / resolutions / lockstep events,
prov:Entity for source trees, prov:Agent for issuers / agents).
Pattern is identical to jouleclaw/vocab/v1 so a downstream
consumer that already loads one vocabulary picks up the others
with no new code: same namespace shape, same JSON-LD context
binding, same Turtle conventions.
Standards documents stay unchanged on the wire: vocabularies are
optional additions, not modifications. A receipt or claim that
doesn't carry `@context` deserialises exactly as before; one that
does gains typed RDF semantics for free.
Licences match each standard's spec text — CC-BY-4.0 for ARL,
Smart Byte, EOC, joule-code; Apache-2.0 for OpenPay, WAI.
Deploy follow-up: extending the Caddyfile @-blocks of arl /
openpay / byte / eoc / wai / joulecode sites to serve `.jsonld`
files as `application/ld+json` is a separate small change. Until
then the vocab is reachable via the GitHub raw URL.
49 lines
1.9 KiB
Text
49 lines
1.9 KiB
Text
{
|
|
"@context": {
|
|
"@version": 1.1,
|
|
"wai": "https://wai.transaction.science/vocab/v1#",
|
|
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
|
"prov": "http://www.w3.org/ns/prov#",
|
|
|
|
"Manifest": "wai:Manifest",
|
|
"Capability": "wai:Capability",
|
|
"Codec": "wai:Codec",
|
|
"Path": "wai:Path",
|
|
"NeuralPrior": "wai:NeuralPrior",
|
|
"Stream": "wai:Stream",
|
|
"Envelope": "wai:Envelope",
|
|
|
|
"modality": { "@id": "wai:modality", "@type": "@vocab" },
|
|
"codec": { "@id": "wai:codec", "@type": "@id" },
|
|
"path": { "@id": "wai:path", "@type": "@vocab" },
|
|
"capabilities_required": { "@id": "wai:capabilitiesRequired", "@container": "@list" },
|
|
"shared_prior_uri": { "@id": "wai:sharedPriorUri", "@type": "@id" },
|
|
"shared_prior_hash": { "@id": "wai:sharedPriorHash", "@type": "xsd:string" },
|
|
"content_hash": { "@id": "wai:contentHash", "@type": "xsd:string" },
|
|
"size": { "@id": "wai:size", "@type": "xsd:nonNegativeInteger" },
|
|
"media_type": { "@id": "wai:mediaType", "@type": "xsd:string" },
|
|
"encoded_at": { "@id": "wai:encodedAt", "@type": "xsd:dateTime" },
|
|
"decoded_at": { "@id": "wai:decodedAt", "@type": "xsd:dateTime" },
|
|
"schema_id": { "@id": "wai:schemaId", "@type": "xsd:string" },
|
|
|
|
"Image": "wai:Image",
|
|
"Audio": "wai:Audio",
|
|
"Video": "wai:Video",
|
|
"Volume": "wai:Volume",
|
|
"Mesh": "wai:Mesh",
|
|
"Compressed": "wai:Compressed",
|
|
|
|
"Neural": "wai:NeuralPath",
|
|
"Zeroth": "wai:ZerothPath",
|
|
|
|
"PNG": "wai:PNG",
|
|
"JPEG": "wai:JPEG",
|
|
"AVIF": "wai:AVIF",
|
|
"JXL": "wai:JPEGXL",
|
|
"FLAC": "wai:FLAC",
|
|
"Opus": "wai:Opus",
|
|
"AV1": "wai:AV1",
|
|
"zstd": "wai:zstd",
|
|
"XZ": "wai:XZ"
|
|
}
|
|
}
|