{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/simplefunctions-dev/json-schema/simplefunctions-dev-post-api-skill-request-schema.json",
  "title": "PostApiSkillRequest",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/simplefunctions-dev-openapi-generated.yml#/components/schemas/PostApiSkillRequest",
  "type": "object",
  "properties": {
    "apiKey": {
      "type": "string",
      "description": "SimpleFunctions API key"
    },
    "name": {
      "type": "string",
      "description": "Skill name"
    },
    "trigger": {
      "type": "string",
      "description": "Slash command (e.g. `/precheck`)"
    },
    "description": {
      "type": "string",
      "description": "What this skill does"
    },
    "prompt": {
      "type": "string",
      "description": "Full instructions"
    },
    "category": {
      "type": "string",
      "description": "`custom`, `trading`, `research`, `monitoring`"
    },
    "tags[]": {
      "type": "array",
      "description": "Discovery tags"
    },
    "toolsUsed[]": {
      "type": "array",
      "description": "SimpleFunctions tools the skill uses"
    },
    "estimatedTime": {
      "type": "string",
      "description": "Estimated run time"
    },
    "auto": {
      "type": "string",
      "description": "Auto‑trigger condition"
    }
  },
  "required": [
    "apiKey",
    "name",
    "trigger",
    "description",
    "prompt"
  ]
}