{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/car-gene-com/json-schema/car-gene-com-model-response-schema.json",
  "title": "ModelResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/car-gene-com-models-api-openapi.yml#/components/schemas/ModelResponse",
  "properties": {
    "id": {
      "type": "string",
      "title": "Id"
    },
    "name": {
      "type": "string",
      "title": "Name"
    },
    "start_year": {
      "type": "integer",
      "title": "Start Year"
    },
    "end_year": {
      "type": "integer",
      "title": "End Year"
    },
    "group": {
      "type": "string",
      "title": "Group"
    },
    "chassis_code": {
      "type": "string",
      "title": "Chassis Code"
    },
    "source_url": {
      "type": "string",
      "title": "Source Url"
    },
    "provenance": {
      "type": "string",
      "title": "Provenance"
    },
    "translation_source_url": {
      "type": "string",
      "title": "Translation Source Url"
    },
    "thumbnail_s3key": {
      "type": "string",
      "title": "Thumbnail S3Key"
    },
    "thumbnail_license": {
      "type": "string",
      "title": "Thumbnail License"
    },
    "thumbnail_author": {
      "type": "string",
      "title": "Thumbnail Author"
    },
    "thumbnail_source_url": {
      "type": "string",
      "title": "Thumbnail Source Url"
    },
    "thumbnail_width": {
      "type": "integer",
      "title": "Thumbnail Width"
    },
    "thumbnail_height": {
      "type": "integer",
      "title": "Thumbnail Height"
    },
    "description": {
      "type": "string",
      "title": "Description"
    },
    "series_id": {
      "type": "string",
      "title": "Series Id"
    },
    "body_style": {
      "type": "string",
      "title": "Body Style"
    },
    "drivetrains": {
      "items": {
        "$ref": "#/$defs/DrivetrainResponse"
      },
      "type": "array",
      "title": "Drivetrains"
    },
    "displacements": {
      "items": {
        "$ref": "#/$defs/DisplacementResponse"
      },
      "type": "array",
      "title": "Displacements"
    },
    "engine_lineup": {
      "type": "string",
      "title": "Engine Lineup"
    }
  },
  "type": "object",
  "required": [
    "id",
    "name",
    "start_year",
    "group",
    "series_id",
    "drivetrains",
    "displacements"
  ],
  "$defs": {
    "DisplacementResponse": {
      "properties": {
        "displacement_cc": {
          "type": "integer",
          "title": "Displacement Cc"
        },
        "source_term": {
          "type": "string",
          "title": "Source Term"
        },
        "source_url": {
          "type": "string",
          "title": "Source Url"
        }
      },
      "type": "object",
      "required": [
        "displacement_cc",
        "source_term",
        "source_url"
      ],
      "title": "DisplacementResponse",
      "description": "世代に存在したエンジンの排気量1つ (osora の指示、2026-09-12)\n\n**1つの意味は「この排気量のエンジンがあった」**で、「全グレードがこれ」でも\n「主力がこれ」でもない。**空配列は「まだ調べていない」**で、排気量が\n無かったことではない (`DrivetrainResponse` と同じ読み方)。"
    },
    "DrivetrainResponse": {
      "properties": {
        "layout": {
          "type": "string",
          "title": "Layout"
        },
        "source_term": {
          "type": "string",
          "title": "Source Term"
        },
        "source_url": {
          "type": "string",
          "title": "Source Url"
        }
      },
      "type": "object",
      "required": [
        "layout",
        "source_term",
        "source_url"
      ],
      "title": "DrivetrainResponse",
      "description": "世代に存在した駆動方式1つ (#1343)\n\n**1つの意味は「この駆動方式のグレードがあった」**で、「全グレードがこれ」でも\n「これが標準」でもない。**空配列は「まだ調べていない」**で、駆動方式が\n無かったことではない (`MinorChangeResponse` の空配列と同じ読み方)。"
    }
  }
}