← Specifications

OCI-6 App Manifest

Version 0.1.0 · 2026-11-28 · Draft Changes
StatusDraft.
Version0.1.0, 2026-11-28
Profile ofJWS (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 onOCI-0 Core, OCI-1 Trust Registry. Aligns with OCI-3 KYC (§4.3, §12).
Used byA country’s App Store (the catalogue of government and private services residents use with their national ID)
Reference implementationpackages/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:

  1. Who is this app? An OCI-1 entity id, a name, a publisher, support and policy URLs.
  2. What does it want? Data per purpose and the assurance level.
  3. 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 as application/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: https only, 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 screenshot url) MUST be https, MUST NOT carry credentials, and MUST NOT name localhost or 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 typ set to oci-app-manifest+jwt (RFC 7515 §4.1.9, explicit typing as in RFC 8725 §3.11, CORE-5.4), alg of ES256 or PS256 (CORE-5.1, CORE-5.2) and a kid (CORE-5.3). Verifiers MUST check all three.
  • APP-3.2 The payload is the claim set of §4. iss MUST equal entity_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 jwks that 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, x5c or any claim).
  • APP-3.4 iat and exp are REQUIRED (CORE-6.1, CORE-6.3). exp - iat MUST 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 whose iat is later than now plus 60 seconds, or whose exp has passed, MUST be rejected (CORE-6.2).
  • APP-3.5 manifest_version is "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.

ClaimRequiredMeaning
iss, iat, expyesRegistered JWT claims (RFC 7519 §4.1.1, §4.1.6, §4.1.4).
manifest_versionyes"0.1".
entity_idyesThe app’s OCI-1 entity id.
nameyesName shown to residents, 1 to 80 characters.
summaryyesWhat the app does, one or two sentences, up to 280 characters.
versionyesThe app’s release version, Semantic Versioning 2.0.0.
publisheryesname, and optionally the publisher’s OCI-1 entity_id and a url.
categoriesyes1 to 5 values from the fixed list in the schema (OCI extension).
countriesyesISO 3166-1 alpha-2 codes of the countries where the app is offered (CORE-3.2).
loa_requiredyesThe highest assurance level at which the app authenticates residents: low, substantial or high (CORE-4).
data_requestsyesThe personal data the app asks for, per purpose (§4.2). May be empty.
privacy_policy_url, terms_urlyesThe app’s policies.
supportyesemail, url, or both.
accessibility_statement_urlyesThe app’s accessibility statement.
openapi_urlnoWhere the OpenAPI 3.1 description of any API the app exposes is published.
icon_urlyesThe app icon.
screenshotsnoUp 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_requests has one entry per purpose: purpose_id (a short identifier, unique in the manifest), purpose (the sentence a resident reads, up to 200 characters) and claims (the claim names requested for that purpose, with no duplicates). Duplicate purpose_id values 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_id declared in its manifest and MUST NOT ask for a claim outside the claims declared 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_required is a ceiling too. The app MUST NOT start an authentication above that level (OCI-2).
  • APP-4.6 Each screenshot MUST have alt text, so the listing is usable with a screen reader.
  • APP-4.7 When openapi_url is present, the document there MUST be an OpenAPI Description whose openapi field names a 3.1 version (OpenAPI 3.1.1 §4.8.1.1 requires openapi to 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_url and accessibility_statement_url MUST 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 purpose and the OCI-5 receipt purpose for a declared purpose MUST be <entity_id>/purposes/<purpose_id>. An IdP MAY copy the reviewed manifest purpose sentence 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’s purpose_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_id through 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_party trust mark (TR-4). A trust mark that OCI-1 rejects does not count (TR-4.5).
  • APP-5.4 loa_required MUST NOT exceed the entity’s assurance level as OCI-1 resolves it, which is the highest valid loa trust mark lowered to any cap in the chain (TR-4.6). An entity with no loa trust 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, the exp of the relying_party trust mark, and the latest exp among the loa trust marks that cover loa_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 iat is 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_url is 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_party mark.
  • 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.

ClauseA test must checkError code
APP-2.4A manifest over 256 KiB is refusedtoo_large
APP-2.5A URL on localhost or an IP literal is refusedinvalid_manifest
APP-3.1Wrong typ; alg outside ES256/PS256 (including none and HS256); missing kidwrong_typ, alg_not_allowed, missing_kid
APP-3.2iss different from entity_identity_mismatch
APP-3.3Signature by a key the chain does not provebad_signature
APP-3.4Expired; iat in the future; lifetime over 90 daysexpired, iat_in_future, lifetime_too_long
APP-3.5Other manifest_version rejected; unknown claims ignoredinvalid_manifest
APP-4.1Each required claim removed in turn, and wrong types, are rejected with the claim namedinvalid_manifest
APP-4.2Duplicate purpose_idinvalid_manifest
APP-4.3Request for an undeclared purpose or claimundeclared_purpose, undeclared_claim
APP-4.5loa_required outside low, substantial, highinvalid_manifest
APP-4.6Screenshot without altinvalid_manifest
APP-5.1Signer with no valid trust chain; signer outside the pinned anchoruntrusted_signer
APP-5.2A chain about another entityentity_mismatch
APP-5.3No valid relying_party trust markmissing_role
APP-5.4loa_required above the accredited level, no loa mark, and a lower level after a recognition caploa_not_accredited
APP-5.5Store country absent from countriescountry_not_offered
APP-6.1listingExpiresAt is the earliest limit; an expired manifest is not eligibleexpired
§8The schema in this text equals MANIFEST_SCHEMA; the worked example validatesn/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-known name oci-app-manifest and the media type application/oci-app-manifest+jwt are not registered with IANA. Register them, or place the manifest URL in the entity configuration instead.
  • Claim names. The schema allows . in data_requests.claims names, 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 to MANIFEST_SCHEMA).
  • Purpose URIs. APP-4.10 is not yet checked by checkDataRequest, which takes the bare purpose_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, summary and purpose are single strings. Residents need them in the country’s languages. Add language-tagged maps?
  • Per-purpose assurance. loa_required applies to the whole app. A purpose that needs high while the rest needs low cannot 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 loa trust mark is accredited for all its purposes. Should accreditation be per category?

Changes

VersionDateWhat changed
0.1.02026-11-28First versioned release: the text of Draft 0.1 (2026-11-18).