{"dataset_id":"tokyo-short-term-rentals","schema_version":1,"schema":{"type":"object","allOf":[{"if":{"properties":{"operator_type":{"const":"individual"}}},"then":{"properties":{"operator_name":{"type":"null"},"operator_phone":{"type":"null"},"corporate_number":{"type":"null"}}}}],"required":["ward_code","notification_number","location_chome","operator_type","status","official_source","observed_at"],"properties":{"notes":{"type":["string","null"],"maxLength":1000,"description":"Caveats, exceptions or values that were not published"},"status":{"enum":["active","closed"],"type":"string","description":"Closed when the ward lists the business as discontinued (廃止)"},"ward_code":{"enum":["13101","13102","13103","13104","13105","13106","13107","13108","13109","13110","13111","13112","13113","13114","13115","13116","13117","13118","13119","13120","13121","13122","13123"],"type":"string","description":"Municipality code of the Tokyo special ward (13101 Chiyoda ... 13123 Edogawa)"},"observed_at":{"type":"string","format":"date-time","description":"When the values were observed"},"operator_name":{"type":["string","null"],"maxLength":200,"description":"Operator name: corporations only (null for individuals)"},"operator_type":{"enum":["corporation","individual","unknown"],"type":"string","description":"Who notified the home"},"location_chome":{"type":"string","maxLength":120,"description":"Location to chome level only; never building or room numbers"},"operator_phone":{"type":["string","null"],"maxLength":40,"description":"Business phone as published by the ward: corporations only"},"official_source":{"type":"string","format":"uri","description":"Official page the values come from"},"corporate_number":{"type":["string","null"],"pattern":"^[0-9]{13}$","description":"13-digit Japanese corporate number (法人番号), corporations only"},"notification_date":{"type":["string","null"],"format":"date","description":"Date the home was notified"},"management_company":{"type":["string","null"],"maxLength":200,"description":"Registered management company named in the list, if any"},"notification_number":{"type":"string","maxLength":40,"description":"届出番号 as published by the ward"},"residential_only_zone":{"type":["boolean","null"],"description":"In a residential-only zone (ward rules often limit operating days there)"}},"additionalProperties":false},"primary_key":["ward_code","notification_number"],"field_descriptions":{"notes":"Caveats, exceptions or values that were not published","status":"Closed when the ward lists the business as discontinued (廃止)","ward_code":"Municipality code of the Tokyo special ward (13101 Chiyoda ... 13123 Edogawa)","observed_at":"When the values were observed","operator_name":"Operator name: corporations only (null for individuals)","operator_type":"Who notified the home","location_chome":"Location to chome level only; never building or room numbers","operator_phone":"Business phone as published by the ward: corporations only","official_source":"Official page the values come from","corporate_number":"13-digit Japanese corporate number (法人番号), corporations only","notification_date":"Date the home was notified","management_company":"Registered management company named in the list, if any","notification_number":"届出番号 as published by the ward","residential_only_zone":"In a residential-only zone (ward rules often limit operating days there)"},"supported_query_operations":["eq","neq","in","gt","gte","lt","lte","between","contains","prefix","sort","fields","aggregate"]}