{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/goodeye-dev/json-schema/goodeye-dev-search-workflows-input-schema.json",
  "title": "SearchWorkflowsInput",
  "description": "Natural-language search request over skills visible to the caller.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/goodeye-dev-openapi.json#/components/schemas/SearchWorkflowsInput",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 1,
      "title": "Query",
      "description": "Natural-language description of the skill you are looking for."
    },
    "filter": {
      "type": "string",
      "enum": [
        "mine",
        "all",
        "shared-with-me"
      ],
      "title": "Filter",
      "description": "Which skills to search: 'mine' for ones you own, 'shared-with-me' for ones shared with you, or 'all' for both.",
      "default": "all"
    },
    "tag": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tag",
      "description": "Restrict results to skills carrying this tag; omit to search every tag."
    },
    "limit": {
      "type": "integer",
      "maximum": 10.0,
      "minimum": 1.0,
      "title": "Limit",
      "description": "Maximum number of ranked results to return (1 to 10).",
      "default": 5
    }
  },
  "type": "object",
  "required": [
    "query"
  ]
}