Party record integrity manifest envelope or canonical full bundle bytes.
application/json
{
"anyOf": [
{
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"artifactSha256": {
"type": "string"
},
"byteLength": {
"type": "integer"
},
"verification": {
"type": "object",
"properties": {
"ok": {
"const": true
},
"mode": {
"type": "string",
"enum": [
"persisted_snapshot_reuse",
"verified_at_creation"
]
},
"bundleId": {
"type": "string"
},
"bundleHash": {
"type": "string"
}
}
},
"caseId": {
"type": "string"
},
"externalCaseId": {
"type": "string"
},
"manifest": {
"$ref": "#/components/schemas/PartnerCaseRecordBundleManifest",
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"recipe",
"partnerId",
"caseId",
"externalCaseId",
"caseRevision",
"profile",
"partySide",
"sourceSnapshotHash",
"snapshotAt",
"rules",
"files",
"exclusions",
"bundleId",
"bundleHash"
],
"properties": {
"schemaVersion": {
"type": "string",
"const": "case-record-bundle-v2"
},
"recipe": {
"type": "string",
"const": "sha256-canonical-json-v2"
},
"partnerId": {
"type": "string"
},
"caseId": {
"type": "string"
},
"externalCaseId": {
"type": "string"
},
"caseRevision": {
"type": "integer",
"minimum": 1
},
"dispositionId": {
"type": "string"
},
"awardRevision": {
"type": "integer",
"minimum": 1
},
"profile": {
"type": "string",
"const": "party"
},
"partySide": {
"type": "string",
"enum": [
"claimant",
"respondent"
]
},
"sourceSnapshotHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"snapshotAt": {
"type": "string",
"format": "date-time"
},
"rules": {
"type": "object",
"additionalProperties": false,
"properties": {
"version": {
"type": "string"
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
},
"files": {
"type": "array",
"minItems": 3,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"path",
"mediaType",
"byteLength",
"sha256",
"category"
],
"properties": {
"path": {
"type": "string"
},
"mediaType": {
"type": "string"
},
"byteLength": {
"type": "integer",
"minimum": 1
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"sourceSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"sourceId": {
"type": "string"
},
"category": {
"type": "string"
}
}
}
},
"exclusions": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"code",
"detail"
],
"properties": {
"code": {
"type": "string"
},
"sourceId": {
"type": "string"
},
"detail": {
"type": "string"
}
}
}
},
"bundleId": {
"type": "string",
"pattern": "^crb2_[a-f0-9]{64}$"
},
"bundleHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
},
"attestation": {
"$ref": "#/components/schemas/PartnerCaseRecordBundleAttestation",
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"partnerId",
"caseId",
"externalCaseId",
"partySide",
"caseRevision",
"bundleId",
"bundleHash",
"rules",
"files",
"attestationDigest",
"signature"
],
"properties": {
"schemaVersion": {
"type": "string",
"const": "partner-case-record-bundle-attestation-v2"
},
"partnerId": {
"type": "string"
},
"caseId": {
"type": "string"
},
"externalCaseId": {
"type": "string"
},
"partySide": {
"type": "string",
"enum": [
"claimant",
"respondent"
]
},
"caseRevision": {
"type": "integer",
"minimum": 1
},
"bundleId": {
"type": "string",
"pattern": "^crb2_[a-f0-9]{64}$"
},
"bundleHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"rules": {
"type": "object",
"additionalProperties": false,
"properties": {
"version": {
"type": "string"
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
},
"files": {
"type": "array",
"minItems": 3,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"path",
"mediaType",
"byteLength",
"sha256"
],
"properties": {
"path": {
"type": "string"
},
"mediaType": {
"type": "string"
},
"byteLength": {
"type": "integer",
"minimum": 0
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
}
},
"attestationDigest": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"signature": {
"type": "object",
"additionalProperties": false,
"required": [
"signature",
"signerAddress",
"algorithm",
"signedAt",
"signedHash"
],
"properties": {
"signature": {
"type": "string"
},
"signerAddress": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{40}$"
},
"algorithm": {
"type": "string",
"const": "eip191"
},
"signedAt": {
"type": "string",
"format": "date-time"
},
"signedHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
}
}
}
},
"required": [
"caseId",
"externalCaseId",
"manifest",
"attestation",
"artifactSha256",
"byteLength",
"verification"
]
},
"requestId": {
"type": "string"
}
},
"required": [
"data",
"requestId"
]
},
{
"type": "object",
"properties": {
"ok": {
"const": true
},
"data": {
"type": "object",
"properties": {
"artifactSha256": {
"type": "string"
},
"byteLength": {
"type": "integer"
},
"verification": {
"type": "object",
"properties": {
"ok": {
"const": true
},
"mode": {
"type": "string",
"enum": [
"persisted_snapshot_reuse",
"verified_at_creation"
]
},
"bundleId": {
"type": "string"
},
"bundleHash": {
"type": "string"
}
}
},
"manifest": {
"$ref": "#/components/schemas/CanonicalHostedRecordBundleManifest",
"type": "object",
"properties": {
"schemaVersion": {
"const": "case-record-bundle-v1"
},
"recipe": {
"const": "sha256-canonical-json-v1"
},
"sourceGraphVersion": {
"const": "case-record-source-graph-v1"
},
"disputeId": {
"type": "string"
},
"dispositionId": {
"type": "string"
},
"caseRevision": {
"type": "integer"
},
"awardRevision": {
"type": "integer"
},
"profile": {
"type": "string",
"enum": [
"party",
"reviewer",
"court"
]
},
"partySide": {
"type": "string",
"enum": [
"claimant",
"respondent"
]
},
"sourceSnapshotHash": {
"type": "string"
},
"rules": {
"type": "object",
"properties": {
"version": {
"type": "string"
},
"sha256": {
"type": "string"
}
}
},
"snapshotAt": {
"type": "string"
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"mediaType": {
"type": "string"
},
"byteLength": {
"type": "integer"
},
"sha256": {
"type": "string"
},
"sourceSha256": {
"type": "string"
},
"sourceId": {
"type": "string"
},
"category": {
"type": "string"
}
}
}
},
"exclusions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"sourceId": {
"type": "string"
},
"detail": {
"type": "string"
}
}
}
},
"bundleId": {
"type": "string"
},
"bundleHash": {
"type": "string"
}
}
}
},
"required": [
"manifest",
"artifactSha256",
"byteLength",
"verification"
]
}
},
"required": [
"ok",
"data"
]
}
]
}application/vnd.peoples-court.case-record-bundle-v2+json
{
"type": "string",
"format": "binary"
}application/vnd.peoplescourt.case-record+json
{
"type": "string",
"format": "binary"
}