{
  "$defs": {
    "PathRef": {
      "description": "Path-based cross-reference relative to .corpospec/ root.\nPattern: `^[a-z0-9_-]+(/[a-z0-9_.-]+)+$`",
      "pattern": "^[a-z0-9_-]+(/[a-z0-9_.-]+)+$",
      "type": "string"
    },
    "SkillFamily": {
      "description": "Skill family.",
      "enum": [
        "engineering",
        "product",
        "design",
        "data_and_ai",
        "security",
        "go_to_market",
        "operations",
        "finance",
        "legal",
        "people",
        "leadership",
        "other"
      ],
      "type": "string"
    }
  },
  "$id": "https://corpospec.com/schemas/v0.16.0/skill.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "One skill in the framework.",
  "properties": {
    "description": {
      "type": "string"
    },
    "entity": {
      "$ref": "#/$defs/PathRef"
    },
    "family": {
      "$ref": "#/$defs/SkillFamily"
    },
    "id": {
      "$ref": "#/$defs/PathRef"
    },
    "name": {
      "type": "string"
    },
    "training_refs": {
      "description": "PathRefs to training_module records that build this skill.",
      "items": {
        "$ref": "#/$defs/PathRef"
      },
      "type": "array"
    }
  },
  "required": [
    "id",
    "entity",
    "family",
    "name",
    "description"
  ],
  "title": "Skill",
  "type": "object",
  "x-corpospec-pillar": "people"
}