Reply committed.
application/json
{
"$ref": "#/components/schemas/CanonicalPostAccountCaseMessageResponse",
"type": "object",
"properties": {
"data": {
"anyOf": [
{
"$ref": "#/components/schemas/CanonicalHostedThreadResult",
"type": "object",
"properties": {
"thread": {
"$ref": "#/components/schemas/CanonicalHostedThread",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"category": {
"type": "string"
},
"visibility": {
"type": "string"
},
"status": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"closedAt": {
"type": "string"
},
"canReply": {
"type": "boolean"
},
"proceduralRequest": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"kind": {
"type": "string"
},
"requestedRelief": {
"type": "string"
},
"status": {
"type": "string"
},
"responseDueAt": {
"type": "string"
},
"canRule": {
"type": "boolean"
}
}
},
"messages": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CanonicalHostedMessage"
}
}
},
"required": [
"id",
"category",
"visibility",
"status",
"createdAt",
"updatedAt",
"canReply",
"messages"
]
}
},
"required": [
"thread"
]
},
{
"$ref": "#/components/schemas/PartnerProceduralMessage",
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"id",
"caseId",
"partnerId",
"senderKind",
"senderCredentialPublicId",
"category",
"text",
"evidenceIds",
"messageDigest",
"recordEffect",
"createdAt"
],
"properties": {
"schemaVersion": {
"type": "string",
"const": "partner-procedural-message-v2"
},
"id": {
"type": "string"
},
"caseId": {
"type": "string"
},
"partnerId": {
"type": "string"
},
"senderKind": {
"type": "string",
"enum": [
"party",
"platform"
]
},
"senderSide": {
"type": "string",
"enum": [
"claimant",
"respondent"
]
},
"senderCredentialPublicId": {
"type": "string",
"description": "Public credential identity; the internal persistence identifier is never returned."
},
"category": {
"type": "string",
"enum": [
"clarification_request",
"clarification_response",
"evidence_request",
"procedural_notice",
"settlement_coordination"
]
},
"text": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"replyToMessageId": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"evidenceIds": {
"type": "array",
"maxItems": 8,
"uniqueItems": true,
"items": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"messageDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"recordEffect": {
"type": "string",
"const": "none"
},
"createdAt": {
"type": "string",
"format": "date-time"
}
}
}
]
},
"requestId": {
"type": "string"
}
},
"required": [
"data",
"requestId"
],
"x-code-source": "lib/proceeding/messages.ts"
}