{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commareports-com/json-schema/commareports-com-skill-create-github-schema.json",
  "title": "SkillCreateGithub",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/commareports-com-skills-api-openapi.yml#/components/schemas/SkillCreateGithub",
  "type": "object",
  "properties": {
    "source_kind": {
      "type": "string",
      "enum": [
        "github"
      ]
    },
    "source_ref": {
      "type": "string",
      "maxLength": 1000,
      "description": "'owner/repo[@sha-or-branch][:path/to/SKILL.md]' — public repos; resolved and pinned to a commit SHA."
    },
    "name": {
      "type": "string",
      "maxLength": 200,
      "description": "Override the name parsed from SKILL.md frontmatter."
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 2000
    }
  },
  "required": [
    "source_kind",
    "source_ref"
  ]
}