Home
CarGene
ModelRelationInput
ModelRelationInput
世代どうしのつながり1行(`model_relations`) **端点のシリーズを受け取らない。** `from_series_id` / `to_series_id` は 複合 FK が保証する非正規化で「投入側の申告ではない」(列のコメント)。 世代 id から gateway が引く。 **`kind` を Enum にしない。** 使える値を持つのはマスタ (`model_relation_kinds`) の行で、ここに並べ直すと種別を足すたびに backend も 直すことになる(`EngineerLinkInput.role_code` と同じ)。知らないコードは FK 違反として 422 で返る。 **出典と根拠の「要否」は書かない。** 条件は DB の check に1か所だけ置いて ある(`model_relations_official_needs_source` / `model_relations_non_direct_needs_rationale`)。同じシリーズの中の直系かは 世代を引くまで決まらないので、ここで判定すると条件が2つに割れる。落ちた 理由は gateway が日本語に訳して返す。 **ここで見るのは、DB に置き場が無い決まりだけ**——出典が URL と逐語で1組か、 根拠を書ける種別か。どちらも「その値が要るか」ではなく値どうしの関係で、 DB の check には無い(投入口だけが持っていた)。**入口ごとに厳しさを 変えない**(#829)。
Company Automotive Japanese Cars Vehicle Data Car Genealogy MCP AI Agents Japan
Properties
Name
Type
Description
kind
string
from_model_id
string
to_model_id
string
source_url
string
source_excerpt
string
rationale
string
note
string
source_publisher
string
source_tier
string
JSON Schema
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/car-gene-com-model-relation-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key .
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms .
A second provider on the same verified email joins the account you already have.