| Status | Draft. |
| Version | 0.1.0, 2026-11-28 |
| Profile of | JWS (RFC 7515) and JWT (RFC 7519) for the envelope, JSON Schema 2020-12 for the content, OpenAPI 3.1 for any API the app exposes |
| Depends on | OCI-0 Core, OCI-1 Trust Registry. Aligns with OCI-3 KYC (§4.3, §12). |
| Used by | A country’s App Store (the catalogue of government and private services residents use with their national ID) |
| Reference implementation | packages/manifest (@oci/manifest) |
1. Purpose
A country App Store lists apps that residents sign in to with their national ID. Before a resident sees an app, the store needs to know who runs it, what data it will ask for and why, at what assurance level, and where its policies are. The resident needs the same facts in plain words.
No standard covers this (standards map, gap 1), so OCI-6 defines one document, the app manifest. It is a JSON claim set signed as a JWS by the app’s own OCI-1 entity. OCI-6 adds no new trust mechanism. The store admits an app only when OCI-1 says the signer is a registered relying party, accredited for the assurance level the app asks for, in the store’s own country.
The three questions the manifest answers:
- Who is this app? An OCI-1 entity id, a name, a publisher, support and policy URLs.
- What does it want? Data per purpose and the assurance level.
- May it be listed here? The listing rule in §5, checked by code.
Out of scope: how a resident installs or launches an app, store ranking and search, payments, and the review organisation (§7 is informative only).
2. Publication
- APP-2.1 The app’s OCI-1 entity MUST publish its manifest as a compact JWS at
<entity_id>/.well-known/oci-app-manifest, served asapplication/oci-app-manifest+jwt(OCI extension; neither name is registered, see §12). A store MAY also accept the same JWS by direct submission. Every rule in this spec applies to both routes. - APP-2.2 Each app MUST have its own OCI-1 entity id (CORE-3.1) and exactly one current manifest. A publisher with three apps runs three entities.
- APP-2.3 The store MUST fetch the manifest with the rules for OCI-1 fetching:
httpsonly, no redirects, 10 second timeout (TR-7.1, TR-7.2). - APP-2.4 The store MUST refuse a manifest larger than 256 KiB.
- APP-2.5 Every URL in a manifest that the store fetches itself (
openapi_url,icon_url, each screenshoturl) MUST behttps, MUST NOT carry credentials, and MUST NOT namelocalhostor an IP literal (TR-7.1). Stores SHOULD also block private, loopback and link-local addresses at the network layer (TR-7.3).
3. Envelope
- APP-3.1 The manifest is a JWS in compact serialization (RFC 7515 §7.1). The protected header MUST carry
typset tooci-app-manifest+jwt(RFC 7515 §4.1.9, explicit typing as in RFC 8725 §3.11, CORE-5.4),algofES256orPS256(CORE-5.1, CORE-5.2) and akid(CORE-5.3). Verifiers MUST check all three. - APP-3.2 The payload is the claim set of §4.
issMUST equalentity_id: the app signs for itself. A manifest signed by any other entity (a publisher or an agent) is invalid. - APP-3.3 Verifiers MUST take the verification keys from the signer’s OCI-1 trust chain: the
jwksthat the signer’s superior attests in its subordinate statement, or the pinned configuration when the signer is the trust anchor. Verifiers MUST NOT use keys carried in the manifest itself (jwk,jku,x5u,x5cor any claim). - APP-3.4
iatandexpare REQUIRED (CORE-6.1, CORE-6.3).exp - iatMUST NOT exceed 90 days (OCI extension; manifests change less often than OCI-1 statements, so the 7 day limit of TR-3.4 would only add re-signing work). A manifest whoseiatis later than now plus 60 seconds, or whoseexphas passed, MUST be rejected (CORE-6.2). - APP-3.5
manifest_versionis"0.1". A verifier MUST reject any other value. It MUST ignore claims it does not know (CORE-8.1: a MINOR version only adds).
4. Content
The claim set is described by the JSON Schema in §8. This table says what each claim means.
| Claim | Required | Meaning |
|---|---|---|
iss, iat, exp | yes | Registered JWT claims (RFC 7519 §4.1.1, §4.1.6, §4.1.4). |
manifest_version | yes | "0.1". |
entity_id | yes | The app’s OCI-1 entity id. |
name | yes | Name shown to residents, 1 to 80 characters. |
summary | yes | What the app does, one or two sentences, up to 280 characters. |
version | yes | The app’s release version, Semantic Versioning 2.0.0. |
publisher | yes | name, and optionally the publisher’s OCI-1 entity_id and a url. |
categories | yes | 1 to 5 values from the fixed list in the schema (OCI extension). |
countries | yes | ISO 3166-1 alpha-2 codes of the countries where the app is offered (CORE-3.2). |
loa_required | yes | The highest assurance level at which the app authenticates residents: low, substantial or high (CORE-4). |
data_requests | yes | The personal data the app asks for, per purpose (§4.2). May be empty. |
privacy_policy_url, terms_url | yes | The app’s policies. |
support | yes | email, url, or both. |
accessibility_statement_url | yes | The app’s accessibility statement. |
openapi_url | no | Where the OpenAPI 3.1 description of any API the app exposes is published. |
icon_url | yes | The app icon. |
screenshots | no | Up to 10 entries of url and alt text. |
- APP-4.1 Every claim marked required MUST be present and match the schema. Verifiers MUST reject a manifest that does not, with an error that names the failing claim.
- APP-4.2
data_requestshas one entry per purpose:purpose_id(a short identifier, unique in the manifest),purpose(the sentence a resident reads, up to 200 characters) andclaims(the claim names requested for that purpose, with no duplicates). Duplicatepurpose_idvalues MUST be rejected. A JSON Schema cannot express this, so validators check it in code. - APP-4.3 The declaration is a ceiling. An OCI-3 data request from this app MUST name a
purpose_iddeclared in its manifest and MUST NOT ask for a claim outside theclaimsdeclared for that purpose. The OCI-3 server MUST refuse any other request. Each request must also satisfy CORE-7.1: a stated purpose, and no claims outside it. - APP-4.4 An app that asks for no personal data beyond authentication declares
data_requests: []. - APP-4.5
loa_requiredis a ceiling too. The app MUST NOT start an authentication above that level (OCI-2). - APP-4.6 Each screenshot MUST have
alttext, so the listing is usable with a screen reader. - APP-4.7 When
openapi_urlis present, the document there MUST be an OpenAPI Description whoseopenapifield names a 3.1 version (OpenAPI 3.1.1 §4.8.1.1 requiresopenapito be the version number of the specification). The store checks this at review (§7). The manifest does not embed the description. - APP-4.8
privacy_policy_url,terms_urlandaccessibility_statement_urlMUST open a page a resident can read without signing in. The accessibility statement SHOULD say which version of WCAG (W3C Recommendation, version 2.2) the app is tested against (OCI extension; informative: EN 301 549 for a European-style statement). - APP-4.9 Text claims (
name,summary,purpose,publisher.name,alt) are plain text. Stores MUST render them as text and MUST NOT interpret markup in them. - APP-4.10 (OCI extension) Mapping to OCI-3 and OCI-5: the OCI-3
purposeand the OCI-5 receiptpurposefor a declared purpose MUST be<entity_id>/purposes/<purpose_id>. An IdP MAY copy the reviewed manifestpurposesentence into its own purpose policy (KYC-2.2). The consent screen still shows only policy text, never text from the request (KYC-4.2), and that text is the receipt’spurpose_description(CR-3.8).
5. The listing rule
A store belongs to one country and pins that country’s trust anchor (OCI-1). The checks are:
- APP-5.1 The store MUST resolve
entity_idthrough OCI-1 to one of its own pinned trust anchors (TR-2.2). If resolution fails, the app MUST NOT be listed. - APP-5.2 The resolved entity MUST be the manifest’s
entity_id, and the manifest’s signature MUST verify with keys from that chain (APP-3.3). - APP-5.3 The resolved entity MUST hold a valid
https://oci.world/tm/role/relying_partytrust mark (TR-4). A trust mark that OCI-1 rejects does not count (TR-4.5). - APP-5.4
loa_requiredMUST NOT exceed the entity’s assurance level as OCI-1 resolves it, which is the highest validloatrust mark lowered to any cap in the chain (TR-4.6). An entity with noloatrust mark is accredited for no level and cannot be listed. - APP-5.5 The store’s country MUST appear in
countries. The store’s country is the country of the trust anchor that resolved the chain.
Apps from a recognised foreign country pass through the same rules: the chain runs through the recognition statement (TR-6), so the cap in that statement lowers the level in APP-5.4. Government apps get no exemption.
- APP-5.6 Passing §5 is necessary, not sufficient. A store MAY refuse an app at review (§7).
6. Keeping a listing current
- APP-6.1 A listing MUST NOT be shown after the earliest of: the manifest’s
exp, the trust chain’s expiry, theexpof therelying_partytrust mark, and the latestexpamong theloatrust marks that coverloa_required. - APP-6.2 Stores SHOULD fetch the manifest again at least daily and MUST re-run §5 each time. When the manifest, or anything it rests on, stops passing, the listing is removed (§7).
- APP-6.3 A store MUST NOT replace a listing with a manifest whose
iatis earlier than the current one. This stops an old, valid manifest being replayed. - APP-6.4 When a new manifest adds a purpose or claim, or raises
loa_required, the store SHOULD send it back through review before it takes effect.
7. Review and delisting (informative)
This section describes how a store might run its side. It does not bind anyone.
Submission. The publisher gives the store the app’s entity id. The store fetches the manifest and runs §5. Failures come back as the error codes in §11, so the publisher can fix them without a ticket.
Review. A person at the store checks what code cannot:
- The privacy policy matches
data_requests, in particular each purpose. - The accessibility statement exists and is honest.
- The OpenAPI description at
openapi_urlis a valid 3.1 document and matches the API that is live. - The name, icon and screenshots do not copy another publisher or a government service.
- Each purpose is proportionate: the app asks for the least data that does the job (CORE-7.1).
Listing. On approval the store lists the app until the limit in APP-6.1.
Delisting. A store removes an app when any of these happens:
- the trust chain or a trust mark fails or expires (the trust anchor or an intermediate has withdrawn trust, OCI-1);
- the manifest expires or is not refreshed;
- a review finds the app asks for more than it declares, or its policies are false;
- a compromise or misuse signal arrives from the registrar or a regulator (OCI-7);
- residents’ complaints, confirmed on review.
A removed app disappears from search and cannot start new sign-ins. Consent receipts already issued stay valid as records (OCI-5), and the store SHOULD tell residents who used the app, in plain words, why it was removed. The publisher gets the reason in writing and a way to appeal. Re-listing starts again at submission.
8. JSON Schema
The claim set is described by this JSON Schema (draft 2020-12, https://json-schema.org/draft/2020-12/schema). The reference implementation exports the same object as MANIFEST_SCHEMA, and a test fails if this text and the code differ. The $id is a placeholder until OCI publishes anything.
Rules that a schema cannot express, enforced by code: iss equals entity_id (APP-3.2), exp is later than iat and within 90 days (APP-3.4), purpose_id is unique (APP-4.2), URL hosts are not local (APP-2.5).
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://oci.world/schemas/app-manifest-0.1.json",
"title": "OCI App Manifest claim set",
"type": "object",
"required": [
"iss",
"iat",
"exp",
"manifest_version",
"entity_id",
"name",
"summary",
"version",
"publisher",
"categories",
"countries",
"loa_required",
"data_requests",
"privacy_policy_url",
"terms_url",
"support",
"accessibility_statement_url",
"icon_url"
],
"properties": {
"iss": {
"$ref": "#/$defs/entityId"
},
"iat": {
"type": "integer",
"minimum": 0
},
"exp": {
"type": "integer",
"minimum": 0
},
"manifest_version": {
"const": "0.1"
},
"entity_id": {
"$ref": "#/$defs/entityId"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"summary": {
"type": "string",
"minLength": 1,
"maxLength": 280
},
"version": {
"type": "string",
"maxLength": 64,
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"
},
"publisher": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"entity_id": {
"$ref": "#/$defs/entityId"
},
"url": {
"$ref": "#/$defs/httpsUrl"
}
}
},
"categories": {
"type": "array",
"minItems": 1,
"maxItems": 5,
"uniqueItems": true,
"items": {
"enum": [
"identity",
"tax_and_finance",
"health",
"education",
"transport",
"social_protection",
"business",
"justice",
"utilities",
"other"
]
}
},
"countries": {
"type": "array",
"minItems": 1,
"maxItems": 300,
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "^[A-Z]{2}$"
}
},
"loa_required": {
"enum": [
"low",
"substantial",
"high"
]
},
"data_requests": {
"type": "array",
"maxItems": 32,
"items": {
"type": "object",
"required": [
"purpose_id",
"purpose",
"claims"
],
"properties": {
"purpose_id": {
"type": "string",
"pattern": "^[a-z][a-z0-9_]{0,63}$"
},
"purpose": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"claims": {
"type": "array",
"minItems": 1,
"maxItems": 32,
"uniqueItems": true,
"items": {
"type": "string",
"pattern": "^[a-z][a-z0-9_.]{0,63}$"
}
}
}
}
},
"privacy_policy_url": {
"$ref": "#/$defs/httpsUrl"
},
"terms_url": {
"$ref": "#/$defs/httpsUrl"
},
"support": {
"type": "object",
"anyOf": [
{
"required": [
"email"
]
},
{
"required": [
"url"
]
}
],
"properties": {
"email": {
"type": "string",
"maxLength": 254,
"pattern": "^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"
},
"url": {
"$ref": "#/$defs/httpsUrl"
}
}
},
"accessibility_statement_url": {
"$ref": "#/$defs/httpsUrl"
},
"openapi_url": {
"$ref": "#/$defs/httpsUrl"
},
"icon_url": {
"$ref": "#/$defs/httpsUrl"
},
"screenshots": {
"type": "array",
"maxItems": 10,
"items": {
"type": "object",
"required": [
"url",
"alt"
],
"properties": {
"url": {
"$ref": "#/$defs/httpsUrl"
},
"alt": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
}
}
},
"$defs": {
"entityId": {
"type": "string",
"maxLength": 2048,
"pattern": "^https://[^/?#@\\s]+(?:/[^?#\\s]*)?$"
},
"httpsUrl": {
"type": "string",
"maxLength": 2048,
"pattern": "^https://[^/?#@\\s]+(?:[/?#]\\S*)?$"
}
}
}
9. Worked example
The protected header:
{ "alg": "ES256", "kid": "3q7R1d0xV1Zk2m8pQ4nT6w", "typ": "oci-app-manifest+jwt" }
The payload, for a tax filing app of country XT (all names are fictional):
{
"iss": "https://taxapp.home.example",
"iat": 1794960000,
"exp": 1797552000,
"manifest_version": "0.1",
"entity_id": "https://taxapp.home.example",
"name": "Tax filing",
"summary": "File your yearly tax return and see refunds.",
"version": "2.4.1",
"publisher": {
"name": "Tax Office of Tavora",
"entity_id": "https://tax.home.example",
"url": "https://tax.home.example/about"
},
"categories": ["tax_and_finance"],
"countries": ["XT", "XC"],
"loa_required": "substantial",
"data_requests": [
{
"purpose_id": "prefill_return",
"purpose": "Fill in your name and address on your tax return.",
"claims": ["given_name", "family_name", "address"]
},
{
"purpose_id": "pay_refund",
"purpose": "Check that the refund goes to an account in your name.",
"claims": ["family_name", "birthdate"]
}
],
"privacy_policy_url": "https://taxapp.home.example/privacy",
"terms_url": "https://taxapp.home.example/terms",
"support": { "email": "help@taxapp.home.example", "url": "https://taxapp.home.example/help" },
"accessibility_statement_url": "https://taxapp.home.example/accessibility",
"openapi_url": "https://taxapp.home.example/openapi.json",
"icon_url": "https://taxapp.home.example/icon.png",
"screenshots": [
{ "url": "https://taxapp.home.example/shots/1.png", "alt": "The refund summary screen, showing the amount and the payment date." }
]
}
For the XT store this app is listed when https://taxapp.home.example resolves to the XT trust anchor, holds the relying_party trust mark and a https://oci.world/tm/loa/substantial (or higher) trust mark. It would also be listed in the XC store if XC recognises XT and the cap in that statement is substantial or higher.
10. Security and privacy considerations
- Forged listings. The signature is checked with keys from the OCI-1 chain, not from the manifest (APP-3.3). An attacker who can host a manifest still cannot list an app without a trust chain and a
relying_partymark. - SSRF. The store fetches URLs the publisher chose. APP-2.3 to APP-2.5 apply the OCI-1 fetching rules to every one of them.
- Impersonation. Names are not unique. Stores SHOULD show the publisher and the entity id on the app page, and SHOULD refuse a name that is confusingly close to another listed app or a government service.
- Injected content. All text is plain text (APP-4.9). A store that renders it as HTML turns the manifest into a way to inject script.
- Replay. The 90 day limit, APP-6.3 and the daily refresh bound how long an old manifest stays useful.
- Over-asking. The declared data is a ceiling that OCI-3 enforces (APP-4.3). It is not consent. The resident still consents to each share (OCI-5).
- Policy drift. The privacy policy page can change after review. The manifest does not pin its content (§12).
- No personal data. The manifest holds no resident data. Logs of manifest fetches hold no resident data either (CORE-7.3).
11. Conformance
The reference implementation’s tests cite these clause IDs. An implementation conforms to OCI-6 0.1 when it passes every test in packages/manifest/test tagged with an APP clause. Errors are ManifestError codes.
| Clause | A test must check | Error code |
|---|---|---|
| APP-2.4 | A manifest over 256 KiB is refused | too_large |
| APP-2.5 | A URL on localhost or an IP literal is refused | invalid_manifest |
| APP-3.1 | Wrong typ; alg outside ES256/PS256 (including none and HS256); missing kid | wrong_typ, alg_not_allowed, missing_kid |
| APP-3.2 | iss different from entity_id | entity_mismatch |
| APP-3.3 | Signature by a key the chain does not prove | bad_signature |
| APP-3.4 | Expired; iat in the future; lifetime over 90 days | expired, iat_in_future, lifetime_too_long |
| APP-3.5 | Other manifest_version rejected; unknown claims ignored | invalid_manifest |
| APP-4.1 | Each required claim removed in turn, and wrong types, are rejected with the claim named | invalid_manifest |
| APP-4.2 | Duplicate purpose_id | invalid_manifest |
| APP-4.3 | Request for an undeclared purpose or claim | undeclared_purpose, undeclared_claim |
| APP-4.5 | loa_required outside low, substantial, high | invalid_manifest |
| APP-4.6 | Screenshot without alt | invalid_manifest |
| APP-5.1 | Signer with no valid trust chain; signer outside the pinned anchor | untrusted_signer |
| APP-5.2 | A chain about another entity | entity_mismatch |
| APP-5.3 | No valid relying_party trust mark | missing_role |
| APP-5.4 | loa_required above the accredited level, no loa mark, and a lower level after a recognition cap | loa_not_accredited |
| APP-5.5 | Store country absent from countries | country_not_offered |
| APP-6.1 | listingExpiresAt is the earliest limit; an expired manifest is not eligible | expired |
| §8 | The schema in this text equals MANIFEST_SCHEMA; the worked example validates | n/a |
APP-2.1, APP-2.2, APP-2.3, APP-4.7, APP-4.8, APP-4.9, APP-4.10, APP-5.6 and APP-6.2 to APP-6.4 concern the store’s fetching, rendering and review behaviour. The library has no network or UI, so a conformance harness checks them against a running store.
12. Open questions
- Registrations. The
.well-knownnameoci-app-manifestand the media typeapplication/oci-app-manifest+jwtare not registered with IANA. Register them, or place the manifest URL in the entity configuration instead. - Claim names. The schema allows
.indata_requests.claimsnames, but OCI-5 (CR-3.4) and OCI-3 (no nested claims) do not. A manifest may declare a claim no request can use. Drop.from the schema in a later version (the schema text is locked toMANIFEST_SCHEMA). - Purpose URIs. APP-4.10 is not yet checked by
checkDataRequest, which takes the barepurpose_id. - Pinning policies and API description. The manifest carries URLs, not digests, so the privacy policy and the OpenAPI description can change after review. Add a content digest per URL?
- Categories. The list of categories is a first guess. Who governs it, and may a country add its own?
- Languages.
name,summaryandpurposeare single strings. Residents need them in the country’s languages. Add language-tagged maps? - Per-purpose assurance.
loa_requiredapplies to the whole app. A purpose that needshighwhile the rest needslowcannot be expressed. - Native apps. A phone app has a bundle id or package name and a signing certificate. Should the manifest bind them to the entity, so a copy cannot claim the entity’s listing?
- Retention. Should each purpose also state how long the app keeps the data? ISO/IEC TS 27560 has a field for it.
- Accreditation scope. An entity with a
loatrust mark is accredited for all its purposes. Should accreditation be per category?
Changes
| Version | Date | What changed |
|---|---|---|
| 0.1.0 | 2026-11-28 | First versioned release: the text of Draft 0.1 (2026-11-18). |