{
  "type": "Facility",
  "domain": "facility",
  "description": "自治体がオープンデータの一覧で公開する施設 1 か所のデータです。自治体標準オープンデータセットの施設のデータセットに共通する項目（名称、所在地、位置、公開する自治体、運営する組織、連絡先、利用できる時間）を持ちます。GIF のコアデータモデル「施設」に対応します。AED や公衆トイレなどの施設の種類ごとに、そのデータセットだけの項目を足した下位の型があります。",
  "contextUrl": "https://datamodels.jp/context/facility/v1.jsonld",
  "propertyDetails": {
    "name": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "千代田区役所",
      "required": false,
      "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"
    },
    "externalFacilityId": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "131016F00001",
      "required": false,
      "description": "自治体の一覧での ID（自治体とデータセットの中で一意）。localGovernmentCode と合わせると、全国で一意になります。",
      "@context": "https://datamodels.jp/ns/facility/externalFacilityId"
    },
    "localGovernmentCode": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "131016",
      "required": false,
      "description": "一覧を公開する自治体の全国地方公共団体コード（検査数字を含む 6 桁）",
      "@context": "https://datamodels.jp/ns/common/localGovernmentCode",
      "validation": {
        "pattern": "^\\d{6}$"
      }
    },
    "address": {
      "ngsiType": "Property",
      "valueType": "object",
      "example": {
        "addressCountry": "JP",
        "postalCode": "102-8688",
        "addressRegion": "東京都",
        "addressLocality": "千代田区",
        "machiaza": "九段南",
        "chome": "1",
        "banchi": "2",
        "go": "1",
        "residentialIndication": true,
        "localGovernmentCode": "131016",
        "abrMachiazaId": "0008001",
        "addressText": "東京都千代田区九段南1丁目2番1号"
      },
      "required": false,
      "description": "所在地（JapaneseAddress）。その localGovernmentCode は所在地の自治体のもので、公開する自治体とは違うことがあります。",
      "@context": "https://schema.org/address"
    },
    "location": {
      "ngsiType": "GeoProperty",
      "valueType": "geojson",
      "example": {
        "type": "Point",
        "coordinates": [
          139.75354,
          35.693947
        ]
      },
      "required": false,
      "description": "位置（点）",
      "@context": "https://uri.etsi.org/ngsi-ld/location"
    },
    "operatorName": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "千代田区",
      "required": false,
      "description": "施設を運営する組織の名称。AED のような設備では、設置した組織です（データセットの「団体名」「法人の名称」）。",
      "@context": "https://datamodels.jp/ns/facility/operatorName"
    },
    "corporateNumber": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": "8000020131016",
      "required": false,
      "description": "施設を運営する組織、または設備を設置した組織の法人番号（国税庁、13 桁）",
      "@context": "https://datamodels.jp/ns/facility/corporateNumber",
      "validation": {
        "pattern": "^\\d{13}$"
      }
    },
    "contactPoint": {
      "ngsiType": "Property",
      "valueType": "object",
      "example": {
        "telephone": "03-3264-2111",
        "otherChannels": "千代田区コールセンター 03-3264-3910（年中無休、8:00〜21:00）",
        "postalCode": "102-8688"
      },
      "required": false,
      "description": "連絡先（ContactPoint）：電話番号、内線番号、FAX 番号、メールアドレス、問い合わせフォーム、そのほかの連絡手段、郵便番号",
      "@context": "https://schema.org/contactPoint"
    },
    "openingHoursSpecification": {
      "ngsiType": "Property",
      "valueType": "object",
      "example": {
        "dayOfWeek": [
          "Monday",
          "Tuesday",
          "Wednesday",
          "Thursday",
          "Friday"
        ],
        "opens": "08:30",
        "closes": "17:00",
        "description": "祝日・年末年始（12月29日〜1月3日）を除く。一部の窓口は開庁時間が異なる。"
      },
      "required": false,
      "description": "利用できる時間（OpeningHours）：曜日、開始時刻、終了時刻、特記事項",
      "@context": "https://schema.org/openingHoursSpecification"
    },
    "url": {
      "ngsiType": "Property",
      "valueType": "uri",
      "example": "https://www.city.chiyoda.lg.jp/",
      "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"
    }
  },
  "additionalProperties": false
}
