Pre-release. Until the official launch, content may change, including published files.
Skip to content

Source: https://datamodels.jp/en/models/disaster/DesignatedShelter/ · Text CC BY 4.0

DesignatedShelter draft ​

One designated shelter (指定避難所, Basic Act on Disaster Management Art. 49-7), the master record of a facility where evacuees stay for a while, as municipalities register it and GSI publishes it. Opening status and evacuee counts are not here (that is EvacuationShelter, which links here with shelter).

Japanese name指定避難所
Type IRIhttps://datamodels.jp/ns/disaster/DesignatedShelter
@contexthttps://datamodels.jp/context/disaster/v1.jsonld (alias, latest compatible version)
https://datamodels.jp/context/disaster/v1.0.0.jsonld (this version, immutable)
JSON Schema/schema/disaster/DesignatedShelter/v1.json
/schema/disaster/DesignatedShelter/v1.0.0.json
Exampleskey-values · normalized
Sourcegithub.com/geolonia/datamodels

Types and relationships ​

Types and their relationshipsaddresslocationsiteshelterGeometryGeometry5 more links →JapaneseAddressJapanese address2 more links →DesignatedShelterDesignated shelterEvacuationShelterEvacuation shelter operation1 more link →EvacuationSiteDesignated emergency evacuation site3 more links →

Relationship (attribute name)used as a value typeother subjectN more links: continued on that type's page

Attributes ​

name ​

required

Name of the shelter (the facility's name)

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

externalShelterId ​

The shelter's ID in the municipality's own list (unique within it). Required when nationalShelterId is not given

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

nationalShelterId ​

The nationwide common ID (the '共通ID' of GSI's data). 14 characters: fixed 'E' + 5-digit municipality code + 5-digit facility code + type code (1 = designated shelter; then 1 = general, 2 = welfare) + 1 sequence character. Required when externalShelterId is not given

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

localGovernmentCode ​

required

Local government code (6 digits including the check digit) of the municipality that designates the shelter

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

shelterType ​

general (一般避難所) or welfare (福祉避難所, for people who need special care); the same as the second type digit of nationalShelterId

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

address ​

Address of the shelter (JapaneseAddress)

location ​

Location (a point)

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

maxCapacity ​

Number of people the shelter is planned to hold

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

targetEvacuees ​

Who the shelter is for, in the municipality's words (for example for a welfare shelter)

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

alsoEmergencyEvacuationSite ​

true when a designated emergency evacuation site has the same address

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

site ​

The designated emergency evacuation site (EvacuationSite) at the same place

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

designationNotes ​

Other matters the mayor considers necessary

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

description ​

Remarks

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

Example (key-values) ​

The examples are a fictional scenario (heavy rain in Chiyoda, Tokyo). Place names and codes are real; the events, people and teams are invented. See writing examples.

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"
}

Example (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"
  }
}

Open in the JSON-LD Playground: see the full IRI behind every attribute (expanded form).

Try the example ​

Edit it and it is checked as you type.

Loading the schema…

AttributeIRIDefined by
namehttps://uri.etsi.org/ngsi-ld/nameNGSI-LD core
externalShelterIdhttps://datamodels.jp/ns/disaster/externalShelterIdthis subject
nationalShelterIdhttps://datamodels.jp/ns/disaster/nationalShelterIdthis subject
localGovernmentCodehttps://datamodels.jp/ns/common/localGovernmentCodesubject common
shelterTypehttps://datamodels.jp/ns/disaster/shelterTypethis subject
addresshttps://schema.org/addressupstream (schema.org)
locationhttps://uri.etsi.org/ngsi-ld/locationNGSI-LD core
alsoEmergencyEvacuationSitehttps://datamodels.jp/ns/disaster/alsoEmergencyEvacuationSitethis subject
sitehttps://datamodels.jp/ns/disaster/sitethis subject
http
Link: <https://datamodels.jp/context/disaster/v1.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"

How to validate data and send it to a broker: Using the models.

To add attributes of your own to this model, the extension builder writes the @context and JSON Schema.

Corresponding standards: GSI's designated shelter data (one CSV per municipality, 避難所等データダウンロードサイト) ​

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

GSI publishes the designated shelters every municipality registers, nationwide. UTF-8 with a BOM. It has no municipal ID and no capacity.

This modelMaps toNote
nationalShelterId共通ID
name施設・場所名
address住所one line; JapaneseAddress addressText
location緯度, 経度a point [longitude, latitude]
shelterType共通IDthe 13th character (second type digit): 1 → general, 2 → welfare
alsoEmergencyEvacuationSite指定緊急避難場所との住所同一1 is true
designationNotesその他市町村長が必要と認める事項
targetEvacuees受入対象者
description備考
externalShelterIdno counterpartnot in this data (NO is the row number); nationalShelterId identifies the shelter
localGovernmentCodeno counterpartderive from the 5-digit municipality code in the file name, adding the check digit
maxCapacityno counterpartnot in this data

Notes ​

  • 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.

Something missing or wrong?

Open an issue, or propose new attributes or models with the proposal form. How it works: Contributing.

The text of this page is licensed under CC BY 4.0; the model files (JSON Schema, @context, examples) are CC0. LICENSE-CONTENT