{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/car-gene-com/json-schema/car-gene-com-get-model-relation-kinds-response-schema.json",
  "title": "GetModelRelationKindsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/car-gene-com-model-relations-api-openapi.yml#/components/schemas/GetModelRelationKindsResponse",
  "properties": {
    "kinds": {
      "items": {
        "$ref": "#/$defs/ModelRelationKindResponse"
      },
      "type": "array",
      "title": "Kinds"
    }
  },
  "type": "object",
  "required": [
    "kinds"
  ],
  "$defs": {
    "ModelRelationKindResponse": {
      "properties": {
        "code": {
          "type": "string",
          "title": "Code"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "name_en": {
          "type": "string",
          "title": "Name En"
        },
        "description": {
          "type": "string",
          "title": "Description"
        },
        "directed": {
          "type": "boolean",
          "title": "Directed"
        }
      },
      "type": "object",
      "required": [
        "code",
        "name",
        "name_en",
        "description",
        "directed"
      ],
      "title": "ModelRelationKindResponse",
      "description": "つながりの種別のマスタ (`EngineerRoleResponse` と同じ形)\n\n表示名と説明を持つのは DB のマスタだけ。画面がコードから日本語を\n組み立てると、種別を足すたびに frontend も直すことになる。"
    }
  }
}