{
  "type": "EvacuationSite",
  "domain": "disaster",
  "description": "指定緊急避難場所（災害対策基本法第 49 条の 4）1 か所のデータです。自治体が「指定緊急避難場所一覧」（自治体標準オープンデータセット 03）として公開する一覧の 1 行にあたり、名称や所在地などの基本情報を持ちます。指定は災害の種別ごとです。開設状況や避難者数は、このモデルではなく EvacuationShelter で表します。",
  "contextUrl": "https://datamodels.jp/context/disaster/v1.jsonld",
  "propertyDetails": {
    "name": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "都立一橋高校",
      "required": true,
      "description": "指定緊急避難場所の名称（通称や建物の名前）",
      "@context": "https://uri.etsi.org/ngsi-ld/name"
    },
    "nameKana": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "トリツヒトツバシコウコウ",
      "required": false,
      "description": "名称のカナ表記（全角カタカナ）",
      "@context": "https://datamodels.jp/ns/disaster/nameKana"
    },
    "nameEn": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": null,
      "required": false,
      "description": "名称の英語表記",
      "@context": "https://datamodels.jp/ns/disaster/nameEn"
    },
    "externalSiteId": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "13101-0012",
      "required": false,
      "description": "自治体の指定緊急避難場所一覧での ID（自治体の中で一意）。localGovernmentCode と合わせると全国で一意になります。nationalShelterId が無いときは必須です（国土地理院のデータには自治体の ID がありません）。",
      "@context": "https://datamodels.jp/ns/disaster/externalSiteId"
    },
    "nationalShelterId": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "E1310100012201",
      "required": false,
      "description": "全国共通避難所・避難場所 ID（14 文字。国土地理院の指定緊急避難場所データの「共通 ID」）。このモデルで使えるのは、種別コード 20（指定緊急避難場所）だけです。採番されていなければ省きます。ID の構造と出典は、EvacuationShelter の対応表「全国共通避難所・避難場所 ID」（gsi-national-shelter-id）にまとめています。externalSiteId が無いときは必須です。",
      "@context": "https://datamodels.jp/ns/disaster/nationalShelterId",
      "validation": {
        "pattern": "^E[0-9]{10}20[1-9A-Za-z]$"
      }
    },
    "localGovernmentCode": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "131016",
      "required": true,
      "description": "避難場所を指定し、一覧を公開する自治体の全国地方公共団体コード（検査数字を含む 6 桁）",
      "@context": "https://datamodels.jp/ns/common/localGovernmentCode",
      "validation": {
        "pattern": "^\\d{6}$"
      }
    },
    "address": {
      "ngsiType": "Property",
      "valueType": "object",
      "example": {
        "addressCountry": "JP",
        "addressRegion": "東京都",
        "addressLocality": "千代田区",
        "machiaza": "東神田",
        "chome": "1",
        "localGovernmentCode": "131016",
        "addressText": "東京都千代田区東神田1-12-13"
      },
      "required": false,
      "description": "所在地（JapaneseAddress）。その localGovernmentCode は所在地の自治体のもので、公開する自治体とは違うことがあります。",
      "@context": "https://schema.org/address"
    },
    "location": {
      "ngsiType": "GeoProperty",
      "valueType": "geojson",
      "example": {
        "type": "Point",
        "coordinates": [
          139.7810002,
          35.6945488
        ]
      },
      "required": false,
      "description": "位置（点）",
      "@context": "https://uri.etsi.org/ngsi-ld/location"
    },
    "elevation": {
      "ngsiType": "Property",
      "valueType": "number",
      "example": null,
      "required": false,
      "description": "標高（メートル）",
      "@context": "https://datamodels.jp/ns/disaster/elevation"
    },
    "hazardTypes": {
      "ngsiType": "Property",
      "valueType": "array",
      "example": [
        "stormSurge",
        "earthquake",
        "inlandFlood"
      ],
      "required": false,
      "description": "指定されている災害の種別。flood（洪水）、landslide（崖崩れ、土石流及び地滑り）、stormSurge（高潮）、earthquake（地震）、tsunami（津波）、greatFire（大規模な火事）、inlandFlood（内水氾濫）、eruption（火山現象）",
      "@context": "https://datamodels.jp/ns/disaster/hazardTypes"
    },
    "alsoDesignatedShelter": {
      "ngsiType": "Property",
      "valueType": "boolean",
      "example": true,
      "required": false,
      "description": "指定避難所も兼ねるとき true",
      "@context": "https://datamodels.jp/ns/disaster/alsoDesignatedShelter"
    },
    "alsoWelfareShelter": {
      "ngsiType": "Property",
      "valueType": "boolean",
      "example": null,
      "required": false,
      "description": "指定福祉避難所も兼ねるとき true",
      "@context": "https://datamodels.jp/ns/disaster/alsoWelfareShelter"
    },
    "maxCapacity": {
      "ngsiType": "Property",
      "valueType": "integer",
      "example": null,
      "required": false,
      "description": "想定収容人数",
      "@context": "https://datamodels.jp/ns/disaster/maxCapacity",
      "validation": {
        "minimum": 0
      }
    },
    "targetAreas": {
      "ngsiType": "Property",
      "valueType": "array",
      "example": null,
      "required": false,
      "description": "この避難場所に避難する町会・自治会や地域",
      "@context": "https://datamodels.jp/ns/disaster/targetAreas"
    },
    "telephone": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": null,
      "required": false,
      "description": "連絡先の電話番号",
      "@context": "https://schema.org/telephone"
    },
    "url": {
      "ngsiType": "Property",
      "valueType": "uri",
      "example": null,
      "required": false,
      "description": "避難場所のウェブページ",
      "@context": "https://schema.org/url"
    },
    "description": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": null,
      "required": false,
      "description": "備考",
      "@context": "http://purl.org/dc/terms/description"
    }
  },
  "additionalProperties": false
}
