{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/car-gene-com/json-schema/car-gene-com-get-part-index-response-schema.json",
  "title": "GetPartIndexResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/car-gene-com-parts-api-openapi.yml#/components/schemas/GetPartIndexResponse",
  "properties": {
    "parts": {
      "items": {
        "$ref": "#/$defs/PartIndexResponse"
      },
      "type": "array",
      "title": "Parts"
    }
  },
  "type": "object",
  "required": [
    "parts"
  ],
  "$defs": {
    "PartIndexResponse": {
      "properties": {
        "slug": {
          "type": "string",
          "title": "Slug"
        },
        "part_key": {
          "type": "string",
          "title": "Part Key"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "part_number": {
          "type": "string",
          "title": "Part Number"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "manufacturer": {
          "$ref": "#/$defs/PartManufacturerResponse"
        },
        "listing_count": {
          "type": "integer",
          "title": "Listing Count"
        },
        "variant_count": {
          "type": "integer",
          "title": "Variant Count"
        },
        "list_price_min_yen": {
          "type": "integer",
          "title": "List Price Min Yen"
        },
        "list_price_max_yen": {
          "type": "integer",
          "title": "List Price Max Yen"
        },
        "discontinued": {
          "type": "boolean",
          "title": "Discontinued"
        },
        "has_3d": {
          "type": "boolean",
          "title": "Has 3D"
        }
      },
      "type": "object",
      "required": [
        "slug",
        "part_key",
        "name",
        "manufacturer",
        "listing_count",
        "variant_count",
        "discontinued",
        "has_3d"
      ],
      "title": "PartIndexResponse",
      "description": "商品 1 つの軽い行 (#1986)。管理画面の目次・メーカーの数・語で探す・\n一覧の行に使う。仕様・適合・出品は数と幅に畳む (#3018。中身は `/api/parts` を\nslug で引く)。**行の大きさが適合表や出品の数で太らないこと** が、この口の約束"
    },
    "PartManufacturerResponse": {
      "properties": {
        "slug": {
          "type": "string",
          "title": "Slug"
        },
        "name": {
          "type": "string",
          "title": "Name"
        }
      },
      "type": "object",
      "required": [
        "slug",
        "name"
      ],
      "title": "PartManufacturerResponse"
    }
  }
}