{
  "type": "AEDLocation",
  "domain": "facility",
  "description": "AED（自動体外式除細動器）1 台の設置場所のデータです。自治体が「AED設置箇所一覧」（自治体標準オープンデータセット 08）として公開する一覧の 1 行にあたります。Facility の下位の型で、建物の中での設置位置、小児用の設備の有無、一般の人が使えるかどうかを足しています。",
  "contextUrl": "https://datamodels.jp/context/facility/v1.jsonld",
  "propertyDetails": {
    "name": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "アスク勝どき保育園",
      "required": true,
      "description": "AED が設置されている建物などの名称",
      "@context": "https://uri.etsi.org/ngsi-ld/name"
    },
    "nameKana": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": null,
      "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"
    },
    "externalFacilityId": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "206",
      "required": true,
      "description": "自治体の一覧での ID（自治体とデータセットの中で一意）。localGovernmentCode と合わせると、全国で一意になります。",
      "@context": "https://datamodels.jp/ns/facility/externalFacilityId"
    },
    "localGovernmentCode": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "131024",
      "required": true,
      "description": "一覧を公開する自治体の全国地方公共団体コード（検査数字を含む 6 桁）",
      "@context": "https://datamodels.jp/ns/common/localGovernmentCode",
      "validation": {
        "pattern": "^\\d{6}$"
      }
    },
    "address": {
      "ngsiType": "Property",
      "valueType": "object",
      "example": {
        "addressCountry": "JP",
        "localGovernmentCode": "131024",
        "addressText": "東京都中央区勝どき4-8-14"
      },
      "required": false,
      "description": "所在地（JapaneseAddress）。その localGovernmentCode は所在地の自治体のもので、公開する自治体とは違うことがあります。",
      "@context": "https://schema.org/address"
    },
    "location": {
      "ngsiType": "GeoProperty",
      "valueType": "geojson",
      "example": {
        "type": "Point",
        "coordinates": [
          139.775622,
          35.656884
        ]
      },
      "required": false,
      "description": "位置（点）",
      "@context": "https://uri.etsi.org/ngsi-ld/location"
    },
    "installationLocation": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "１階事務室",
      "required": false,
      "description": "建物や敷地の中で AED がある場所（例：1階事務室）",
      "@context": "https://datamodels.jp/ns/facility/installationLocation"
    },
    "operatorName": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": null,
      "required": false,
      "description": "AED を設置した組織の名称（データセットの「団体名」）",
      "@context": "https://datamodels.jp/ns/facility/operatorName"
    },
    "corporateNumber": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": null,
      "required": false,
      "description": "AED を設置した組織の法人番号（国税庁、13 桁）",
      "@context": "https://datamodels.jp/ns/facility/corporateNumber",
      "validation": {
        "pattern": "^\\d{13}$"
      }
    },
    "contactPoint": {
      "ngsiType": "Property",
      "valueType": "object",
      "example": {
        "postalCode": "1040054"
      },
      "required": false,
      "description": "連絡先（ContactPoint）：電話番号、内線番号、FAX 番号、メールアドレス、問い合わせフォーム、そのほかの連絡手段、郵便番号",
      "@context": "https://schema.org/contactPoint"
    },
    "openingHoursSpecification": {
      "ngsiType": "Property",
      "valueType": "object",
      "example": null,
      "required": false,
      "description": "利用できる時間（OpeningHours）：曜日、開始時刻、終了時刻、特記事項",
      "@context": "https://schema.org/openingHoursSpecification"
    },
    "url": {
      "ngsiType": "Property",
      "valueType": "uri",
      "example": null,
      "required": false,
      "description": "施設についてのウェブページ",
      "@context": "https://schema.org/url"
    },
    "remarks": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": null,
      "required": false,
      "description": "備考",
      "@context": "https://datamodels.jp/ns/facility/remarks"
    },
    "pediatricSupport": {
      "ngsiType": "Property",
      "valueType": "boolean",
      "example": null,
      "required": false,
      "description": "小児用パッドなど、子ども向けの設備があれば true",
      "@context": "https://datamodels.jp/ns/facility/pediatricSupport"
    },
    "restrictedAccess": {
      "ngsiType": "Property",
      "valueType": "boolean",
      "example": null,
      "required": false,
      "description": "立ち入りが制限された区域にあり、一般の人が使えなければ true（データセットの「外部利用不可」）",
      "@context": "https://datamodels.jp/ns/facility/restrictedAccess"
    }
  },
  "additionalProperties": false
}
