{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/car-gene-com/json-schema/car-gene-com-owned-parts-input-schema.json",
  "title": "OwnedPartsInput",
  "description": "持っているパーツの一覧を**丸ごと置き換える**\n\n1 点ずつ足す・消す口を作ると、画面のチェックと DB の状態が途中でずれた\nときに戻す手が無い。一覧は数十点までなので、置き換えで足りる。",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/car-gene-com-garage-api-openapi.yml#/components/schemas/OwnedPartsInput",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/OwnedPartInput"
      },
      "type": "array",
      "title": "Items"
    }
  },
  "type": "object",
  "required": [
    "items"
  ],
  "$defs": {
    "OwnedPartInput": {
      "properties": {
        "part_key": {
          "type": "string",
          "title": "Part Key"
        },
        "item_id": {
          "type": "string",
          "title": "Item Id"
        }
      },
      "type": "object",
      "required": [
        "part_key",
        "item_id"
      ],
      "title": "OwnedPartInput"
    }
  }
}