{
  "type": "PublicToilet",
  "domain": "facility",
  "description": "公衆トイレ 1 か所のデータです。自治体が「公衆トイレ一覧」（自治体標準オープンデータセット 13）として公開する一覧の 1 行にあたります。Facility の下位の型で、設置位置、種類ごとのトイレの数、バリアフリートイレ、車椅子使用者用、乳幼児用、オストメイト用の設備を足しています。",
  "contextUrl": "https://datamodels.jp/context/facility/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": 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": "131016C00008",
      "required": true,
      "description": "自治体の一覧での ID（自治体とデータセットの中で一意）。localGovernmentCode と合わせると、全国で一意になります。",
      "@context": "https://datamodels.jp/ns/facility/externalFacilityId"
    },
    "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",
        "banchi": "11",
        "localGovernmentCode": "131016",
        "addressText": "東京都千代田区神田佐久間町1-11"
      },
      "required": false,
      "description": "所在地（JapaneseAddress）。その localGovernmentCode は所在地の自治体のもので、公開する自治体とは違うことがあります。",
      "@context": "https://schema.org/address"
    },
    "location": {
      "ngsiType": "GeoProperty",
      "valueType": "geojson",
      "example": {
        "type": "Point",
        "coordinates": [
          139.774738,
          35.697264
        ]
      },
      "required": false,
      "description": "位置（点）",
      "@context": "https://uri.etsi.org/ngsi-ld/location"
    },
    "installationLocation": {
      "ngsiType": "Property",
      "valueType": "string",
      "example": null,
      "required": false,
      "description": "トイレがある場所（例：駅のどの改札の近くか）。データセットは、名称と設置位置で 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": "施設を運営する組織、または設備を設置した組織の法人番号（国税庁、13 桁）",
      "@context": "https://datamodels.jp/ns/facility/corporateNumber",
      "validation": {
        "pattern": "^\\d{13}$"
      }
    },
    "contactPoint": {
      "ngsiType": "Property",
      "valueType": "object",
      "example": null,
      "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"
    },
    "totalMaleToilets": {
      "ngsiType": "Property",
      "valueType": "integer",
      "example": null,
      "required": false,
      "description": "男性トイレの総数（小便器を含む）",
      "@context": "https://datamodels.jp/ns/facility/totalMaleToilets",
      "validation": {
        "minimum": 0
      }
    },
    "maleUrinals": {
      "ngsiType": "Property",
      "valueType": "integer",
      "example": 3,
      "required": false,
      "description": "男性トイレの小便器の数",
      "@context": "https://datamodels.jp/ns/facility/maleUrinals",
      "validation": {
        "minimum": 0
      }
    },
    "maleJapaneseStyleToilets": {
      "ngsiType": "Property",
      "valueType": "integer",
      "example": 1,
      "required": false,
      "description": "男性トイレの和式の数",
      "@context": "https://datamodels.jp/ns/facility/maleJapaneseStyleToilets",
      "validation": {
        "minimum": 0
      }
    },
    "maleWesternStyleToilets": {
      "ngsiType": "Property",
      "valueType": "integer",
      "example": 1,
      "required": false,
      "description": "男性トイレの洋式の数",
      "@context": "https://datamodels.jp/ns/facility/maleWesternStyleToilets",
      "validation": {
        "minimum": 0
      }
    },
    "totalFemaleToilets": {
      "ngsiType": "Property",
      "valueType": "integer",
      "example": null,
      "required": false,
      "description": "女性トイレの総数",
      "@context": "https://datamodels.jp/ns/facility/totalFemaleToilets",
      "validation": {
        "minimum": 0
      }
    },
    "femaleJapaneseStyleToilets": {
      "ngsiType": "Property",
      "valueType": "integer",
      "example": 1,
      "required": false,
      "description": "女性トイレの和式の数",
      "@context": "https://datamodels.jp/ns/facility/femaleJapaneseStyleToilets",
      "validation": {
        "minimum": 0
      }
    },
    "femaleWesternStyleToilets": {
      "ngsiType": "Property",
      "valueType": "integer",
      "example": 1,
      "required": false,
      "description": "女性トイレの洋式の数",
      "@context": "https://datamodels.jp/ns/facility/femaleWesternStyleToilets",
      "validation": {
        "minimum": 0
      }
    },
    "totalUnisexToilets": {
      "ngsiType": "Property",
      "valueType": "integer",
      "example": null,
      "required": false,
      "description": "男女共用トイレの総数",
      "@context": "https://datamodels.jp/ns/facility/totalUnisexToilets",
      "validation": {
        "minimum": 0
      }
    },
    "unisexJapaneseStyleToilets": {
      "ngsiType": "Property",
      "valueType": "integer",
      "example": null,
      "required": false,
      "description": "男女共用トイレの和式の数",
      "@context": "https://datamodels.jp/ns/facility/unisexJapaneseStyleToilets",
      "validation": {
        "minimum": 0
      }
    },
    "unisexWesternStyleToilets": {
      "ngsiType": "Property",
      "valueType": "integer",
      "example": null,
      "required": false,
      "description": "男女共用トイレの洋式の数",
      "@context": "https://datamodels.jp/ns/facility/unisexWesternStyleToilets",
      "validation": {
        "minimum": 0
      }
    },
    "barrierFreeToilets": {
      "ngsiType": "Property",
      "valueType": "integer",
      "example": 1,
      "required": false,
      "description": "バリアフリートイレの数。公共交通移動等円滑化基準の第 13 条第 2 項に合うトイレか、自治体が多目的トイレやバリアフリートイレとして定めるものです。",
      "@context": "https://datamodels.jp/ns/facility/barrierFreeToilets",
      "validation": {
        "minimum": 0
      }
    },
    "wheelchairToilet": {
      "ngsiType": "Property",
      "valueType": "boolean",
      "example": null,
      "required": false,
      "description": "車椅子使用者用のトイレがあれば true",
      "@context": "https://datamodels.jp/ns/facility/wheelchairToilet"
    },
    "babyCareToilet": {
      "ngsiType": "Property",
      "valueType": "boolean",
      "example": true,
      "required": false,
      "description": "おむつ交換台やベビーチェアなど、乳幼児用の設備を備えたトイレがあれば true",
      "@context": "https://datamodels.jp/ns/facility/babyCareToilet"
    },
    "ostomateToilet": {
      "ngsiType": "Property",
      "valueType": "boolean",
      "example": false,
      "required": false,
      "description": "オストメイト用の設備を備えたトイレがあれば true",
      "@context": "https://datamodels.jp/ns/facility/ostomateToilet"
    }
  },
  "additionalProperties": false
}
