プレリリース版です。正式公開までは、公開済みのファイルも含めて内容が変わることがあります。
Skip to content

出典: https://datamodels.jp/models/disaster/DesignatedShelter/ · 文章は CC BY 4.0

DesignatedShelter ドラフト ​

指定避難所

指定避難所(災害対策基本法第49条の7)1件。避難した人が一定期間滞在する施設のマスタで、市町村が登録し国土地理院が公開する。開設状況や避難者数は持たない(それは EvacuationShelter で、shelter でここを参照する)。

型 IRIhttps://datamodels.jp/ns/disaster/DesignatedShelter
@contexthttps://datamodels.jp/context/disaster/v1.jsonld (エイリアス、互換性のある最新版)
https://datamodels.jp/context/disaster/v1.0.0.jsonld (このバージョン、不変)
JSON Schema/schema/disaster/DesignatedShelter/v1.json
/schema/disaster/DesignatedShelter/v1.0.0.json
例key-values · normalized
ソースgithub.com/geolonia/datamodels

型と関係 ​

型と関係の図addresslocationsiteshelterGeometryジオメトリほか 5 件の関係 →JapaneseAddress日本の住所ほか 2 件の関係 →DesignatedShelter指定避難所EvacuationShelter避難所運用状況ほか 1 件の関係 →EvacuationSite指定緊急避難場所ほか 3 件の関係 →

Relationship(属性名)値型として使う他のサブジェクトほか N 件: その型のページに続きがある

属性 ​

name ​

必須

指定避難所の名称(施設の名前)

  • 値: Property, string
  • IRI: https://uri.etsi.org/ngsi-ld/name

externalShelterId ​

市町村の避難所一覧における ID(市町村内で一意)。nationalShelterId が無いときは必須

  • 値: Property, string
  • IRI: https://datamodels.jp/ns/disaster/externalShelterId

nationalShelterId ​

全国共通避難所・避難場所ID(国土地理院のデータの「共通ID」)。14桁:固定値 E + 自治体コード5桁 + 施設コード5桁 + 種別コード(1 = 指定避難所。続く 1 = 一般、2 = 福祉)+ 連番1桁。externalShelterId が無いときは必須

  • 値: Property, string
  • IRI: https://datamodels.jp/ns/disaster/nationalShelterId

localGovernmentCode ​

必須

指定する市町村の全国地方公共団体コード(検査数字を含む6桁)

  • 値: Property, string
  • IRI: https://datamodels.jp/ns/common/localGovernmentCode

shelterType ​

general(一般避難所)または welfare(福祉避難所、特別な配慮が必要な人のため)。nationalShelterId の種別コードの2桁目と同じ

  • 値: Property, string: general | welfare
  • IRI: https://datamodels.jp/ns/disaster/shelterType

address ​

所在地(JapaneseAddress)

location ​

位置(点)

  • 値: GeoProperty (Geometry, Point)
  • IRI: https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.8.jsonld#location

maxCapacity ​

想定収容人数

  • 値: Property, integer, ≥ 0
  • IRI: https://datamodels.jp/ns/disaster/maxCapacity

targetEvacuees ​

受入対象者(市町村の書き方のまま。福祉避難所の対象など)

  • 値: Property, string
  • IRI: https://datamodels.jp/ns/disaster/targetEvacuees

alsoEmergencyEvacuationSite ​

同じ住所に指定緊急避難場所があるとき true(指定緊急避難場所との住所同一)

  • 値: Property, boolean
  • IRI: https://datamodels.jp/ns/disaster/alsoEmergencyEvacuationSite

site ​

同じ場所の指定緊急避難場所(EvacuationSite)

  • 値: Relationship → EvacuationSite
  • IRI: https://datamodels.jp/ns/disaster/site

designationNotes ​

その他市町村長が必要と認める事項

  • 値: Property, string
  • IRI: https://datamodels.jp/ns/disaster/designationNotes

description ​

備考

  • 値: Property, string
  • IRI: https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.8.jsonld#description

例(key-values) ​

例は架空のシナリオ(東京都千代田区の大雨対応)です。地名とコードは実在のものですが、出来事・人・チームは架空です。書き方は例の書き方。

json
{
  "id": "urn:ngsi-ld:DesignatedShelter:0012",
  "type": "DesignatedShelter",
  "name": "都立一橋高校",
  "externalShelterId": "13101-0012",
  "nationalShelterId": "E1310100012111",
  "localGovernmentCode": "131016",
  "shelterType": "general",
  "address": {
    "addressCountry": "JP",
    "addressRegion": "東京都",
    "addressLocality": "千代田区",
    "machiaza": "東神田",
    "chome": "1",
    "localGovernmentCode": "131016",
    "addressText": "東京都千代田区東神田1-12-13"
  },
  "location": {
    "type": "Point",
    "coordinates": [
      139.7810002,
      35.6945488
    ]
  },
  "alsoEmergencyEvacuationSite": true,
  "site": "urn:ngsi-ld:EvacuationSite:0012"
}

例(normalized) ​

json
{
  "@context": [
    "https://datamodels.jp/context/disaster/v1.0.0.jsonld",
    "https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.8.jsonld"
  ],
  "id": "urn:ngsi-ld:DesignatedShelter:0012",
  "type": "DesignatedShelter",
  "name": {
    "type": "Property",
    "value": "都立一橋高校"
  },
  "externalShelterId": {
    "type": "Property",
    "value": "13101-0012"
  },
  "nationalShelterId": {
    "type": "Property",
    "value": "E1310100012111"
  },
  "localGovernmentCode": {
    "type": "Property",
    "value": "131016"
  },
  "shelterType": {
    "type": "Property",
    "value": "general"
  },
  "address": {
    "type": "Property",
    "value": {
      "addressCountry": "JP",
      "addressRegion": "東京都",
      "addressLocality": "千代田区",
      "machiaza": "東神田",
      "chome": "1",
      "localGovernmentCode": "131016",
      "addressText": "東京都千代田区東神田1-12-13"
    }
  },
  "location": {
    "type": "GeoProperty",
    "value": {
      "type": "Point",
      "coordinates": [
        139.7810002,
        35.6945488
      ]
    }
  },
  "alsoEmergencyEvacuationSite": {
    "type": "Property",
    "value": true
  },
  "site": {
    "type": "Relationship",
    "object": "urn:ngsi-ld:EvacuationSite:0012"
  }
}

JSON-LD Playground で開く:属性ごとの IRI(展開形)が見られます。

例を試す ​

書き換えると、その場で検証します。

スキーマを読み込んでいます…

属性IRI出どころ
namehttps://uri.etsi.org/ngsi-ld/nameNGSI-LD コア
externalShelterIdhttps://datamodels.jp/ns/disaster/externalShelterIdこのサブジェクト
nationalShelterIdhttps://datamodels.jp/ns/disaster/nationalShelterIdこのサブジェクト
localGovernmentCodehttps://datamodels.jp/ns/common/localGovernmentCodeサブジェクト common
shelterTypehttps://datamodels.jp/ns/disaster/shelterTypeこのサブジェクト
addresshttps://schema.org/address上流(schema.org)
locationhttps://uri.etsi.org/ngsi-ld/locationNGSI-LD コア
alsoEmergencyEvacuationSitehttps://datamodels.jp/ns/disaster/alsoEmergencyEvacuationSiteこのサブジェクト
sitehttps://datamodels.jp/ns/disaster/siteこのサブジェクト
http
Link: <https://datamodels.jp/context/disaster/v1.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"

データの検証とブローカーへの送り方は使い方を参照。

このモデルに独自の属性を足すときは、拡張ビルダーで @context と JSON Schema を作れます。

対応する標準: 国土地理院「指定避難所データ」(市町村別 CSV、避難所等データダウンロードサイト) ​

国土地理院「指定避難所データ」(市町村別 CSV、避難所等データダウンロードサイト) · 国土地理院コンテンツ利用規約 and the site's ご利用上の注意 (the data may not be current; 指定緊急避難場所 and 指定避難所 differ; designation is per hazard for sites; pass these notes on when sharing)

市町村が登録した指定避難所を国土地理院が全国分公開するもの。文字コードは UTF-8(BOM 付き)。市町村の ID と収容人数は含まない。

このモデル対応先備考
nationalShelterId共通ID
name施設・場所名
address住所連結表記。JapaneseAddress の addressText
location緯度, 経度[経度, 緯度] の点
shelterType共通ID13桁目(種別コードの2桁目):1 → general、2 → welfare
alsoEmergencyEvacuationSite指定緊急避難場所との住所同一1 なら true
designationNotesその他市町村長が必要と認める事項
targetEvacuees受入対象者
description備考
externalShelterId対応なしこのデータには無い(NO は一覧の行番号)。nationalShelterId で識別する
localGovernmentCode対応なしファイル名の市町村コード(5桁)から導く。検査数字を足して6桁にする
maxCapacity対応なしこのデータには無い

注記 ​

  • Built on GSI's designated shelter data (指定避難所データ, one CSV per municipality, https://hinanmap.gsi.go.jp/hinanjocp/hinanbasho/koukaidate.html), which municipalities register under the Basic Act on Disaster Management Art. 49-7. The type codes follow the nationwide common ID (Cabinet Office, 2024-11-07). Field by field in mapping/gsi-designated-shelter.yaml.
  • Added on 2026-09-29 as the master that EvacuationShelter (the operation of a shelter) points to; until then it referenced the master only by ID. With EvacuationSite (the 指定緊急避難場所 a municipality publishes) both designations the law separates now have a master. A place can be both: site links them, and the facility code inside the two common IDs is the same (都立一橋高校: E1310100012111 as a shelter, E1310100012201 as a site).
  • The 自治体標準オープンデータセット has no dataset for designated shelters, so GSI's data is the published source. Capacity is not in GSI's list; maxCapacity is for municipal lists that have it.
  • Upstream considered (2026-09-29): Smart Data Models has no shelter type.

改善の提案

属性が足りない、説明がおかしいと思ったら、Issue で知らせてください。新しい属性やモデルは提案フォームから。進め方は貢献するにあります。

このページの文章は CC BY 4.0、モデルのファイル(JSON Schema、@context、例)は CC0 です。 LICENSE-CONTENT