{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object", "additionalProperties": false,
  "required": ["schemaVersion", "recordType", "candidateId", "subjectOrganizationId", "partnerOrganizationId", "chains", "consentMode", "portableCommitmentClasses", "unlinkabilityTestResultsSha256", "crossChainValueFlow"],
  "properties": {
    "schemaVersion": {"const": "1.0.0"},
    "recordType": {"const": "chain-specific-trust-portability"},
    "candidateId": {"type": "string", "pattern": "^sha256:[0-9a-f]{64}$"},
    "subjectOrganizationId": {"type": "string", "pattern": "^organization:[0-9a-f]{64}$"},
    "partnerOrganizationId": {"type": "string", "pattern": "^organization:[0-9a-f]{64}$"},
    "chains": {"const": ["base"]},
    "consentMode": {"const": "explicit"},
    "portableCommitmentClasses": {"type": "array", "minItems": 1, "uniqueItems": true, "items": {"enum": ["consent-receipt", "purpose-bound-commitment", "revocation-reference"]}},
    "unlinkabilityTestResultsSha256": {"type": "string", "pattern": "^[0-9a-f]{64}$"},
    "crossChainValueFlow": {"const": false}
  }
}
