{"$schema":"https://json-schema.org/draft/2020-12/schema","title":"TrustFrameworkPolicy","description":"Defines Trust Framework Policy under which the Verifiable Credential has been issued","type":"object","properties":{"termsOfUse":{"anyOf":[{"$ref":"#/$defs/termsOfUse"},{"type":"array","description":"One item must match the type extension","contains":{"$ref":"#/$defs/termsOfUse"}}]}},"$defs":{"termsOfUse":{"description":"Defines Trust Framework Policy under which the Verifiable Credential has been issued","type":"object","properties":{"type":{"type":"string","description":"Type of the TermsOfUse entry. It MUST be TrustFrameworkPolicy. Other types may be added in the future.","enum":["TrustFrameworkPolicy"]},"trustFramework":{"type":"string","description":"Name of the Trust Framework (TF). REQUIRED."},"policyId":{"type":"string","description":"URI or URL identifying the policy under which the Trust Framework operates or Verifiable Accreditation or Attestation has been Issued. REQUIRED.","format":"uri"},"lib":{"type":"string","description":"Legal basis for the tf, is a string as 'professional qualifications directive' or eIDAS. OPTIONAL."}},"required":["type","trustFramework","policyId"]}}}