{
  "openapi": "3.0.3",
  "info": {
    "title": "交通事故統計 API",
    "version": "1.0.0",
    "description": "操作を開いて Try it out を選ぶと現在のホストにリクエストできます。警察庁の公開年版を収録しています。各列のコードの意味は、公式配布元の各種コード表を参照してください。"
  },
  "externalDocs": {
    "description": "公式データ配布元",
    "url": "https://www.npa.go.jp/publications/statistics/koutsuu/opendata/index_opendata.html"
  },
  "servers": [
    {
      "url": "/"
    }
  ],
  "paths": {
    "/v1/traffic-accidents.json": {
      "get": {
        "summary": "全国の取得索引",
        "description": "parts の順に各 path の JSON を取得し、start（0始まり）から count 件を連結すると、対象の行を元 CSV の順序で取得できます。",
        "responses": {
          "200": {
            "description": "行数と取得順序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "rowCount",
                    "parts"
                  ],
                  "properties": {
                    "rowCount": {
                      "type": "integer",
                      "description": "対象の総行数（見出しを除く）"
                    },
                    "parts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "path",
                          "start",
                          "count"
                        ],
                        "properties": {
                          "path": {
                            "type": "string",
                            "example": "/v1/traffic-accidents/pages/1.json"
                          },
                          "start": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "count": {
                            "type": "integer",
                            "minimum": 1
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-Total-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "取得対象の総件数"
              },
              "X-Returned-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "応答に含まれる件数"
              },
              "X-Next-Offset": {
                "schema": {
                  "type": "integer"
                },
                "description": "次のリクエストに渡す offset の値"
              }
            }
          },
          "400": {
            "description": "不正な limit または offset"
          },
          "422": {
            "description": "単一項目が1 MiBを超えます"
          }
        },
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "1回に取得する最大件数。",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "取得を始める位置（0から数えます）。",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            }
          }
        ]
      }
    },
    "/v1/traffic-accidents/pages/{page}.json": {
      "get": {
        "summary": "元データをページ単位で取得",
        "parameters": [
          {
            "name": "page",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "1回に取得する最大件数。",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "取得を始める位置（0から数えます）。",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "公式配布データ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "oneOf": [
                      {
                        "type": "object",
                        "description": "警察庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
                        "required": [
                          "資料区分",
                          "都道府県コード",
                          "警察署等コード",
                          "本票番号",
                          "事故内容",
                          "死者数",
                          "負傷者数",
                          "路線コード",
                          "地点コード",
                          "市区町村コード",
                          "発生日時　　年",
                          "発生日時　　月",
                          "発生日時　　日",
                          "発生日時　　時",
                          "発生日時　　分",
                          "昼夜",
                          "日の出時刻　　時",
                          "日の出時刻　　分",
                          "日の入り時刻　　時",
                          "日の入り時刻　　分",
                          "天候",
                          "地形",
                          "路面状態",
                          "道路形状",
                          "信号機",
                          "一時停止規制　標識（当事者A）",
                          "一時停止規制　表示（当事者A）",
                          "一時停止規制　標識（当事者B）",
                          "一時停止規制　表示（当事者B）",
                          "車道幅員",
                          "道路線形",
                          "衝突地点",
                          "ゾーン規制",
                          "中央分離帯施設等",
                          "歩車道区分",
                          "事故類型",
                          "年齢（当事者A）",
                          "年齢（当事者B）",
                          "当事者種別（当事者A）",
                          "当事者種別（当事者B）",
                          "用途別（当事者A）",
                          "用途別（当事者B）",
                          "車両形状等（当事者A）",
                          "車両形状等（当事者B）",
                          "オートマチック車（当事者A）",
                          "オートマチック車（当事者B）",
                          "サポカー（当事者A）",
                          "サポカー（当事者B）",
                          "速度規制（指定のみ）（当事者A）",
                          "速度規制（指定のみ）（当事者B）",
                          "車両の衝突部位（当事者A）",
                          "車両の衝突部位（当事者B）",
                          "車両の損壊程度（当事者A）",
                          "車両の損壊程度（当事者B）",
                          "エアバッグの装備（当事者A）",
                          "エアバッグの装備（当事者B）",
                          "サイドエアバッグの装備（当事者A）",
                          "サイドエアバッグの装備（当事者B）",
                          "人身損傷程度（当事者A）",
                          "人身損傷程度（当事者B）",
                          "地点　緯度（北緯）",
                          "地点　経度（東経）",
                          "曜日(発生年月日)",
                          "祝日(発生年月日)",
                          "認知機能検査経過日数（当事者A）",
                          "認知機能検査経過日数（当事者B）",
                          "運転練習の方法（当事者A）",
                          "運転練習の方法（当事者B）"
                        ],
                        "properties": {
                          "資料区分": {
                            "type": "string"
                          },
                          "都道府県コード": {
                            "type": "string"
                          },
                          "警察署等コード": {
                            "type": "string"
                          },
                          "本票番号": {
                            "type": "string"
                          },
                          "事故内容": {
                            "type": "string"
                          },
                          "死者数": {
                            "type": "string"
                          },
                          "負傷者数": {
                            "type": "string"
                          },
                          "路線コード": {
                            "type": "string"
                          },
                          "地点コード": {
                            "type": "string"
                          },
                          "市区町村コード": {
                            "type": "string"
                          },
                          "発生日時　　年": {
                            "type": "string"
                          },
                          "発生日時　　月": {
                            "type": "string"
                          },
                          "発生日時　　日": {
                            "type": "string"
                          },
                          "発生日時　　時": {
                            "type": "string"
                          },
                          "発生日時　　分": {
                            "type": "string"
                          },
                          "昼夜": {
                            "type": "string"
                          },
                          "日の出時刻　　時": {
                            "type": "string"
                          },
                          "日の出時刻　　分": {
                            "type": "string"
                          },
                          "日の入り時刻　　時": {
                            "type": "string"
                          },
                          "日の入り時刻　　分": {
                            "type": "string"
                          },
                          "天候": {
                            "type": "string"
                          },
                          "地形": {
                            "type": "string"
                          },
                          "路面状態": {
                            "type": "string"
                          },
                          "道路形状": {
                            "type": "string"
                          },
                          "信号機": {
                            "type": "string"
                          },
                          "一時停止規制　標識（当事者A）": {
                            "type": "string"
                          },
                          "一時停止規制　表示（当事者A）": {
                            "type": "string"
                          },
                          "一時停止規制　標識（当事者B）": {
                            "type": "string"
                          },
                          "一時停止規制　表示（当事者B）": {
                            "type": "string"
                          },
                          "車道幅員": {
                            "type": "string"
                          },
                          "道路線形": {
                            "type": "string"
                          },
                          "衝突地点": {
                            "type": "string"
                          },
                          "ゾーン規制": {
                            "type": "string"
                          },
                          "中央分離帯施設等": {
                            "type": "string"
                          },
                          "歩車道区分": {
                            "type": "string"
                          },
                          "事故類型": {
                            "type": "string"
                          },
                          "年齢（当事者A）": {
                            "type": "string"
                          },
                          "年齢（当事者B）": {
                            "type": "string"
                          },
                          "当事者種別（当事者A）": {
                            "type": "string"
                          },
                          "当事者種別（当事者B）": {
                            "type": "string"
                          },
                          "用途別（当事者A）": {
                            "type": "string"
                          },
                          "用途別（当事者B）": {
                            "type": "string"
                          },
                          "車両形状等（当事者A）": {
                            "type": "string"
                          },
                          "車両形状等（当事者B）": {
                            "type": "string"
                          },
                          "オートマチック車（当事者A）": {
                            "type": "string"
                          },
                          "オートマチック車（当事者B）": {
                            "type": "string"
                          },
                          "サポカー（当事者A）": {
                            "type": "string"
                          },
                          "サポカー（当事者B）": {
                            "type": "string"
                          },
                          "速度規制（指定のみ）（当事者A）": {
                            "type": "string"
                          },
                          "速度規制（指定のみ）（当事者B）": {
                            "type": "string"
                          },
                          "車両の衝突部位（当事者A）": {
                            "type": "string"
                          },
                          "車両の衝突部位（当事者B）": {
                            "type": "string"
                          },
                          "車両の損壊程度（当事者A）": {
                            "type": "string"
                          },
                          "車両の損壊程度（当事者B）": {
                            "type": "string"
                          },
                          "エアバッグの装備（当事者A）": {
                            "type": "string"
                          },
                          "エアバッグの装備（当事者B）": {
                            "type": "string"
                          },
                          "サイドエアバッグの装備（当事者A）": {
                            "type": "string"
                          },
                          "サイドエアバッグの装備（当事者B）": {
                            "type": "string"
                          },
                          "人身損傷程度（当事者A）": {
                            "type": "string"
                          },
                          "人身損傷程度（当事者B）": {
                            "type": "string"
                          },
                          "地点　緯度（北緯）": {
                            "type": "string"
                          },
                          "地点　経度（東経）": {
                            "type": "string"
                          },
                          "曜日(発生年月日)": {
                            "type": "string"
                          },
                          "祝日(発生年月日)": {
                            "type": "string"
                          },
                          "認知機能検査経過日数（当事者A）": {
                            "type": "string"
                          },
                          "認知機能検査経過日数（当事者B）": {
                            "type": "string"
                          },
                          "運転練習の方法（当事者A）": {
                            "type": "string"
                          },
                          "運転練習の方法（当事者B）": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "description": "警察庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
                        "required": [
                          "資料区分",
                          "都道府県コード",
                          "警察署等コード",
                          "本票番号",
                          "補充票番号",
                          "当事者種別",
                          "用途別",
                          "車両形状等",
                          "乗車別",
                          "乗車等の区分",
                          "サポカー",
                          "エアバッグの装備",
                          "サイドエアバッグの装備",
                          "人身損傷程度",
                          "車両の衝突部位",
                          "車両の損壊程度"
                        ],
                        "properties": {
                          "資料区分": {
                            "type": "string"
                          },
                          "都道府県コード": {
                            "type": "string"
                          },
                          "警察署等コード": {
                            "type": "string"
                          },
                          "本票番号": {
                            "type": "string"
                          },
                          "補充票番号": {
                            "type": "string"
                          },
                          "当事者種別": {
                            "type": "string"
                          },
                          "用途別": {
                            "type": "string"
                          },
                          "車両形状等": {
                            "type": "string"
                          },
                          "乗車別": {
                            "type": "string"
                          },
                          "乗車等の区分": {
                            "type": "string"
                          },
                          "サポカー": {
                            "type": "string"
                          },
                          "エアバッグの装備": {
                            "type": "string"
                          },
                          "サイドエアバッグの装備": {
                            "type": "string"
                          },
                          "人身損傷程度": {
                            "type": "string"
                          },
                          "車両の衝突部位": {
                            "type": "string"
                          },
                          "車両の損壊程度": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "description": "警察庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
                        "required": [
                          "資料区分",
                          "都道府県コード",
                          "警察署等コード",
                          "本票番号",
                          "発生地点",
                          "道路管理者区分",
                          "道路区分",
                          "曲線半径",
                          "縦断勾配",
                          "トンネル番号",
                          "当事者車両台数",
                          "事故類型",
                          "車両単独事故の対象物",
                          "臨時速度規制の有無",
                          "速度規制（臨時のみ）",
                          "トンネル延長距離"
                        ],
                        "properties": {
                          "資料区分": {
                            "type": "string"
                          },
                          "都道府県コード": {
                            "type": "string"
                          },
                          "警察署等コード": {
                            "type": "string"
                          },
                          "本票番号": {
                            "type": "string"
                          },
                          "発生地点": {
                            "type": "string"
                          },
                          "道路管理者区分": {
                            "type": "string"
                          },
                          "道路区分": {
                            "type": "string"
                          },
                          "曲線半径": {
                            "type": "string"
                          },
                          "縦断勾配": {
                            "type": "string"
                          },
                          "トンネル番号": {
                            "type": "string"
                          },
                          "当事者車両台数": {
                            "type": "string"
                          },
                          "事故類型": {
                            "type": "string"
                          },
                          "車両単独事故の対象物": {
                            "type": "string"
                          },
                          "臨時速度規制の有無": {
                            "type": "string"
                          },
                          "速度規制（臨時のみ）": {
                            "type": "string"
                          },
                          "トンネル延長距離": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  }
                }
              }
            },
            "headers": {
              "X-Total-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "取得対象の総件数"
              },
              "X-Returned-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "応答に含まれる件数"
              },
              "X-Next-Offset": {
                "schema": {
                  "type": "integer"
                },
                "description": "次のリクエストに渡す offset の値"
              }
            }
          },
          "400": {
            "description": "不正な limit または offset"
          },
          "422": {
            "description": "単一項目が1 MiBを超えます"
          }
        }
      }
    },
    "/v1/traffic-accidents/lookup/{都道府県コード}/{警察署等コード}/{本票番号}.json": {
      "get": {
        "summary": "同じ事故の本票・補充票・高速票を取得",
        "parameters": [
          {
            "name": "都道府県コード",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "10"
          },
          {
            "name": "警察署等コード",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "059"
          },
          {
            "name": "本票番号",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "0001"
          },
          {
            "name": "limit",
            "in": "query",
            "description": "1回に取得する最大件数。",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "取得を始める位置（0から数えます）。",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            }
          }
        ],
        "description": "公開年版内で、原本の都道府県コード・警察署等コード・本票番号が一致する行を取得します。",
        "responses": {
          "200": {
            "description": "公式配布データ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "oneOf": [
                      {
                        "type": "object",
                        "description": "警察庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
                        "required": [
                          "資料区分",
                          "都道府県コード",
                          "警察署等コード",
                          "本票番号",
                          "事故内容",
                          "死者数",
                          "負傷者数",
                          "路線コード",
                          "地点コード",
                          "市区町村コード",
                          "発生日時　　年",
                          "発生日時　　月",
                          "発生日時　　日",
                          "発生日時　　時",
                          "発生日時　　分",
                          "昼夜",
                          "日の出時刻　　時",
                          "日の出時刻　　分",
                          "日の入り時刻　　時",
                          "日の入り時刻　　分",
                          "天候",
                          "地形",
                          "路面状態",
                          "道路形状",
                          "信号機",
                          "一時停止規制　標識（当事者A）",
                          "一時停止規制　表示（当事者A）",
                          "一時停止規制　標識（当事者B）",
                          "一時停止規制　表示（当事者B）",
                          "車道幅員",
                          "道路線形",
                          "衝突地点",
                          "ゾーン規制",
                          "中央分離帯施設等",
                          "歩車道区分",
                          "事故類型",
                          "年齢（当事者A）",
                          "年齢（当事者B）",
                          "当事者種別（当事者A）",
                          "当事者種別（当事者B）",
                          "用途別（当事者A）",
                          "用途別（当事者B）",
                          "車両形状等（当事者A）",
                          "車両形状等（当事者B）",
                          "オートマチック車（当事者A）",
                          "オートマチック車（当事者B）",
                          "サポカー（当事者A）",
                          "サポカー（当事者B）",
                          "速度規制（指定のみ）（当事者A）",
                          "速度規制（指定のみ）（当事者B）",
                          "車両の衝突部位（当事者A）",
                          "車両の衝突部位（当事者B）",
                          "車両の損壊程度（当事者A）",
                          "車両の損壊程度（当事者B）",
                          "エアバッグの装備（当事者A）",
                          "エアバッグの装備（当事者B）",
                          "サイドエアバッグの装備（当事者A）",
                          "サイドエアバッグの装備（当事者B）",
                          "人身損傷程度（当事者A）",
                          "人身損傷程度（当事者B）",
                          "地点　緯度（北緯）",
                          "地点　経度（東経）",
                          "曜日(発生年月日)",
                          "祝日(発生年月日)",
                          "認知機能検査経過日数（当事者A）",
                          "認知機能検査経過日数（当事者B）",
                          "運転練習の方法（当事者A）",
                          "運転練習の方法（当事者B）"
                        ],
                        "properties": {
                          "資料区分": {
                            "type": "string"
                          },
                          "都道府県コード": {
                            "type": "string"
                          },
                          "警察署等コード": {
                            "type": "string"
                          },
                          "本票番号": {
                            "type": "string"
                          },
                          "事故内容": {
                            "type": "string"
                          },
                          "死者数": {
                            "type": "string"
                          },
                          "負傷者数": {
                            "type": "string"
                          },
                          "路線コード": {
                            "type": "string"
                          },
                          "地点コード": {
                            "type": "string"
                          },
                          "市区町村コード": {
                            "type": "string"
                          },
                          "発生日時　　年": {
                            "type": "string"
                          },
                          "発生日時　　月": {
                            "type": "string"
                          },
                          "発生日時　　日": {
                            "type": "string"
                          },
                          "発生日時　　時": {
                            "type": "string"
                          },
                          "発生日時　　分": {
                            "type": "string"
                          },
                          "昼夜": {
                            "type": "string"
                          },
                          "日の出時刻　　時": {
                            "type": "string"
                          },
                          "日の出時刻　　分": {
                            "type": "string"
                          },
                          "日の入り時刻　　時": {
                            "type": "string"
                          },
                          "日の入り時刻　　分": {
                            "type": "string"
                          },
                          "天候": {
                            "type": "string"
                          },
                          "地形": {
                            "type": "string"
                          },
                          "路面状態": {
                            "type": "string"
                          },
                          "道路形状": {
                            "type": "string"
                          },
                          "信号機": {
                            "type": "string"
                          },
                          "一時停止規制　標識（当事者A）": {
                            "type": "string"
                          },
                          "一時停止規制　表示（当事者A）": {
                            "type": "string"
                          },
                          "一時停止規制　標識（当事者B）": {
                            "type": "string"
                          },
                          "一時停止規制　表示（当事者B）": {
                            "type": "string"
                          },
                          "車道幅員": {
                            "type": "string"
                          },
                          "道路線形": {
                            "type": "string"
                          },
                          "衝突地点": {
                            "type": "string"
                          },
                          "ゾーン規制": {
                            "type": "string"
                          },
                          "中央分離帯施設等": {
                            "type": "string"
                          },
                          "歩車道区分": {
                            "type": "string"
                          },
                          "事故類型": {
                            "type": "string"
                          },
                          "年齢（当事者A）": {
                            "type": "string"
                          },
                          "年齢（当事者B）": {
                            "type": "string"
                          },
                          "当事者種別（当事者A）": {
                            "type": "string"
                          },
                          "当事者種別（当事者B）": {
                            "type": "string"
                          },
                          "用途別（当事者A）": {
                            "type": "string"
                          },
                          "用途別（当事者B）": {
                            "type": "string"
                          },
                          "車両形状等（当事者A）": {
                            "type": "string"
                          },
                          "車両形状等（当事者B）": {
                            "type": "string"
                          },
                          "オートマチック車（当事者A）": {
                            "type": "string"
                          },
                          "オートマチック車（当事者B）": {
                            "type": "string"
                          },
                          "サポカー（当事者A）": {
                            "type": "string"
                          },
                          "サポカー（当事者B）": {
                            "type": "string"
                          },
                          "速度規制（指定のみ）（当事者A）": {
                            "type": "string"
                          },
                          "速度規制（指定のみ）（当事者B）": {
                            "type": "string"
                          },
                          "車両の衝突部位（当事者A）": {
                            "type": "string"
                          },
                          "車両の衝突部位（当事者B）": {
                            "type": "string"
                          },
                          "車両の損壊程度（当事者A）": {
                            "type": "string"
                          },
                          "車両の損壊程度（当事者B）": {
                            "type": "string"
                          },
                          "エアバッグの装備（当事者A）": {
                            "type": "string"
                          },
                          "エアバッグの装備（当事者B）": {
                            "type": "string"
                          },
                          "サイドエアバッグの装備（当事者A）": {
                            "type": "string"
                          },
                          "サイドエアバッグの装備（当事者B）": {
                            "type": "string"
                          },
                          "人身損傷程度（当事者A）": {
                            "type": "string"
                          },
                          "人身損傷程度（当事者B）": {
                            "type": "string"
                          },
                          "地点　緯度（北緯）": {
                            "type": "string"
                          },
                          "地点　経度（東経）": {
                            "type": "string"
                          },
                          "曜日(発生年月日)": {
                            "type": "string"
                          },
                          "祝日(発生年月日)": {
                            "type": "string"
                          },
                          "認知機能検査経過日数（当事者A）": {
                            "type": "string"
                          },
                          "認知機能検査経過日数（当事者B）": {
                            "type": "string"
                          },
                          "運転練習の方法（当事者A）": {
                            "type": "string"
                          },
                          "運転練習の方法（当事者B）": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "description": "警察庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
                        "required": [
                          "資料区分",
                          "都道府県コード",
                          "警察署等コード",
                          "本票番号",
                          "補充票番号",
                          "当事者種別",
                          "用途別",
                          "車両形状等",
                          "乗車別",
                          "乗車等の区分",
                          "サポカー",
                          "エアバッグの装備",
                          "サイドエアバッグの装備",
                          "人身損傷程度",
                          "車両の衝突部位",
                          "車両の損壊程度"
                        ],
                        "properties": {
                          "資料区分": {
                            "type": "string"
                          },
                          "都道府県コード": {
                            "type": "string"
                          },
                          "警察署等コード": {
                            "type": "string"
                          },
                          "本票番号": {
                            "type": "string"
                          },
                          "補充票番号": {
                            "type": "string"
                          },
                          "当事者種別": {
                            "type": "string"
                          },
                          "用途別": {
                            "type": "string"
                          },
                          "車両形状等": {
                            "type": "string"
                          },
                          "乗車別": {
                            "type": "string"
                          },
                          "乗車等の区分": {
                            "type": "string"
                          },
                          "サポカー": {
                            "type": "string"
                          },
                          "エアバッグの装備": {
                            "type": "string"
                          },
                          "サイドエアバッグの装備": {
                            "type": "string"
                          },
                          "人身損傷程度": {
                            "type": "string"
                          },
                          "車両の衝突部位": {
                            "type": "string"
                          },
                          "車両の損壊程度": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "description": "警察庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
                        "required": [
                          "資料区分",
                          "都道府県コード",
                          "警察署等コード",
                          "本票番号",
                          "発生地点",
                          "道路管理者区分",
                          "道路区分",
                          "曲線半径",
                          "縦断勾配",
                          "トンネル番号",
                          "当事者車両台数",
                          "事故類型",
                          "車両単独事故の対象物",
                          "臨時速度規制の有無",
                          "速度規制（臨時のみ）",
                          "トンネル延長距離"
                        ],
                        "properties": {
                          "資料区分": {
                            "type": "string"
                          },
                          "都道府県コード": {
                            "type": "string"
                          },
                          "警察署等コード": {
                            "type": "string"
                          },
                          "本票番号": {
                            "type": "string"
                          },
                          "発生地点": {
                            "type": "string"
                          },
                          "道路管理者区分": {
                            "type": "string"
                          },
                          "道路区分": {
                            "type": "string"
                          },
                          "曲線半径": {
                            "type": "string"
                          },
                          "縦断勾配": {
                            "type": "string"
                          },
                          "トンネル番号": {
                            "type": "string"
                          },
                          "当事者車両台数": {
                            "type": "string"
                          },
                          "事故類型": {
                            "type": "string"
                          },
                          "車両単独事故の対象物": {
                            "type": "string"
                          },
                          "臨時速度規制の有無": {
                            "type": "string"
                          },
                          "速度規制（臨時のみ）": {
                            "type": "string"
                          },
                          "トンネル延長距離": {
                            "type": "string"
                          }
                        },
                        "additionalProperties": false
                      }
                    ]
                  }
                }
              }
            },
            "headers": {
              "X-Total-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "取得対象の総件数"
              },
              "X-Returned-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "応答に含まれる件数"
              },
              "X-Next-Offset": {
                "schema": {
                  "type": "integer"
                },
                "description": "次のリクエストに渡す offset の値"
              }
            }
          },
          "400": {
            "description": "不正な limit または offset"
          },
          "422": {
            "description": "単一項目が1 MiBを超えます"
          }
        }
      }
    },
    "/v1/traffic-accidents/prefectures/{都道府県コード}.json": {
      "get": {
        "summary": "都道府県別の取得索引",
        "parameters": [
          {
            "name": "都道府県コード",
            "schema": {
              "type": "string",
              "example": "10"
            },
            "in": "path",
            "required": true
          },
          {
            "name": "limit",
            "in": "query",
            "description": "1回に取得する最大件数。",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "取得を始める位置（0から数えます）。",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            }
          }
        ],
        "description": "parts の順に各 path の JSON を取得し、start（0始まり）から count 件を連結すると、対象の行を元 CSV の順序で取得できます。",
        "responses": {
          "200": {
            "description": "行数と取得順序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "rowCount",
                    "parts"
                  ],
                  "properties": {
                    "rowCount": {
                      "type": "integer",
                      "description": "対象の総行数（見出しを除く）"
                    },
                    "parts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "path",
                          "start",
                          "count"
                        ],
                        "properties": {
                          "path": {
                            "type": "string",
                            "example": "/v1/traffic-accidents/pages/1.json"
                          },
                          "start": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "count": {
                            "type": "integer",
                            "minimum": 1
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-Total-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "取得対象の総件数"
              },
              "X-Returned-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "応答に含まれる件数"
              },
              "X-Next-Offset": {
                "schema": {
                  "type": "integer"
                },
                "description": "次のリクエストに渡す offset の値"
              }
            }
          },
          "400": {
            "description": "不正な limit または offset"
          },
          "422": {
            "description": "単一項目が1 MiBを超えます"
          }
        }
      }
    },
    "/v1/traffic-accidents/accident-types/{事故類型}.json": {
      "get": {
        "summary": "事故類型別の取得索引",
        "parameters": [
          {
            "name": "事故類型",
            "schema": {
              "type": "string",
              "example": "21"
            },
            "description": "原本に事故類型列がある本票・高速票が対象です。",
            "in": "path",
            "required": true
          },
          {
            "name": "limit",
            "in": "query",
            "description": "1回に取得する最大件数。",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "取得を始める位置（0から数えます）。",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            }
          }
        ],
        "description": "parts の順に各 path の JSON を取得し、start（0始まり）から count 件を連結すると、対象の行を元 CSV の順序で取得できます。",
        "responses": {
          "200": {
            "description": "行数と取得順序",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "rowCount",
                    "parts"
                  ],
                  "properties": {
                    "rowCount": {
                      "type": "integer",
                      "description": "対象の総行数（見出しを除く）"
                    },
                    "parts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "path",
                          "start",
                          "count"
                        ],
                        "properties": {
                          "path": {
                            "type": "string",
                            "example": "/v1/traffic-accidents/pages/1.json"
                          },
                          "start": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "count": {
                            "type": "integer",
                            "minimum": 1
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-Total-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "取得対象の総件数"
              },
              "X-Returned-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "応答に含まれる件数"
              },
              "X-Next-Offset": {
                "schema": {
                  "type": "integer"
                },
                "description": "次のリクエストに渡す offset の値"
              }
            }
          },
          "400": {
            "description": "不正な limit または offset"
          },
          "422": {
            "description": "単一項目が1 MiBを超えます"
          }
        }
      }
    },
    "/v1/traffic-accidents/metadata.json": {
      "get": {
        "summary": "公式CSVのファイル名と列名を取得",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "description": "1回に取得する最大件数。",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 500,
              "default": 100
            }
          },
          {
            "name": "offset",
            "in": "query",
            "description": "取得を始める位置（0から数えます）。",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "公式配布データ",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "notice": {
                      "type": "string"
                    },
                    "year": {
                      "type": "string"
                    },
                    "files": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "filename": {
                            "type": "string"
                          },
                          "url": {
                            "type": "string"
                          },
                          "columns": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "preamble": {
                            "type": "array",
                            "items": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            }
                          },
                          "start": {
                            "type": "integer",
                            "minimum": 0
                          },
                          "count": {
                            "type": "integer",
                            "minimum": 1
                          }
                        }
                      }
                    }
                  }
                }
              }
            },
            "headers": {
              "X-Total-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "取得対象の総件数"
              },
              "X-Returned-Count": {
                "schema": {
                  "type": "integer"
                },
                "description": "応答に含まれる件数"
              },
              "X-Next-Offset": {
                "schema": {
                  "type": "integer"
                },
                "description": "次のリクエストに渡す offset の値"
              }
            }
          },
          "400": {
            "description": "不正な limit または offset"
          },
          "422": {
            "description": "単一項目が1 MiBを超えます"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Prefecture": {
        "type": "object",
        "description": "デジタル庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
        "required": [
          "lg_code",
          "pref",
          "pref_kana",
          "pref_roma",
          "efct_date",
          "ablt_date",
          "remarks"
        ],
        "properties": {
          "lg_code": {
            "type": "string"
          },
          "pref": {
            "type": "string"
          },
          "pref_kana": {
            "type": "string"
          },
          "pref_roma": {
            "type": "string"
          },
          "efct_date": {
            "type": "string"
          },
          "ablt_date": {
            "type": "string"
          },
          "remarks": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "PrefecturePosition": {
        "type": "object",
        "description": "デジタル庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
        "required": [
          "lg_code",
          "rep_lon",
          "rep_lat",
          "rep_srid",
          "rep_scale",
          "plygn_fname",
          "plygn_kcode",
          "plygn_fmt",
          "plygn_srid",
          "plygn_scale"
        ],
        "properties": {
          "lg_code": {
            "type": "string"
          },
          "rep_lon": {
            "type": "string"
          },
          "rep_lat": {
            "type": "string"
          },
          "rep_srid": {
            "type": "string"
          },
          "rep_scale": {
            "type": "string"
          },
          "plygn_fname": {
            "type": "string"
          },
          "plygn_kcode": {
            "type": "string"
          },
          "plygn_fmt": {
            "type": "string"
          },
          "plygn_srid": {
            "type": "string"
          },
          "plygn_scale": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "City": {
        "type": "object",
        "description": "デジタル庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
        "required": [
          "lg_code",
          "pref",
          "pref_kana",
          "pref_roma",
          "county",
          "county_kana",
          "county_roma",
          "city",
          "city_kana",
          "city_roma",
          "ward",
          "ward_kana",
          "ward_roma",
          "efct_date",
          "ablt_date",
          "remarks"
        ],
        "properties": {
          "lg_code": {
            "type": "string"
          },
          "pref": {
            "type": "string"
          },
          "pref_kana": {
            "type": "string"
          },
          "pref_roma": {
            "type": "string"
          },
          "county": {
            "type": "string"
          },
          "county_kana": {
            "type": "string"
          },
          "county_roma": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "city_kana": {
            "type": "string"
          },
          "city_roma": {
            "type": "string"
          },
          "ward": {
            "type": "string"
          },
          "ward_kana": {
            "type": "string"
          },
          "ward_roma": {
            "type": "string"
          },
          "efct_date": {
            "type": "string"
          },
          "ablt_date": {
            "type": "string"
          },
          "remarks": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "CityPosition": {
        "type": "object",
        "description": "デジタル庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
        "required": [
          "lg_code",
          "rep_lon",
          "rep_lat",
          "rep_srid",
          "rep_scale",
          "plygn_fname",
          "plygn_kcode",
          "plygn_fmt",
          "plygn_srid",
          "plygn_scale"
        ],
        "properties": {
          "lg_code": {
            "type": "string"
          },
          "rep_lon": {
            "type": "string"
          },
          "rep_lat": {
            "type": "string"
          },
          "rep_srid": {
            "type": "string"
          },
          "rep_scale": {
            "type": "string"
          },
          "plygn_fname": {
            "type": "string"
          },
          "plygn_kcode": {
            "type": "string"
          },
          "plygn_fmt": {
            "type": "string"
          },
          "plygn_srid": {
            "type": "string"
          },
          "plygn_scale": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Town": {
        "type": "object",
        "description": "デジタル庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
        "required": [
          "lg_code",
          "machiaza_id",
          "machiaza_type",
          "pref",
          "pref_kana",
          "pref_roma",
          "county",
          "county_kana",
          "county_roma",
          "city",
          "city_kana",
          "city_roma",
          "ward",
          "ward_kana",
          "ward_roma",
          "oaza_cho",
          "oaza_cho_kana",
          "oaza_cho_roma",
          "chome",
          "chome_kana",
          "chome_number",
          "koaza",
          "koaza_kana",
          "koaza_roma",
          "machiaza_dist",
          "rsdt_addr_flg",
          "rsdt_addr_mtd_code",
          "oaza_cho_aka_flg",
          "koaza_aka_code",
          "oaza_cho_gsi_uncmn",
          "koaza_gsi_uncmn",
          "status_flg",
          "wake_num_flg",
          "efct_date",
          "ablt_date",
          "src_code",
          "post_code",
          "remarks"
        ],
        "properties": {
          "lg_code": {
            "type": "string"
          },
          "machiaza_id": {
            "type": "string"
          },
          "machiaza_type": {
            "type": "string"
          },
          "pref": {
            "type": "string"
          },
          "pref_kana": {
            "type": "string"
          },
          "pref_roma": {
            "type": "string"
          },
          "county": {
            "type": "string"
          },
          "county_kana": {
            "type": "string"
          },
          "county_roma": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "city_kana": {
            "type": "string"
          },
          "city_roma": {
            "type": "string"
          },
          "ward": {
            "type": "string"
          },
          "ward_kana": {
            "type": "string"
          },
          "ward_roma": {
            "type": "string"
          },
          "oaza_cho": {
            "type": "string"
          },
          "oaza_cho_kana": {
            "type": "string"
          },
          "oaza_cho_roma": {
            "type": "string"
          },
          "chome": {
            "type": "string"
          },
          "chome_kana": {
            "type": "string"
          },
          "chome_number": {
            "type": "string"
          },
          "koaza": {
            "type": "string"
          },
          "koaza_kana": {
            "type": "string"
          },
          "koaza_roma": {
            "type": "string"
          },
          "machiaza_dist": {
            "type": "string"
          },
          "rsdt_addr_flg": {
            "type": "string"
          },
          "rsdt_addr_mtd_code": {
            "type": "string"
          },
          "oaza_cho_aka_flg": {
            "type": "string"
          },
          "koaza_aka_code": {
            "type": "string"
          },
          "oaza_cho_gsi_uncmn": {
            "type": "string"
          },
          "koaza_gsi_uncmn": {
            "type": "string"
          },
          "status_flg": {
            "type": "string"
          },
          "wake_num_flg": {
            "type": "string"
          },
          "efct_date": {
            "type": "string"
          },
          "ablt_date": {
            "type": "string"
          },
          "src_code": {
            "type": "string"
          },
          "post_code": {
            "type": "string"
          },
          "remarks": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "TownFullset": {
        "type": "object",
        "description": "デジタル庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
        "required": [
          "lg_code",
          "machiaza_id",
          "machiaza_type",
          "pref",
          "pref_kana",
          "pref_roma",
          "county",
          "county_kana",
          "county_roma",
          "city",
          "city_kana",
          "city_roma",
          "ward",
          "ward_kana",
          "ward_roma",
          "oaza_cho",
          "oaza_cho_kana",
          "oaza_cho_roma",
          "chome",
          "chome_kana",
          "chome_number",
          "koaza",
          "koaza_kana",
          "koaza_roma",
          "machiaza_dist",
          "rsdt_addr_flg",
          "rsdt_addr_mtd_code",
          "oaza_cho_aka_flg",
          "koaza_aka_code",
          "oaza_cho_gsi_uncmn",
          "koaza_gsi_uncmn",
          "status_flg",
          "wake_num_flg",
          "efct_date",
          "ablt_date",
          "src_code",
          "post_code",
          "oaza_cho_uncmn_reg",
          "oaza_cho_uncmn_mj",
          "oaza_cho_uncmn_type",
          "oaza_cho_uncmn_code",
          "koaza_uncmn_reg",
          "koaza_uncmn_mj",
          "koaza_uncmn_type",
          "koaza_uncmn_code",
          "alias_oaza",
          "alias_oaza_kana",
          "alias_oaza_roma",
          "alias_koaza",
          "alias_koaza_kana",
          "alias_koaza_roma",
          "remarks"
        ],
        "properties": {
          "lg_code": {
            "type": "string"
          },
          "machiaza_id": {
            "type": "string"
          },
          "machiaza_type": {
            "type": "string"
          },
          "pref": {
            "type": "string"
          },
          "pref_kana": {
            "type": "string"
          },
          "pref_roma": {
            "type": "string"
          },
          "county": {
            "type": "string"
          },
          "county_kana": {
            "type": "string"
          },
          "county_roma": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "city_kana": {
            "type": "string"
          },
          "city_roma": {
            "type": "string"
          },
          "ward": {
            "type": "string"
          },
          "ward_kana": {
            "type": "string"
          },
          "ward_roma": {
            "type": "string"
          },
          "oaza_cho": {
            "type": "string"
          },
          "oaza_cho_kana": {
            "type": "string"
          },
          "oaza_cho_roma": {
            "type": "string"
          },
          "chome": {
            "type": "string"
          },
          "chome_kana": {
            "type": "string"
          },
          "chome_number": {
            "type": "string"
          },
          "koaza": {
            "type": "string"
          },
          "koaza_kana": {
            "type": "string"
          },
          "koaza_roma": {
            "type": "string"
          },
          "machiaza_dist": {
            "type": "string"
          },
          "rsdt_addr_flg": {
            "type": "string"
          },
          "rsdt_addr_mtd_code": {
            "type": "string"
          },
          "oaza_cho_aka_flg": {
            "type": "string"
          },
          "koaza_aka_code": {
            "type": "string"
          },
          "oaza_cho_gsi_uncmn": {
            "type": "string"
          },
          "koaza_gsi_uncmn": {
            "type": "string"
          },
          "status_flg": {
            "type": "string"
          },
          "wake_num_flg": {
            "type": "string"
          },
          "efct_date": {
            "type": "string"
          },
          "ablt_date": {
            "type": "string"
          },
          "src_code": {
            "type": "string"
          },
          "post_code": {
            "type": "string"
          },
          "oaza_cho_uncmn_reg": {
            "type": "string"
          },
          "oaza_cho_uncmn_mj": {
            "type": "string"
          },
          "oaza_cho_uncmn_type": {
            "type": "string"
          },
          "oaza_cho_uncmn_code": {
            "type": "string"
          },
          "koaza_uncmn_reg": {
            "type": "string"
          },
          "koaza_uncmn_mj": {
            "type": "string"
          },
          "koaza_uncmn_type": {
            "type": "string"
          },
          "koaza_uncmn_code": {
            "type": "string"
          },
          "alias_oaza": {
            "type": "string"
          },
          "alias_oaza_kana": {
            "type": "string"
          },
          "alias_oaza_roma": {
            "type": "string"
          },
          "alias_koaza": {
            "type": "string"
          },
          "alias_koaza_kana": {
            "type": "string"
          },
          "alias_koaza_roma": {
            "type": "string"
          },
          "remarks": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "TownPosition": {
        "type": "object",
        "description": "デジタル庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
        "required": [
          "lg_code",
          "machiaza_id",
          "rsdt_addr_flg",
          "rep_lon",
          "rep_lat",
          "rep_srid",
          "rep_scale",
          "rep_src_code",
          "plygn_fname",
          "plygn_kcode",
          "plygn_fmt",
          "plygn_srid",
          "plygn_scale",
          "plygn_src_code",
          "pos_oaza_cho_chome_code",
          "pos_data_mnt_year",
          "cns_bnd_s_area_kcode",
          "cns_bnd_year"
        ],
        "properties": {
          "lg_code": {
            "type": "string"
          },
          "machiaza_id": {
            "type": "string"
          },
          "rsdt_addr_flg": {
            "type": "string"
          },
          "rep_lon": {
            "type": "string"
          },
          "rep_lat": {
            "type": "string"
          },
          "rep_srid": {
            "type": "string"
          },
          "rep_scale": {
            "type": "string"
          },
          "rep_src_code": {
            "type": "string"
          },
          "plygn_fname": {
            "type": "string"
          },
          "plygn_kcode": {
            "type": "string"
          },
          "plygn_fmt": {
            "type": "string"
          },
          "plygn_srid": {
            "type": "string"
          },
          "plygn_scale": {
            "type": "string"
          },
          "plygn_src_code": {
            "type": "string"
          },
          "pos_oaza_cho_chome_code": {
            "type": "string"
          },
          "pos_data_mnt_year": {
            "type": "string"
          },
          "cns_bnd_s_area_kcode": {
            "type": "string"
          },
          "cns_bnd_year": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "TownPostalCode": {
        "type": "object",
        "description": "デジタル庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
        "required": [
          "lg_code",
          "machiaza_id",
          "pref",
          "county",
          "city",
          "ward",
          "kyoto_st",
          "oaza_cho",
          "chome",
          "koaza",
          "machiaza_dist",
          "post_code",
          "add_date",
          "dlt_date"
        ],
        "properties": {
          "lg_code": {
            "type": "string"
          },
          "machiaza_id": {
            "type": "string"
          },
          "pref": {
            "type": "string"
          },
          "county": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "ward": {
            "type": "string"
          },
          "kyoto_st": {
            "type": "string"
          },
          "oaza_cho": {
            "type": "string"
          },
          "chome": {
            "type": "string"
          },
          "koaza": {
            "type": "string"
          },
          "machiaza_dist": {
            "type": "string"
          },
          "post_code": {
            "type": "string"
          },
          "add_date": {
            "type": "string"
          },
          "dlt_date": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AddressBlock": {
        "type": "object",
        "description": "デジタル庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
        "required": [
          "lg_code",
          "machiaza_id",
          "blk_id",
          "city",
          "ward",
          "oaza_cho",
          "chome",
          "koaza",
          "machiaza_dist",
          "blk_num",
          "rsdt_addr_flg",
          "rsdt_addr_mtd_code",
          "status_flg",
          "efct_date",
          "ablt_date",
          "src_code",
          "remarks"
        ],
        "properties": {
          "lg_code": {
            "type": "string"
          },
          "machiaza_id": {
            "type": "string"
          },
          "blk_id": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "ward": {
            "type": "string"
          },
          "oaza_cho": {
            "type": "string"
          },
          "chome": {
            "type": "string"
          },
          "koaza": {
            "type": "string"
          },
          "machiaza_dist": {
            "type": "string"
          },
          "blk_num": {
            "type": "string"
          },
          "rsdt_addr_flg": {
            "type": "string"
          },
          "rsdt_addr_mtd_code": {
            "type": "string"
          },
          "status_flg": {
            "type": "string"
          },
          "efct_date": {
            "type": "string"
          },
          "ablt_date": {
            "type": "string"
          },
          "src_code": {
            "type": "string"
          },
          "remarks": {
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "AddressBlockPosition": {
        "type": "object",
        "description": "デジタル庁の CSV の1行。すべての列名と値を保持します。空欄は空文字です。",
        "required": [
          "lg_code",
          "machiaza_id",
          "blk_id",
          "rsdt_addr_flg",
          "rsdt_addr_mtd_code",
          "rep_lon",
          "rep_lat",
          "rep_srid",
          "rep_scale",
          "rep_src_code",
          "plygn_fname",
          "plygn_kcode",
          "plygn_fmt",
          "plygn_srid",
          "plygn_scale",
          "plygn_src_code",
          "pos_pref",
          "pos_city",
          "pos_oaza_cho_chome",
          "pos_koaza_aka",
          "pos_blk_prc_num",
          "pos_data_mnt_year",
          "rsdt_addr_code_rdbl",
          "rsdt_addr_data_mnt_date"
        ],
        "properties": {
          "lg_code": {
            "type": "string"
          },
          "machiaza_id": {
            "type": "string"
          },
          "blk_id": {
            "type": "string"
          },
          "rsdt_addr_flg": {
            "type": "string"
          },
          "rsdt_addr_mtd_code": {
            "type": "string"
          },
          "rep_lon": {
            "type": "string"
          },
          "rep_lat": {
            "type": "string"
          },
          "rep_srid": {
            "type": "string"
          },
          "rep_scale": {
            "type": "string"
          },
          "rep_src_code": {
            "type": "string"
          },
          "plygn_fname": {
            "type": "string"
          },
          "plygn_kcode": {
            "type": "string"
          },
          "plygn_fmt": {
            "type": "string"
          },
          "plygn_srid": {
            "type": "string"
          },
          "plygn_scale": {
            "type": "string"
          },
          "plygn_src_code": {
            "type": "string"
          },
          "pos_pref": {
            "type": "string"
          },
          "pos_city": {
            "type": "string"
          },
          "pos_oaza_cho_chome": {
            "type": "string"
          },
          "pos_koaza_aka": {
            "type": "string"
          },
          "pos_blk_prc_num": {
            "type": "string"
          },
          "pos_data_mnt_year": {
            "type": "string"
          },
          "rsdt_addr_code_rdbl": {
            "type": "string"
          },
          "rsdt_addr_data_mnt_date": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
