{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/api-ninjas-com/json-schema/api-ninjas-com-is-bank-holiday-result-schema.json",
  "title": "IsBankHolidayResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-ninjas-com-bank-holidays-api-openapi.yml#/components/schemas/IsBankHolidayResult",
  "type": "object",
  "properties": {
    "is_bank_holiday": {
      "type": "boolean",
      "description": "Whether the date is a bank holiday in the specified country."
    },
    "holiday_name": {
      "type": "string",
      "description": "Name of the bank holiday."
    },
    "date": {
      "type": "string",
      "format": "date",
      "description": "The queried date in YYYY-MM-DD format."
    },
    "country": {
      "type": "string",
      "description": "The resolved 2-letter ISO 3166-1 alpha-2 country code (e.g. `GB` when you pass `UK`)."
    },
    "subdivision": {
      "type": "string",
      "description": "The ISO 3166-2 code you passed, normalized."
    }
  }
}