{"openapi": "3.1.0", "info": {"title": "シルギア 育児休業給付の上限額・給付率API", "version": "1.0.0", "description": "登録不要・無料の育児休業給付のAPI。育児休業給付金・出生時育児休業給付金・出生後休業支援給付金・育児時短就業給付金の休業開始時賃金日額の上限・下限、上限額、給付率、支給限度額と最低限度額を、毎年8月1日に変わる時期ごと（2024年8月から）に返します。厚生労働省の発表と雇用保険法から作成し、照合した日を data_version で返します。説明: https://api.shirugear.com/ikuji/ 。v1 の中では項目を足すことはあっても、名前や意味は変えません（知らない項目は無視してください）。", "termsOfService": "https://api.shirugear.com/terms/", "contact": {"name": "アナライズギア株式会社（シルギア）", "url": "https://shirugear.com/contact"}}, "servers": [{"url": "https://api.shirugear.com"}], "paths": {"/ikuji/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"}}}}}}}, "/ikuji/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": {"Period": {"type": "object", "properties": {"key": {"type": "string"}, "from": {"type": "string", "format": "date"}, "until": {"type": ["string", "null"], "format": "date"}, "wage_daily": {"type": "object", "properties": {"min": {"type": "integer"}, "max": {"type": "integer"}}, "required": ["min", "max"], "description": "休業開始時賃金日額の下限・上限（円）"}, "wage_monthly": {"type": "object", "properties": {"min": {"type": "integer"}, "max": {"type": "integer"}}, "required": ["min", "max"], "description": "賃金月額（日額×30）の下限・上限（円）"}, "max_benefit": {"type": "object", "properties": {"childcare_67": {"type": "integer"}, "childcare_50": {"type": "integer"}, "birth_67": {"type": "integer"}, "postnatal_13": {"type": "integer"}}, "required": ["childcare_67", "childcare_50", "birth_67", "postnatal_13"], "description": "上限額（円）"}, "jitan": {"type": "object", "properties": {"limit": {"type": "integer", "description": "支給限度額"}, "minimum": {"type": "integer", "description": "最低限度額"}, "from": {"type": "string", "format": "date"}}, "required": ["limit", "minimum", "from"]}, "postnatal_from": {"type": "string", "format": "date"}}, "required": ["key", "from", "until", "wage_daily", "wage_monthly", "max_benefit", "jitan", "postnatal_from"]}, "Rates": {"type": "object", "properties": {"name": {"type": "string"}, "currency": {"type": "string", "const": "JPY"}, "periods": {"type": "array", "items": {"$ref": "#/components/schemas/Period"}}, "rules": {"type": "object", "description": "各給付の率・日数と計算の決まり（文で説明。率と日数は数値も）"}, "data_version": {"type": "string"}}, "required": ["name", "currency", "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", "items": {"type": "object", "properties": {"key": {"type": "string"}, "from": {"type": "string"}, "until": {"type": ["string", "null"]}}}}, "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", "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"]}}}}
