EN
Sign in Publish
contextetech /

JSON schema: extract a resume

v1
Target model : General (any model) English License: MIT Published on updated 1 hour ago 0 uses

JSON Schema to extract a resume with an LLM: experience, skills, education and certifications. Leaves out age, photo and other protected data.

Extract the resume data. Invent nothing: if information is missing, leave the field empty. Never infer age, race, religion, national origin, marital status, pregnancy or disability: these are protected characteristics under U.S. equal employment law.

JSON Schema

{
  "type": "object",
  "required": [
    "name",
    "experience",
    "skills"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "skills": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "headline": {
      "type": "string",
      "description": "Current or target job title"
    },
    "education": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "year": {
            "type": "string"
          },
          "degree": {
            "type": "string"
          },
          "school": {
            "type": "string"
          }
        }
      }
    },
    "experience": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "title",
          "company"
        ],
        "properties": {
          "end": {
            "type": "string"
          },
          "start": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "company": {
            "type": "string"
          }
        }
      }
    },
    "certifications": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "years_of_experience": {
      "type": "number"
    }
  }
}

Community

No comments yet. Share your feedback, it will help the next person.