{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "schema:EducationalOccupationalCredential",
  "title": "EducationalOccupationalCredential",
  "description": "An educational or occupational credential. A diploma, academic degree, certification, qualification, badge, etc., that may be awarded to a person or other entity that meets the requirements defined by the credentialer.",
  "type": "object",
  "allOf": [
    {
      "description": "The most generic kind of creative work, including books, movies, photographs, software programs, etc.",
      "$ref": "schema:CreativeWork"
    }
  ],
  "properties": {
    "competencyRequired": {
      "description": "Knowledge, skill, ability or personal attribute that must be demonstrated by a person or other entity in order to do something such as earn an Educational Occupational Credential or understand a LearningResource.",
      "oneOf": [
        {
          "anyOf": [
            { "type": "string", "format": "uri" },
            { "type": "string" },
            { "$ref": "schema:DefinedTerm" }
          ]
        },
        {
          "type": "array",
          "items": {
            "anyOf": [
              { "type": "string", "format": "uri" },
              { "type": "string" },
              { "$ref": "schema:DefinedTerm" }
            ]
          }
        }
      ]
    },
    "credentialCategory": {
      "description": "The category or type of credential being described, for example \"degree”, “certificate”, “badge”, or more specific term.",
      "anyOf": [
        { "type": "string", "format": "uri" },
        { "type": "string" },
        { "$ref": "schema:DefinedTerm" }
      ]
    },
    "educationalLevel": {
      "description": "The level in terms of progression through an educational or training context. Examples of educational levels include 'beginner', 'intermediate' or 'advanced', and formal sets of level indicators.",
      "anyOf": [
        { "type": "string", "format": "uri" },
        { "type": "string" },
        { "$ref": "schema:DefinedTerm" }
      ]
    },
    "recognizedBy": {
      "description": "An organization that acknowledges the validity, value or utility of a credential. Note: recognition may include a process of quality assurance or accreditation.",
      "oneOf": [
        { "$ref": "schema:Organization" },
        { "type": "array", "items": { "$ref": "schema:Organization" } }
      ]
    },
    "validFor": {
      "description": "The duration of validity of a permit or similar thing.",
      "type": "string",
      "$comment": "https://schema.org/Duration"
    },
    "validIn": {
      "description": "The geographic area where the item is valid. Applies for example to a [[Permit]], a [[Certification]], or an [[EducationalOccupationalCredential]]. ",
      "$ref": "schema:AdministrativeArea"
    }
  }
}
