MIP conformance is a layered claim. Schema fixtures test document behavior; normative, API, implementation-class, and protocol-target evidence establish the rest.
Implementation Guides
Flow Orchestration
Implementation
No single green command proves that an entire identity implementation works. Conformance evidence always has a scope. The useful first question is: which claim are you trying to substantiate - schema compatibility, a partial entity implementation, an issuer or verifier implementation class, or a protocol-specific runtime?
MIP makes several of those claims testable, but they are not interchangeable. JSON Schema fixtures can show that two implementations accept and reject the same document shapes. They cannot, by themselves, prove that an API enforces current policy, a verifier performs the full trust evaluation algorithm, or a wallet obtains consent before presenting a credential.
The goal is therefore not a ceremonial pass badge. It is a chain of evidence that is precise enough for another implementer to reproduce and narrow enough that it does not imply more than the tests establish.
MIP 0.3.1 defines full implementation conformance, partial conformance, four implementation classes, and five protocol conformance targets. Full implementation conformance covers the five core primitives, the required API surface, at least one credential format, normative validation rules, and the published fixtures. Partial conformance lets an implementation identify the entities it supports and pass the fixtures that apply to that scope.
The implementation classes add behavioral obligations for issuers, verifiers, wallets, and registries. The protocol targets add focused requirements for DTC, MRZ, Open Badges, OID4VC, and Presentation Exchange. A fixture result is evidence inside one of these claims; it is not a substitute for declaring the class, target, protocol version, supported formats, and exclusions.
The protocol repository contains valid fixtures that are expected to satisfy their inferred Draft 2020-12 JSON Schemas and invalid fixtures that are expected to fail. The Python tests resolve local schema and enum references, validate each fixture, and compare invalid results with the JSON Pointer recorded in an expected-result sidecar when one is present.
PolicySet fixtures receive an additional Cedar syntax and schema check when the optional Cedar validator is installed. Generated Python, Rust, and TypeScript bindings are checked separately for drift from the schemas. The shell runner offers an alternate fixture pass using AJV or check-jsonschema.
Those details matter when preserving evidence. Expected-result sidecars include diagnostic metadata, but not every runner asserts every sidecar field in the same way. A useful test report records the runner, commit, assertions, skips, warnings, and raw output instead of treating the presence of a sidecar as proof of stable runtime error semantics.
Schema validation proves document structure, including many conditional constraints. It does not prove that referenced objects exist, belong to the same organization, are active at decision time, or are authorized for a particular operation. A Deployment Profile can carry structurally valid policy identifiers while runtime reference resolution remains a separate responsibility.
The fixture suite also does not exercise a deployed issuer, verifier, wallet, or registry through its network surface. Endpoint metadata, nonce behavior, holder binding, consent, status checking, trust evaluation, audit events, and failure handling require contract or integration tests against a running implementation. MIP points protocol-target claims to integration suites for that reason.
This boundary is healthy. Small deterministic fixtures make schema disagreements easy to isolate. Runtime suites can then focus on state, sequencing, cryptography, and protocol behavior without pretending that one test layer covers the other.
The current invalid fixtures cover concrete rules such as a disallowed Trust Profile algorithm, an invalid credential type, an empty Deployment Profile policy list, missing key identifiers, missing custom-flow extensions, missing physical-delivery destinations, and a conflicting Presentation Policy fallback. Each case is intentionally small so the rejected rule is visible.
That is the right contribution pattern for new ambiguity: add the smallest valid or invalid document that exposes the disagreement, record the expected diagnostic location, and clarify the normative text if two reasonable implementations could still disagree. Broad scenarios belong in integration tests; minimal protocol invariants belong in fixtures and contract tests.
For the repository evidence layer, use the Python suite and generated-binding check that CI runs. Preserve the commit identifier and complete output with the result.
uv sync
uv run pytest tests/ -v
uv run python scripts/codegen.py --checkThe standalone shell runner is useful when AJV or check-jsonschema is part of your toolchain. It is a fixture validator, not an endpoint runner.
./scripts/run-conformance.sh --verboseA defensible conformance declaration should identify the MIP version and source commit, the claimed entities or implementation class, supported credential formats, claimed protocol targets, test environment, runner versions, passing artifacts, warnings, skipped tests, and known exclusions. That record lets a reviewer understand exactly what was exercised and rerun it later.
Protocol-target evidence should come from a running system. For example, the Marty integration repository contains gateway-level OID4VCI and OID4VP tests that exercise metadata and request flows. Their OIDF-mirrored naming helps align scenarios, but a local suite should not be described as independent OIDF certification. Certification is a separate claim requiring its own authoritative evidence.
The same discipline applies to product language. Passing the protocol repository tests supports a statement about that repository and commit. It does not establish that every deployment is secure, compliant, interoperable with every ecosystem, or ready for every production environment.
Use these artifacts together to distinguish fixture validation from broader implementation evidence.
Normative requirements for full, partial, implementation-class, and protocol-target conformance.
Protocol documents expected to satisfy their mapped schemas.
Minimal rejected documents with expected diagnostic metadata.
The authoritative repository checks for tests, schema integrity, and generated bindings.
Running-system tests that complement document-level fixture validation.
Conformance work becomes valuable when an integration disagreement turns into a durable artifact. Reduce the disagreement to a fixture or contract test, state the expected outcome, and link it to the normative rule. If the rule is unclear, fix the specification instead of allowing each implementation to preserve a private interpretation.
The practical next step is simple: name the claim you want to make, run the repository evidence layer, list what it does not cover, and add the runtime tests needed for the remaining scope. That is how "works" becomes a reviewable engineering statement rather than a broad assurance.
You are on article 27 of 41 in Part V: Implementation.
MIP JSON Schemas: A Walkthrough for Implementers
MIP publishes Draft 2020-12 JSON Schemas for its core primitives and supporting entities. This walkthrough shows how to validate payloads, generate typed bindings, and keep implementation contracts aligned.
Deployment Profiles in Practice
Choose the runtime that matches your environment without rewriting the trust logic underneath it. Hosted, self-hosted, and edge deployments should differ operationally, not conceptually.
Protocol Architect - Identity Protocol Design
Daniel studies the design of identity protocols and how systems exchange verifiable claims between issuers, holders, and verifiers. His work explains the underlying mechanics of decentralized identity protocols.
Flows orchestrate the full lifecycle - run a local verifier to see the complete flow.