| Status | Draft. |
| Version | 0.1.0, 2026-11-28 |
| Depends on | RFC 2119 / RFC 8174, RFC 7515 (JWS), RFC 7517 (JWK), RFC 7519 (JWT), RFC 7638 (JWK thumbprint) |
| Used by | Every other OCI spec |
1. Purpose
OCI-0 holds the rules every OCI spec shares: terms, roles, assurance levels, key and algorithm rules, time handling and versioning. Other OCI specs refer to it and do not repeat it.
2. Conventions
The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY and OPTIONAL are to be read as described in RFC 2119 and RFC 8174, and only when they appear in capitals.
Every normative clause has an ID such as CORE-3.1. Conformance tests cite these IDs.
3. Terms and roles
| Term | Meaning |
|---|---|
| Country | A sovereign jurisdiction that runs its own OCI trust anchor. |
| Trust anchor | The root entity a country’s relying parties trust. It issues statements about the entities directly beneath it. One per country (OCI-1). |
| Intermediate | A ministry, agency or state body that the trust anchor delegates to. It issues statements about the entities beneath it. |
| Registrar | The authority that holds the foundational identity register (in Meridian: the national ID authority). |
| Identity provider | Authenticates residents and releases claims (OCI-2, OCI-3). |
| Credential issuer | Issues credentials to wallets (OCI-4). |
| Wallet provider | Supplies a wallet that holds credentials. |
| Relying party | A government or private service that consumes identity or credentials. |
| Enrolment centre | Captures demographic and biometric data for the registrar. |
| Trust mark issuer | Asserts that an entity holds an OCI role or assurance level (OCI-1). |
| Resident | The person the identity belongs to. OCI uses “resident”, not “citizen”, because foundational ID usually covers every resident. |
- CORE-3.1 An entity identifier MUST be an
httpsURL with no query, fragment or user information. Identifiers are compared as exact strings. - CORE-3.2 Countries are identified by ISO 3166-1 alpha-2 codes. Test and fictional countries MUST use the user-assigned codes
XAtoXZ, exceptXK, which is widely used for Kosovo. The Meridian demo country, Tavora, isXT.
4. Assurance levels
OCI defines three levels of assurance (LoA). Each covers both how well the identity was proven and how strongly the person authenticated.
| OCI LoA | Meaning | eIDAS LoA (informative) | NIST SP 800-63 (informative) |
|---|---|---|---|
low | Self-asserted, or checked against a document without biometrics | low | IAL1 / AAL1 |
substantial | Identity checked against the register; two-factor authentication | substantial | IAL2 / AAL2 |
high | Biometric match against the register; phishing-resistant authentication bound to a device | high | IAL3 / AAL3 |
- CORE-4.1 The order is
low<substantial<high. Wherever OCI combines levels, the lower level wins. - CORE-4.2 The mapping columns are informative. A country MUST publish its own mapping before it claims eIDAS or NIST equivalence.
5. Keys and algorithms
- CORE-5.1 Every OCI signature is a JWS, except in formats that the profiled standard defines over COSE (ISO/IEC 18013-5 mdoc, CWT), where the same algorithms apply by their COSE identifiers (
ES256is-7). Implementations MUST supportES256(ECDSA P-256 with SHA-256). They MAY supportPS256for existing hardware security modules (HSMs) that cannot do ECDSA. - CORE-5.2 Verifiers MUST reject
none, every symmetric (HS*) algorithm, and every algorithm not listed in CORE-5.1. - CORE-5.3 Every JWS header MUST carry a
kid. AkidSHOULD be the RFC 7638 thumbprint of the public key. - CORE-5.4 Every JWS MUST carry an explicit
typnaming its media type, and verifiers MUST check it. This stops a token of one kind being replayed as another. - CORE-5.5 Trust anchor, intermediate and registrar private keys MUST be held in an HSM, or in a cloud key service backed by an HSM, in production.
- CORE-5.6 A new key MUST be published at least 24 hours before it is used to sign. A retired key MUST stay published until every statement it signed has expired. A compromised key is the exception: it MUST be removed at once, and every statement it signed MUST be treated as revoked.
- CORE-5.7 Implementations MUST use a maintained JOSE library and MUST NOT implement signature primitives themselves.
- CORE-5.8 Where an OCI profile encrypts a JWT, it MUST use JWE with
algECDH-ESon P-256 andencA128GCMorA256GCM. Verifiers MUST reject every other combination.
6. Time
- CORE-6.1 Times are NumericDate seconds (RFC 7519).
- CORE-6.2 Verifiers MUST allow no more than 60 seconds of clock skew.
- CORE-6.3 Every signed OCI statement MUST carry
iatandexp. A statement whoseiatis later than now plus the skew MUST be rejected. Security Event Tokens (RFC 8417, OCI-7) are the exception: they carry noexp, and OCI-7 sets a maximum age instead.
7. Privacy baseline
- CORE-7.1 Every request for personal data MUST state a purpose, and the response MUST NOT include claims outside that purpose (OCI-3, OCI-5).
- CORE-7.2 Selective disclosure is the default wherever the format supports it (OCI-4).
- CORE-7.3 Logs MUST NOT contain identity numbers, biometrics, or authentication secrets in clear text.
- CORE-7.4 Demonstrations and conformance tests MUST use synthetic data only.
8. Versioning
- CORE-8.1 Each OCI spec has a version
MAJOR.MINOR.PATCH, numbered as Semantic Versioning 2.0.0 numbers software, applied to the text. A PATCH version changes wording, examples or typos and no requirement: every numbered clause keeps its meaning. A MINOR version adds what an implementation of the previous version still satisfies, such as an optional feature or a new clause that only applies to it. A MAJOR version may break compatibility. - CORE-8.2 When an OCI spec profiles a standard that is still a draft, it MUST pin the exact draft version, and it MUST be revised when that standard is published.
- CORE-8.3 A spec at version 0.x carries no compatibility promise: a MINOR version below 1.0 may break compatibility. Version 0.1.0 is work in progress: while a spec is at 0.1.0 its text MAY change in place, without a new version, and its Changes entry for 0.1.0 says what it covers. A spec leaves 0.1.0 when its working group first releases it as stable enough to cite.
- CORE-8.4 Each spec states its version and date in its header (
Version), and ends with a Changes section that has one entry per version, newest first. From the first version after 0.1.0, changing a numbered clause takes at least a MINOR version, and any other change to the text takes at least a PATCH version. - CORE-8.5 The specs are released together as a suite with its own version.
docs/specs/suite.jsonnames the version of every spec in the suite. A suite release is taggedsuite-vX.Y.Z, and each spec version in it is tagged<spec>/vX.Y.Z(for exampleoci-2-id-auth/v0.1.0), so every version stays retrievable. While the suite is at 0.1.0 (CORE-8.3),suite-v0.1.0and the/v0.1.0tags mark the latest published text and move with it; a tag of any later version never moves. A suite’s version changes whenever a spec in it does, by at least the largest change among them. - CORE-8.6 An implementation MUST state which version of each OCI spec it implements. A conformance result names the spec versions it was run against.
- CORE-8.7 A spec’s identifier is
OCI-Nfor a core spec that the whole suite builds on, orOCI-<FAMILY>-Nfor a spec in a protocol family, whereNcounts from 1 within the family. The payments family isPAY(OCI-PAY-1 to OCI-PAY-4). The file and tag names are the identifier in lower case followed by a short name (oci-pay-2-payments-switch, taggedoci-pay-2-payments-switch/v0.2.0). An identifier is never reused, and renaming a spec after 0.1.0 takes a new version.
9. Errors
- CORE-9.1 HTTP APIs return errors as JSON
{ "error": "<code>", "error_description": "<text>" }, matching OAuth 2.0 (RFC 6749 §5.2). Descriptions MUST NOT leak personal data or internal detail.
Changes
| Version | Date | What changed |
|---|---|---|
| 0.1.0 | 2026-11-28 | First versioned release: the text of Draft 0.1 (2026-11-18), with §8 Versioning rewritten for MAJOR.MINOR.PATCH versions and suite releases; CORE-8.7 names protocol families (OCI-PAY-N). |