# dac7.generate

Generate and XSD-check DAC7 DPI v1.0 XML for EU exchange or Irish Revenue. Supports new, additional, replacement and deletion records, up to 500 sellers per file.

- REST: `POST https://api.kanagu.dev/v1/dac7/generate`
- MCP: `call_operation` with `operation: "dac7.generate"` at https://api.kanagu.dev/mcp
- Price: $0.15 USD per seller, on successful calls only.
- Auth: `Authorization: Bearer <key>` for REST and `call_operation`. Retries: reuse `Idempotency-Key` (MCP: `idempotencyKey`).

## Compliance coverage

- Domain: Tax & e-invoicing
- Jurisdictions: EU, IE
- Standard: Council Directive (EU) 2021/514, Annex V 2021/514 (2021-03-22) — https://eur-lex.europa.eu/eli/dir/2021/514/oj
- Standard: DG TAXUD DAC7 DPI XML Schema and User Guide 4.00 EN / XSD 1.0 (2023-06-07) — https://info.portaldasfinancas.gov.pt/pt/apoio_ao_contribuinte/Outras_entidades/Suporte_tecnologico/Trocas_Info_Internacionais/AEOI_DAC7_DPI/Documents/DPI_DAC7_XML_Schema_and_User_Guide_v4_00.zip
- Standard: Irish Revenue DAC7/MRDP XSD 1.0 (2024-11-14) — https://www.revenue.ie/en/online-services/support/software-developers/documents/aeoi/dac7-xsd.xsd
- Standard: Irish Revenue OECD common types 1.0 (2026-01-22) — https://www.revenue.ie/en/online-services/support/software-developers/documents/aeoi/oecd-common-types.xsd
- Standard: Irish Revenue DPI ISO types (including country and currency codes) 1.0 (2026-01-22) — https://www.revenue.ie/en/online-services/support/software-developers/documents/aeoi/iso-types.xsd
- Standard: Irish Revenue DAC7/MRDP registration and filing FAQs 2026-09-25 snapshot (2026-09-25) — https://www.revenue.ie/en/companies-and-charities/documents/aeoi/dac7-reg-faqs.pdf
- Standard: Irish Revenue DPI Schema User Guide 3.00 EN (2022-12-15) — https://www.revenue.ie/en/online-services/support/software-developers/documents/aeoi/dpi-xml-schema-user-guide-v3.00.pdf
- Standard: Irish Revenue DAC7 API Functional Design Specifications 1.3 (2026-01-22) — https://www.revenue.ie/en/online-services/support/software-developers/documents/aeoi/api-fds-v1.3.pdf
- Verification: Both operations run libxml2 against the official DPI 1.0 XSD and check report structure, local rules and supplied filing history.
- Last reviewed: 2026-11-26

## Request body

- `destination` (object, required)
- `reportingYear` (integer (2023 to 9999), required)
- `timestamp` (string, required)
- `messageId` (string, required)
- `report` (object, required)

## Response

- `valid` (boolean, required)
- `profile` ("eu" | "ireland", required)
- `xsd` (object, required)
- `xsd.version` ("1.0", required)
- `xsd.source` (string, required)
- `xsd.status` ("passed" | "failed" | "not_run", required)
- `reportableSellers` (integer (0 to 9007199254740991), required)
- `errors` (array of object, required)
- `errors[].path` (string, required)
- `errors[].line` (integer (≤ 9007199254740991))
- `errors[].rule` (string, required)
- `errors[].expected` (string, required)
- `errors[].actual` (string, required)
- `errors[].source` (string, required)
- `needsReview` (array of object, required)
- `needsReview[].path` (string, required)
- `needsReview[].line` (integer (≤ 9007199254740991))
- `needsReview[].rule` (string, required)
- `needsReview[].expected` (string, required)
- `needsReview[].actual` (string, required)
- `needsReview[].source` (string, required)
- `xml` (string | null, required)
- `messageRefId` (string | null, required)
- `operatorDocRefId` (string | null, required)
- `sellers` (array of object, required)
- `sellers[].row` (integer (0 to 9007199254740991), required)
- `sellers[].docRefId` (string, required)
- `sellers[].corrDocRefId` (string)

## Example

```sh
curl https://api.kanagu.dev/v1/dac7/generate \
  -H "Authorization: Bearer $KANAGU_KEY" \
  -H "Content-Type: application/json" \
  -d '{"destination":{"profile":"ireland"},"reportingYear":2026,"messageId":"example-marketplace-01","timestamp":"2027-01-07T13:00:00Z","report":{"kind":"new","history":[],"operator":{"name":"North Quay Markets Ltd","businessNames":["North Quay Markets"],"residenceCountries":["IE"],"tins":[{"issuedBy":"IE","value":"1234567AB"}],"addresses":[{"country":"IE","text":"10 Quay Road, Dublin"}]},"sellers":[{"id":"seller-42","seller":{"identity":{"kind":"individual","firstName":"Orla","lastName":"Byrne","birthDate":"1991-06-14","residenceCountries":["IE"],"tins":[{"issuedBy":"IE","value":"2345678CD"}],"addresses":[{"country":"IE","text":"14 Market Street, Galway"}]},"activities":{"saleOfGoods":[{"consideration":{"amount":"2400","currency":"EUR"},"activities":31,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}},{"consideration":{"amount":"0","currency":"EUR"},"activities":0,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}},{"consideration":{"amount":"0","currency":"EUR"},"activities":0,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}},{"consideration":{"amount":"0","currency":"EUR"},"activities":0,"fees":{"amount":"0","currency":"EUR"},"taxes":{"amount":"0","currency":"EUR"}}]}}}]}}'
```

```ts
const res = await fetch("https://api.kanagu.dev/v1/dac7/generate", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.KANAGU_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "destination": {
      "profile": "ireland"
    },
    "reportingYear": 2026,
    "messageId": "example-marketplace-01",
    "timestamp": "2027-01-07T13:00:00Z",
    "report": {
      "kind": "new",
      "history": [],
      "operator": {
        "name": "North Quay Markets Ltd",
        "businessNames": [
          "North Quay Markets"
        ],
        "residenceCountries": [
          "IE"
        ],
        "tins": [
          {
            "issuedBy": "IE",
            "value": "1234567AB"
          }
        ],
        "addresses": [
          {
            "country": "IE",
            "text": "10 Quay Road, Dublin"
          }
        ]
      },
      "sellers": [
        {
          "id": "seller-42",
          "seller": {
            "identity": {
              "kind": "individual",
              "firstName": "Orla",
              "lastName": "Byrne",
              "birthDate": "1991-06-14",
              "residenceCountries": [
                "IE"
              ],
              "tins": [
                {
                  "issuedBy": "IE",
                  "value": "2345678CD"
                }
              ],
              "addresses": [
                {
                  "country": "IE",
                  "text": "14 Market Street, Galway"
                }
              ]
            },
            "activities": {
              "saleOfGoods": [
                {
                  "consideration": {
                    "amount": "2400",
                    "currency": "EUR"
                  },
                  "activities": 31,
                  "fees": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "taxes": {
                    "amount": "0",
                    "currency": "EUR"
                  }
                },
                {
                  "consideration": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "activities": 0,
                  "fees": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "taxes": {
                    "amount": "0",
                    "currency": "EUR"
                  }
                },
                {
                  "consideration": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "activities": 0,
                  "fees": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "taxes": {
                    "amount": "0",
                    "currency": "EUR"
                  }
                },
                {
                  "consideration": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "activities": 0,
                  "fees": {
                    "amount": "0",
                    "currency": "EUR"
                  },
                  "taxes": {
                    "amount": "0",
                    "currency": "EUR"
                  }
                }
              ]
            }
          }
        }
      ]
    }
  }),
});
if (!res.ok) throw new Error((await res.json()).error.message);
const result = await res.json();
```

## Errors

JSON `{"error":{"code","message"}}`.

- 400 `invalid_input`: The body does not match the request schema. The message names each field.
- 400 `invalid_json`: The body is missing or is not valid JSON.
- 400 `invalid_idempotency_key`: Idempotency-Key must be 1–128 visible ASCII characters.
- 401 `invalid_api_key`: The Bearer key is missing, malformed, invalid or inactive.
- 402 `free_allowance_exhausted`: This month's free usage is used up and the account has no subscription. Subscribe from the dashboard, or wait for the next UTC month; Retry-After gives the seconds left.
- 404 `not_found`: No operation at this path.
- 409 `idempotency_conflict`: The Idempotency-Key was already used with a different body.
- 413 `payload_too_large`: JSON bodies may be at most 64 KiB.
- 500 `internal_error`: The call failed on our side. It is not billed; retry with the same Idempotency-Key.

## JSON Schema

Request:
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "destination": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "const": "eu"
            },
            "transmittingCountry": {
              "type": "string",
              "pattern": "^[A-Z]{2}$"
            },
            "receivingCountry": {
              "type": "string",
              "pattern": "^[A-Z]{2}$"
            }
          },
          "required": [
            "profile",
            "transmittingCountry",
            "receivingCountry"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "profile": {
              "type": "string",
              "const": "ireland"
            },
            "sendingEntityId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200,
              "pattern": "\\S"
            }
          },
          "required": [
            "profile"
          ],
          "additionalProperties": false
        }
      ]
    },
    "reportingYear": {
      "type": "integer",
      "minimum": 2023,
      "maximum": 9999
    },
    "timestamp": {
      "type": "string",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d))|(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?)$"
    },
    "messageId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_.-]{1,64}$"
    },
    "report": {
      "oneOf": [
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "new"
            },
            "operator": {
              "type": "object",
              "properties": {
                "residenceCountries": {
                  "minItems": 1,
                  "maxItems": 30,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^[A-Z]{2}$"
                  }
                },
                "addresses": {
                  "minItems": 1,
                  "maxItems": 10,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "country": {
                        "type": "string",
                        "pattern": "^[A-Z]{2}$"
                      },
                      "text": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 4000,
                        "pattern": "\\S"
                      }
                    },
                    "required": [
                      "country",
                      "text"
                    ],
                    "additionalProperties": false
                  }
                },
                "vatId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200,
                  "pattern": "\\S"
                },
                "tins": {
                  "minItems": 1,
                  "maxItems": 20,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "value": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200,
                        "pattern": "\\S"
                      },
                      "issuedBy": {
                        "type": "string",
                        "pattern": "^[A-Z]{2}$"
                      }
                    },
                    "required": [
                      "value",
                      "issuedBy"
                    ],
                    "additionalProperties": false
                  }
                },
                "registrations": {
                  "maxItems": 20,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "BRN",
                          "LEI",
                          "EIN",
                          "IIN",
                          "Other"
                        ]
                      },
                      "value": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200,
                        "pattern": "\\S"
                      },
                      "issuedBy": {
                        "type": "string",
                        "pattern": "^[A-Z]{2}$"
                      }
                    },
                    "required": [
                      "type",
                      "value"
                    ],
                    "additionalProperties": false
                  }
                },
                "name": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200,
                  "pattern": "\\S"
                },
                "businessNames": {
                  "minItems": 1,
                  "maxItems": 20,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200,
                    "pattern": "\\S"
                  }
                },
                "nexus": {
                  "type": "string",
                  "enum": [
                    "RPONEX1",
                    "RPONEX2",
                    "RPONEX3",
                    "RPONEX4",
                    "RPONEX5"
                  ]
                }
              },
              "required": [
                "residenceCountries",
                "addresses",
                "tins",
                "name",
                "businessNames"
              ],
              "additionalProperties": false
            },
            "sellers": {
              "minItems": 1,
              "maxItems": 500,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_.-]{1,64}$"
                  },
                  "seller": {
                    "type": "object",
                    "properties": {
                      "identity": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "const": "individual"
                              },
                              "residenceCountries": {
                                "minItems": 1,
                                "maxItems": 30,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "pattern": "^[A-Z]{2}$"
                                }
                              },
                              "addresses": {
                                "minItems": 1,
                                "maxItems": 10,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "country": {
                                      "type": "string",
                                      "pattern": "^[A-Z]{2}$"
                                    },
                                    "text": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 4000,
                                      "pattern": "\\S"
                                    }
                                  },
                                  "required": [
                                    "country",
                                    "text"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "vatId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200,
                                "pattern": "\\S"
                              },
                              "tins": {
                                "anyOf": [
                                  {
                                    "minItems": 1,
                                    "maxItems": 20,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200,
                                          "pattern": "\\S"
                                        },
                                        "issuedBy": {
                                          "type": "string",
                                          "pattern": "^[A-Z]{2}$"
                                        }
                                      },
                                      "required": [
                                        "value",
                                        "issuedBy"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  {
                                    "type": "string",
                                    "const": "unknown"
                                  }
                                ]
                              },
                              "firstName": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200,
                                "pattern": "\\S"
                              },
                              "lastName": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200,
                                "pattern": "\\S"
                              },
                              "birthDate": {
                                "type": "string",
                                "format": "date",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                              },
                              "birthPlace": {
                                "type": "object",
                                "properties": {
                                  "city": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200,
                                    "pattern": "\\S"
                                  },
                                  "country": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "const": "current"
                                          },
                                          "code": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{2}$"
                                          }
                                        },
                                        "required": [
                                          "kind",
                                          "code"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "const": "former"
                                          },
                                          "name": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 200,
                                            "pattern": "\\S"
                                          }
                                        },
                                        "required": [
                                          "kind",
                                          "name"
                                        ],
                                        "additionalProperties": false
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "city",
                                  "country"
                                ],
                                "additionalProperties": false
                              },
                              "financialAccounts": {
                                "maxItems": 20,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "identifier": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "type": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "accountHolderName": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "otherInfo": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 400
                                    }
                                  },
                                  "required": [
                                    "identifier"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "kind",
                              "residenceCountries",
                              "addresses",
                              "tins",
                              "firstName",
                              "lastName",
                              "birthDate"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "const": "entity"
                              },
                              "residenceCountries": {
                                "minItems": 1,
                                "maxItems": 30,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "pattern": "^[A-Z]{2}$"
                                }
                              },
                              "addresses": {
                                "minItems": 1,
                                "maxItems": 10,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "country": {
                                      "type": "string",
                                      "pattern": "^[A-Z]{2}$"
                                    },
                                    "text": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 4000,
                                      "pattern": "\\S"
                                    }
                                  },
                                  "required": [
                                    "country",
                                    "text"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "vatId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200,
                                "pattern": "\\S"
                              },
                              "tins": {
                                "anyOf": [
                                  {
                                    "minItems": 1,
                                    "maxItems": 20,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200,
                                          "pattern": "\\S"
                                        },
                                        "issuedBy": {
                                          "type": "string",
                                          "pattern": "^[A-Z]{2}$"
                                        }
                                      },
                                      "required": [
                                        "value",
                                        "issuedBy"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  {
                                    "type": "string",
                                    "const": "unknown"
                                  }
                                ]
                              },
                              "name": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200,
                                "pattern": "\\S"
                              },
                              "registrations": {
                                "maxItems": 20,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "BRN",
                                        "LEI",
                                        "EIN",
                                        "IIN",
                                        "Other"
                                      ]
                                    },
                                    "value": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "issuedBy": {
                                      "type": "string",
                                      "pattern": "^[A-Z]{2}$"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "permanentEstablishments": {
                                "minItems": 1,
                                "maxItems": 27,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "pattern": "^[A-Z]{2}$"
                                }
                              },
                              "financialAccounts": {
                                "maxItems": 20,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "identifier": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "type": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "accountHolderName": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "otherInfo": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 400
                                    }
                                  },
                                  "required": [
                                    "identifier"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "kind",
                              "residenceCountries",
                              "addresses",
                              "tins",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "activities": {
                        "type": "object",
                        "properties": {
                          "immovableProperty": {
                            "minItems": 1,
                            "maxItems": 50,
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "address": {
                                  "type": "object",
                                  "properties": {
                                    "country": {
                                      "type": "string",
                                      "pattern": "^[A-Z]{2}$"
                                    },
                                    "text": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 4000,
                                      "pattern": "\\S"
                                    }
                                  },
                                  "required": [
                                    "country",
                                    "text"
                                  ],
                                  "additionalProperties": false
                                },
                                "landRegistrationNumber": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 200,
                                  "pattern": "\\S"
                                },
                                "quarters": {
                                  "type": "array",
                                  "prefixItems": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "consideration": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "activities": {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        },
                                        "fees": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "taxes": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "required": [
                                        "consideration",
                                        "activities",
                                        "fees",
                                        "taxes"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "consideration": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "activities": {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        },
                                        "fees": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "taxes": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "required": [
                                        "consideration",
                                        "activities",
                                        "fees",
                                        "taxes"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "consideration": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "activities": {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        },
                                        "fees": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "taxes": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "required": [
                                        "consideration",
                                        "activities",
                                        "fees",
                                        "taxes"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "consideration": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "activities": {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        },
                                        "fees": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "taxes": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "required": [
                                        "consideration",
                                        "activities",
                                        "fees",
                                        "taxes"
                                      ],
                                      "additionalProperties": false
                                    }
                                  ],
                                  "items": false,
                                  "minItems": 4,
                                  "maxItems": 4
                                },
                                "category": {
                                  "type": "string",
                                  "enum": [
                                    "DPI901",
                                    "DPI902",
                                    "DPI903",
                                    "DPI904",
                                    "DPI905",
                                    "DPI906",
                                    "DPI907",
                                    "DPI908",
                                    "DPI909",
                                    "DPI910"
                                  ]
                                },
                                "otherCategory": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 200,
                                  "pattern": "\\S"
                                },
                                "rentedDays": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "address",
                                "quarters"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "personalServices": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              }
                            ],
                            "items": false,
                            "minItems": 4,
                            "maxItems": 4
                          },
                          "saleOfGoods": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              }
                            ],
                            "items": false,
                            "minItems": 4,
                            "maxItems": 4
                          },
                          "transportationRental": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              }
                            ],
                            "items": false,
                            "minItems": 4,
                            "maxItems": 4
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "identity",
                      "activities"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "id",
                  "seller"
                ],
                "additionalProperties": false
              }
            },
            "history": {
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 4194304
              }
            }
          },
          "required": [
            "kind",
            "operator",
            "sellers"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "additional"
            },
            "operatorDocRefId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "sellers": {
              "minItems": 1,
              "maxItems": 500,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_.-]{1,64}$"
                  },
                  "seller": {
                    "type": "object",
                    "properties": {
                      "identity": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "const": "individual"
                              },
                              "residenceCountries": {
                                "minItems": 1,
                                "maxItems": 30,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "pattern": "^[A-Z]{2}$"
                                }
                              },
                              "addresses": {
                                "minItems": 1,
                                "maxItems": 10,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "country": {
                                      "type": "string",
                                      "pattern": "^[A-Z]{2}$"
                                    },
                                    "text": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 4000,
                                      "pattern": "\\S"
                                    }
                                  },
                                  "required": [
                                    "country",
                                    "text"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "vatId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200,
                                "pattern": "\\S"
                              },
                              "tins": {
                                "anyOf": [
                                  {
                                    "minItems": 1,
                                    "maxItems": 20,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200,
                                          "pattern": "\\S"
                                        },
                                        "issuedBy": {
                                          "type": "string",
                                          "pattern": "^[A-Z]{2}$"
                                        }
                                      },
                                      "required": [
                                        "value",
                                        "issuedBy"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  {
                                    "type": "string",
                                    "const": "unknown"
                                  }
                                ]
                              },
                              "firstName": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200,
                                "pattern": "\\S"
                              },
                              "lastName": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200,
                                "pattern": "\\S"
                              },
                              "birthDate": {
                                "type": "string",
                                "format": "date",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                              },
                              "birthPlace": {
                                "type": "object",
                                "properties": {
                                  "city": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200,
                                    "pattern": "\\S"
                                  },
                                  "country": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "const": "current"
                                          },
                                          "code": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{2}$"
                                          }
                                        },
                                        "required": [
                                          "kind",
                                          "code"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "kind": {
                                            "type": "string",
                                            "const": "former"
                                          },
                                          "name": {
                                            "type": "string",
                                            "minLength": 1,
                                            "maxLength": 200,
                                            "pattern": "\\S"
                                          }
                                        },
                                        "required": [
                                          "kind",
                                          "name"
                                        ],
                                        "additionalProperties": false
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "city",
                                  "country"
                                ],
                                "additionalProperties": false
                              },
                              "financialAccounts": {
                                "maxItems": 20,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "identifier": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "type": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "accountHolderName": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "otherInfo": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 400
                                    }
                                  },
                                  "required": [
                                    "identifier"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "kind",
                              "residenceCountries",
                              "addresses",
                              "tins",
                              "firstName",
                              "lastName",
                              "birthDate"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "const": "entity"
                              },
                              "residenceCountries": {
                                "minItems": 1,
                                "maxItems": 30,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "pattern": "^[A-Z]{2}$"
                                }
                              },
                              "addresses": {
                                "minItems": 1,
                                "maxItems": 10,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "country": {
                                      "type": "string",
                                      "pattern": "^[A-Z]{2}$"
                                    },
                                    "text": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 4000,
                                      "pattern": "\\S"
                                    }
                                  },
                                  "required": [
                                    "country",
                                    "text"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "vatId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200,
                                "pattern": "\\S"
                              },
                              "tins": {
                                "anyOf": [
                                  {
                                    "minItems": 1,
                                    "maxItems": 20,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "value": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200,
                                          "pattern": "\\S"
                                        },
                                        "issuedBy": {
                                          "type": "string",
                                          "pattern": "^[A-Z]{2}$"
                                        }
                                      },
                                      "required": [
                                        "value",
                                        "issuedBy"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  {
                                    "type": "string",
                                    "const": "unknown"
                                  }
                                ]
                              },
                              "name": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200,
                                "pattern": "\\S"
                              },
                              "registrations": {
                                "maxItems": 20,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "BRN",
                                        "LEI",
                                        "EIN",
                                        "IIN",
                                        "Other"
                                      ]
                                    },
                                    "value": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "issuedBy": {
                                      "type": "string",
                                      "pattern": "^[A-Z]{2}$"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "permanentEstablishments": {
                                "minItems": 1,
                                "maxItems": 27,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "pattern": "^[A-Z]{2}$"
                                }
                              },
                              "financialAccounts": {
                                "maxItems": 20,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "identifier": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "type": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "accountHolderName": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "otherInfo": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 400
                                    }
                                  },
                                  "required": [
                                    "identifier"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "kind",
                              "residenceCountries",
                              "addresses",
                              "tins",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      "activities": {
                        "type": "object",
                        "properties": {
                          "immovableProperty": {
                            "minItems": 1,
                            "maxItems": 50,
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "address": {
                                  "type": "object",
                                  "properties": {
                                    "country": {
                                      "type": "string",
                                      "pattern": "^[A-Z]{2}$"
                                    },
                                    "text": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 4000,
                                      "pattern": "\\S"
                                    }
                                  },
                                  "required": [
                                    "country",
                                    "text"
                                  ],
                                  "additionalProperties": false
                                },
                                "landRegistrationNumber": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 200,
                                  "pattern": "\\S"
                                },
                                "quarters": {
                                  "type": "array",
                                  "prefixItems": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "consideration": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "activities": {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        },
                                        "fees": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "taxes": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "required": [
                                        "consideration",
                                        "activities",
                                        "fees",
                                        "taxes"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "consideration": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "activities": {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        },
                                        "fees": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "taxes": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "required": [
                                        "consideration",
                                        "activities",
                                        "fees",
                                        "taxes"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "consideration": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "activities": {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        },
                                        "fees": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "taxes": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "required": [
                                        "consideration",
                                        "activities",
                                        "fees",
                                        "taxes"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "consideration": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "activities": {
                                          "type": "integer",
                                          "minimum": 0,
                                          "maximum": 9007199254740991
                                        },
                                        "fees": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        },
                                        "taxes": {
                                          "type": "object",
                                          "properties": {
                                            "amount": {
                                              "type": "string",
                                              "pattern": "^-?\\d{1,18}$"
                                            },
                                            "currency": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{3}$"
                                            }
                                          },
                                          "required": [
                                            "amount",
                                            "currency"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "required": [
                                        "consideration",
                                        "activities",
                                        "fees",
                                        "taxes"
                                      ],
                                      "additionalProperties": false
                                    }
                                  ],
                                  "items": false,
                                  "minItems": 4,
                                  "maxItems": 4
                                },
                                "category": {
                                  "type": "string",
                                  "enum": [
                                    "DPI901",
                                    "DPI902",
                                    "DPI903",
                                    "DPI904",
                                    "DPI905",
                                    "DPI906",
                                    "DPI907",
                                    "DPI908",
                                    "DPI909",
                                    "DPI910"
                                  ]
                                },
                                "otherCategory": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 200,
                                  "pattern": "\\S"
                                },
                                "rentedDays": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "address",
                                "quarters"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "personalServices": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              }
                            ],
                            "items": false,
                            "minItems": 4,
                            "maxItems": 4
                          },
                          "saleOfGoods": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              }
                            ],
                            "items": false,
                            "minItems": 4,
                            "maxItems": 4
                          },
                          "transportationRental": {
                            "type": "array",
                            "prefixItems": [
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "consideration": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "activities": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "fees": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "taxes": {
                                    "type": "object",
                                    "properties": {
                                      "amount": {
                                        "type": "string",
                                        "pattern": "^-?\\d{1,18}$"
                                      },
                                      "currency": {
                                        "type": "string",
                                        "pattern": "^[A-Z]{3}$"
                                      }
                                    },
                                    "required": [
                                      "amount",
                                      "currency"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "consideration",
                                  "activities",
                                  "fees",
                                  "taxes"
                                ],
                                "additionalProperties": false
                              }
                            ],
                            "items": false,
                            "minItems": 4,
                            "maxItems": 4
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "identity",
                      "activities"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "id",
                  "seller"
                ],
                "additionalProperties": false
              }
            },
            "history": {
              "minItems": 1,
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 4194304
              }
            }
          },
          "required": [
            "kind",
            "operatorDocRefId",
            "sellers",
            "history"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "amendment"
            },
            "operatorDocRefId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "sellers": {
              "minItems": 1,
              "maxItems": 500,
              "type": "array",
              "items": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "action": {
                        "type": "string",
                        "const": "replace"
                      },
                      "previousDocRefId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "id": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_.-]{1,64}$"
                      },
                      "seller": {
                        "type": "object",
                        "properties": {
                          "identity": {
                            "oneOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "const": "individual"
                                  },
                                  "residenceCountries": {
                                    "minItems": 1,
                                    "maxItems": 30,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "pattern": "^[A-Z]{2}$"
                                    }
                                  },
                                  "addresses": {
                                    "minItems": 1,
                                    "maxItems": 10,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "country": {
                                          "type": "string",
                                          "pattern": "^[A-Z]{2}$"
                                        },
                                        "text": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 4000,
                                          "pattern": "\\S"
                                        }
                                      },
                                      "required": [
                                        "country",
                                        "text"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "vatId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200,
                                    "pattern": "\\S"
                                  },
                                  "tins": {
                                    "anyOf": [
                                      {
                                        "minItems": 1,
                                        "maxItems": 20,
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "string",
                                              "minLength": 1,
                                              "maxLength": 200,
                                              "pattern": "\\S"
                                            },
                                            "issuedBy": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{2}$"
                                            }
                                          },
                                          "required": [
                                            "value",
                                            "issuedBy"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      {
                                        "type": "string",
                                        "const": "unknown"
                                      }
                                    ]
                                  },
                                  "firstName": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200,
                                    "pattern": "\\S"
                                  },
                                  "lastName": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200,
                                    "pattern": "\\S"
                                  },
                                  "birthDate": {
                                    "type": "string",
                                    "format": "date",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                                  },
                                  "birthPlace": {
                                    "type": "object",
                                    "properties": {
                                      "city": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 200,
                                        "pattern": "\\S"
                                      },
                                      "country": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "properties": {
                                              "kind": {
                                                "type": "string",
                                                "const": "current"
                                              },
                                              "code": {
                                                "type": "string",
                                                "pattern": "^[A-Z]{2}$"
                                              }
                                            },
                                            "required": [
                                              "kind",
                                              "code"
                                            ],
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "kind": {
                                                "type": "string",
                                                "const": "former"
                                              },
                                              "name": {
                                                "type": "string",
                                                "minLength": 1,
                                                "maxLength": 200,
                                                "pattern": "\\S"
                                              }
                                            },
                                            "required": [
                                              "kind",
                                              "name"
                                            ],
                                            "additionalProperties": false
                                          }
                                        ]
                                      }
                                    },
                                    "required": [
                                      "city",
                                      "country"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "financialAccounts": {
                                    "maxItems": 20,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "identifier": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200,
                                          "pattern": "\\S"
                                        },
                                        "type": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200,
                                          "pattern": "\\S"
                                        },
                                        "accountHolderName": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200,
                                          "pattern": "\\S"
                                        },
                                        "otherInfo": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 400
                                        }
                                      },
                                      "required": [
                                        "identifier"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "kind",
                                  "residenceCountries",
                                  "addresses",
                                  "tins",
                                  "firstName",
                                  "lastName",
                                  "birthDate"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "const": "entity"
                                  },
                                  "residenceCountries": {
                                    "minItems": 1,
                                    "maxItems": 30,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "pattern": "^[A-Z]{2}$"
                                    }
                                  },
                                  "addresses": {
                                    "minItems": 1,
                                    "maxItems": 10,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "country": {
                                          "type": "string",
                                          "pattern": "^[A-Z]{2}$"
                                        },
                                        "text": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 4000,
                                          "pattern": "\\S"
                                        }
                                      },
                                      "required": [
                                        "country",
                                        "text"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "vatId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200,
                                    "pattern": "\\S"
                                  },
                                  "tins": {
                                    "anyOf": [
                                      {
                                        "minItems": 1,
                                        "maxItems": 20,
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "value": {
                                              "type": "string",
                                              "minLength": 1,
                                              "maxLength": 200,
                                              "pattern": "\\S"
                                            },
                                            "issuedBy": {
                                              "type": "string",
                                              "pattern": "^[A-Z]{2}$"
                                            }
                                          },
                                          "required": [
                                            "value",
                                            "issuedBy"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      {
                                        "type": "string",
                                        "const": "unknown"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200,
                                    "pattern": "\\S"
                                  },
                                  "registrations": {
                                    "maxItems": 20,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "enum": [
                                            "BRN",
                                            "LEI",
                                            "EIN",
                                            "IIN",
                                            "Other"
                                          ]
                                        },
                                        "value": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200,
                                          "pattern": "\\S"
                                        },
                                        "issuedBy": {
                                          "type": "string",
                                          "pattern": "^[A-Z]{2}$"
                                        }
                                      },
                                      "required": [
                                        "type",
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "permanentEstablishments": {
                                    "minItems": 1,
                                    "maxItems": 27,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "pattern": "^[A-Z]{2}$"
                                    }
                                  },
                                  "financialAccounts": {
                                    "maxItems": 20,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "identifier": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200,
                                          "pattern": "\\S"
                                        },
                                        "type": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200,
                                          "pattern": "\\S"
                                        },
                                        "accountHolderName": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200,
                                          "pattern": "\\S"
                                        },
                                        "otherInfo": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 400
                                        }
                                      },
                                      "required": [
                                        "identifier"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "kind",
                                  "residenceCountries",
                                  "addresses",
                                  "tins",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          "activities": {
                            "type": "object",
                            "properties": {
                              "immovableProperty": {
                                "minItems": 1,
                                "maxItems": 50,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "address": {
                                      "type": "object",
                                      "properties": {
                                        "country": {
                                          "type": "string",
                                          "pattern": "^[A-Z]{2}$"
                                        },
                                        "text": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 4000,
                                          "pattern": "\\S"
                                        }
                                      },
                                      "required": [
                                        "country",
                                        "text"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "landRegistrationNumber": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "quarters": {
                                      "type": "array",
                                      "prefixItems": [
                                        {
                                          "type": "object",
                                          "properties": {
                                            "consideration": {
                                              "type": "object",
                                              "properties": {
                                                "amount": {
                                                  "type": "string",
                                                  "pattern": "^-?\\d{1,18}$"
                                                },
                                                "currency": {
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$"
                                                }
                                              },
                                              "required": [
                                                "amount",
                                                "currency"
                                              ],
                                              "additionalProperties": false
                                            },
                                            "activities": {
                                              "type": "integer",
                                              "minimum": 0,
                                              "maximum": 9007199254740991
                                            },
                                            "fees": {
                                              "type": "object",
                                              "properties": {
                                                "amount": {
                                                  "type": "string",
                                                  "pattern": "^-?\\d{1,18}$"
                                                },
                                                "currency": {
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$"
                                                }
                                              },
                                              "required": [
                                                "amount",
                                                "currency"
                                              ],
                                              "additionalProperties": false
                                            },
                                            "taxes": {
                                              "type": "object",
                                              "properties": {
                                                "amount": {
                                                  "type": "string",
                                                  "pattern": "^-?\\d{1,18}$"
                                                },
                                                "currency": {
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$"
                                                }
                                              },
                                              "required": [
                                                "amount",
                                                "currency"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "required": [
                                            "consideration",
                                            "activities",
                                            "fees",
                                            "taxes"
                                          ],
                                          "additionalProperties": false
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "consideration": {
                                              "type": "object",
                                              "properties": {
                                                "amount": {
                                                  "type": "string",
                                                  "pattern": "^-?\\d{1,18}$"
                                                },
                                                "currency": {
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$"
                                                }
                                              },
                                              "required": [
                                                "amount",
                                                "currency"
                                              ],
                                              "additionalProperties": false
                                            },
                                            "activities": {
                                              "type": "integer",
                                              "minimum": 0,
                                              "maximum": 9007199254740991
                                            },
                                            "fees": {
                                              "type": "object",
                                              "properties": {
                                                "amount": {
                                                  "type": "string",
                                                  "pattern": "^-?\\d{1,18}$"
                                                },
                                                "currency": {
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$"
                                                }
                                              },
                                              "required": [
                                                "amount",
                                                "currency"
                                              ],
                                              "additionalProperties": false
                                            },
                                            "taxes": {
                                              "type": "object",
                                              "properties": {
                                                "amount": {
                                                  "type": "string",
                                                  "pattern": "^-?\\d{1,18}$"
                                                },
                                                "currency": {
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$"
                                                }
                                              },
                                              "required": [
                                                "amount",
                                                "currency"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "required": [
                                            "consideration",
                                            "activities",
                                            "fees",
                                            "taxes"
                                          ],
                                          "additionalProperties": false
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "consideration": {
                                              "type": "object",
                                              "properties": {
                                                "amount": {
                                                  "type": "string",
                                                  "pattern": "^-?\\d{1,18}$"
                                                },
                                                "currency": {
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$"
                                                }
                                              },
                                              "required": [
                                                "amount",
                                                "currency"
                                              ],
                                              "additionalProperties": false
                                            },
                                            "activities": {
                                              "type": "integer",
                                              "minimum": 0,
                                              "maximum": 9007199254740991
                                            },
                                            "fees": {
                                              "type": "object",
                                              "properties": {
                                                "amount": {
                                                  "type": "string",
                                                  "pattern": "^-?\\d{1,18}$"
                                                },
                                                "currency": {
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$"
                                                }
                                              },
                                              "required": [
                                                "amount",
                                                "currency"
                                              ],
                                              "additionalProperties": false
                                            },
                                            "taxes": {
                                              "type": "object",
                                              "properties": {
                                                "amount": {
                                                  "type": "string",
                                                  "pattern": "^-?\\d{1,18}$"
                                                },
                                                "currency": {
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$"
                                                }
                                              },
                                              "required": [
                                                "amount",
                                                "currency"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "required": [
                                            "consideration",
                                            "activities",
                                            "fees",
                                            "taxes"
                                          ],
                                          "additionalProperties": false
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "consideration": {
                                              "type": "object",
                                              "properties": {
                                                "amount": {
                                                  "type": "string",
                                                  "pattern": "^-?\\d{1,18}$"
                                                },
                                                "currency": {
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$"
                                                }
                                              },
                                              "required": [
                                                "amount",
                                                "currency"
                                              ],
                                              "additionalProperties": false
                                            },
                                            "activities": {
                                              "type": "integer",
                                              "minimum": 0,
                                              "maximum": 9007199254740991
                                            },
                                            "fees": {
                                              "type": "object",
                                              "properties": {
                                                "amount": {
                                                  "type": "string",
                                                  "pattern": "^-?\\d{1,18}$"
                                                },
                                                "currency": {
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$"
                                                }
                                              },
                                              "required": [
                                                "amount",
                                                "currency"
                                              ],
                                              "additionalProperties": false
                                            },
                                            "taxes": {
                                              "type": "object",
                                              "properties": {
                                                "amount": {
                                                  "type": "string",
                                                  "pattern": "^-?\\d{1,18}$"
                                                },
                                                "currency": {
                                                  "type": "string",
                                                  "pattern": "^[A-Z]{3}$"
                                                }
                                              },
                                              "required": [
                                                "amount",
                                                "currency"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "required": [
                                            "consideration",
                                            "activities",
                                            "fees",
                                            "taxes"
                                          ],
                                          "additionalProperties": false
                                        }
                                      ],
                                      "items": false,
                                      "minItems": 4,
                                      "maxItems": 4
                                    },
                                    "category": {
                                      "type": "string",
                                      "enum": [
                                        "DPI901",
                                        "DPI902",
                                        "DPI903",
                                        "DPI904",
                                        "DPI905",
                                        "DPI906",
                                        "DPI907",
                                        "DPI908",
                                        "DPI909",
                                        "DPI910"
                                      ]
                                    },
                                    "otherCategory": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200,
                                      "pattern": "\\S"
                                    },
                                    "rentedDays": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "address",
                                    "quarters"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "personalServices": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "consideration": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "activities": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fees": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "taxes": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "consideration",
                                      "activities",
                                      "fees",
                                      "taxes"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "consideration": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "activities": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fees": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "taxes": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "consideration",
                                      "activities",
                                      "fees",
                                      "taxes"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "consideration": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "activities": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fees": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "taxes": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "consideration",
                                      "activities",
                                      "fees",
                                      "taxes"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "consideration": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "activities": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fees": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "taxes": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "consideration",
                                      "activities",
                                      "fees",
                                      "taxes"
                                    ],
                                    "additionalProperties": false
                                  }
                                ],
                                "items": false,
                                "minItems": 4,
                                "maxItems": 4
                              },
                              "saleOfGoods": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "consideration": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "activities": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fees": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "taxes": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "consideration",
                                      "activities",
                                      "fees",
                                      "taxes"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "consideration": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "activities": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fees": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "taxes": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "consideration",
                                      "activities",
                                      "fees",
                                      "taxes"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "consideration": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "activities": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fees": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "taxes": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "consideration",
                                      "activities",
                                      "fees",
                                      "taxes"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "consideration": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "activities": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fees": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "taxes": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "consideration",
                                      "activities",
                                      "fees",
                                      "taxes"
                                    ],
                                    "additionalProperties": false
                                  }
                                ],
                                "items": false,
                                "minItems": 4,
                                "maxItems": 4
                              },
                              "transportationRental": {
                                "type": "array",
                                "prefixItems": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "consideration": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "activities": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fees": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "taxes": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "consideration",
                                      "activities",
                                      "fees",
                                      "taxes"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "consideration": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "activities": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fees": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "taxes": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "consideration",
                                      "activities",
                                      "fees",
                                      "taxes"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "consideration": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "activities": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fees": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "taxes": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "consideration",
                                      "activities",
                                      "fees",
                                      "taxes"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "consideration": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "activities": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fees": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "taxes": {
                                        "type": "object",
                                        "properties": {
                                          "amount": {
                                            "type": "string",
                                            "pattern": "^-?\\d{1,18}$"
                                          },
                                          "currency": {
                                            "type": "string",
                                            "pattern": "^[A-Z]{3}$"
                                          }
                                        },
                                        "required": [
                                          "amount",
                                          "currency"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "consideration",
                                      "activities",
                                      "fees",
                                      "taxes"
                                    ],
                                    "additionalProperties": false
                                  }
                                ],
                                "items": false,
                                "minItems": 4,
                                "maxItems": 4
                              }
                            },
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "identity",
                          "activities"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "action",
                      "previousDocRefId",
                      "id",
                      "seller"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "action": {
                        "type": "string",
                        "const": "delete"
                      },
                      "previousDocRefId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 200
                      },
                      "id": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_.-]{1,64}$"
                      }
                    },
                    "required": [
                      "action",
                      "previousDocRefId",
                      "id"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            },
            "history": {
              "minItems": 1,
              "maxItems": 20,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 4194304
              }
            }
          },
          "required": [
            "kind",
            "operatorDocRefId",
            "sellers",
            "history"
          ],
          "additionalProperties": false
        }
      ]
    }
  },
  "required": [
    "destination",
    "reportingYear",
    "timestamp",
    "messageId",
    "report"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "destination": {
        "profile": "ireland"
      },
      "reportingYear": 2026,
      "messageId": "example-marketplace-01",
      "timestamp": "2027-01-07T13:00:00Z",
      "report": {
        "kind": "new",
        "history": [],
        "operator": {
          "name": "North Quay Markets Ltd",
          "businessNames": [
            "North Quay Markets"
          ],
          "residenceCountries": [
            "IE"
          ],
          "tins": [
            {
              "issuedBy": "IE",
              "value": "1234567AB"
            }
          ],
          "addresses": [
            {
              "country": "IE",
              "text": "10 Quay Road, Dublin"
            }
          ]
        },
        "sellers": [
          {
            "id": "seller-42",
            "seller": {
              "identity": {
                "kind": "individual",
                "firstName": "Orla",
                "lastName": "Byrne",
                "birthDate": "1991-06-14",
                "residenceCountries": [
                  "IE"
                ],
                "tins": [
                  {
                    "issuedBy": "IE",
                    "value": "2345678CD"
                  }
                ],
                "addresses": [
                  {
                    "country": "IE",
                    "text": "14 Market Street, Galway"
                  }
                ]
              },
              "activities": {
                "saleOfGoods": [
                  {
                    "consideration": {
                      "amount": "2400",
                      "currency": "EUR"
                    },
                    "activities": 31,
                    "fees": {
                      "amount": "0",
                      "currency": "EUR"
                    },
                    "taxes": {
                      "amount": "0",
                      "currency": "EUR"
                    }
                  },
                  {
                    "consideration": {
                      "amount": "0",
                      "currency": "EUR"
                    },
                    "activities": 0,
                    "fees": {
                      "amount": "0",
                      "currency": "EUR"
                    },
                    "taxes": {
                      "amount": "0",
                      "currency": "EUR"
                    }
                  },
                  {
                    "consideration": {
                      "amount": "0",
                      "currency": "EUR"
                    },
                    "activities": 0,
                    "fees": {
                      "amount": "0",
                      "currency": "EUR"
                    },
                    "taxes": {
                      "amount": "0",
                      "currency": "EUR"
                    }
                  },
                  {
                    "consideration": {
                      "amount": "0",
                      "currency": "EUR"
                    },
                    "activities": 0,
                    "fees": {
                      "amount": "0",
                      "currency": "EUR"
                    },
                    "taxes": {
                      "amount": "0",
                      "currency": "EUR"
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  ]
}
```

Response:
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "valid": {
      "type": "boolean"
    },
    "profile": {
      "type": "string",
      "enum": [
        "eu",
        "ireland"
      ]
    },
    "xsd": {
      "type": "object",
      "properties": {
        "version": {
          "type": "string",
          "const": "1.0"
        },
        "source": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "passed",
            "failed",
            "not_run"
          ]
        }
      },
      "required": [
        "version",
        "source",
        "status"
      ],
      "additionalProperties": false
    },
    "reportableSellers": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "errors": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "line": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "rule": {
            "type": "string"
          },
          "expected": {
            "type": "string"
          },
          "actual": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "rule",
          "expected",
          "actual",
          "source"
        ],
        "additionalProperties": false
      }
    },
    "needsReview": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "line": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "rule": {
            "type": "string"
          },
          "expected": {
            "type": "string"
          },
          "actual": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "required": [
          "path",
          "rule",
          "expected",
          "actual",
          "source"
        ],
        "additionalProperties": false
      }
    },
    "xml": {
      "type": [
        "string",
        "null"
      ]
    },
    "messageRefId": {
      "type": [
        "string",
        "null"
      ]
    },
    "operatorDocRefId": {
      "type": [
        "string",
        "null"
      ]
    },
    "sellers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "row": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "docRefId": {
            "type": "string"
          },
          "corrDocRefId": {
            "type": "string"
          }
        },
        "required": [
          "row",
          "docRefId"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "valid",
    "profile",
    "xsd",
    "reportableSellers",
    "errors",
    "needsReview",
    "xml",
    "messageRefId",
    "operatorDocRefId",
    "sellers"
  ],
  "additionalProperties": false
}
```
