{
  "applicability": {
    "agent": {
      "expectation": "required",
      "profile": "platform-hosted-identity"
    },
    "platform": {
      "expectation": "required",
      "profile": "platform-hosted-identity"
    },
    "service": {
      "expectation": "unsupported"
    }
  },
  "category": "platform",
  "description": "A Platform returns distinct opaque Agent DIDs for the same Agent when provisioning identities for two unrelated Services.",
  "drafts": [
    "draft-kavian-aep-platform-hosted-identity-01",
    "draft-kavian-aep-did-web-identity-method-00"
  ],
  "expected": {
    "first_response": {
      "agent_did": "did:web:p.example:a:4Yf7p2xQd9",
      "agent_identity_id": "pai_01J0AEPPLATFORM000000000001",
      "created_at": "2026-07-06T12:00:00Z",
      "did_document_url": "https://p.example/a/4Yf7p2xQd9/did.json",
      "key_id": "did:web:p.example:a:4Yf7p2xQd9",
      "service_did": "did:web:api.service.example",
      "signing_algorithms": ["ES256"],
      "status": "active",
      "updated_at": "2026-07-06T12:00:00Z"
    },
    "invariant": "agent_did values differ and reveal no shared structure beyond the Platform-controlled did:web prefix",
    "second_response": {
      "agent_did": "did:web:p.example:a:9Lm2r8VnQ4",
      "agent_identity_id": "pai_01J0AEPPLATFORM000000000002",
      "created_at": "2026-07-06T12:01:00Z",
      "did_document_url": "https://p.example/a/9Lm2r8VnQ4/did.json",
      "key_id": "did:web:p.example:a:9Lm2r8VnQ4",
      "service_did": "did:web:billing.service.example",
      "signing_algorithms": ["ES256"],
      "status": "active",
      "updated_at": "2026-07-06T12:01:00Z"
    }
  },
  "id": "provision-response-distinct-services",
  "input": {
    "first_request": {
      "idempotency_key_header": "01J0AEPPLATFORM000000000001",
      "service_did": "did:web:api.service.example"
    },
    "second_request": {
      "idempotency_key_header": "01J0AEPPLATFORM000000000002",
      "service_did": "did:web:billing.service.example"
    }
  },
  "title": "Platform provisioning produces distinct Service-scoped Agent DIDs"
}
