{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "entry": {
      "description": "One work history item.",
      "properties": {
        "employmentType": {
          "description": "The type of employment.",
          "knownValues": [
            "full_time",
            "part_time",
            "contract",
            "self_employed",
            "internship",
            "volunteer"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "industry": {
          "description": "The industry the job belongs to.",
          "knownValues": [
            "technology",
            "finance",
            "construction",
            "healthcare",
            "education",
            "retail",
            "hospitality",
            "public_sector",
            "creative"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "jobTitle": {
          "description": "The job title held in that position.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "occupation": {
          "description": "The occupation or job name of this work history item.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "occupationCodes": {
          "description": "List of the codes for the occupation of this work history item in standard classifications (for example ISCO-08).",
          "items": {
            "description": "One item of the list of the codes for the occupation of this work history item in standard classifications (for example ISCO-08).",
            "ref": "ai.newnal.mydata.defs#coding",
            "type": "ref"
          },
          "maxLength": 20,
          "type": "array"
        },
        "organization": {
          "description": "The organization worked for or belonged to.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "time": {
          "closed": true,
          "description": "The period worked in this position, or the point in time it started.",
          "refs": [
            "ai.newnal.mydata.defs#instantTime",
            "ai.newnal.mydata.defs#intervalTime"
          ],
          "type": "union"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "A summary of the current occupation and the work history.",
      "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": "A summary of the current occupation and the work history.",
      "properties": {
        "careerStage": {
          "description": "The career stage.",
          "knownValues": [
            "senior",
            "mid",
            "junior"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "occupation": {
          "description": "The current occupation or job name.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "occupationCodes": {
          "description": "List of the codes for the current occupation in standard classifications (for example ISCO-08).",
          "items": {
            "description": "One item of the list of the codes for the current occupation in standard classifications (for example ISCO-08).",
            "ref": "ai.newnal.mydata.defs#coding",
            "type": "ref"
          },
          "maxLength": 20,
          "type": "array"
        },
        "summary": {
          "description": "A short summary of the current occupation.",
          "maxGraphemes": 3000,
          "maxLength": 30000,
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "ai.newnal.mydata.capabilitiesWork",
  "lexicon": 1
}
