{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"Attestation Policy","description":"Defines the Attestation Policy under which the Verifiable Credential has been issued","type":"object","properties":{"termsOfUse":{"anyOf":[{"$ref":"#/$defs/attestationPolicy"},{"type":"array","description":"One item must match the type extension","contains":{"$ref":"#/$defs/attestationPolicy"}}]}},"$defs":{"attestationPolicy":{"description":"Defines the Attestation Policy under which the Verifiable Credential has been issued","type":"object","properties":{"type":{"type":"string","description":"Type of the termsOfUse entry. It MUST be AttestationPolicy","enum":["AttestationPolicy"]},"parentAccreditation":{"type":"string","description":"URL to access the parent entity in the trust chain supporting the attestation","format":"uri"},"rootAuthorisation":{"type":"string","description":"URL to access the root entity in the trust chain supporting the attestation","format":"uri"}},"required":["type","parentAccreditation","rootAuthorisation"]}}}