{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/car-gene-com/json-schema/car-gene-com-get-genealogy-sources-response-schema.json",
  "title": "GetGenealogySourcesResponse",
  "description": "説明文の出典の行\n\n**空配列は「まだ移していない」で、「出典が無い」ではない。** 本番の 407 行\n(シリーズの概要 85 + 世代の説明 322) が全部書き直されるまで、行を持つ説明文と\n`source_url` 1本だけの説明文が並ぶ。**使う側は「行があればそれ、無ければ\n`source_url`」で出す** (#1026)。",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/car-gene-com-genealogy-sources-api-openapi.yml#/components/schemas/GetGenealogySourcesResponse",
  "properties": {
    "sources": {
      "items": {
        "$ref": "#/$defs/GenealogySourceResponse"
      },
      "type": "array",
      "title": "Sources"
    }
  },
  "type": "object",
  "required": [
    "sources"
  ],
  "$defs": {
    "GenealogySourceResponse": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "series_id": {
          "type": "string",
          "title": "Series Id"
        },
        "model_id": {
          "type": "string",
          "title": "Model Id"
        },
        "url": {
          "type": "string",
          "title": "Url"
        },
        "title": {
          "type": "string",
          "title": "Title"
        },
        "publisher": {
          "type": "string",
          "title": "Publisher"
        },
        "accessed_on": {
          "type": "string",
          "format": "date",
          "title": "Accessed On"
        }
      },
      "type": "object",
      "required": [
        "id",
        "series_id",
        "url",
        "title",
        "publisher",
        "accessed_on"
      ],
      "title": "GenealogySourceResponse",
      "description": "説明文の根拠 1本\n\n**`raw_excerpt` は返さない** (#1026)。列は持っているが、公開ページには\n出さない。\n\n- 逐語が本文の隣に出ると、書き直した文とどちらが主張なのか読む側に分からない\n- Wikipedia 以外の出典は CC ではない。**検算のために保持するのと、サイトに\n  載せるのは別**\n- 検算は投入口でやる (#1028)。**API を通さないので、公開ページに出ていない\n  ことが検査の前提を壊さない**\n\nここに列を足すときは、その列を公開ページに出してよいかを先に決めること。"
    }
  }
}