{
  "state": {
    "schemaVersion": "1.0",
    "agents": [
      {
        "schemaVersion": "1.0",
        "id": "wimse://qc.demo.invalid/agents/maple-quality",
        "dn": "uid=maple-agent-a,ou=Agents,o=Demo Producer A,c=CA",
        "organization": "o=Synthetic Quebec Producer,st=Quebec,c=CA",
        "operator": "uid=synthetic-operator,ou=Operators,c=CA",
        "namingAuthority": "urn:demo:naming:CA",
        "proofingAuthority": "urn:demo:proofing:CA",
        "issuer": "urn:demo:registrar:CA",
        "certificateIssuer": "urn:demo:test-ca",
        "endorsementEvidence": "urn:demo:evidence:CA:simulated-review-1",
        "verification": "simulated",
        "status": "active",
        "endpoint": "urn:demo:endpoint:CA-A",
        "permittedTools": [
          "maple.lot.grade.propose"
        ],
        "advertisedCapabilities": [
          "maple.lot.grade.propose",
          "maple.lot.grade.finalize"
        ],
        "revocationContact": "urn:demo:revocation-desk:CA"
      },
      {
        "schemaVersion": "1.0",
        "id": "wimse://vt.demo.invalid/agents/maple-quality",
        "dn": "uid=maple-agent-a,ou=Agents,o=Demo Producer A,c=CA",
        "organization": "uid=producer-b,o=Demo Producer B,c=CA",
        "operator": "uid=synthetic-operator,ou=Operators,c=CA",
        "namingAuthority": "urn:demo:naming:CA",
        "proofingAuthority": "urn:demo:proofing:CA",
        "issuer": "urn:demo:registrar:CA",
        "certificateIssuer": "urn:demo:test-ca",
        "endorsementEvidence": "urn:demo:evidence:CA:simulated-review-1",
        "verification": "simulated",
        "status": "active",
        "endpoint": "urn:demo:endpoint:CA-B",
        "permittedTools": [
          "maple.lot.grade.propose"
        ],
        "advertisedCapabilities": [
          "maple.lot.grade.propose",
          "maple.lot.grade.finalize"
        ],
        "revocationContact": "urn:demo:revocation-desk:CA"
      },
      {
        "schemaVersion": "1.0",
        "id": "wimse://us.demo.invalid/agents/finalizer",
        "dn": "uid=grade-finalizer,ou=Agents,o=Cequs,c=US",
        "organization": "o=Cequs Demo Receiver,c=US",
        "operator": "uid=synthetic-finalizer,ou=Operators,c=US",
        "namingAuthority": "urn:demo:naming:US",
        "proofingAuthority": "urn:demo:proofing:US",
        "issuer": "urn:demo:registrar:US",
        "certificateIssuer": "urn:demo:test-ca",
        "endorsementEvidence": "urn:demo:evidence:US:simulated-finalizer-review",
        "verification": "simulated",
        "status": "active",
        "endpoint": "urn:demo:endpoint:US-finalizer",
        "permittedTools": [
          "maple.lot.grade.finalize"
        ],
        "advertisedCapabilities": [
          "maple.lot.grade.finalize"
        ],
        "revocationContact": "urn:demo:revocation-desk:US"
      }
    ],
    "deployments": [
      {
        "schemaVersion": "1.0",
        "id": "deployment-0",
        "agent": "wimse://qc.demo.invalid/agents/maple-quality",
        "softwareVersion": "maple-runner/1.0",
        "modelVersion": "synthetic-rules/1.0",
        "artifactDigest": "sha256:11b0a17024e8fb60d6b1c1996b3719e9c96991acaefc00e7db8a7be0d091773d",
        "keyId": "example-public-key-hash",
        "endpoint": "urn:demo:endpoint:CA-A",
        "status": "approved"
      },
      {
        "schemaVersion": "1.0",
        "id": "deployment-1",
        "agent": "wimse://vt.demo.invalid/agents/maple-quality",
        "softwareVersion": "maple-runner/1.0",
        "modelVersion": "synthetic-rules/1.0",
        "artifactDigest": "sha256:11b0a17024e8fb60d6b1c1996b3719e9c96991acaefc00e7db8a7be0d091773d",
        "keyId": "example-public-key-hash",
        "endpoint": "urn:demo:endpoint:CA-B",
        "status": "approved"
      },
      {
        "schemaVersion": "1.0",
        "id": "deployment-2",
        "agent": "wimse://us.demo.invalid/agents/finalizer",
        "softwareVersion": "maple-runner/1.0",
        "modelVersion": "synthetic-rules/1.0",
        "artifactDigest": "sha256:11b0a17024e8fb60d6b1c1996b3719e9c96991acaefc00e7db8a7be0d091773d",
        "keyId": "example-public-key-hash",
        "endpoint": "urn:demo:endpoint:US-finalizer",
        "status": "approved"
      }
    ],
    "endpoints": [
      {
        "id": "urn:demo:endpoint:CA-A",
        "agent": "wimse://qc.demo.invalid/agents/maple-quality",
        "status": "active",
        "url": "https://127.0.0.1/agent"
      },
      {
        "id": "urn:demo:endpoint:CA-B",
        "agent": "wimse://vt.demo.invalid/agents/maple-quality",
        "status": "active",
        "url": "https://127.0.0.1/agent"
      },
      {
        "id": "urn:demo:endpoint:US-finalizer",
        "agent": "wimse://us.demo.invalid/agents/finalizer",
        "status": "active",
        "url": "https://127.0.0.1/agent"
      }
    ],
    "credentials": [
      {
        "id": "credential-0",
        "agent": "wimse://qc.demo.invalid/agents/maple-quality",
        "deployment": "deployment-0",
        "issuer": "urn:demo:test-ca",
        "fingerprint": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "keyId": "example-public-key-hash",
        "status": "active"
      },
      {
        "id": "credential-1",
        "agent": "wimse://vt.demo.invalid/agents/maple-quality",
        "deployment": "deployment-1",
        "issuer": "urn:demo:test-ca",
        "fingerprint": "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB",
        "keyId": "example-public-key-hash",
        "status": "active"
      },
      {
        "id": "credential-2",
        "agent": "wimse://us.demo.invalid/agents/finalizer",
        "deployment": "deployment-2",
        "issuer": "urn:demo:test-ca",
        "fingerprint": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
        "keyId": "example-public-key-hash",
        "status": "active"
      }
    ],
    "lots": [
      {
        "id": "lot:A-001",
        "producer": "o=Synthetic Quebec Producer,st=Quebec,c=CA"
      },
      {
        "id": "lot:A-002",
        "producer": "o=Synthetic Quebec Producer,st=Quebec,c=CA"
      },
      {
        "id": "lot:B-001",
        "producer": "uid=producer-b,o=Demo Producer B,c=CA"
      }
    ],
    "grants": [
      {
        "schemaVersion": "1.0",
        "id": "grant-g1",
        "principal": "o=Synthetic Quebec Producer,st=Quebec,c=CA",
        "agent": "wimse://qc.demo.invalid/agents/maple-quality",
        "action": "maple.lot.grade.propose",
        "resource": "lot:A-001",
        "audience": "cn=maple-receiver,ou=Services,o=Cequs,c=US",
        "issuer": "urn:demo:producer-authority:CA",
        "notBefore": "2026-09-20T16:20:38.908Z",
        "notAfter": "2026-09-20T17:21:38.908Z",
        "status": "active",
        "redelegation": "deny",
        "parent": null,
        "delegatedBy": "o=Synthetic Quebec Producer,st=Quebec,c=CA",
        "signingKeyId": "a6bcdec743aec1c6e0cdce8054161a8ff9870a84e21b94d583746d26740bb972",
        "signature": "9/AowoROdQc9iRGWiDWQy1VxpMoUMQyP7doHyYRODDxcpbUUuDREz3OxTx7gDhTaUT/C8r9NeigFumzvGPXoBw=="
      },
      {
        "schemaVersion": "1.0",
        "id": "grant-finalizer-1",
        "principal": "o=Synthetic Quebec Producer,st=Quebec,c=CA",
        "agent": "wimse://us.demo.invalid/agents/finalizer",
        "action": "maple.lot.grade.finalize",
        "resource": "lot:A-001",
        "audience": "cn=maple-receiver,ou=Services,o=Cequs,c=US",
        "issuer": "urn:demo:receiver-finalizer",
        "notBefore": "2026-09-20T16:20:38.908Z",
        "notAfter": "2026-09-20T17:21:38.908Z",
        "status": "active",
        "redelegation": "deny",
        "parent": null,
        "delegatedBy": "o=Synthetic Quebec Producer,st=Quebec,c=CA",
        "signingKeyId": "2902ee3dddb0c8b64760cb2046541b8360dda59b7146617e3dd5832e314c86cb",
        "signature": "0VT9UtN2n/BhgKuEFEugnb3Zktb+Kz7yZeZZM7CBu3uMPcV2Cv2Py0GSiq8PSU20VAoPjXox+ebNX3nZYf3iCg=="
      }
    ],
    "registrars": [
      {
        "id": "registrar-ca",
        "jurisdiction": "CA",
        "status": "active",
        "verification": "simulated",
        "checks": [
          "organization_consent",
          "operator_authority",
          "namespace_authority",
          "key_possession"
        ]
      }
    ],
    "auditRoles": [
      {
        "id": "reviewer",
        "status": "active",
        "fingerprint": "CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"
      },
      {
        "id": "operator",
        "status": "active",
        "fingerprint": "DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD"
      }
    ],
    "policy": {
      "version": "cequs-receiver/1.0",
      "revision": 1,
      "audience": "cn=maple-receiver,ou=Services,o=Cequs,c=US",
      "acceptedRegistrationIssuers": [
        "urn:demo:registrar:CA",
        "urn:demo:registrar:US"
      ],
      "acceptedCredentialIssuers": [
        "urn:demo:test-ca"
      ],
      "acceptedGrantIds": [
        "grant-g1",
        "grant-finalizer-1"
      ],
      "grantAuthorities": [
        {
          "issuer": "urn:demo:producer-authority:CA",
          "principal": "o=Synthetic Quebec Producer,st=Quebec,c=CA",
          "publicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAxU/KLAZrg0RepkgRx1CkCsJxaRmBNyne7WTgs/lG/sg=\n-----END PUBLIC KEY-----\n",
          "keyId": "a6bcdec743aec1c6e0cdce8054161a8ff9870a84e21b94d583746d26740bb972"
        },
        {
          "issuer": "urn:demo:receiver-finalizer",
          "principal": "o=Synthetic Quebec Producer,st=Quebec,c=CA",
          "publicKey": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAIdZnLPb4kVJtiyr8J8vzm/4dK3Gaz61fpFgCKGSW1Yo=\n-----END PUBLIC KEY-----\n",
          "keyId": "2902ee3dddb0c8b64760cb2046541b8360dda59b7146617e3dd5832e314c86cb"
        }
      ]
    }
  },
  "request": {
    "schemaVersion": "1.0",
    "requestId": "demo-request-1",
    "agent": "wimse://qc.demo.invalid/agents/maple-quality",
    "deployment": "deployment-0",
    "softwareVersion": "maple-runner/1.0",
    "modelVersion": "synthetic-rules/1.0",
    "artifactDigest": "sha256:11b0a17024e8fb60d6b1c1996b3719e9c96991acaefc00e7db8a7be0d091773d",
    "endpoint": "urn:demo:endpoint:CA-A",
    "principal": "o=Synthetic Quebec Producer,st=Quebec,c=CA",
    "grant": "grant-g1",
    "action": "maple.lot.grade.propose",
    "resource": "lot:A-001",
    "audience": "cn=maple-receiver,ou=Services,o=Cequs,c=US",
    "sample": "synthetic-maple-006"
  }
}
