{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://w3id.org/moochub/4.0.0/schemas/educationalOccupationalCredential.json",
  "title": "Educational and occupational credential",
  "description": "A credential that documents an educational or occupational qualification.",
  "type": "object",
  "properties": {
    "@context": {
      "$ref": "https://w3id.org/moochub/4.0.0/schemas/context-schema.json"
    },
    "type": {
      "const": "EducationalOccupationalCredential"
    },
    "id": {
      "$ref": "https://w3id.org/moochub/4.0.0/schemas/id.json"
    },
    "name": {
      "$ref": "https://w3id.org/kim/amb/20231019/schemas/localizedString.json"
    },
    "abstract": {
      "$ref": "https://w3id.org/kim/amb/20231019/schemas/localizedString.json"
    },
    "description": {
      "$ref": "https://w3id.org/moochub/4.0.0/schemas/richText.json"
    },
    "inLanguage": {
      "$ref": "https://w3id.org/kim/amb/20231019/schemas/inLanguage.json"
    },
    "credentialCategory": {
      "$ref": "https://w3id.org/moochub/4.0.0/schemas/credentialCategory.json"
    },
    "url": {
      "$ref": "https://w3id.org/moochub/4.0.0/schemas/url.json"
    },
    "image": {
      "$ref": "https://w3id.org/moochub/4.0.0/schemas/image.json"
    },
    "hasPart": {
      "type": "array",
      "minItems": 1,
      "uniqueItems": true,
      "items": {
        "$ref": "https://w3id.org/moochub/4.0.0/schemas/credentialReference.json"
      }
    },
    "isPartOf": {
      "type": "array",
      "minItems": 1,
      "uniqueItems": true,
      "items": {
        "$ref": "https://w3id.org/moochub/4.0.0/schemas/credentialReference.json"
      }
    },
    "numberOfCredits": {
      "$ref": "https://w3id.org/moochub/4.0.0/schemas/numberOfCredits.json"
    },
    "competencyRequired": {
      "$ref": "https://w3id.org/moochub/4.0.0/schemas/competencyRequired.json"
    },
    "educationalLevel": {
      "$ref": "https://w3id.org/moochub/4.0.0/schemas/educationalLevels.json"
    },
    "educationalAlignment": {
      "$ref": "https://w3id.org/moochub/4.0.0/schemas/educationalAlignment.json"
    },
    "isAwardedBy": {
      "$ref": "https://w3id.org/moochub/4.0.0/schemas/isAwardedBy.json"
    },
    "publisher": {
      "$ref": "https://w3id.org/moochub/4.0.0/schemas/publisher.json"
    },
    "recognizedBy": {
      "type": "array",
      "minItems": 1,
      "uniqueItems": true,
      "items": {
        "$ref": "https://w3id.org/moochub/4.0.0/schemas/organization.json"
      }
    },
    "dateModified": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": ["id", "name", "type"]
}
