{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/softsync-ai/json-schema/softsync-ai-mcp-skill-dto-schema.json",
  "title": "McpSkillDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/softsync-ai-mcp-skills-api-openapi.yml#/components/schemas/McpSkillDto",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Unique skill identifier"
    },
    "description": {
      "type": "string",
      "description": "Short description of the skill"
    },
    "instructions": {
      "type": "string",
      "description": "Detailed instructions for using the skill and its related tools"
    },
    "relatedTools": {
      "description": "List of related tool/operation names this skill covers",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "references": {
      "description": "Detailed guides for this skill. Load one with GET /mcp/skills/{skillName}/references/{referenceName}.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/McpSkillReferenceDto"
      }
    }
  },
  "required": [
    "name",
    "description",
    "instructions",
    "relatedTools",
    "references"
  ],
  "$defs": {
    "McpSkillReferenceDto": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "Reference name, used to load it"
        },
        "summary": {
          "type": "string",
          "description": "When to read this reference"
        }
      },
      "required": [
        "name",
        "summary"
      ]
    }
  }
}