{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/emporix/main/json-schema/emporix-country-update-schema.json",
  "title": "Country update",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/emporix-country-service-openapi.yml#/components/schemas/countryUpdate",
  "type": "object",
  "properties": {
    "active": {
      "type": "boolean",
      "description": "The field indicates whether the given country is active for the tenant or not. Only active countries are visible in the system."
    },
    "metadata": {
      "type": "object",
      "properties": {
        "version": {
          "type": "number",
          "description": "Version of the document. The version is used for optimistic locking mechanism during the update request."
        }
      },
      "required": [
        "version"
      ]
    }
  },
  "required": [
    "metadata"
  ]
}