{"components":{"schemas":{"Error":{"properties":{"error":{"properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"type":"object"}},"required":["error"],"type":"object"},"LayerBlock":{"properties":{"block_id":{"type":"string"},"data":{"type":["object","null"]},"layer_id":{"type":"string"},"license":{"properties":{"class":{"type":["string","null"]},"evidence_url":{"type":["string","null"]},"label":{"type":["string","null"]}},"type":"object"},"name":{"type":"string"},"quality_flags":{"items":{"type":"string"},"type":"array"},"rows_contributed":{"type":["integer","null"]},"rows_excluded":{"type":["integer","null"]},"source":{"properties":{"attribution":{"type":"string"},"fiscal_years":{"items":{"type":"integer"},"type":"array"},"provider":{"type":"string"}},"type":"object"},"status":{"enum":["ok","unavailable_due_to_license","unavailable_due_to_not_ingested","experimental"],"type":"string"}},"required":["layer_id","name","status","license","source","data"],"type":"object"},"StatusEnum":{"enum":["ok","unavailable_due_to_license","unavailable_due_to_not_ingested","experimental"],"type":"string"}},"securitySchemes":{"BearerAuth":{"description":"\u516c\u958bAPI\u30ad\u30fc\uff08/developers \u3067\u767a\u884c\uff09","scheme":"bearer","type":"http"}}},"info":{"description":"\u03b2\u30fb\u767d\u30ec\u30a4\u30e4\u30fc\u9650\u5b9a\u306e\u56fd\u571f\u30d7\u30ed\u30d5\u30a1\u30a4\u30ebAPI\u3002\u56fd\u571f\u4ea4\u901a\u7701\u7b49\u306e\u516c\u7684\u30c7\u30fc\u30bf\u3092\u5229\u7528\u3057\u305f\u6c11\u9593\u30b5\u30fc\u30d3\u30b9\u3067\u3042\u308a\u3001\u5b98\u516c\u5e81\u306e\u30b5\u30a4\u30c8\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002 \u5168\u30ec\u30b9\u30dd\u30f3\u30b9top\u306b service_phase=beta \u3092\u542b\u3080\u3002","title":"\u56fd\u571fDB (kokudodb) \u516c\u958bAPI","version":"1.0.0-beta"},"openapi":"3.1.0","paths":{"/health":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"security":[],"summary":"\u30d8\u30eb\u30b9\u30c1\u30a7\u30c3\u30af\uff08\u8a8d\u8a3c\u4e0d\u8981\uff09"}},"/openapi.json":{"get":{"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"security":[],"summary":"OpenAPI 3.1 \u30b9\u30da\u30c3\u30af\uff08\u8a8d\u8a3c\u4e0d\u8981\uff09"}},"/v1/layers":{"get":{"description":"","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u4e0d\u6b63\u306a\u30d1\u30e9\u30e1\u30fc\u30bf"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u8a8d\u8a3c\u30a8\u30e9\u30fc\uff08Bearer API\u30ad\u30fc\u5fc5\u9808\uff09"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ea\u30bd\u30fc\u30b9\u304c\u898b\u3064\u304b\u3089\u306a\u3044"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ec\u30fc\u30c8\u5236\u9650\u8d85\u904e"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"snapshot\u672aready \u307e\u305f\u306f license ledger stale\uff08fail-close\uff09"}},"security":[{"BearerAuth":[]}],"summary":"\u65e2\u77e5\u30ec\u30a4\u30e4\u30fc\u30ab\u30bf\u30ed\u30b0"}},"/v1/license/ledger":{"get":{"description":"","parameters":[{"in":"query","name":"layer_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u4e0d\u6b63\u306a\u30d1\u30e9\u30e1\u30fc\u30bf"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u8a8d\u8a3c\u30a8\u30e9\u30fc\uff08Bearer API\u30ad\u30fc\u5fc5\u9808\uff09"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ea\u30bd\u30fc\u30b9\u304c\u898b\u3064\u304b\u3089\u306a\u3044"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ec\u30fc\u30c8\u5236\u9650\u8d85\u904e"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"snapshot\u672aready \u307e\u305f\u306f license ledger stale\uff08fail-close\uff09"}},"security":[{"BearerAuth":[]}],"summary":"\u53f0\u5e33\u4e00\u89a7\uff08\u516c\u958b\u5b89\u5168\u5217\u306e\u307f\uff09"}},"/v1/license/resolve":{"get":{"description":"","parameters":[{"in":"query","name":"layer_id","required":true,"schema":{"type":"string"}},{"in":"query","name":"fiscal_year","schema":{"type":"integer"}},{"in":"query","name":"pref_code","schema":{"type":"string"}},{"in":"query","name":"muni_code","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u4e0d\u6b63\u306a\u30d1\u30e9\u30e1\u30fc\u30bf"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u8a8d\u8a3c\u30a8\u30e9\u30fc\uff08Bearer API\u30ad\u30fc\u5fc5\u9808\uff09"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ea\u30bd\u30fc\u30b9\u304c\u898b\u3064\u304b\u3089\u306a\u3044"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ec\u30fc\u30c8\u5236\u9650\u8d85\u904e"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"snapshot\u672aready \u307e\u305f\u306f license ledger stale\uff08fail-close\uff09"}},"security":[{"BearerAuth":[]}],"summary":"\u53f0\u5e33\u89e3\u6c7a\uff08fail-close\uff09"}},"/v1/munis/{muni_code}":{"get":{"description":"","parameters":[{"in":"path","name":"muni_code","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u4e0d\u6b63\u306a\u30d1\u30e9\u30e1\u30fc\u30bf"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u8a8d\u8a3c\u30a8\u30e9\u30fc\uff08Bearer API\u30ad\u30fc\u5fc5\u9808\uff09"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ea\u30bd\u30fc\u30b9\u304c\u898b\u3064\u304b\u3089\u306a\u3044"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ec\u30fc\u30c8\u5236\u9650\u8d85\u904e"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"snapshot\u672aready \u307e\u305f\u306f license ledger stale\uff08fail-close\uff09"}},"security":[{"BearerAuth":[]}],"summary":"\u81ea\u6cbb\u4f53\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb"}},"/v1/munis/{muni_code}/land-prices":{"get":{"description":"","parameters":[{"in":"path","name":"muni_code","required":true,"schema":{"type":"string"}},{"in":"query","name":"from","schema":{"type":"integer"}},{"in":"query","name":"to","schema":{"type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u4e0d\u6b63\u306a\u30d1\u30e9\u30e1\u30fc\u30bf"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u8a8d\u8a3c\u30a8\u30e9\u30fc\uff08Bearer API\u30ad\u30fc\u5fc5\u9808\uff09"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ea\u30bd\u30fc\u30b9\u304c\u898b\u3064\u304b\u3089\u306a\u3044"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ec\u30fc\u30c8\u5236\u9650\u8d85\u904e"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"snapshot\u672aready \u307e\u305f\u306f license ledger stale\uff08fail-close\uff09"}},"security":[{"BearerAuth":[]}],"summary":"\u5730\u4fa1\u6642\u7cfb\u5217\uff08L01/L02\uff09"}},"/v1/munis/{muni_code}/zoning":{"get":{"description":"","parameters":[{"in":"path","name":"muni_code","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u4e0d\u6b63\u306a\u30d1\u30e9\u30e1\u30fc\u30bf"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u8a8d\u8a3c\u30a8\u30e9\u30fc\uff08Bearer API\u30ad\u30fc\u5fc5\u9808\uff09"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ea\u30bd\u30fc\u30b9\u304c\u898b\u3064\u304b\u3089\u306a\u3044"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ec\u30fc\u30c8\u5236\u9650\u8d85\u904e"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"snapshot\u672aready \u307e\u305f\u306f license ledger stale\uff08fail-close\uff09"}},"security":[{"BearerAuth":[]}],"summary":"\u7528\u9014\u5730\u57df\u30b5\u30de\u30ea\uff08A55\uff09"}},"/v1/profile":{"get":{"description":"q / muni_code / place_id \u306f\u540c\u6642\u6307\u5b9a\u7981\u6b62\uff08\u3044\u305a\u308c\u304b1\u3064\u5fc5\u9808\uff09\u3002","parameters":[{"in":"query","name":"q","schema":{"type":"string"}},{"in":"query","name":"muni_code","schema":{"type":"string"}},{"in":"query","name":"place_id","schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u4e0d\u6b63\u306a\u30d1\u30e9\u30e1\u30fc\u30bf"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u8a8d\u8a3c\u30a8\u30e9\u30fc\uff08Bearer API\u30ad\u30fc\u5fc5\u9808\uff09"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ea\u30bd\u30fc\u30b9\u304c\u898b\u3064\u304b\u3089\u306a\u3044"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"\u30ec\u30fc\u30c8\u5236\u9650\u8d85\u904e"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"description":"snapshot\u672aready \u307e\u305f\u306f license ledger stale\uff08fail-close\uff09"}},"security":[{"BearerAuth":[]}],"summary":"\u56fd\u571f\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb1\u30b3\u30fc\u30eb"}}},"servers":[{"url":"https://kokudodb.jp"}]}
