{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/api-ninjas-com/json-schema/api-ninjas-com-country-flag-response-schema.json",
  "title": "CountryFlagResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/api-ninjas-com-country-flag-api-openapi.yml#/components/schemas/CountryFlagResponse",
  "type": "object",
  "properties": {
    "country": {
      "type": "string",
      "description": "2-letter ISO-3166 alpha-2 country code."
    },
    "square_image_url": {
      "type": "string",
      "format": "uri",
      "description": "URL to the square flag image in SVG format."
    },
    "rectangle_image_url": {
      "type": "string",
      "format": "uri",
      "description": "URL to the rectangle flag image in SVG format."
    }
  },
  "required": [
    "country",
    "square_image_url",
    "rectangle_image_url"
  ]
}