Skip to content
openricPublic

About

The OpenRiC specification: Records in Contexts (RiC-CM, RiC-O) described, served over HTTP and checked. Published at openric.org.

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

321 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenRiC Specification

Records in Contexts, served over HTTP: implementation-neutral, IIIF-inspired.

An open specification for how archival descriptions map to RiC-CM / RiC-O, how that data is served over HTTP for both reading and writing, and how graph-based interfaces can render it consistently across any conformant server. Not a product - a contract anyone can implement.

🌐 openric.org · 📖 Read the spec · 🧪 Try the API · ✅ Conformance probe


Current version

v0.59.5 - 2026-11-23. The canonical value lives in version.json; the site renders every version badge from it, and CI fails the build if this line drifts from it.

Twelve profiles: seven normative (Core Discovery, Authority & Context, Graph Traversal, Digital Object Linkage, Round-Trip Editing, Provenance & Event, Export-Only) and five draft (SPARQL Access, Governance, Portability, Inferred-Provenance, Graph-Grounding). See CHANGELOG.md.

Earlier, v0.37.0 (2026-04-25). RiC-O 1.1 namespace remediation complete (all 5 phases A→E applied; zero genuine emit-context violations of unsupported rico:* terms remained, as far as that audit could tell; the v0.50.0 review later found literal values on RiC-O object properties, fixed in v0.50.0 - see audit/ric-o-1.1-audit.md). All 7 profiles normative: Core Discovery, Authority & Context, Graph Traversal, Digital Object Linkage, Round-Trip Editing, Provenance & Event, Export-Only. New 8th profile sparql-access (Draft) for optional SPARQL 1.1 query access. New publication-layer infrastructure: openricx extension ontology at /ns/ext/v1.html, SKOS vocabularies at /vocab/, semantic URI policy + content-negotiation policy in viewing-api §3.1/§3.2, Related Implementations page (Garance, ICA-EGAD, Heratio). See CHANGELOG.md for the full v0.37.0 entry.

The OpenRiC ecosystem

Repository Role Licence
openric/spec (you are here) The specification, schemas, shapes, fixtures, conformance probe, API explorer CC-BY 4.0 (spec) / AGPL-3.0 (tools)
openric/workspace OpenRiC Workspace, an archival management application on RiC that implements the profiles; demonstration at workspace.openric.org. In development AGPL-3.0
openric/service Reference implementation, a Laravel service. Carries its own version line (currently v0.17.27), deliberately independent of the spec version; see the drift log for where it lags AGPL-3.0
openric/viewer @openric/viewer on npm: a 2D and 3D graph rendering library AGPL-3.0
openric/capture Pure-browser data-entry client; talks to any conformant server AGPL-3.0

The reference implementation is live at ric.theahg.co.za, with ~40 endpoints across read, write, graph walk, OAI-PMH, and file upload. It runs on the database of Heratio, the maintainers' archival platform. Heratio can read from the public API, but it still writes through its own copy of the RiC routes on that shared database, so it is not independent evidence that the API alone is enough for production.


Repository layout

.
├── index.md                 - site landing page (rendered at openric.org/)
├── architecture.md          - how the four public deployments fit together
├── for-institutions.md      - executive / institutional brief
├── governance.md            - stewardship, change process, compatibility
├── spec/                    - the base documents (seven, listed at /spec/) and profiles
│   ├── mapping.md           - ISAD(G) / ISAAR(CPF) / ISDF / ISDIAH → RiC-CM / RiC-O
│   ├── viewing-api.md       - HTTP contract: read, write, graph, harvest
│   ├── graph-primitives.md  - node, edge, cluster, drill, layout-hint
│   └── conformance.md       - profiles, JSON Schemas, fixtures, the probe
├── schemas/                 - JSON Schema files
├── shapes/                  - SHACL shapes (openric.shacl.ttl + full-graph)
├── fixtures/                - 36 end-to-end test cases
├── conformance/             - probe.sh + README (pure bash + jq)
├── api-explorer/            - Swagger UI over any OpenRiC server
├── demo/                    - live graph demo
│   └── browse/              - row-layout catalogue over any server
├── guides/
│   ├── getting-started.md   - 15-min walkthrough, zero to embed
│   ├── api.md               - client guide: curl, Python, JS
│   ├── viewer.md            - embedding the viewer library
│   └── capture.md           - using the capture tool
├── validator/               - pyshacl-based CLI validator
└── CHANGELOG.md             - versioned change history

Quick start

# Read the spec
open https://openric.org/spec/

# Probe any OpenRiC server for conformance
git clone https://github.com/openric/spec
BASE=https://ric.theahg.co.za/api/ric/v1 bash spec/conformance/probe.sh
# → a pass, fail or skip line per check, and a verdict per profile

Conformance in one curl

curl -s https://ric.theahg.co.za/api/ric/v1/openapi.json \
  | jq '{version: .info.version, paths: (.paths | keys | length)}'
# → {"version": "0.17.27", "paths": 51} on 17 November 2026

Licence

  • Specification (spec/, schemas/, shapes/, fixtures/, all Markdown): CC-BY 4.0: adapt, fork and translate freely, with attribution.
  • Code (validator/, conformance/probe.sh, api-explorer/, demo/): AGPL-3.0-or-later; per-file headers declare this, and the separate ecosystem repos (viewer, capture, service) follow the same convention.

Contributing

Changes to the spec are proposed via GitHub Discussions first, then PR. Bug reports as issues. See governance for the full change process.

The spec is currently single-maintainer; a second-implementer invitation goes out once anyone successfully runs an independent implementation through the conformance probe.

Contact

Dr Johan Pieterse · johan@theahg.co.za · The Archive and Heritage Digital Commons Group (Pty) Ltd.

About

The OpenRiC specification: Records in Contexts (RiC-CM, RiC-O) described, served over HTTP and checked. Published at openric.org.

Resources

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages