{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/verkanto-eu/json-schema/verkanto-eu-vat-decision-request-schema.json",
  "title": "VatDecisionRequest",
  "x-generated": "2026-11-27",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/verkanto-eu-openapi.yml#/components/schemas/VatDecisionRequest",
  "type": "object",
  "properties": {
    "sellerCountry": {
      "type": "string",
      "minLength": 1,
      "pattern": "[A-Za-z]{2}"
    },
    "buyerCountry": {
      "type": "string",
      "minLength": 1,
      "pattern": "[A-Za-z]{2}"
    },
    "buyerVatId": {
      "type": "string",
      "maxLength": 20,
      "minLength": 0
    },
    "sellerVatRegistered": {
      "type": "boolean"
    },
    "digitalService": {
      "type": "boolean"
    }
  },
  "required": [
    "buyerCountry",
    "sellerCountry"
  ]
}