{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/jsonpage-com/json-schema/jsonpage-com-validation-schema.json",
  "title": "Validation",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/jsonpage-com-api-openapi.json#/components/schemas/Validation",
  "type": "object",
  "required": [
    "valid",
    "checks",
    "company"
  ],
  "properties": {
    "valid": {
      "type": "boolean",
      "description": "true only if every check returned is ok."
    },
    "checks": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ValidationCheck"
      }
    },
    "company": {
      "allOf": [
        {
          "$ref": "#/$defs/V2Company"
        }
      ],
      "type": [
        "object",
        "null"
      ],
      "description": "Base record with address (and vat when a French VAT number was given); null when the identifiers do not match or the company is not found."
    },
    "vat": {
      "type": "object",
      "description": "Present when the VAT number given is one of a European Union member state (or XI) that has no register here: the result of the check with the official service.",
      "required": [
        "number",
        "country",
        "status",
        "valid",
        "checked_at"
      ],
      "properties": {
        "number": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "valid",
            "invalid",
            "bad_format",
            "unverifiable"
          ],
          "description": "bad_format, the number does not have the shape of its country (the service was not called); unverifiable, the member state did not answer (not an invalid number)."
        },
        "valid": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "null unless the service gave a definitive answer."
        },
        "checked_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "description": "Date and time (UTC) of the check; null for bad_format and unverifiable."
        },
        "name": {
          "type": "string",
          "description": "Name given by the member state, only when the company agreed to its publication."
        },
        "address": {
          "type": "string",
          "description": "Address given by the member state, only when the company agreed to its publication."
        },
        "request_identifier": {
          "type": "string",
          "description": "Consultation identifier, when the service gives one. Specific to the requester; present for a check made in the name of a requester."
        },
        "requester_vat": {
          "type": "string",
          "description": "The requester the check was made for; absent when there is none."
        },
        "requester_status": {
          "type": "string",
          "enum": [
            "accepted",
            "rejected",
            "none"
          ],
          "description": "accepted, the check was made in the requester's name; rejected, the service refused the requester and the check was made without it (no consultation identifier); none, no requester."
        },
        "retrying": {
          "type": "boolean",
          "description": "true when the check could not be made and is retried automatically in the background."
        },
        "message": {
          "type": "string"
        }
      }
    }
  },
  "$defs": {
    "Activity": {
      "type": "object",
      "required": [
        "nace",
        "code",
        "label",
        "scheme"
      ],
      "properties": {
        "nace": {
          "type": [
            "string",
            "null"
          ],
          "description": "NACE rev. 2 class, or null when the national code has no equivalent."
        },
        "code": {
          "type": "string"
        },
        "label": {
          "type": [
            "string",
            "null"
          ]
        },
        "scheme": {
          "type": "string"
        }
      }
    },
    "Address": {
      "type": "object",
      "required": [
        "line",
        "postal_code",
        "city",
        "country",
        "formatted"
      ],
      "properties": {
        "line": {
          "type": [
            "string",
            "null"
          ]
        },
        "postal_code": {
          "type": [
            "string",
            "null"
          ]
        },
        "city": {
          "type": [
            "string",
            "null"
          ]
        },
        "country": {
          "type": "string"
        },
        "formatted": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "CodeValue": {
      "type": "object",
      "required": [
        "code",
        "label",
        "scheme"
      ],
      "properties": {
        "code": {
          "type": "string"
        },
        "label": {
          "type": [
            "string",
            "null"
          ]
        },
        "scheme": {
          "type": "string"
        }
      }
    },
    "CompanyEORI": {
      "type": "object",
      "description": "The EORI number a French company most likely holds: FR followed by its SIREN (the form to use) or, when only that one is registered, FR followed by the SIRET of its head office (the former form, to be deactivated in the second half of 2026). The SIREN form is checked first. When neither is registered the SIREN form is shown with status invalid. The number is derived, never read from a register, so probable is always true. status is the answer of the official verification service for that number: valid (the number is registered), invalid, or unverifiable (the service did not answer, which is not an invalid number). A valid answer does not prove that the company uses this number.",
      "required": [
        "number",
        "probable",
        "basis",
        "form",
        "status",
        "valid",
        "checked_at"
      ],
      "properties": {
        "number": {
          "type": "string"
        },
        "probable": {
          "type": "boolean"
        },
        "basis": {
          "type": "string",
          "enum": [
            "siren",
            "head_office_siret"
          ]
        },
        "form": {
          "type": "string",
          "enum": [
            "siren",
            "siret"
          ],
          "description": "The form of the number shown. siret means only the SIRET form is registered."
        },
        "note": {
          "type": "string",
          "description": "Present when only the SIRET form is registered, which will be deactivated in the second half of 2026; the SIREN form should be requested."
        },
        "status": {
          "type": "string",
          "enum": [
            "valid",
            "invalid",
            "unverifiable"
          ]
        },
        "valid": {
          "type": [
            "boolean",
            "null"
          ],
          "description": "true or false for a definitive answer, null when unverifiable."
        },
        "checked_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      }
    },
    "EInvoicing": {
      "type": "object",
      "description": "France only. What the electronic invoicing reform requires of the company, derived from its administrative status and its size category. Receiving electronic invoices is required of every active company from 2026-09-01. Issuing them is required from 2026-09-01 of large companies (GE) and mid-caps (ETI), and from 2027-09-01 of small and medium companies (PME, micro-enterprises included). The dates are those of the official calendar of the reform; the platform that receives the invoices of a company is listed in the official directory (directory_url). In the other countries the block is reported in meta.includes as not_available_in_country.",
      "required": [
        "applicable",
        "reason",
        "category",
        "reception",
        "issuance",
        "directory_url"
      ],
      "properties": {
        "applicable": {
          "type": "boolean",
          "description": "false for a closed company, which is not concerned."
        },
        "reason": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "closed"
          ],
          "description": "Why the reform does not apply; null when applicable."
        },
        "category": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "GE",
            "ETI",
            "PME"
          ],
          "description": "Size category of the company. null when unknown, or when the company is closed. Micro-enterprises are PME."
        },
        "reception": {
          "allOf": [
            {
              "$ref": "#/$defs/EInvoicingDuty"
            }
          ],
          "type": [
            "object",
            "null"
          ],
          "description": "Duty to receive electronic invoices. null when not applicable."
        },
        "issuance": {
          "allOf": [
            {
              "$ref": "#/$defs/EInvoicingDuty"
            }
          ],
          "type": [
            "object",
            "null"
          ],
          "description": "Duty to issue electronic invoices. null when not applicable or when the category is unknown."
        },
        "directory_url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "EInvoicingDuty": {
      "type": "object",
      "required": [
        "mandatory_from",
        "in_force"
      ],
      "properties": {
        "mandatory_from": {
          "type": "string",
          "format": "date"
        },
        "in_force": {
          "type": "boolean",
          "description": "true once mandatory_from is reached, at the time of the answer."
        }
      }
    },
    "EstablishmentPage": {
      "type": "object",
      "required": [
        "items",
        "next"
      ],
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/V2Establishment"
          }
        },
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor to pass as after; null on the last page."
        }
      }
    },
    "Financials": {
      "type": "object",
      "description": "Published accounts of the last fiscal years of a French company, in euros, with the headcount band. Empty, with a status that says why, for a sole trader or an association (not_required) or when no accounts are filed (not_filed). Available for France only; in the other countries it is reported in meta.includes as not_available_in_country.",
      "required": [
        "currency",
        "status",
        "basis",
        "fiscal_years"
      ],
      "properties": {
        "currency": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "published",
            "confidential",
            "not_filed",
            "not_required"
          ],
          "description": "confidential: the company does not publish its accounts. not_filed: no accounts filed yet. not_required: the legal form is not bound to publish accounts. fiscal_years is empty unless published."
        },
        "basis": {
          "type": "string",
          "enum": [
            "company",
            "consolidated"
          ],
          "description": "The company's own accounts, or the consolidated accounts of its group when it publishes none of its own. The two never mix in one series."
        },
        "fiscal_years": {
          "type": "array",
          "description": "Four fiscal years at most, newest first.",
          "items": {
            "$ref": "#/$defs/FiscalYear"
          }
        },
        "revenue_change_pct": {
          "type": [
            "number",
            "null"
          ],
          "description": "Evolution of the revenue between the two latest fiscal years, in percent; null when it means nothing (no positive base)."
        },
        "net_income_change_pct": {
          "type": [
            "number",
            "null"
          ],
          "description": "Evolution of the net income between the two latest fiscal years, in percent; null unless the result is positive in both."
        },
        "headcount": {
          "$ref": "#/$defs/Headcount"
        }
      }
    },
    "FiscalYear": {
      "type": "object",
      "required": [
        "closed_on",
        "revenue",
        "net_income",
        "accounts"
      ],
      "properties": {
        "closed_on": {
          "type": "string",
          "format": "date"
        },
        "revenue": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int64",
          "description": "Revenue in euros; null when not published."
        },
        "net_income": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int64",
          "description": "Net income in euros (negative for a loss); null when not published."
        },
        "accounts": {
          "type": "string",
          "enum": [
            "public",
            "partial"
          ],
          "description": "partial: the company withholds its revenue (null) and publishes the rest."
        }
      }
    },
    "Headcount": {
      "type": [
        "object",
        "null"
      ],
      "description": "Band of the number of employees of the legal unit.",
      "properties": {
        "min": {
          "type": "integer"
        },
        "max": {
          "type": [
            "integer",
            "null"
          ],
          "description": "null: no upper bound."
        },
        "year": {
          "type": [
            "integer",
            "null"
          ]
        }
      }
    },
    "LegalEvent": {
      "type": "object",
      "required": [
        "id",
        "published_on",
        "family",
        "type",
        "judgment",
        "court",
        "source",
        "url"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "published_on": {
          "type": "string",
          "format": "date"
        },
        "family": {
          "type": "string",
          "enum": [
            "insolvency",
            "conciliation",
            "professional_recovery",
            "deregistration",
            "sale",
            "registration",
            "other"
          ]
        },
        "type": {
          "type": "string",
          "enum": [
            "initial",
            "correction",
            "cancellation"
          ]
        },
        "judgment": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "family": {
              "type": [
                "string",
                "null"
              ]
            },
            "nature": {
              "type": [
                "string",
                "null"
              ]
            },
            "date": {
              "type": [
                "string",
                "null"
              ],
              "format": "date"
            }
          }
        },
        "court": {
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "Officer": {
      "type": "object",
      "description": "A director or manager of a French company.",
      "required": [
        "kind",
        "name",
        "role",
        "role_code",
        "since"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "person",
            "company"
          ]
        },
        "name": {
          "type": "string"
        },
        "last_name": {
          "type": "string",
          "description": "Natural person only."
        },
        "first_name": {
          "type": "string",
          "description": "Natural person only: the first given name."
        },
        "company_id": {
          "type": "string",
          "description": "Legal person only: the global identifier of its own record, when it has one."
        },
        "role": {
          "type": [
            "string",
            "null"
          ]
        },
        "role_code": {
          "type": [
            "string",
            "null"
          ],
          "description": "Code of the role in the register's list."
        },
        "role_labels": {
          "type": "object",
          "description": "The role in the four languages of the site.",
          "properties": {
            "fr": {
              "type": "string"
            },
            "en": {
              "type": "string"
            },
            "de": {
              "type": "string"
            },
            "nl": {
              "type": "string"
            }
          }
        },
        "since": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "Start of the mandate, when the register gives it: null otherwise."
        }
      }
    },
    "Owner": {
      "type": "object",
      "description": "A current person with significant control, as published in the UK register.",
      "required": [
        "kind",
        "name",
        "control",
        "natures_of_control",
        "notified_on",
        "sanctioned"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "individual",
            "corporate_entity",
            "legal_person",
            "super_secure"
          ],
          "description": "individual: natural person. corporate_entity: company on a register. legal_person: other legal person. super_secure: person whose details are protected by the register."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "description": "Name as published; null for super_secure."
        },
        "nationality": {
          "type": "string",
          "description": "Individuals only, omitted otherwise."
        },
        "country_of_residence": {
          "type": "string",
          "description": "Individuals only, omitted otherwise."
        },
        "birth": {
          "type": "object",
          "description": "Individuals only, omitted otherwise. Month and year only, as published; never the day.",
          "required": [
            "year",
            "month"
          ],
          "properties": {
            "year": {
              "type": "integer"
            },
            "month": {
              "type": [
                "integer",
                "null"
              ],
              "minimum": 1,
              "maximum": 12
            }
          }
        },
        "control": {
          "$ref": "#/$defs/OwnerControl"
        },
        "natures_of_control": {
          "type": "array",
          "description": "Raw nature-of-control codes, as published.",
          "items": {
            "type": "string"
          }
        },
        "notified_on": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "Date the control was notified to the register."
        },
        "identification": {
          "$ref": "#/$defs/OwnerIdentification"
        },
        "sanctioned": {
          "type": "boolean",
          "description": "True when the register marks the person as sanctioned."
        }
      }
    },
    "OwnerControl": {
      "type": "object",
      "required": [
        "shares",
        "voting_rights",
        "appoints_directors",
        "significant_influence",
        "via"
      ],
      "properties": {
        "shares": {
          "allOf": [
            {
              "$ref": "#/$defs/PercentRange"
            }
          ],
          "type": [
            "object",
            "null"
          ],
          "description": "Band of the shares held, in percent, or null."
        },
        "voting_rights": {
          "allOf": [
            {
              "$ref": "#/$defs/PercentRange"
            }
          ],
          "type": [
            "object",
            "null"
          ],
          "description": "Band of the voting rights held, in percent, or null."
        },
        "appoints_directors": {
          "type": "boolean",
          "description": "Right to appoint or remove a majority of the directors."
        },
        "significant_influence": {
          "type": "boolean",
          "description": "Significant influence or control by other means."
        },
        "via": {
          "type": "array",
          "description": "firm and/or trust when control is held through one; empty otherwise.",
          "items": {
            "type": "string",
            "enum": [
              "firm",
              "trust"
            ]
          }
        }
      }
    },
    "OwnerIdentification": {
      "type": "object",
      "description": "Corporate owners only, omitted otherwise.",
      "required": [
        "registration_number",
        "country_registered",
        "legal_form"
      ],
      "properties": {
        "registration_number": {
          "type": [
            "string",
            "null"
          ]
        },
        "country_registered": {
          "type": [
            "string",
            "null"
          ]
        },
        "legal_form": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "PercentRange": {
      "type": "object",
      "required": [
        "min",
        "max"
      ],
      "properties": {
        "min": {
          "type": "integer"
        },
        "max": {
          "type": "integer"
        }
      }
    },
    "Sanctions": {
      "type": "object",
      "description": "Screening of the company against the main international and national sanctions lists (European Union, United Nations, France, United Kingdom and United States). Only listed entities are compared, never natural persons. match means the registry number is listed as a registration number of the same country (only the EU list gives countries); possible_match means the company name equals a listed name or alias once case, accents, punctuation and legal forms are ignored. The result is indicative: no_match is not a guarantee and does not replace the customer's own due diligence (KYC/AML). Available for France, Belgium, Switzerland, Norway, Finland, Latvia, Ireland, Sweden, Estonia, Lithuania, Australia, Singapore, Japan and the United Kingdom.",
      "required": [
        "status",
        "matches",
        "lists"
      ],
      "properties": {
        "status": {
          "type": "string",
          "enum": [
            "no_match",
            "possible_match",
            "match"
          ]
        },
        "matches": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/SanctionsMatch"
          }
        },
        "lists": {
          "type": "array",
          "description": "The lists screened against, with their publication date.",
          "items": {
            "$ref": "#/$defs/SanctionsList"
          }
        }
      }
    },
    "SanctionsList": {
      "type": "object",
      "required": [
        "list",
        "name",
        "published_at",
        "entities"
      ],
      "properties": {
        "list": {
          "type": "string",
          "enum": [
            "EU",
            "UN",
            "FR",
            "UK",
            "US"
          ]
        },
        "name": {
          "type": "string"
        },
        "published_at": {
          "type": "string",
          "description": "Publication date of the list (YYYY-MM-DD), or empty when unknown."
        },
        "entities": {
          "type": "integer",
          "description": "Number of listed entities compared."
        }
      }
    },
    "SanctionsMatch": {
      "type": "object",
      "required": [
        "list",
        "reference",
        "name",
        "match_type"
      ],
      "properties": {
        "list": {
          "type": "string",
          "enum": [
            "EU",
            "UN",
            "FR",
            "UK",
            "US"
          ]
        },
        "reference": {
          "type": "string",
          "description": "Reference of the listed entity in its list."
        },
        "name": {
          "type": "string",
          "description": "Main name of the listed entity."
        },
        "match_type": {
          "type": "string",
          "enum": [
            "identifier",
            "name"
          ]
        },
        "listed_on": {
          "type": "string",
          "format": "date",
          "description": "Listing date, when the list gives it."
        },
        "programs": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Sanctions regimes as each list names them (EU programme code such as RUS, UN committee such as DPRK, UK regime, US program such as RUSSIA-EO14024, French legal basis)."
        }
      }
    },
    "Signal": {
      "type": "object",
      "required": [
        "code",
        "since",
        "detail"
      ],
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "closed",
            "recently_created",
            "insolvency_proceedings",
            "liquidation",
            "strike_off_proposed",
            "accounts_overdue",
            "confirmation_statement_overdue",
            "dormant"
          ],
          "description": "closed: France, Belgium, Switzerland, Norway, Finland, Latvia, Ireland, Sweden, Estonia, Lithuania, Australia, Singapore, Japan and the United Kingdom. recently_created: France, Belgium, Norway, Finland, Latvia, Ireland, Sweden, Estonia, Lithuania, Australia, Singapore and the United Kingdom. insolvency_proceedings: France, Belgium, Norway, Finland, Ireland, Sweden, Estonia, Lithuania, Singapore and the United Kingdom. liquidation (dissolution or liquidation in progress, outside bankruptcy): Belgium, Norway, Finland, Singapore, Ireland, Sweden, Estonia and Lithuania, and Switzerland and Latvia when the registered name carries the mention of liquidation (en liquidation, in liquidazione, Likvidējamā). strike_off_proposed: Singapore and the United Kingdom. accounts_overdue, dormant: United Kingdom."
        },
        "since": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "detail": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "V2Company": {
      "type": "object",
      "description": "Base record, identical in every country. Optional blocks appear only when requested.",
      "required": [
        "id",
        "country",
        "registry_id",
        "name",
        "status",
        "legal_form",
        "activity",
        "incorporated_on",
        "closed_on",
        "updated_at"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "registry_id": {
          "type": "string"
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": "string",
          "enum": [
            "active",
            "closed",
            "unknown"
          ]
        },
        "legal_form": {
          "allOf": [
            {
              "$ref": "#/$defs/CodeValue"
            }
          ],
          "type": [
            "object",
            "null"
          ]
        },
        "activity": {
          "allOf": [
            {
              "$ref": "#/$defs/Activity"
            }
          ],
          "type": [
            "object",
            "null"
          ]
        },
        "naf_2027": {
          "allOf": [
            {
              "$ref": "#/$defs/CodeValue"
            }
          ],
          "type": [
            "object",
            "null"
          ],
          "description": "France only, absent for other countries. The NAF 2025 activity code that applies from January 2027 (no code of NAF rev. 2 is kept unchanged), with its French label and the scheme FR-NAF-2025. null when the code is not known yet (a ceased company keeps its current code). When the main activity is itself a NAF 2025 code, naf_2027 repeats it."
        },
        "naf_2027_status": {
          "type": "string",
          "enum": [
            "ok",
            "not_published"
          ],
          "description": "France only. ok: naf_2027 holds the code. not_published: the code that applies from 2027 is not published yet for this company (naf_2027 is then null)."
        },
        "incorporated_on": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "closed_on": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "updated_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lei": {
          "type": [
            "object",
            "null"
          ],
          "description": "The Legal Entity Identifier of the company, null when it has none.",
          "required": [
            "code",
            "status",
            "next_renewal_on"
          ],
          "properties": {
            "code": {
              "type": "string"
            },
            "status": {
              "type": "string",
              "enum": [
                "issued",
                "lapsed",
                "pending_transfer",
                "pending_archival"
              ],
              "description": "lapsed means the LEI was not renewed and its data may be out of date."
            },
            "next_renewal_on": {
              "type": [
                "string",
                "null"
              ],
              "format": "date"
            }
          }
        },
        "address": {
          "$ref": "#/$defs/Address"
        },
        "vat": {
          "$ref": "#/$defs/VAT"
        },
        "eori": {
          "$ref": "#/$defs/CompanyEORI"
        },
        "signals": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Signal"
          }
        },
        "legal_events": {
          "type": "array",
          "description": "Latest 20 announcements, newest first.",
          "items": {
            "$ref": "#/$defs/LegalEvent"
          }
        },
        "owners": {
          "type": "array",
          "description": "Current persons with significant control (PSC), as published in the UK register. Ceased persons are excluded; addresses and the day of birth are never returned. Empty array when none. Available for the United Kingdom only; in the other countries it is reported in meta.includes as not_available_in_country (the French register of beneficial owners is no longer public since 31 July 2024; the other registers do not publish them).",
          "items": {
            "$ref": "#/$defs/Owner"
          }
        },
        "officers": {
          "type": "array",
          "description": "Current officers (directors and managers) of the company: name, given name, role (with its label in fr, en, de and nl) and, when the register gives it, the start of the mandate. Never a date of birth, the home address or the nationality. A legal-person officer carries the company_id of its own record. Auditors are not listed. Empty array when none (see officers_status). A person or a company that objected through the opposition form is left out. Available for France only; in the other countries it is reported in meta.includes as not_available_in_country. While the block is not released, meta.includes reports it as not_available and the field is absent.",
          "items": {
            "$ref": "#/$defs/Officer"
          }
        },
        "officers_status": {
          "type": "string",
          "enum": [
            "ok",
            "none",
            "not_applicable",
            "restricted"
          ],
          "description": "Present with the officers block. ok: officers are listed. none: the register publishes no officer for this company. not_applicable: a sole trader, whose manager is the operator. restricted: the list is withheld from a batch answer because the company objected to prospecting (a single lookup still returns it)."
        },
        "financials": {
          "$ref": "#/$defs/Financials"
        },
        "financials_status": {
          "type": "string",
          "enum": [
            "published",
            "confidential",
            "not_filed",
            "not_required"
          ],
          "description": "Present with the financials block (same value as financials.status). published: figures are given. confidential: the company does not publish its accounts. not_filed: no annual accounts filed yet. not_required: the legal form (sole trader, association, civil company, public body...) is not bound to publish accounts."
        },
        "sanctions": {
          "$ref": "#/$defs/Sanctions"
        },
        "e_invoicing": {
          "$ref": "#/$defs/EInvoicing"
        },
        "establishments": {
          "$ref": "#/$defs/EstablishmentPage"
        },
        "local": {
          "type": "object",
          "description": "Fields specific to the country register, as published. France: siren, diffusion_status, administrative_status, legal_category, activity_code, company_category (GE, ETI or PME, micro-enterprises included; null when unknown) and company_category_year. Belgium: enterprise_number (0417.497.106), status, juridical_situation (code, label, scheme BE-JURIDICAL-SITUATION), type_of_enterprise (1 natural person, 2 legal person), juridical_form, start_date, names (language, type legal/abbreviation/commercial, value) and activities (code, nace_version, group, classification MAIN/SECO/ANCI, label). Switzerland: uid (CHE-105.909.036), ehra_id (federal register number), chid (cantonal register number), legal_form (code, label_fr, label_de, label_en), purpose (as registered), municipality (bfs_number, name), canton (two letters), names (language empty for the registered name, else de/fr/it/en/rm, and value), other_registrations (further registered offices of the same legal entity: ehra_id, chid, name, status, municipality, canton, address) and last_listed_on (closed entities only: the last day the register listed it). Norway: organisation_number (923 609 016), legal_form (code, label, scheme) and legal_form_label_no, registered_on, founded_on, in_business_enterprise_register, vat_registered and vat_registered_on, institutional_sector (code, label), employees, capital (amount, currency, type), municipality and last_listed_on. Finland: business_id (0112038-9), legal_form_label, in_trade_register, vat_registered and vat_registered_on, situation (KONK bankruptcy, SELTILA liquidation, SANE restructuring), municipality_code, other_names (type parallel/auxiliary/auxiliary_translation, value) and last_listed_on. Latvia: registration_number, register (code K commercial register, B associations and foundations…, label), termination (L liquidated, R reorganised, for a struck-off entity) and legal_form_label_lv. Ireland: company_number, company_type and status (code, label, scheme), status_since, eircode, county, last_annual_return_on, next_annual_return_due and last_accounts_on. Sweden: organisation_number (556042-7220), proceeding and deregistration (code, label, scheme), proceeding_since, business_active, marketing_restriction, other_activities, other_names (type special_business_name or foreign_language_name, value) and last_listed_on. Estonia: registry_code, status (code, label, scheme), legal_form_label_et, legal_subtype, place and last_listed_on. Lithuania: legal_entity_code, legal_form_label_lt, legal_status (code, label, scheme), legal_status_label_lt and legal_status_since. Australia: abn (51 824 753 556), acn, acn_kind, state, entity_type_label, gst (registered, status ACT/CAN, since), abn_status_since, sole_trader, other_names (type trading/business/other_trading/gift_recipient, value) and record_updated_on. Singapore: uen, entity_type (code, label, scheme SG-ENTITY-TYPE), register_status, uen_issued_on, accounts_due_on, annual_return_on, secondary_activity, former_names and sole_proprietor. Japan: corporate_number, name_kana, name_en, address_en, prefecture, prefecture_code, municipality_code, foreign_address, number_assigned_on, last_change_on, record_updated_on, closure (code, label, scheme JP-CLOSURE-CAUSE), successor_number and legal_form_label_ja.",
          "additionalProperties": true
        }
      }
    },
    "V2Establishment": {
      "type": "object",
      "required": [
        "registry_id",
        "name",
        "head_office",
        "status",
        "activity",
        "opened_on",
        "address"
      ],
      "properties": {
        "registry_id": {
          "type": "string",
          "description": "For France, the 14-digit SIRET; for Belgium, the 10-digit establishment unit number (starting with 2); for Norway, the 9-digit number of the sub-unit."
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "head_office": {
          "type": "boolean"
        },
        "status": {
          "type": "string",
          "enum": [
            "active",
            "closed",
            "unknown"
          ]
        },
        "activity": {
          "allOf": [
            {
              "$ref": "#/$defs/Activity"
            }
          ],
          "type": [
            "object",
            "null"
          ]
        },
        "opened_on": {
          "type": [
            "string",
            "null"
          ],
          "format": "date"
        },
        "address": {
          "allOf": [
            {
              "$ref": "#/$defs/Address"
            }
          ],
          "type": [
            "object",
            "null"
          ]
        }
      }
    },
    "VAT": {
      "type": "object",
      "required": [
        "number",
        "status",
        "checked_at",
        "source"
      ],
      "properties": {
        "number": {
          "type": "string"
        },
        "status": {
          "type": "string",
          "enum": [
            "pending",
            "valid",
            "invalid",
            "not_verified",
            "unavailable"
          ],
          "description": "pending: check scheduled in the background, retry a few seconds later. valid or invalid: result of the VAT check, reused for 30 days. not_verified: number computed but not checked by this server. Norway: valid or invalid from the VAT register flag of the register, never pending. unavailable: Switzerland only, the check could not be completed; it is retried later. For a Swiss member of a VAT group, number is the group's (for example CHE-116.281.710 MWST)."
        },
        "checked_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "source": {
          "type": "string",
          "description": "Label of the VAT check."
        }
      }
    },
    "ValidationCheck": {
      "type": "object",
      "required": [
        "code",
        "ok"
      ],
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "id_format",
            "siren_key",
            "siret_format",
            "siret_key",
            "siret_exists",
            "siret_active",
            "vat_format",
            "vat_country_supported",
            "identifiers_match",
            "company_exists",
            "company_active",
            "vat_registered",
            "eori_format",
            "eori_siren",
            "eori_siret",
            "eori_registered"
          ],
          "description": "id_format: the global identifier is well formed for a country served (in Switzerland, Norway and Finland, with a correct modulo-11 check digit; in Sweden, with a correct Luhn check digit; in Estonia and Lithuania, with a correct check digit). In Japan, the check digit of the corporate number is verified. In Singapore, the check letter of the UEN is verified. In Australia, the modulo-89 check of the ABN is verified. siren_key: the SIREN check digit (Luhn) is correct (France). siret_format: the SIRET has 14 digits. siret_key: the SIRET check digit (Luhn) is correct; La Poste establishments use their own rule. siret_exists: the establishment exists in the register. siret_active: the establishment is active. vat_format: the VAT number is well formed (France: the number computed from the SIREN; Belgium: BE and an enterprise number with a correct check; Switzerland: a UID with a correct check digit, followed by MWST, TVA or IVA; Norway: NO, an organisation number with a correct check digit and MVA; Finland: FI and a Business ID with a correct check digit; Latvia: LV and 11 digits; Sweden: SE, an organisation number with a correct Luhn check digit and 01; Estonia: EE and 9 digits; Lithuania: LT and 9 digits with a correct check digit; any other European Union country: the national shape of the number, for example DE and 9 digits). vat_country_supported: the VAT number's country is supported (a European Union country or Northern Ireland, Switzerland or Norway); false for another country. identifiers_match: every identifier points to the same company. company_exists: the company exists in the register. company_active: the company is active. vat_registered: verification status of the VAT number; valid, pending (the check is not complete yet, retry a few seconds later), not_verified and unavailable pass, invalid fails. For a European Union country without a register here: valid, invalid, or unverifiable (the country's service did not answer: it passes). eori_format: the EORI number is a two-letter code of a country covered (European Union, XI, GB, CH, NO) and up to 15 characters. eori_siren: a French EORI is FR followed by 9 digits that form a SIREN with a correct check digit. eori_siret: a French EORI is FR followed by 14 digits that form a SIRET with a correct check digit. eori_registered: status of the EORI number with the official service. valid, unverifiable (the service did not answer) and not_applicable (CH, NO) pass, invalid fails. The value is the status."
        },
        "ok": {
          "type": "boolean"
        },
        "value": {
          "type": "string",
          "description": "The value checked (for company_active, vat_registered and eori_registered, the status found)."
        }
      }
    }
  }
}