{"openapi": "3.1.0", "info": {"title": "シルギア 不動産の仲介手数料の上限API", "version": "1.0.0", "description": "登録不要・無料の不動産の仲介手数料のAPI。宅建業者が売買・交換・貸借の媒介・代理で受けられる報酬の上限の率（国土交通大臣の報酬告示）と、2024年7月からの低廉な空家等・長期の空家等の特例、それより前の特例を返します。照合した日を data_version で返します。説明: https://api.shirugear.com/chukai/ 。v1 の中では項目を足すことはあっても、名前や意味は変えません（知らない項目は無視してください）。", "termsOfService": "https://api.shirugear.com/terms/", "contact": {"name": "アナライズギア株式会社（シルギア）", "url": "https://shirugear.com/contact"}}, "servers": [{"url": "https://api.shirugear.com"}], "paths": {"/chukai/v1/rates.json": {"get": {"summary": "売買・賃貸の率と特例・決まり", "operationId": "getRates", "responses": {"200": {"description": "率と特例", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Rates"}}}}, "400": {"description": "URLの形が違う", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "日本国内以外から", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "404": {"description": "無いファイル", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "405": {"description": "GET/HEAD以外", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}}}}, "/chukai/v1/meta.json": {"get": {"summary": "データの版・告示の版・出典", "operationId": "getMeta", "responses": {"200": {"description": "データの版", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Meta"}}}}, "400": {"description": "URLの形が違う", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "403": {"description": "日本国内以外から", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "404": {"description": "無いファイル", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}, "405": {"description": "GET/HEAD以外", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Error"}}}}}}}}, "components": {"schemas": {"SaleBracket": {"type": "object", "properties": {"over": {"type": "integer"}, "upto": {"type": ["integer", "null"]}, "rate_incl": {"type": "number", "description": "税込の率"}, "rate_excl": {"type": "number", "description": "税抜の率"}}, "required": ["over", "upto", "rate_incl", "rate_excl"]}, "Period": {"type": "object", "properties": {"key": {"type": "string"}, "from": {"type": "string", "format": "date"}, "until": {"type": ["string", "null"], "format": "date"}, "low_cost": {"type": "object", "properties": {"max_price": {"type": "integer"}, "cap_incl": {"type": "integer"}, "who": {"type": "string", "enum": ["seller", "client"]}, "note": {"type": "string"}}, "required": ["max_price", "cap_incl", "who"]}, "long_vacant": {"type": ["object", "null"], "properties": {"total_months": {"type": "number"}, "tenant_months": {"type": "number"}, "tenant_months_residential": {"type": "number"}, "note": {"type": "string"}}}}, "required": ["key", "from", "until", "low_cost", "long_vacant"]}, "Rates": {"type": "object", "properties": {"name": {"type": "string"}, "currency": {"type": "string", "const": "JPY"}, "sale": {"type": "array", "items": {"$ref": "#/components/schemas/SaleBracket"}}, "rent": {"type": "object", "properties": {"total_months_incl": {"type": "number"}, "one_side_residential_incl": {"type": "number"}}, "required": ["total_months_incl", "one_side_residential_incl"]}, "agency_multiplier": {"type": "integer"}, "periods": {"type": "array", "items": {"$ref": "#/components/schemas/Period"}}, "rules": {"type": "object"}, "data_version": {"type": "string"}}, "required": ["name", "currency", "sale", "rent", "agency_multiplier", "periods", "rules", "data_version"]}, "Meta": {"type": "object", "properties": {"data_version": {"type": "string"}, "checked_at": {"type": "string"}, "files": {"type": "array", "items": {"type": "string"}}, "periods": {"type": "array"}, "law": {"type": "object"}, "scope": {"type": "string"}, "sources": {"type": "array", "items": {"type": "object", "properties": {"label": {"type": "string"}, "url": {"type": "string"}}, "required": ["label", "url"]}}}, "required": ["data_version", "checked_at", "files", "periods", "law", "scope", "sources"]}, "Error": {"type": "object", "properties": {"error": {"type": "object", "properties": {"status": {"type": "integer"}, "code": {"type": "string", "enum": ["invalid_request", "not_found", "region_not_allowed", "method_not_allowed"]}, "message": {"type": "string"}}, "required": ["status", "code", "message"]}}, "required": ["error"]}}}}
