Authorized operation result.
application/json
{
"$ref": "#/components/schemas/CanonicalGetAwardJsonAttestationCanonicalResponse",
"type": "object",
"required": [
"data",
"requestId"
],
"properties": {
"data": {
"type": "object",
"properties": {
"caseId": {
"type": "string"
},
"artifactId": {
"type": "string"
},
"attestation": {
"$ref": "#/components/schemas/PartnerAwardArtifactAttestation",
"type": "object",
"additionalProperties": false,
"required": [
"schemaVersion",
"case",
"artifact",
"source",
"attestationDigest",
"signature"
],
"properties": {
"schemaVersion": {
"type": "string",
"const": "partner-award-artifact-attestation-v2"
},
"case": {
"type": "object",
"additionalProperties": false,
"required": [
"caseId",
"externalCaseId"
],
"properties": {
"caseId": {
"type": "string"
},
"externalCaseId": {
"type": "string"
}
}
},
"artifact": {
"type": "object",
"additionalProperties": false,
"required": [
"artifactId",
"schemaVersion",
"mediaType",
"byteLength",
"sha256"
],
"properties": {
"artifactId": {
"type": "string",
"pattern": "^pav2_"
},
"schemaVersion": {
"type": "string",
"const": "award-decision-v2"
},
"mediaType": {
"type": "string",
"const": "application/json"
},
"byteLength": {
"type": "integer",
"minimum": 1
},
"sha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}
},
"source": {
"type": "object",
"additionalProperties": false,
"required": [
"awardHash",
"dispositionId",
"awardRevision",
"artifactSha256",
"artifacts"
],
"properties": {
"awardHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"dispositionId": {
"type": "string"
},
"awardRevision": {
"type": "integer",
"minimum": 1
},
"artifactSha256": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
},
"artifacts": {
"type": "array",
"description": "Exactly one descriptor for each frozen source kind: pdf, docx, and json.",
"minItems": 3,
"maxItems": 3,
"items": {
"type": "object",
"additionalProperties": false,
"required": [
"artifactId",
"kind",
"mediaType",
"byteLength",
"sha256"
],
"properties": {
"artifactId": {
"type": "string"
},
"kind": {
"type": "string",
"enum": [
"pdf",
"docx",
"json"
]
},
"mediaType": {
"type": "string"
},
"byteLength": {
"type": "integer",
"minimum": 1
},
"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",
"artifactId",
"attestation"
]
},
"requestId": {
"type": "string"
}
},
"x-code-source": "lib/api/award-attestation-representation.ts"
}