{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/car-gene-com/json-schema/car-gene-com-translation-input-schema.json",
  "title": "TranslationInput",
  "description": "系譜の訳1行（`*_translations`）\n\n**全部 optional。** 送られたキーだけを SET する（ADR 0008 と同じ約束。\n`admin_genealogy.py` の docstring）。必須にすると、その列を知らない古い\nバンドルからの保存が全部 422 で落ちる。**「行を作るのに何が要るか」は\n`check_translation` が見る**——新規の行で `name` か `provenance` が欠けて\nいれば 422 になり、NOT NULL の列を欠いた半端な行は作れない。\n\n**`source_updated_at` を受け取らない。** 値は「訳した時点の日本語側の行の\n`text_updated_at`」(#2369) で、書く直前に DB から読む。クライアントに書かせると、古い訳が\n「最新」を名乗れて `genealogy_missing_translations` の stale から消え、\n訳し直す対象が静かにキューから落ちる (#598)。pydantic の既定は extra=ignore\nなので、body に入れて送っても捨てられる。\n\n**entity ごとにスキーマを分けない。** 分けると4つが同じ約束を4回書くことに\nなる。`series` に `profile` を送るような取り違えは `check_translation` が\nentity ごとに落とす（訳す列に無い列がある、として 422）。\n\n値の中身（仮名・漢字の混入、訳文の西暦、空文字）はここでは見ない。\n**投入の検査は #597 の1か所に置く**——2か所に分かれると、投入スクリプトと\nadmin で厳しさが違う状態ができる (`chassis_code` で実際に起きた。#829)。",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/car-gene-com-openapi.yml#/components/schemas/TranslationInput",
  "properties": {
    "name": {
      "type": "string",
      "title": "Name"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "profile": {
      "type": "string",
      "title": "Profile"
    },
    "career": {
      "type": "string",
      "title": "Career"
    },
    "birthplace": {
      "type": "string",
      "title": "Birthplace"
    },
    "headline": {
      "type": "string",
      "title": "Headline"
    },
    "title": {
      "type": "string",
      "title": "Title"
    },
    "body": {
      "type": "string",
      "title": "Body"
    },
    "summary": {
      "type": "string",
      "title": "Summary"
    },
    "department": {
      "type": "string",
      "title": "Department"
    },
    "school": {
      "type": "string",
      "title": "School"
    },
    "faculty": {
      "type": "string",
      "title": "Faculty"
    },
    "family": {
      "type": "string",
      "title": "Family"
    },
    "valvetrain": {
      "type": "string",
      "title": "Valvetrain"
    },
    "fuel_system": {
      "type": "string",
      "title": "Fuel System"
    },
    "fuel_type": {
      "type": "string",
      "title": "Fuel Type"
    },
    "common_name": {
      "type": "string",
      "title": "Common Name"
    },
    "rationale": {
      "type": "string",
      "title": "Rationale"
    },
    "scope_note": {
      "type": "string",
      "title": "Scope Note"
    },
    "base_grade_name": {
      "type": "string",
      "title": "Base Grade Name"
    },
    "provenance": {
      "type": "string",
      "title": "Provenance"
    },
    "source_url": {
      "type": "string",
      "title": "Source Url"
    }
  },
  "type": "object"
}