Authenticated integration identity and public credential metadata.
application/json
{
"$ref": "#/components/schemas/PartnerIntegrationIdentityEnvelope",
"type": "object",
"additionalProperties": false,
"required": [
"data",
"requestId"
],
"properties": {
"data": {
"$ref": "#/components/schemas/PartnerIntegrationIdentity",
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"tenant",
"integration",
"credential"
],
"properties": {
"schemaVersion": {
"type": "string",
"const": "partner-integration-v2"
},
"tenant": {
"type": "object",
"additionalProperties": false,
"required": [
"id",
"slug",
"name",
"environment",
"status"
],
"properties": {
"id": {
"type": "string"
},
"slug": {
"type": "string"
},
"name": {
"type": "string"
},
"environment": {
"type": "string",
"enum": [
"test",
"live"
]
},
"status": {
"type": "string",
"enum": [
"active",
"suspended"
]
}
}
},
"integration": {
"type": "object",
"additionalProperties": false,
"required": [
"role",
"capabilities",
"resourceBinding"
],
"properties": {
"role": {
"type": "string",
"enum": [
"platform_orchestrator",
"claimant_agent",
"respondent_agent",
"evidence_exporter",
"settlement_adapter",
"read_only_observer"
]
},
"capabilities": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"cases:prepare",
"cases:read",
"cases:respondent_handoff:read",
"callbacks:manage",
"settlement:bindings:manage",
"messages:write",
"evidence:challenges:read",
"evidence:challenges:write",
"party:claimant:act",
"party:respondent:act",
"party:claimant:terminate",
"party:respondent:terminate",
"evidence_exports:notify",
"evidence_exports:receipts:read",
"settlement:execute"
]
}
},
"resourceBinding": {
"oneOf": [
{},
{}
]
}
}
},
"credential": {
"type": "object",
"additionalProperties": false,
"required": [
"publicId",
"prefix",
"createdAt",
"expiresAt"
],
"properties": {
"publicId": {
"type": "string"
},
"prefix": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
}
}
}
}
},
"requestId": {
"type": "string"
}
}
}