{"openapi": "3.1.0", "info": {"title": "シルギア 失業給付（基本手当）の日額・給付日数API", "version": "1.0.0", "description": "登録不要・無料の雇用保険の失業給付（基本手当）のAPI。基本手当日額の計算に使う賃金日額の下限・上限・給付率の境目・最高額・最低額を、毎年8月1日に変わる時期ごと（2024年8月から）に返します。所定給付日数（自己都合・倒産や解雇・就職が困難な人・65歳以上）と、待期・給付制限・受給の条件・受給期間の決まりも返します。厚生労働省の発表と雇用保険法から作成し、照合した日を data_version で返します。説明: https://api.shirugear.com/koyo/ 。v1 の中では項目を足すことはあっても、名前や意味は変えません（知らない項目は無視してください）。", "termsOfService": "https://api.shirugear.com/terms/", "contact": {"name": "アナライズギア株式会社（シルギア）", "url": "https://shirugear.com/contact"}}, "servers": [{"url": "https://api.shirugear.com"}], "paths": {"/koyo/v1/kihon.json": {"get": {"summary": "基本手当日額の表（時期ごとの賃金日額の範囲・給付率の境目・最高額・最低額）", "operationId": "getKihon", "responses": {"200": {"description": "基本手当日額の表", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Kihon"}}}}, "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"}}}}}}}, "/koyo/v1/days.json": {"get": {"summary": "所定給付日数と、待期・給付制限・受給の条件・受給期間の決まり", "operationId": "getDays", "responses": {"200": {"description": "所定給付日数", "content": {"application/json": {"schema": {"$ref": "#/components/schemas/Days"}}}}, "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"}}}}}}}, "/koyo/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", "description": "時期の名前（\"2026-08\" など）"}, "from": {"type": "string", "format": "date", "description": "この額が使われる最初の日"}, "until": {"type": ["string", "null"], "format": "date", "description": "最後の日。今の時期は null"}, "wage_daily": {"type": "object", "properties": {"min": {"type": "integer", "description": "賃金日額の下限（円）"}, "max": {"type": "object", "properties": {"under30": {"type": "integer"}, "30to44": {"type": "integer"}, "45to59": {"type": "integer"}, "60to64": {"type": "integer"}}, "required": ["under30", "30to44", "45to59", "60to64"], "description": "年齢ごとの賃金日額の上限（円）"}}, "required": ["min", "max"]}, "benefit_daily": {"type": "object", "properties": {"min": {"type": "integer", "description": "基本手当日額の最低額（円）"}, "max": {"type": "object", "properties": {"under30": {"type": "integer"}, "30to44": {"type": "integer"}, "45to59": {"type": "integer"}, "60to64": {"type": "integer"}}, "required": ["under30", "30to44", "45to59", "60to64"], "description": "年齢ごとの基本手当日額の最高額（円）"}}, "required": ["min", "max"]}, "rate": {"type": "object", "properties": {"under60": {"type": "object", "properties": {"full_below": {"type": "integer"}, "half_above": {"type": "integer"}, "high": {"type": "number"}, "low": {"type": "number"}}, "required": ["full_below", "half_above", "high", "low"], "description": "60歳未満と65歳以上の給付率の境目"}, "60to64": {"type": "object", "properties": {"full_below": {"type": "integer"}, "low_above": {"type": "integer"}, "high": {"type": "number"}, "low": {"type": "number"}}, "required": ["full_below", "low_above", "high", "low"], "description": "60歳以上65歳未満の給付率の境目"}}, "required": ["under60", "60to64"]}, "deduction": {"type": "integer", "description": "内職などの収入があったときの控除額（円）"}, "source": {"type": "object", "properties": {"label": {"type": "string"}, "url": {"type": "string"}}, "required": ["label", "url"]}}, "required": ["key", "from", "until", "wage_daily", "benefit_daily", "rate", "deduction", "source"]}, "Kihon": {"type": "object", "properties": {"name": {"type": "string"}, "currency": {"type": "string", "const": "JPY"}, "ages": {"type": "array", "items": {"type": "object", "properties": {"key": {"type": "string", "enum": ["under30", "30to44", "45to59", "60to64"]}, "label": {"type": "string"}, "from": {"type": ["integer", "null"]}, "to": {"type": "integer"}}, "required": ["key", "label", "from", "to"]}}, "periods": {"type": "array", "items": {"$ref": "#/components/schemas/Period"}}, "rules": {"type": "object", "description": "賃金日額・基本手当日額の計算・時期・内職などの収入の決まり（文で説明）"}, "data_version": {"type": "string"}}, "required": ["name", "currency", "ages", "periods", "rules", "data_version"]}, "Days": {"type": "object", "properties": {"name": {"type": "string"}, "insured": {"type": "array", "items": {"type": "string"}, "description": "算定基礎期間の区分（日数の配列と同じ順）"}, "ages": {"type": "array", "items": {"type": "object", "properties": {"key": {"type": "string"}, "label": {"type": "string"}}}}, "days": {"type": "object", "properties": {"general": {"type": "object", "properties": {"label": {"type": "string"}, "law": {"type": "string"}, "days": {"type": "array", "items": {"type": "integer"}, "minItems": 5, "maxItems": 5}, "note": {"type": "string"}}}, "specific": {"type": "object", "properties": {"label": {"type": "string"}, "law": {"type": "string"}, "by_age": {"type": "object", "additionalProperties": {"type": "array", "items": {"type": "integer"}, "minItems": 5, "maxItems": 5}}, "note": {"type": "string"}}}, "hard": {"type": "object", "properties": {"label": {"type": "string"}, "law": {"type": "string"}, "less_than_1y": {"type": "integer"}, "by_age": {"type": "object", "properties": {"under45": {"type": "integer"}, "45to64": {"type": "integer"}}}, "note": {"type": "string"}}}, "elderly": {"type": "object", "properties": {"label": {"type": "string"}, "law": {"type": "string"}, "days": {"type": "object", "properties": {"less_than_1y": {"type": "integer"}, "1y_or_more": {"type": "integer"}}}, "note": {"type": "string"}}}}, "required": ["general", "specific", "hard", "elderly"]}, "rules": {"type": "object", "description": "待期（waiting.days は日数）・給付制限・受給の条件・受給期間の決まり（文で説明）"}, "data_version": {"type": "string"}}, "required": ["name", "insured", "ages", "days", "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"]}}}}
