{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/car-gene-com/json-schema/car-gene-com-search-query-input-schema.json",
  "title": "SearchQueryInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/car-gene-com-search-queries-api-openapi.yml#/components/schemas/SearchQueryInput",
  "properties": {
    "surface": {
      "$ref": "#/$defs/SearchSurface"
    },
    "query": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "title": "Query"
    },
    "path": {
      "type": "string",
      "maxLength": 500,
      "pattern": "^/(?![/\\\\])[^\\s]*$",
      "title": "Path"
    },
    "result_count": {
      "type": "integer",
      "maximum": 100000.0,
      "minimum": 0.0,
      "title": "Result Count"
    }
  },
  "type": "object",
  "required": [
    "surface",
    "query",
    "path",
    "result_count"
  ],
  "$defs": {
    "SearchSurface": {
      "type": "string",
      "enum": [
        "series",
        "engines",
        "engineers",
        "sim_models"
      ],
      "title": "SearchSurface",
      "description": "どの検索箱か。画面の部品と 1 対 1"
    }
  }
}