The authenticated party-agent consent assertion was recorded.
application/json
{
"$ref": "#/components/schemas/ConsentArtifactRegistrationEnvelope",
"type": "object",
"additionalProperties": false,
"required": [
"data",
"requestId"
],
"properties": {
"data": {
"$ref": "#/components/schemas/ConsentArtifactRegistrationResult",
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"consentArtifactId",
"party",
"principalId",
"counterpartyId",
"transactionId",
"scope",
"rulesVersion",
"termsVersion",
"acceptedAt",
"expiresAt",
"registeredBy"
],
"properties": {
"schemaVersion": {
"type": "string",
"const": "partner-consent-artifact-v2"
},
"consentArtifactId": {
"type": "string"
},
"party": {
"type": "string",
"enum": [
"claimant",
"respondent"
]
},
"principalId": {
"type": "string"
},
"counterpartyId": {
"type": "string"
},
"transactionId": {
"type": "string"
},
"scope": {
"type": "string"
},
"rulesVersion": {
"type": "string"
},
"termsVersion": {
"type": "string"
},
"acceptedAt": {
"type": "string",
"format": "date-time"
},
"expiresAt": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"registeredBy": {
"$ref": "#/components/schemas/AuthorizationRegistrationProvenance",
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"credentialPublicId",
"role",
"requestHash",
"registeredAt"
],
"properties": {
"schemaVersion": {
"type": "string",
"const": "partner-authorization-registration-v2"
},
"credentialPublicId": {
"type": "string"
},
"role": {
"type": "string",
"enum": [
"claimant_agent",
"respondent_agent"
]
},
"requestHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"registeredAt": {
"type": "string",
"format": "date-time"
}
}
}
}
},
"requestId": {
"type": "string"
}
}
}