{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/runn/json-schema/runn-competency-schema.json",
  "title": "Competency",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/runn-placeholders-api-openapi.yml#/components/schemas/Competency",
  "type": "object",
  "properties": {
    "level": {
      "anyOf": [
        {
          "type": [
            "number",
            "null"
          ],
          "enum": [
            1
          ]
        },
        {
          "type": [
            "number",
            "null"
          ],
          "enum": [
            2
          ]
        },
        {
          "type": [
            "number",
            "null"
          ],
          "enum": [
            3
          ]
        },
        {
          "type": [
            "number",
            "null"
          ],
          "enum": [
            4
          ]
        }
      ]
    },
    "skillId": {
      "type": "integer"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of when the object was created."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp of when the object was last updated."
    }
  },
  "required": [
    "skillId",
    "createdAt",
    "updatedAt"
  ]
}