{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "entry": {
      "description": "One education history item.",
      "properties": {
        "codes": {
          "description": "List of the codes for this education in standard classifications (for example the ISCED level or field).",
          "items": {
            "description": "One item of the list of the codes for this education in standard classifications (for example the ISCED level or field).",
            "ref": "ai.newnal.mydata.defs#coding",
            "type": "ref"
          },
          "maxLength": 20,
          "type": "array"
        },
        "completionStatus": {
          "description": "The completion status of the course of study.",
          "knownValues": [
            "completed",
            "in_progress",
            "withdrawn",
            "paused",
            "planned"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "educationLevel": {
          "description": "The degree or education level of this education history item.",
          "knownValues": [
            "bachelor",
            "master",
            "high_school",
            "associate",
            "doctorate",
            "certificate",
            "bootcamp",
            "self_study"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "evidence": {
          "description": "List of the AT-URIs of the archive records that are evidence for this education (capabilities.certificationRecords).",
          "items": {
            "description": "One item of the list of the AT-URIs of the archive records that are evidence for this education (capabilities.certificationRecords).",
            "format": "at-uri",
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "fieldOfStudy": {
          "description": "The field of study of this education.",
          "knownValues": [
            "computer_science",
            "environmental_science",
            "business",
            "design",
            "nursing",
            "education"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "institution": {
          "description": "The school or institution that provided the education.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "time": {
          "closed": true,
          "description": "The period of the course of study, or the point in time it was completed.",
          "refs": [
            "ai.newnal.mydata.defs#instantTime",
            "ai.newnal.mydata.defs#intervalTime"
          ],
          "type": "union"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "An education summary and the structured education history. The summary (highestLevel, mainField) and the history (items) coexist as different expressions of the same facts; that does not mean they should be written to disagree, and judging an actual mismatch belongs to data quality management. Education history without evidence is kept here too. Evidence and original documents such as graduation, degree and grade certificates are kept in capabilities.certificationRecords, and the same fact being in this structured information and in that evidence record is not duplication.",
      "key": "any",
      "record": {
        "properties": {
          "_meta": {
            "ref": "ai.newnal.mydata.defs#recordMeta",
            "type": "ref"
          },
          "data": {
            "closed": true,
            "refs": [
              "#section",
              "#entry"
            ],
            "type": "union"
          }
        },
        "required": [
          "data",
          "_meta"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "section": {
      "description": "An education summary and the structured education history. The summary (highestLevel, mainField) and the history (items) coexist as different expressions of the same facts; that does not mean they should be written to disagree, and judging an actual mismatch belongs to data quality management. Education history without evidence is kept here too. Evidence and original documents such as graduation, degree and grade certificates are kept in capabilities.certificationRecords, and the same fact being in this structured information and in that evidence record is not duplication.",
      "properties": {
        "highestLevel": {
          "description": "A summary of the highest level of education as of now. The user may enter it directly or update it from external information; it is not derived automatically from the education history items or forced to stay in sync with them.",
          "knownValues": [
            "bachelor",
            "master",
            "high_school",
            "associate",
            "doctorate",
            "certificate",
            "self_study"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "mainField": {
          "description": "The representative major or main field of study. It may be the field the user picked as representative among several majors and degrees, and need not be the major of the highest degree.",
          "knownValues": [
            "computer_science",
            "environmental_science",
            "business",
            "design",
            "nursing",
            "education"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "ai.newnal.mydata.capabilitiesEducation",
  "lexicon": 1
}
