{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/altoviz-com/json-schema/altoviz-com-vat-schema.json",
  "title": "Vat",
  "description": "Vat",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/altoviz-com-vats-api-openapi.yml#/components/schemas/Vat",
  "type": "object",
  "properties": {
    "default": {
      "type": "boolean",
      "description": "Indicatess if this is the default VAT for the region",
      "readOnly": true
    },
    "id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Vat ID",
      "format": "int32",
      "readOnly": true
    },
    "label": {
      "type": [
        "string",
        "null"
      ],
      "description": "Label",
      "readOnly": true
    },
    "rate": {
      "type": [
        "number",
        "null"
      ],
      "description": "Rate",
      "format": "double"
    },
    "region": {
      "$ref": "#/$defs/VatRegion"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "VatRegion": {
      "enum": [
        "FR",
        "EU",
        "IE",
        "DOM",
        "Corse",
        "Monaco"
      ],
      "type": "string"
    }
  }
}