{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/commareports-com/json-schema/commareports-com-skill-create-inline-schema.json",
  "title": "SkillCreateInline",
  "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/SkillCreateInline",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 2000
    },
    "prompt": {
      "type": "string",
      "maxLength": 100000
    },
    "required_tools": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RequiredTool"
      }
    },
    "source_kind": {
      "type": "string",
      "enum": [
        "inline"
      ],
      "default": "inline"
    },
    "source_ref": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 1000
    },
    "model": {
      "type": "string",
      "maxLength": 200
    }
  },
  "required": [
    "name",
    "prompt"
  ],
  "$defs": {
    "RequiredTool": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string"
        }
      },
      "required": [
        "kind"
      ],
      "additionalProperties": true
    }
  }
}