{
  "type": "object",
  "description": "A single credential requirement or prerequisite. Specifies what a candidate or enrollee must hold. Category is a broad class; subtype is the specific credential within that class. ",
  "required": [
    "category",
    "subtype",
    "mandatory"
  ],
  "properties": {
    "category": {
      "type": "string",
      "description": "Broad class of the required credential.",
      "x-jsonld-id": "cr:category",
      "enum": [
        "SKILL",
        "DEGREE",
        "EXPERIENCE",
        "LICENSE",
        "CERTIFICATION",
        "ACCREDITATION",
        "AFFILIATION",
        "KYC",
        "OTHER"
      ]
    },
    "subtype": {
      "type": "string",
      "description": "Specific credential within the category. Examples: \"AWS_SAA\", \"BTECH_CS\", \"LMV_LICENSE\", \"Aadhaar\", \"Java_SE_11\". ",
      "x-jsonld-id": "cr:subtype"
    },
    "mandatory": {
      "type": "boolean",
      "description": "Whether this requirement is mandatory. If true, failure to satisfy it blocks the transaction. If false, it is advisory / preferred. ",
      "x-jsonld-id": "cr:mandatory"
    }
  },
  "$id": "https://schema.nfh.global/CredentialRequirement/v2.1",
  "x-iri": "https://schema.nfh.global/CredentialRequirement/v2.1",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "CredentialRequirement"
}
