{
  "openapi": "3.0.3",
  "info": {
    "title": "FTM Service API",
    "version": "1.0.0",
    "description": "Server-to-server HMAC API. Use https://api.ftm.lv. Create API credentials in your FTM account. Unknown routes and upstream failures may return non-JSON errors. Example records and key values are illustrative."
  },
  "servers": [
    {
      "url": "https://api.ftm.lv",
      "description": "Production"
    }
  ],
  "x-hmac-test-vectors": {
    "url": "https://ftm.lv/examples/hmac-test-vectors.json",
    "vectors": [
      {
        "name": "empty-get",
        "key": "ak_documentation_test_only",
        "secret": "ftm_fake_secret_DO_NOT_USE",
        "method": "GET",
        "path": "/service/api/v1/legal-entities/40000000000",
        "query": "",
        "body": "",
        "timestamp": 1789336800,
        "nonce": "AAECAwQFBgcICQoLDA0ODw",
        "canonical_query": "",
        "body_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "canonical": "GET\n/service/api/v1/legal-entities/40000000000\n\n1789336800\nAAECAwQFBgcICQoLDA0ODw\ne3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
        "signature": "1a0314746224b5356b87590de0a404b5382ef36074020f4890ebfc878483b66f"
      },
      {
        "name": "utf8-body-and-query",
        "key": "ak_documentation_test_only",
        "secret": "ftm_fake_secret_DO_NOT_USE",
        "method": "POST",
        "path": "/service/api/v1/%C4%81//x%2Fy/",
        "query": "z=last&a=2&a=1&space=a%20b&plus=%2B&utf=%C4%81",
        "body": "{\"message\":\"Sveiki, Rīga\"}",
        "timestamp": 1789336800,
        "nonce": "AAECAwQFBgcICQoLDA0ODw",
        "canonical_query": "a=2&a=1&plus=%2B&space=a+b&utf=%C4%81&z=last",
        "body_sha256": "5d0358713e4db6811b419f86478083965ad4bfdcd1919dfe1f5c2f19c58907d6",
        "canonical": "POST\n/service/api/v1/%C4%81//x%2Fy/\na=2&a=1&plus=%2B&space=a+b&utf=%C4%81&z=last\n1789336800\nAAECAwQFBgcICQoLDA0ODw\n5d0358713e4db6811b419f86478083965ad4bfdcd1919dfe1f5c2f19c58907d6",
        "signature": "6d57bebafb27ec31447339a28615802400e3a8f3b3c1151c200c8a0fc3e5b01c"
      }
    ]
  },
  "paths": {
    "/service/api/v1/legal-entities/{regcode}": {
      "get": {
        "operationId": "legal",
        "summary": "Get a legal entity",
        "tags": [
          "Signed API"
        ],
        "description": "Required scope: legal-entities:read. Requires all four HMAC headers. Sign the exact escaped path, canonical query, timestamp, nonce and SHA256 of raw body, separated by LF with no final LF. See /api-docs. Personal details additionally require legal-entities:personal-details and an account approved for restricted personal details.",
        "security": [
          {
            "APIKey": [],
            "APITimestamp": [],
            "APINonce": [],
            "APISignature": []
          }
        ],
        "parameters": [
          {
            "name": "regcode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^[0-9]{11}$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LegalEntity"
                },
                "examples": {
                  "typical": {
                    "summary": "Typical SIA; complete sparse record",
                    "value": {
                      "ActivitiesDetails": null,
                      "ActivitiesID": null,
                      "Address": {
                        "id": 201,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "address_register_code": 100000001,
                        "postal_code": "LV-1010",
                        "address_incomplete": null,
                        "address_complete": "Piemēra iela 1, Rīga, LV-1010",
                        "county": null,
                        "city": "Rīga",
                        "parish": null,
                        "village": null,
                        "street": "Piemēra iela",
                        "house_name": null,
                        "house_number": "1",
                        "apartment": null,
                        "registered_on": "2020-06-15T00:00:00Z"
                      },
                      "AddressID": 201,
                      "ArbitrationCourtDetails": null,
                      "ArbitrationCourtDetailsID": null,
                      "BeneficialOwners": [],
                      "BeneficialOwnershipStatuses": [],
                      "BranchOf": [],
                      "Branches": [],
                      "CommercialDetailsID": null,
                      "CommercialEntityDetails": null,
                      "FormationDetails": null,
                      "FormationDetailsID": null,
                      "Links": null,
                      "LinksID": null,
                      "Liquidations": [],
                      "Members": [],
                      "Officers": [],
                      "PoliticalOrganizationDetails": null,
                      "PoliticalOrganizationDetailsID": null,
                      "PreviousAddresses": [],
                      "PreviousLegalForms": [],
                      "PreviousNames": [],
                      "Procurations": [],
                      "ProhibitionsOfActivities": [],
                      "PublicAuthorityDetails": null,
                      "PublicAuthorityDetailsID": null,
                      "ReligiousEntityDetails": null,
                      "ReligiousEntityDetailsID": null,
                      "Reorganizations": [],
                      "Representatives": [],
                      "Reregistrations": [],
                      "Sanctions": null,
                      "SanctionsID": null,
                      "SecuringMeasures": [],
                      "SpecialStatuses": [],
                      "SuspensionsOfActivities": [],
                      "VariousNotices": [],
                      "atvk_code": null,
                      "cleaned_short_name": "Example",
                      "created_at": "2026-01-01T00:00:00Z",
                      "id": 101,
                      "is_annulled": null,
                      "last_modified_at": null,
                      "legal_name": "Example SIA",
                      "register": "",
                      "registered_on": "2020-06-15T00:00:00Z",
                      "registration_number": "40000000000",
                      "registration_number_assigned_on": null,
                      "registry_record_id": 501,
                      "removed_on": null,
                      "sanctions_risk": null,
                      "sepa_creditor_id": "",
                      "status": "REGISTERED",
                      "status_details": "",
                      "type": "SIA",
                      "updated_at": "2026-01-01T00:00:00Z"
                    }
                  },
                  "standard": {
                    "summary": "Standard response; personal details omitted",
                    "value": {
                      "id": 1,
                      "created_at": "2026-01-01T00:00:00Z",
                      "updated_at": "2026-01-01T00:00:00Z",
                      "registry_record_id": 1,
                      "registration_number": "40000000000",
                      "registration_number_assigned_on": null,
                      "status": "REGISTERED",
                      "status_details": "",
                      "sepa_creditor_id": "",
                      "register": "",
                      "type": "SIA",
                      "legal_name": "Example SIA",
                      "cleaned_short_name": "",
                      "registered_on": null,
                      "removed_on": null,
                      "last_modified_at": null,
                      "is_annulled": null,
                      "atvk_code": null,
                      "sanctions_risk": null,
                      "AddressID": 1,
                      "Address": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "address_register_code": 1,
                        "postal_code": null,
                        "address_incomplete": null,
                        "address_complete": null,
                        "county": null,
                        "city": null,
                        "parish": null,
                        "village": null,
                        "street": null,
                        "house_name": null,
                        "house_number": null,
                        "apartment": null,
                        "registered_on": null
                      },
                      "LinksID": 1,
                      "Links": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "self": null,
                        "foreign_entity": null,
                        "commercial_pledges": null,
                        "insolvency": null,
                        "annual_reports": null,
                        "public_documents": null,
                        "restricted_documents": null,
                        "mass_media": null
                      },
                      "FormationDetailsID": 1,
                      "FormationDetails": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "objects": null,
                        "duration_until_objects_achieved": null,
                        "duration_until": null,
                        "duration_indefinite": null,
                        "established_on": null,
                        "date_of_effective_articles_of_association": null,
                        "registration_term_until": null,
                        "registration_renewed_on": null
                      },
                      "ActivitiesID": 1,
                      "ActivitiesDetails": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "territory_of_activity": null,
                        "goals": [
                          {
                            "id": 1,
                            "activities_details_id": 1,
                            "value": ""
                          }
                        ],
                        "types_of_activity": [
                          {
                            "id": 1,
                            "activities_details_id": 1,
                            "value": ""
                          }
                        ],
                        "nace_types": [
                          {
                            "id": 1,
                            "activities_details_id": 1,
                            "nace_code": null,
                            "nace_revision": null,
                            "removed_on": null,
                            "last_modified_at": null
                          }
                        ],
                        "areas_of_activity": [
                          {
                            "id": 1,
                            "activities_details_id": 1,
                            "type": null,
                            "date_from": null,
                            "date_to": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ]
                      },
                      "CommercialDetailsID": 1,
                      "CommercialEntityDetails": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "limited_partner_contribution_id": 1,
                        "limited_partner_contribution": {
                          "id": 1,
                          "amount": null,
                          "currency": null
                        },
                        "farm_details_id": 1,
                        "farm_details": {
                          "id": 1,
                          "created_at": "2026-01-01T00:00:00Z",
                          "updated_at": "2026-01-01T00:00:00Z",
                          "area_in_hectares": null,
                          "land_ownership_changes": [
                            {
                              "id": 1,
                              "farm_details_id": 1,
                              "area_change": null,
                              "deed_number": null,
                              "deed_issued_on": null,
                              "rights_to_land_under_deed": null,
                              "address": null,
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            }
                          ]
                        },
                        "equity_capitals": [
                          {
                            "id": 1,
                            "commercial_entity_details_id": 1,
                            "type": null,
                            "amount": null,
                            "currency": null,
                            "number_of_shares": null,
                            "share_nominal_value": null,
                            "change_reason": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ],
                        "decisive_influence_notices": [
                          {
                            "id": 1,
                            "commercial_entity_details_id": 1,
                            "type": null,
                            "type_details": [
                              {
                                "id": 1,
                                "decisive_influence_notice_id": 1,
                                "value": ""
                              }
                            ],
                            "date_of_agreement": null,
                            "date_of_amendments": null,
                            "DominantEntityID": 1,
                            "dominant_entity": {
                              "id": 1,
                              "natural_person": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "forename": "Example",
                                "surname": "Person",
                                "name": "Example Person",
                                "country": null,
                                "countries": [
                                  {
                                    "id": 1,
                                    "country": ""
                                  }
                                ],
                                "country_of_residence": null,
                                "registered_on": null,
                                "removed_on": null,
                                "last_modified_at": null,
                                "is_annulled": null
                              },
                              "legal_entity_basic_id": 1,
                              "legal_entity_basic": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "registration_number": null,
                                "external_object_number": null,
                                "foreign_registration_number": null,
                                "name": null,
                                "address": null,
                                "country": null,
                                "links_id": 1,
                                "links": {
                                  "id": 1,
                                  "created_at": "2026-01-01T00:00:00Z",
                                  "updated_at": "2026-01-01T00:00:00Z",
                                  "self": null,
                                  "foreign_entity": null,
                                  "commercial_pledges": null,
                                  "insolvency": null,
                                  "annual_reports": null,
                                  "public_documents": null,
                                  "restricted_documents": null,
                                  "mass_media": null
                                }
                              }
                            },
                            "DependentEntityID": 1,
                            "dependent_entity": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "registration_number": null,
                              "current_name": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            },
                            "note": null,
                            "note_on_removal": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ],
                        "depositories": [
                          {
                            "id": 1,
                            "commercial_entity_details_id": 1,
                            "legal_entity_basic_id": 1,
                            "legal_entity_basic": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            },
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ],
                        "insolvencies": [
                          {
                            "id": 1,
                            "commercial_entity_details_id": 1,
                            "date_from": null,
                            "date_to": null,
                            "governed_by": null,
                            "links_id": 1,
                            "links": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "self": null,
                              "foreign_entity": null,
                              "commercial_pledges": null,
                              "insolvency": null,
                              "annual_reports": null,
                              "public_documents": null,
                              "restricted_documents": null,
                              "mass_media": null
                            },
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ]
                      },
                      "ArbitrationCourtDetailsID": 1,
                      "ArbitrationCourtDetails": {
                        "id": 1,
                        "date_of_effective_rules_of_procedure": null
                      },
                      "ReligiousEntityDetailsID": 1,
                      "ReligiousEntityDetails": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "affiliation": null,
                        "previous_registrations": [
                          {
                            "id": 1,
                            "religious_entity_details_id": 1,
                            "registration_number": null,
                            "registered_on": null
                          }
                        ]
                      },
                      "PoliticalOrganizationDetailsID": 1,
                      "PoliticalOrganizationDetails": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "field_offices": [
                          {
                            "id": 1,
                            "political_organization_details_id": 1,
                            "name": null,
                            "address": null,
                            "country": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ]
                      },
                      "PublicAuthorityDetailsID": 1,
                      "PublicAuthorityDetails": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "ContactDetailsID": 1,
                        "ContactDetails": {
                          "id": 1,
                          "created_at": "2026-01-01T00:00:00Z",
                          "updated_at": "2026-01-01T00:00:00Z",
                          "website": null,
                          "email": null,
                          "phone": null
                        },
                        "RegistrationDetailsID": 1,
                        "RegistrationDetails": {
                          "id": 1,
                          "created_at": "2026-01-01T00:00:00Z",
                          "updated_at": "2026-01-01T00:00:00Z",
                          "authority_type": null,
                          "established_on": null,
                          "is_institution_of_higher_education": null,
                          "is_independent_taxpayer": null,
                          "taxpayer_unit_number": null,
                          "higher_authority_number": null,
                          "higher_authority_current_name": null,
                          "subordination_type": null
                        },
                        "EstablishingActID": 1,
                        "EstablishingAct": {
                          "id": 1,
                          "created_at": "2026-01-01T00:00:00Z",
                          "updated_at": "2026-01-01T00:00:00Z",
                          "legislator_name": null,
                          "legislator_number": null,
                          "date": null,
                          "type": null
                        },
                        "DelegatedEntities": [
                          {
                            "id": 1,
                            "public_authority_details_id": 1,
                            "registry_id": 1,
                            "registration_number": null,
                            "name": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null
                          }
                        ],
                        "SchoolBranches": [
                          {
                            "id": 1,
                            "public_authority_details_id": 1,
                            "registry_id": 1,
                            "name": null,
                            "AddressID": 1,
                            "address": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "address_register_code": 1,
                              "postal_code": null,
                              "address_incomplete": null,
                              "address_complete": null,
                              "county": null,
                              "city": null,
                              "parish": null,
                              "village": null,
                              "street": null,
                              "house_name": null,
                              "house_number": null,
                              "apartment": null,
                              "registered_on": null
                            },
                            "GeneralManagerID": 1,
                            "general_manager": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "forename": "Example",
                              "surname": "Person",
                              "name": "Example Person",
                              "country": null,
                              "countries": [
                                {
                                  "id": 1,
                                  "country": ""
                                }
                              ],
                              "country_of_residence": null,
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            },
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ]
                      },
                      "SanctionsID": 1,
                      "Sanctions": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "legal_entity_sanctions": [
                          {
                            "id": 1,
                            "sanctions_id": 1,
                            "list": null,
                            "program": null,
                            "entry_date": null,
                            "sanction_links": [
                              {
                                "id": 1,
                                "legal_entity_sanction_id": 1,
                                "value": ""
                              }
                            ],
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null
                          }
                        ],
                        "directly_related_sanctions": [
                          {
                            "id": 1,
                            "sanctions_id": 1,
                            "sanctions_indirect_id": 1,
                            "natural_person": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "forename": "Example",
                              "surname": "Person",
                              "name": "Example Person",
                              "country": null,
                              "countries": [
                                {
                                  "id": 1,
                                  "country": ""
                                }
                              ],
                              "country_of_residence": null,
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            },
                            "legal_entity_basic_id": 1,
                            "legal_entity_basic": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            },
                            "position": null,
                            "list": null,
                            "program": null,
                            "entry_date": null,
                            "sanction_links": [
                              {
                                "id": 1,
                                "directly_related_person_sanction_id": 1,
                                "value": ""
                              }
                            ],
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null
                          }
                        ],
                        "indirectly_related_sanctions": [
                          {
                            "id": 1,
                            "sanctions_id": 1,
                            "sanctions_indirect_id": 1,
                            "natural_person": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "forename": "Example",
                              "surname": "Person",
                              "name": "Example Person",
                              "country": null,
                              "countries": [
                                {
                                  "id": 1,
                                  "country": ""
                                }
                              ],
                              "country_of_residence": null,
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            },
                            "legal_entity_basic_id": 1,
                            "legal_entity_basic": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            },
                            "position": null,
                            "list": null,
                            "program": null,
                            "entry_date": null,
                            "sanction_links": [
                              {
                                "id": 1,
                                "directly_related_person_sanction_id": 1,
                                "value": ""
                              }
                            ],
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null
                          }
                        ]
                      },
                      "SpecialStatuses": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "date_from": null,
                          "date_to": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "Reorganizations": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "date": null,
                          "result": null,
                          "LegalActID": 1,
                          "legal_act": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "legislator_name": null,
                            "legislator_number": null,
                            "date": null,
                            "type": null
                          },
                          "entities_involved": [
                            {
                              "id": 1,
                              "reorganization_id": 1,
                              "registration_number": null,
                              "current_name": null,
                              "LinksID": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            }
                          ],
                          "subjects": [
                            {
                              "id": 1,
                              "reorganization_id": 1,
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "current_name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            }
                          ],
                          "objects": [
                            {
                              "id": 1,
                              "reorganization_id": 1,
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "current_name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            }
                          ],
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "Liquidations": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "started_on": null,
                          "completion_expected_on": null,
                          "ended_on": null,
                          "grounds_for_liquidation": null,
                          "grounds_for_continuation": null,
                          "result_type": null,
                          "LegalActID": 1,
                          "legal_act": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "legislator_name": null,
                            "legislator_number": null,
                            "date": null,
                            "type": null
                          },
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "SuspensionsOfActivities": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "started_on": null,
                          "ended_on": null,
                          "grounds_for_suspension": null,
                          "grounds_for_renewal": null,
                          "result_type": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "ProhibitionsOfActivities": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "started_on": null,
                          "ended_on": null,
                          "grounds_for_prohibition": null,
                          "grounds_for_ending_prohibition": null,
                          "result_type": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "Reregistrations": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "date": null,
                          "register": null
                        }
                      ],
                      "PreviousNames": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "name": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "PreviousAddresses": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "address": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "PreviousLegalForms": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "register": null,
                          "registered_because_of": null,
                          "removed_because_of": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "BranchOf": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "date_from": null,
                          "date_to": null,
                          "legal_entity_basic_id": 1,
                          "legal_entity_basic": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "registration_number": null,
                            "external_object_number": null,
                            "foreign_registration_number": null,
                            "name": null,
                            "address": null,
                            "country": null,
                            "links_id": 1,
                            "links": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "self": null,
                              "foreign_entity": null,
                              "commercial_pledges": null,
                              "insolvency": null,
                              "annual_reports": null,
                              "public_documents": null,
                              "restricted_documents": null,
                              "mass_media": null
                            }
                          },
                          "last_modified_at": null
                        }
                      ],
                      "Branches": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "date_from": null,
                          "date_to": null,
                          "legal_entity_basic_id": 1,
                          "legal_entity_basic": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "registration_number": null,
                            "external_object_number": null,
                            "foreign_registration_number": null,
                            "name": null,
                            "address": null,
                            "country": null,
                            "links_id": 1,
                            "links": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "self": null,
                              "foreign_entity": null,
                              "commercial_pledges": null,
                              "insolvency": null,
                              "annual_reports": null,
                              "public_documents": null,
                              "restricted_documents": null,
                              "mass_media": null
                            }
                          },
                          "last_modified_at": null
                        }
                      ],
                      "Officers": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "natural_person": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "forename": "Example",
                            "surname": "Person",
                            "name": "Example Person",
                            "country": null,
                            "countries": [
                              {
                                "id": 1,
                                "country": ""
                              }
                            ],
                            "country_of_residence": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          },
                          "legal_entity_basic_id": 1,
                          "legal_entity_basic": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "registration_number": null,
                            "external_object_number": null,
                            "foreign_registration_number": null,
                            "name": null,
                            "address": null,
                            "country": null,
                            "links_id": 1,
                            "links": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "self": null,
                              "foreign_entity": null,
                              "commercial_pledges": null,
                              "insolvency": null,
                              "annual_reports": null,
                              "public_documents": null,
                              "restricted_documents": null,
                              "mass_media": null
                            }
                          },
                          "rights_of_representation": [
                            {
                              "id": 1,
                              "officer_id": 1,
                              "procuration_id": 1,
                              "type": null,
                              "with_at_least": null,
                              "details": null
                            }
                          ],
                          "appointed_on": null,
                          "term_until": null,
                          "resigned_on": null,
                          "position": null,
                          "position_details": null,
                          "governing_body": null,
                          "note": null,
                          "registered_because_of": null,
                          "removed_because_of": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "Members": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "is_restricted": null,
                          "date_from": null,
                          "date_to": null,
                          "is_personally_liable": null,
                          "natural_person": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "forename": "Example",
                            "surname": "Person",
                            "name": "Example Person",
                            "country": null,
                            "countries": [
                              {
                                "id": 1,
                                "country": ""
                              }
                            ],
                            "country_of_residence": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          },
                          "legal_entity_basic_id": 1,
                          "legal_entity_basic": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "registration_number": null,
                            "external_object_number": null,
                            "foreign_registration_number": null,
                            "name": null,
                            "address": null,
                            "country": null,
                            "links_id": 1,
                            "links": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "self": null,
                              "foreign_entity": null,
                              "commercial_pledges": null,
                              "insolvency": null,
                              "annual_reports": null,
                              "public_documents": null,
                              "restricted_documents": null,
                              "mass_media": null
                            }
                          },
                          "representative_id": 1,
                          "representative": {
                            "id": 1,
                            "natural_person": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "forename": "Example",
                              "surname": "Person",
                              "name": "Example Person",
                              "country": null,
                              "countries": [
                                {
                                  "id": 1,
                                  "country": ""
                                }
                              ],
                              "country_of_residence": null,
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            },
                            "legal_entity_basic_id": 1,
                            "legal_entity_basic": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            }
                          },
                          "share_holder_details_id": 1,
                          "share_holder_details": {
                            "id": 1,
                            "number_of_shares": null,
                            "share_nominal_value": null,
                            "share_currency": null,
                            "in_percent": null,
                            "votes": null,
                            "joint_owners": [
                              {
                                "id": 1,
                                "share_holder_details_id": 1,
                                "natural_person": {
                                  "id": 1,
                                  "created_at": "2026-01-01T00:00:00Z",
                                  "updated_at": "2026-01-01T00:00:00Z",
                                  "forename": "Example",
                                  "surname": "Person",
                                  "name": "Example Person",
                                  "country": null,
                                  "countries": [
                                    {
                                      "id": 1,
                                      "country": ""
                                    }
                                  ],
                                  "country_of_residence": null,
                                  "registered_on": null,
                                  "removed_on": null,
                                  "last_modified_at": null,
                                  "is_annulled": null
                                },
                                "legal_entity_basic_id": 1,
                                "legal_entity_basic": {
                                  "id": 1,
                                  "created_at": "2026-01-01T00:00:00Z",
                                  "updated_at": "2026-01-01T00:00:00Z",
                                  "registration_number": null,
                                  "external_object_number": null,
                                  "foreign_registration_number": null,
                                  "name": null,
                                  "address": null,
                                  "country": null,
                                  "links_id": 1,
                                  "links": {
                                    "id": 1,
                                    "created_at": "2026-01-01T00:00:00Z",
                                    "updated_at": "2026-01-01T00:00:00Z",
                                    "self": null,
                                    "foreign_entity": null,
                                    "commercial_pledges": null,
                                    "insolvency": null,
                                    "annual_reports": null,
                                    "public_documents": null,
                                    "restricted_documents": null,
                                    "mass_media": null
                                  }
                                },
                                "registered_on": null,
                                "removed_on": null,
                                "last_modified_at": null,
                                "is_annulled": null
                              }
                            ]
                          },
                          "eeig_party_details_id": 1,
                          "eeig_party_details": {
                            "id": 1,
                            "is_released_from_prior_liabilities": null,
                            "main_location_address": null,
                            "main_location_country": null
                          },
                          "note": null,
                          "registered_because_of": null,
                          "removed_because_of": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "data_incomplete": null,
                          "data_unknown": null,
                          "is_annulled": null
                        }
                      ],
                      "Representatives": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "natural_person": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "forename": "Example",
                            "surname": "Person",
                            "name": "Example Person",
                            "country": null,
                            "countries": [
                              {
                                "id": 1,
                                "country": ""
                              }
                            ],
                            "country_of_residence": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          },
                          "appointed_on": null,
                          "term_until": null,
                          "resigned_on": null,
                          "note": null,
                          "registered_because_of": null,
                          "removed_because_of": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "Procurations": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "rights_on_immovable_property_id": 1,
                          "rights_on_immovable_property": {
                            "id": 1,
                            "may_alienate": null,
                            "may_pledge": null,
                            "may_encumber": null
                          },
                          "rights_of_representation": [
                            {
                              "id": 1,
                              "officer_id": 1,
                              "procuration_id": 1,
                              "type": null,
                              "with_at_least": null,
                              "details": null
                            }
                          ],
                          "prokurists": [
                            {
                              "id": 1,
                              "procuration_id": 1,
                              "natural_person": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "forename": "Example",
                                "surname": "Person",
                                "name": "Example Person",
                                "country": null,
                                "countries": [
                                  {
                                    "id": 1,
                                    "country": ""
                                  }
                                ],
                                "country_of_residence": null,
                                "registered_on": null,
                                "removed_on": null,
                                "last_modified_at": null,
                                "is_annulled": null
                              },
                              "date_from": null,
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            }
                          ],
                          "date_from": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "BeneficialOwnershipStatuses": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "date_from": null,
                          "date_to": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "BeneficialOwners": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "registry_id": 1,
                          "date_from": null,
                          "date_to": null,
                          "is_minor": null,
                          "is_limited_access": null,
                          "PersonGroupID": 1,
                          "person_group": {
                            "id": 1,
                            "person_group_information": null
                          },
                          "NatureOfControlDetailsID": 1,
                          "nature_of_control_details": {
                            "id": 1,
                            "ownership_in_percent": null,
                            "votes_in_percent": null,
                            "description": null
                          },
                          "natural_person": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "forename": "Example",
                            "surname": "Person",
                            "name": "Example Person",
                            "country": null,
                            "countries": [
                              {
                                "id": 1,
                                "country": ""
                              }
                            ],
                            "country_of_residence": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          },
                          "means_of_control": [
                            {
                              "id": 1,
                              "beneficial_owner_id": 1,
                              "parent_means_of_control_id": null,
                              "registry_id": 1,
                              "nature_of_control": null,
                              "nature_of_control_specified": null,
                              "NatureOfControlDetailsID": 1,
                              "nature_of_control_details": {
                                "id": 1,
                                "ownership_in_percent": null,
                                "votes_in_percent": null,
                                "description": null
                              },
                              "natural_person": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "forename": "Example",
                                "surname": "Person",
                                "name": "Example Person",
                                "country": null,
                                "countries": [
                                  {
                                    "id": 1,
                                    "country": ""
                                  }
                                ],
                                "country_of_residence": null,
                                "registered_on": null,
                                "removed_on": null,
                                "last_modified_at": null,
                                "is_annulled": null
                              },
                              "LegalEntityBasicID": 1,
                              "legal_entity_basic": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "registration_number": null,
                                "external_object_number": null,
                                "foreign_registration_number": null,
                                "name": null,
                                "address": null,
                                "country": null,
                                "links_id": 1,
                                "links": {
                                  "id": 1,
                                  "created_at": "2026-01-01T00:00:00Z",
                                  "updated_at": "2026-01-01T00:00:00Z",
                                  "self": null,
                                  "foreign_entity": null,
                                  "commercial_pledges": null,
                                  "insolvency": null,
                                  "annual_reports": null,
                                  "public_documents": null,
                                  "restricted_documents": null,
                                  "mass_media": null
                                }
                              },
                              "means_of_control": [],
                              "last_modified_at": null,
                              "registered_on": null
                            }
                          ],
                          "limited_access_periods": [
                            {
                              "id": 1,
                              "beneficial_owner_id": 1,
                              "registry_id": 1,
                              "registered_on": null,
                              "removed_on": null
                            }
                          ],
                          "note": null,
                          "registered_because_of": null,
                          "removed_because_of": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "SecuringMeasures": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "type_details": null,
                          "date_from": null,
                          "date_to": null,
                          "case_number": null,
                          "imposed_by_id": 1,
                          "imposed_by": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "registration_number": null,
                            "external_object_number": null,
                            "foreign_registration_number": null,
                            "name": null,
                            "address": null,
                            "country": null,
                            "links_id": 1,
                            "links": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "self": null,
                              "foreign_entity": null,
                              "commercial_pledges": null,
                              "insolvency": null,
                              "annual_reports": null,
                              "public_documents": null,
                              "restricted_documents": null,
                              "mass_media": null
                            }
                          },
                          "prohibition_on_member_share_capital_id": 1,
                          "prohibition_on_member_share_capital": {
                            "id": 1,
                            "natural_person": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "forename": "Example",
                              "surname": "Person",
                              "name": "Example Person",
                              "country": null,
                              "countries": [
                                {
                                  "id": 1,
                                  "country": ""
                                }
                              ],
                              "country_of_residence": null,
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            },
                            "legal_entity_basic_id": 1,
                            "legal_entity_basic": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            }
                          },
                          "note_on_registration": null,
                          "note_on_removal": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "VariousNotices": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "date": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ]
                    }
                  },
                  "personalDetails": {
                    "summary": "With personal-details scope and approved account access",
                    "value": {
                      "id": 1,
                      "created_at": "2026-01-01T00:00:00Z",
                      "updated_at": "2026-01-01T00:00:00Z",
                      "registry_record_id": 1,
                      "registration_number": "40000000000",
                      "registration_number_assigned_on": null,
                      "status": "REGISTERED",
                      "status_details": "",
                      "sepa_creditor_id": "",
                      "register": "",
                      "type": "SIA",
                      "legal_name": "Example SIA",
                      "cleaned_short_name": "",
                      "registered_on": null,
                      "removed_on": null,
                      "last_modified_at": null,
                      "is_annulled": null,
                      "atvk_code": null,
                      "sanctions_risk": null,
                      "AddressID": 1,
                      "Address": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "address_register_code": 1,
                        "postal_code": null,
                        "address_incomplete": null,
                        "address_complete": null,
                        "county": null,
                        "city": null,
                        "parish": null,
                        "village": null,
                        "street": null,
                        "house_name": null,
                        "house_number": null,
                        "apartment": null,
                        "registered_on": null
                      },
                      "LinksID": 1,
                      "Links": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "self": null,
                        "foreign_entity": null,
                        "commercial_pledges": null,
                        "insolvency": null,
                        "annual_reports": null,
                        "public_documents": null,
                        "restricted_documents": null,
                        "mass_media": null
                      },
                      "FormationDetailsID": 1,
                      "FormationDetails": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "objects": null,
                        "duration_until_objects_achieved": null,
                        "duration_until": null,
                        "duration_indefinite": null,
                        "established_on": null,
                        "date_of_effective_articles_of_association": null,
                        "registration_term_until": null,
                        "registration_renewed_on": null
                      },
                      "ActivitiesID": 1,
                      "ActivitiesDetails": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "territory_of_activity": null,
                        "goals": [
                          {
                            "id": 1,
                            "activities_details_id": 1,
                            "value": ""
                          }
                        ],
                        "types_of_activity": [
                          {
                            "id": 1,
                            "activities_details_id": 1,
                            "value": ""
                          }
                        ],
                        "nace_types": [
                          {
                            "id": 1,
                            "activities_details_id": 1,
                            "nace_code": null,
                            "nace_revision": null,
                            "removed_on": null,
                            "last_modified_at": null
                          }
                        ],
                        "areas_of_activity": [
                          {
                            "id": 1,
                            "activities_details_id": 1,
                            "type": null,
                            "date_from": null,
                            "date_to": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ]
                      },
                      "CommercialDetailsID": 1,
                      "CommercialEntityDetails": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "limited_partner_contribution_id": 1,
                        "limited_partner_contribution": {
                          "id": 1,
                          "amount": null,
                          "currency": null
                        },
                        "farm_details_id": 1,
                        "farm_details": {
                          "id": 1,
                          "created_at": "2026-01-01T00:00:00Z",
                          "updated_at": "2026-01-01T00:00:00Z",
                          "area_in_hectares": null,
                          "land_ownership_changes": [
                            {
                              "id": 1,
                              "farm_details_id": 1,
                              "area_change": null,
                              "deed_number": null,
                              "deed_issued_on": null,
                              "rights_to_land_under_deed": null,
                              "address": null,
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            }
                          ]
                        },
                        "equity_capitals": [
                          {
                            "id": 1,
                            "commercial_entity_details_id": 1,
                            "type": null,
                            "amount": null,
                            "currency": null,
                            "number_of_shares": null,
                            "share_nominal_value": null,
                            "change_reason": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ],
                        "decisive_influence_notices": [
                          {
                            "id": 1,
                            "commercial_entity_details_id": 1,
                            "type": null,
                            "type_details": [
                              {
                                "id": 1,
                                "decisive_influence_notice_id": 1,
                                "value": ""
                              }
                            ],
                            "date_of_agreement": null,
                            "date_of_amendments": null,
                            "DominantEntityID": 1,
                            "dominant_entity": {
                              "id": 1,
                              "natural_person_id": 1,
                              "natural_person": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "latvian_identity_number": null,
                                "latvian_identity_number_changed_on": null,
                                "foreigner_system_assigned_number": null,
                                "forename": "Example",
                                "surname": "Person",
                                "name": "Example Person",
                                "birth_date": null,
                                "country": null,
                                "countries": [
                                  {
                                    "id": 1,
                                    "natural_person_id": 1,
                                    "country": ""
                                  }
                                ],
                                "country_of_residence": null,
                                "IdentityDocumentID": 1,
                                "identity_document": {
                                  "id": 1,
                                  "type": null,
                                  "number": null,
                                  "issued_on": null,
                                  "valid_until": null,
                                  "issued_by": null,
                                  "country": null
                                },
                                "registered_on": null,
                                "removed_on": null,
                                "last_modified_at": null,
                                "is_annulled": null
                              },
                              "legal_entity_basic_id": 1,
                              "legal_entity_basic": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "registration_number": null,
                                "external_object_number": null,
                                "foreign_registration_number": null,
                                "name": null,
                                "address": null,
                                "country": null,
                                "links_id": 1,
                                "links": {
                                  "id": 1,
                                  "created_at": "2026-01-01T00:00:00Z",
                                  "updated_at": "2026-01-01T00:00:00Z",
                                  "self": null,
                                  "foreign_entity": null,
                                  "commercial_pledges": null,
                                  "insolvency": null,
                                  "annual_reports": null,
                                  "public_documents": null,
                                  "restricted_documents": null,
                                  "mass_media": null
                                }
                              }
                            },
                            "DependentEntityID": 1,
                            "dependent_entity": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "registration_number": null,
                              "current_name": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            },
                            "note": null,
                            "note_on_removal": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ],
                        "depositories": [
                          {
                            "id": 1,
                            "commercial_entity_details_id": 1,
                            "legal_entity_basic_id": 1,
                            "legal_entity_basic": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            },
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ],
                        "insolvencies": [
                          {
                            "id": 1,
                            "commercial_entity_details_id": 1,
                            "date_from": null,
                            "date_to": null,
                            "governed_by": null,
                            "links_id": 1,
                            "links": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "self": null,
                              "foreign_entity": null,
                              "commercial_pledges": null,
                              "insolvency": null,
                              "annual_reports": null,
                              "public_documents": null,
                              "restricted_documents": null,
                              "mass_media": null
                            },
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ]
                      },
                      "ArbitrationCourtDetailsID": 1,
                      "ArbitrationCourtDetails": {
                        "id": 1,
                        "date_of_effective_rules_of_procedure": null
                      },
                      "ReligiousEntityDetailsID": 1,
                      "ReligiousEntityDetails": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "affiliation": null,
                        "previous_registrations": [
                          {
                            "id": 1,
                            "religious_entity_details_id": 1,
                            "registration_number": null,
                            "registered_on": null
                          }
                        ]
                      },
                      "PoliticalOrganizationDetailsID": 1,
                      "PoliticalOrganizationDetails": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "field_offices": [
                          {
                            "id": 1,
                            "political_organization_details_id": 1,
                            "name": null,
                            "address": null,
                            "country": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ]
                      },
                      "PublicAuthorityDetailsID": 1,
                      "PublicAuthorityDetails": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "ContactDetailsID": 1,
                        "ContactDetails": {
                          "id": 1,
                          "created_at": "2026-01-01T00:00:00Z",
                          "updated_at": "2026-01-01T00:00:00Z",
                          "website": null,
                          "email": null,
                          "phone": null
                        },
                        "RegistrationDetailsID": 1,
                        "RegistrationDetails": {
                          "id": 1,
                          "created_at": "2026-01-01T00:00:00Z",
                          "updated_at": "2026-01-01T00:00:00Z",
                          "authority_type": null,
                          "established_on": null,
                          "is_institution_of_higher_education": null,
                          "is_independent_taxpayer": null,
                          "taxpayer_unit_number": null,
                          "higher_authority_number": null,
                          "higher_authority_current_name": null,
                          "subordination_type": null
                        },
                        "EstablishingActID": 1,
                        "EstablishingAct": {
                          "id": 1,
                          "created_at": "2026-01-01T00:00:00Z",
                          "updated_at": "2026-01-01T00:00:00Z",
                          "legislator_name": null,
                          "legislator_number": null,
                          "date": null,
                          "type": null
                        },
                        "DelegatedEntities": [
                          {
                            "id": 1,
                            "public_authority_details_id": 1,
                            "registry_id": 1,
                            "registration_number": null,
                            "name": null,
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null
                          }
                        ],
                        "SchoolBranches": [
                          {
                            "id": 1,
                            "public_authority_details_id": 1,
                            "registry_id": 1,
                            "name": null,
                            "AddressID": 1,
                            "address": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "address_register_code": 1,
                              "postal_code": null,
                              "address_incomplete": null,
                              "address_complete": null,
                              "county": null,
                              "city": null,
                              "parish": null,
                              "village": null,
                              "street": null,
                              "house_name": null,
                              "house_number": null,
                              "apartment": null,
                              "registered_on": null
                            },
                            "GeneralManagerID": 1,
                            "general_manager": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "latvian_identity_number": null,
                              "latvian_identity_number_changed_on": null,
                              "foreigner_system_assigned_number": null,
                              "forename": "Example",
                              "surname": "Person",
                              "name": "Example Person",
                              "birth_date": null,
                              "country": null,
                              "countries": [
                                {
                                  "id": 1,
                                  "natural_person_id": 1,
                                  "country": ""
                                }
                              ],
                              "country_of_residence": null,
                              "IdentityDocumentID": 1,
                              "identity_document": {
                                "id": 1,
                                "type": null,
                                "number": null,
                                "issued_on": null,
                                "valid_until": null,
                                "issued_by": null,
                                "country": null
                              },
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            },
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          }
                        ]
                      },
                      "SanctionsID": 1,
                      "Sanctions": {
                        "id": 1,
                        "created_at": "2026-01-01T00:00:00Z",
                        "updated_at": "2026-01-01T00:00:00Z",
                        "legal_entity_sanctions": [
                          {
                            "id": 1,
                            "sanctions_id": 1,
                            "list": null,
                            "program": null,
                            "entry_date": null,
                            "sanction_links": [
                              {
                                "id": 1,
                                "legal_entity_sanction_id": 1,
                                "value": ""
                              }
                            ],
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null
                          }
                        ],
                        "directly_related_sanctions": [
                          {
                            "id": 1,
                            "sanctions_id": 1,
                            "sanctions_indirect_id": 1,
                            "natural_person_id": 1,
                            "natural_person": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "latvian_identity_number": null,
                              "latvian_identity_number_changed_on": null,
                              "foreigner_system_assigned_number": null,
                              "forename": "Example",
                              "surname": "Person",
                              "name": "Example Person",
                              "birth_date": null,
                              "country": null,
                              "countries": [
                                {
                                  "id": 1,
                                  "natural_person_id": 1,
                                  "country": ""
                                }
                              ],
                              "country_of_residence": null,
                              "IdentityDocumentID": 1,
                              "identity_document": {
                                "id": 1,
                                "type": null,
                                "number": null,
                                "issued_on": null,
                                "valid_until": null,
                                "issued_by": null,
                                "country": null
                              },
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            },
                            "legal_entity_basic_id": 1,
                            "legal_entity_basic": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            },
                            "position": null,
                            "list": null,
                            "program": null,
                            "entry_date": null,
                            "sanction_links": [
                              {
                                "id": 1,
                                "directly_related_person_sanction_id": 1,
                                "value": ""
                              }
                            ],
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null
                          }
                        ],
                        "indirectly_related_sanctions": [
                          {
                            "id": 1,
                            "sanctions_id": 1,
                            "sanctions_indirect_id": 1,
                            "natural_person_id": 1,
                            "natural_person": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "latvian_identity_number": null,
                              "latvian_identity_number_changed_on": null,
                              "foreigner_system_assigned_number": null,
                              "forename": "Example",
                              "surname": "Person",
                              "name": "Example Person",
                              "birth_date": null,
                              "country": null,
                              "countries": [
                                {
                                  "id": 1,
                                  "natural_person_id": 1,
                                  "country": ""
                                }
                              ],
                              "country_of_residence": null,
                              "IdentityDocumentID": 1,
                              "identity_document": {
                                "id": 1,
                                "type": null,
                                "number": null,
                                "issued_on": null,
                                "valid_until": null,
                                "issued_by": null,
                                "country": null
                              },
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            },
                            "legal_entity_basic_id": 1,
                            "legal_entity_basic": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            },
                            "position": null,
                            "list": null,
                            "program": null,
                            "entry_date": null,
                            "sanction_links": [
                              {
                                "id": 1,
                                "directly_related_person_sanction_id": 1,
                                "value": ""
                              }
                            ],
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null
                          }
                        ]
                      },
                      "SpecialStatuses": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "date_from": null,
                          "date_to": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "Reorganizations": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "date": null,
                          "result": null,
                          "LegalActID": 1,
                          "legal_act": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "legislator_name": null,
                            "legislator_number": null,
                            "date": null,
                            "type": null
                          },
                          "entities_involved": [
                            {
                              "id": 1,
                              "reorganization_id": 1,
                              "registration_number": null,
                              "current_name": null,
                              "LinksID": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            }
                          ],
                          "subjects": [
                            {
                              "id": 1,
                              "reorganization_id": 1,
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "current_name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            }
                          ],
                          "objects": [
                            {
                              "id": 1,
                              "reorganization_id": 1,
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "current_name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            }
                          ],
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "Liquidations": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "started_on": null,
                          "completion_expected_on": null,
                          "ended_on": null,
                          "grounds_for_liquidation": null,
                          "grounds_for_continuation": null,
                          "result_type": null,
                          "LegalActID": 1,
                          "legal_act": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "legislator_name": null,
                            "legislator_number": null,
                            "date": null,
                            "type": null
                          },
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "SuspensionsOfActivities": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "started_on": null,
                          "ended_on": null,
                          "grounds_for_suspension": null,
                          "grounds_for_renewal": null,
                          "result_type": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "ProhibitionsOfActivities": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "started_on": null,
                          "ended_on": null,
                          "grounds_for_prohibition": null,
                          "grounds_for_ending_prohibition": null,
                          "result_type": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "Reregistrations": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "date": null,
                          "register": null
                        }
                      ],
                      "PreviousNames": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "name": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "PreviousAddresses": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "address": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "PreviousLegalForms": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "register": null,
                          "registered_because_of": null,
                          "removed_because_of": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "BranchOf": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "date_from": null,
                          "date_to": null,
                          "legal_entity_basic_id": 1,
                          "legal_entity_basic": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "registration_number": null,
                            "external_object_number": null,
                            "foreign_registration_number": null,
                            "name": null,
                            "address": null,
                            "country": null,
                            "links_id": 1,
                            "links": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "self": null,
                              "foreign_entity": null,
                              "commercial_pledges": null,
                              "insolvency": null,
                              "annual_reports": null,
                              "public_documents": null,
                              "restricted_documents": null,
                              "mass_media": null
                            }
                          },
                          "last_modified_at": null
                        }
                      ],
                      "Branches": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "date_from": null,
                          "date_to": null,
                          "legal_entity_basic_id": 1,
                          "legal_entity_basic": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "registration_number": null,
                            "external_object_number": null,
                            "foreign_registration_number": null,
                            "name": null,
                            "address": null,
                            "country": null,
                            "links_id": 1,
                            "links": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "self": null,
                              "foreign_entity": null,
                              "commercial_pledges": null,
                              "insolvency": null,
                              "annual_reports": null,
                              "public_documents": null,
                              "restricted_documents": null,
                              "mass_media": null
                            }
                          },
                          "last_modified_at": null
                        }
                      ],
                      "Officers": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "natural_person_id": 1,
                          "natural_person": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "latvian_identity_number": null,
                            "latvian_identity_number_changed_on": null,
                            "foreigner_system_assigned_number": null,
                            "forename": "Example",
                            "surname": "Person",
                            "name": "Example Person",
                            "birth_date": null,
                            "country": null,
                            "countries": [
                              {
                                "id": 1,
                                "natural_person_id": 1,
                                "country": ""
                              }
                            ],
                            "country_of_residence": null,
                            "IdentityDocumentID": 1,
                            "identity_document": {
                              "id": 1,
                              "type": null,
                              "number": null,
                              "issued_on": null,
                              "valid_until": null,
                              "issued_by": null,
                              "country": null
                            },
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          },
                          "legal_entity_basic_id": 1,
                          "legal_entity_basic": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "registration_number": null,
                            "external_object_number": null,
                            "foreign_registration_number": null,
                            "name": null,
                            "address": null,
                            "country": null,
                            "links_id": 1,
                            "links": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "self": null,
                              "foreign_entity": null,
                              "commercial_pledges": null,
                              "insolvency": null,
                              "annual_reports": null,
                              "public_documents": null,
                              "restricted_documents": null,
                              "mass_media": null
                            }
                          },
                          "rights_of_representation": [
                            {
                              "id": 1,
                              "officer_id": 1,
                              "procuration_id": 1,
                              "type": null,
                              "with_at_least": null,
                              "details": null
                            }
                          ],
                          "appointed_on": null,
                          "term_until": null,
                          "resigned_on": null,
                          "position": null,
                          "position_details": null,
                          "governing_body": null,
                          "note": null,
                          "registered_because_of": null,
                          "removed_because_of": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "Members": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "is_restricted": null,
                          "date_from": null,
                          "date_to": null,
                          "is_personally_liable": null,
                          "natural_person_id": 1,
                          "natural_person": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "latvian_identity_number": null,
                            "latvian_identity_number_changed_on": null,
                            "foreigner_system_assigned_number": null,
                            "forename": "Example",
                            "surname": "Person",
                            "name": "Example Person",
                            "birth_date": null,
                            "country": null,
                            "countries": [
                              {
                                "id": 1,
                                "natural_person_id": 1,
                                "country": ""
                              }
                            ],
                            "country_of_residence": null,
                            "IdentityDocumentID": 1,
                            "identity_document": {
                              "id": 1,
                              "type": null,
                              "number": null,
                              "issued_on": null,
                              "valid_until": null,
                              "issued_by": null,
                              "country": null
                            },
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          },
                          "legal_entity_basic_id": 1,
                          "legal_entity_basic": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "registration_number": null,
                            "external_object_number": null,
                            "foreign_registration_number": null,
                            "name": null,
                            "address": null,
                            "country": null,
                            "links_id": 1,
                            "links": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "self": null,
                              "foreign_entity": null,
                              "commercial_pledges": null,
                              "insolvency": null,
                              "annual_reports": null,
                              "public_documents": null,
                              "restricted_documents": null,
                              "mass_media": null
                            }
                          },
                          "representative_id": 1,
                          "representative": {
                            "id": 1,
                            "natural_person_id": 1,
                            "natural_person": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "latvian_identity_number": null,
                              "latvian_identity_number_changed_on": null,
                              "foreigner_system_assigned_number": null,
                              "forename": "Example",
                              "surname": "Person",
                              "name": "Example Person",
                              "birth_date": null,
                              "country": null,
                              "countries": [
                                {
                                  "id": 1,
                                  "natural_person_id": 1,
                                  "country": ""
                                }
                              ],
                              "country_of_residence": null,
                              "IdentityDocumentID": 1,
                              "identity_document": {
                                "id": 1,
                                "type": null,
                                "number": null,
                                "issued_on": null,
                                "valid_until": null,
                                "issued_by": null,
                                "country": null
                              },
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            },
                            "legal_entity_basic_id": 1,
                            "legal_entity_basic": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            }
                          },
                          "share_holder_details_id": 1,
                          "share_holder_details": {
                            "id": 1,
                            "number_of_shares": null,
                            "share_nominal_value": null,
                            "share_currency": null,
                            "in_percent": null,
                            "votes": null,
                            "joint_owners": [
                              {
                                "id": 1,
                                "share_holder_details_id": 1,
                                "natural_person_id": 1,
                                "natural_person": {
                                  "id": 1,
                                  "created_at": "2026-01-01T00:00:00Z",
                                  "updated_at": "2026-01-01T00:00:00Z",
                                  "latvian_identity_number": null,
                                  "latvian_identity_number_changed_on": null,
                                  "foreigner_system_assigned_number": null,
                                  "forename": "Example",
                                  "surname": "Person",
                                  "name": "Example Person",
                                  "birth_date": null,
                                  "country": null,
                                  "countries": [
                                    {
                                      "id": 1,
                                      "natural_person_id": 1,
                                      "country": ""
                                    }
                                  ],
                                  "country_of_residence": null,
                                  "IdentityDocumentID": 1,
                                  "identity_document": {
                                    "id": 1,
                                    "type": null,
                                    "number": null,
                                    "issued_on": null,
                                    "valid_until": null,
                                    "issued_by": null,
                                    "country": null
                                  },
                                  "registered_on": null,
                                  "removed_on": null,
                                  "last_modified_at": null,
                                  "is_annulled": null
                                },
                                "legal_entity_basic_id": 1,
                                "legal_entity_basic": {
                                  "id": 1,
                                  "created_at": "2026-01-01T00:00:00Z",
                                  "updated_at": "2026-01-01T00:00:00Z",
                                  "registration_number": null,
                                  "external_object_number": null,
                                  "foreign_registration_number": null,
                                  "name": null,
                                  "address": null,
                                  "country": null,
                                  "links_id": 1,
                                  "links": {
                                    "id": 1,
                                    "created_at": "2026-01-01T00:00:00Z",
                                    "updated_at": "2026-01-01T00:00:00Z",
                                    "self": null,
                                    "foreign_entity": null,
                                    "commercial_pledges": null,
                                    "insolvency": null,
                                    "annual_reports": null,
                                    "public_documents": null,
                                    "restricted_documents": null,
                                    "mass_media": null
                                  }
                                },
                                "registered_on": null,
                                "removed_on": null,
                                "last_modified_at": null,
                                "is_annulled": null
                              }
                            ]
                          },
                          "eeig_party_details_id": 1,
                          "eeig_party_details": {
                            "id": 1,
                            "is_released_from_prior_liabilities": null,
                            "main_location_address": null,
                            "main_location_country": null
                          },
                          "note": null,
                          "registered_because_of": null,
                          "removed_because_of": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "data_incomplete": null,
                          "data_unknown": null,
                          "is_annulled": null
                        }
                      ],
                      "Representatives": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "natural_person_id": 1,
                          "natural_person": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "latvian_identity_number": null,
                            "latvian_identity_number_changed_on": null,
                            "foreigner_system_assigned_number": null,
                            "forename": "Example",
                            "surname": "Person",
                            "name": "Example Person",
                            "birth_date": null,
                            "country": null,
                            "countries": [
                              {
                                "id": 1,
                                "natural_person_id": 1,
                                "country": ""
                              }
                            ],
                            "country_of_residence": null,
                            "IdentityDocumentID": 1,
                            "identity_document": {
                              "id": 1,
                              "type": null,
                              "number": null,
                              "issued_on": null,
                              "valid_until": null,
                              "issued_by": null,
                              "country": null
                            },
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          },
                          "appointed_on": null,
                          "term_until": null,
                          "resigned_on": null,
                          "note": null,
                          "registered_because_of": null,
                          "removed_because_of": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "Procurations": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "rights_on_immovable_property_id": 1,
                          "rights_on_immovable_property": {
                            "id": 1,
                            "may_alienate": null,
                            "may_pledge": null,
                            "may_encumber": null
                          },
                          "rights_of_representation": [
                            {
                              "id": 1,
                              "officer_id": 1,
                              "procuration_id": 1,
                              "type": null,
                              "with_at_least": null,
                              "details": null
                            }
                          ],
                          "prokurists": [
                            {
                              "id": 1,
                              "procuration_id": 1,
                              "natural_person_id": 1,
                              "natural_person": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "latvian_identity_number": null,
                                "latvian_identity_number_changed_on": null,
                                "foreigner_system_assigned_number": null,
                                "forename": "Example",
                                "surname": "Person",
                                "name": "Example Person",
                                "birth_date": null,
                                "country": null,
                                "countries": [
                                  {
                                    "id": 1,
                                    "natural_person_id": 1,
                                    "country": ""
                                  }
                                ],
                                "country_of_residence": null,
                                "IdentityDocumentID": 1,
                                "identity_document": {
                                  "id": 1,
                                  "type": null,
                                  "number": null,
                                  "issued_on": null,
                                  "valid_until": null,
                                  "issued_by": null,
                                  "country": null
                                },
                                "registered_on": null,
                                "removed_on": null,
                                "last_modified_at": null,
                                "is_annulled": null
                              },
                              "date_from": null,
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            }
                          ],
                          "date_from": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "BeneficialOwnershipStatuses": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "date_from": null,
                          "date_to": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "BeneficialOwners": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "registry_id": 1,
                          "date_from": null,
                          "date_to": null,
                          "is_minor": null,
                          "is_limited_access": null,
                          "PersonGroupID": 1,
                          "person_group": {
                            "id": 1,
                            "person_group_information": null
                          },
                          "NatureOfControlDetailsID": 1,
                          "nature_of_control_details": {
                            "id": 1,
                            "ownership_in_percent": null,
                            "votes_in_percent": null,
                            "description": null
                          },
                          "NaturalPersonID": 1,
                          "natural_person": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "latvian_identity_number": null,
                            "latvian_identity_number_changed_on": null,
                            "foreigner_system_assigned_number": null,
                            "forename": "Example",
                            "surname": "Person",
                            "name": "Example Person",
                            "birth_date": null,
                            "country": null,
                            "countries": [
                              {
                                "id": 1,
                                "natural_person_id": 1,
                                "country": ""
                              }
                            ],
                            "country_of_residence": null,
                            "IdentityDocumentID": 1,
                            "identity_document": {
                              "id": 1,
                              "type": null,
                              "number": null,
                              "issued_on": null,
                              "valid_until": null,
                              "issued_by": null,
                              "country": null
                            },
                            "registered_on": null,
                            "removed_on": null,
                            "last_modified_at": null,
                            "is_annulled": null
                          },
                          "means_of_control": [
                            {
                              "id": 1,
                              "beneficial_owner_id": 1,
                              "parent_means_of_control_id": null,
                              "registry_id": 1,
                              "nature_of_control": null,
                              "nature_of_control_specified": null,
                              "NatureOfControlDetailsID": 1,
                              "nature_of_control_details": {
                                "id": 1,
                                "ownership_in_percent": null,
                                "votes_in_percent": null,
                                "description": null
                              },
                              "NaturalPersonID": 1,
                              "natural_person": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "latvian_identity_number": null,
                                "latvian_identity_number_changed_on": null,
                                "foreigner_system_assigned_number": null,
                                "forename": "Example",
                                "surname": "Person",
                                "name": "Example Person",
                                "birth_date": null,
                                "country": null,
                                "countries": [
                                  {
                                    "id": 1,
                                    "natural_person_id": 1,
                                    "country": ""
                                  }
                                ],
                                "country_of_residence": null,
                                "IdentityDocumentID": 1,
                                "identity_document": {
                                  "id": 1,
                                  "type": null,
                                  "number": null,
                                  "issued_on": null,
                                  "valid_until": null,
                                  "issued_by": null,
                                  "country": null
                                },
                                "registered_on": null,
                                "removed_on": null,
                                "last_modified_at": null,
                                "is_annulled": null
                              },
                              "LegalEntityBasicID": 1,
                              "legal_entity_basic": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "registration_number": null,
                                "external_object_number": null,
                                "foreign_registration_number": null,
                                "name": null,
                                "address": null,
                                "country": null,
                                "links_id": 1,
                                "links": {
                                  "id": 1,
                                  "created_at": "2026-01-01T00:00:00Z",
                                  "updated_at": "2026-01-01T00:00:00Z",
                                  "self": null,
                                  "foreign_entity": null,
                                  "commercial_pledges": null,
                                  "insolvency": null,
                                  "annual_reports": null,
                                  "public_documents": null,
                                  "restricted_documents": null,
                                  "mass_media": null
                                }
                              },
                              "means_of_control": [],
                              "last_modified_at": null,
                              "registered_on": null
                            }
                          ],
                          "limited_access_periods": [
                            {
                              "id": 1,
                              "beneficial_owner_id": 1,
                              "registry_id": 1,
                              "registered_on": null,
                              "removed_on": null
                            }
                          ],
                          "note": null,
                          "registered_because_of": null,
                          "removed_because_of": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "SecuringMeasures": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "type_details": null,
                          "date_from": null,
                          "date_to": null,
                          "case_number": null,
                          "imposed_by_id": 1,
                          "imposed_by": {
                            "id": 1,
                            "created_at": "2026-01-01T00:00:00Z",
                            "updated_at": "2026-01-01T00:00:00Z",
                            "registration_number": null,
                            "external_object_number": null,
                            "foreign_registration_number": null,
                            "name": null,
                            "address": null,
                            "country": null,
                            "links_id": 1,
                            "links": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "self": null,
                              "foreign_entity": null,
                              "commercial_pledges": null,
                              "insolvency": null,
                              "annual_reports": null,
                              "public_documents": null,
                              "restricted_documents": null,
                              "mass_media": null
                            }
                          },
                          "prohibition_on_member_share_capital_id": 1,
                          "prohibition_on_member_share_capital": {
                            "id": 1,
                            "natural_person_id": 1,
                            "natural_person": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "latvian_identity_number": null,
                              "latvian_identity_number_changed_on": null,
                              "foreigner_system_assigned_number": null,
                              "forename": "Example",
                              "surname": "Person",
                              "name": "Example Person",
                              "birth_date": null,
                              "country": null,
                              "countries": [
                                {
                                  "id": 1,
                                  "natural_person_id": 1,
                                  "country": ""
                                }
                              ],
                              "country_of_residence": null,
                              "IdentityDocumentID": 1,
                              "identity_document": {
                                "id": 1,
                                "type": null,
                                "number": null,
                                "issued_on": null,
                                "valid_until": null,
                                "issued_by": null,
                                "country": null
                              },
                              "registered_on": null,
                              "removed_on": null,
                              "last_modified_at": null,
                              "is_annulled": null
                            },
                            "legal_entity_basic_id": 1,
                            "legal_entity_basic": {
                              "id": 1,
                              "created_at": "2026-01-01T00:00:00Z",
                              "updated_at": "2026-01-01T00:00:00Z",
                              "registration_number": null,
                              "external_object_number": null,
                              "foreign_registration_number": null,
                              "name": null,
                              "address": null,
                              "country": null,
                              "links_id": 1,
                              "links": {
                                "id": 1,
                                "created_at": "2026-01-01T00:00:00Z",
                                "updated_at": "2026-01-01T00:00:00Z",
                                "self": null,
                                "foreign_entity": null,
                                "commercial_pledges": null,
                                "insolvency": null,
                                "annual_reports": null,
                                "public_documents": null,
                                "restricted_documents": null,
                                "mass_media": null
                              }
                            }
                          },
                          "note_on_registration": null,
                          "note_on_removal": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ],
                      "VariousNotices": [
                        {
                          "id": 1,
                          "legal_entity_id": 1,
                          "type": null,
                          "date": null,
                          "registered_on": null,
                          "removed_on": null,
                          "last_modified_at": null,
                          "is_annulled": null
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid input. Use exactly 11 ASCII digits for regcode.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "invalid_registration_code": {
                    "value": {
                      "code": "invalid_registration_code",
                      "message_key": "error.registry.invalid_registration_code"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Invalid authentication, insecure transport or unsupported body encoding. Check HTTPS, all four headers, clock, nonce, signature, active key and account eligibility. Authentication failures intentionally share one code; do not retry unchanged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "invalid_api_authentication": {
                    "value": {
                      "code": "invalid_api_authentication",
                      "message_key": "error.unknown"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Insufficient scope or owner entitlement. The key lacks the required scope or the owner no longer has the required entitlement. Correct access before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "forbidden": {
                    "value": {
                      "code": "forbidden",
                      "message_key": "forbidden.message"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Record or route not found. No legal entity exists for this registration number. Check the number; do not repeatedly retry it.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "not_found": {
                    "value": {
                      "code": "not_found",
                      "message_key": "error.registry.record_not_found"
                    }
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "Server or upstream error"
              }
            }
          },
          "413": {
            "description": "Body too large. Reduce the request body; the limit is 4 MiB. An earlier server/proxy limit may instead return a non-JSON 413.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "body_too_large": {
                    "value": {
                      "code": "body_too_large",
                      "message_key": "error.invalid_input"
                    }
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "Server or upstream error"
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After when supplied, otherwise use exponential backoff. Sign each retry with a fresh nonce and timestamp.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "rate_limited": {
                    "value": {
                      "code": "rate_limited",
                      "message_key": "error.rate_limited"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Server error. Temporary server/database failure. Retry with bounded backoff and a newly signed request; report persistent failures.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "db_error": {
                    "value": {
                      "code": "db_error",
                      "message_key": "error.database.query_failed"
                    }
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "Server or upstream error"
              }
            }
          }
        }
      }
    },
    "/service/api/v1/identity": {
      "get": {
        "operationId": "identity",
        "summary": "Identify the current key",
        "tags": [
          "Signed API"
        ],
        "description": "Required scope: identity:read. Requires all four HMAC headers. Sign the exact escaped path, canonical query, timestamp, nonce and SHA256 of raw body, separated by LF with no final LF. See /api-docs.",
        "security": [
          {
            "APIKey": [],
            "APITimestamp": [],
            "APINonce": [],
            "APISignature": []
          }
        ],
        "parameters": [],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Identity"
                },
                "example": {
                  "credential_id": "11111111-1111-4111-8111-111111111111",
                  "owner_id": "22222222-2222-4222-8222-222222222222",
                  "api_key": "ak_<public-key>",
                  "name": "Production Server",
                  "scopes": [
                    "identity:read"
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Invalid authentication, insecure transport or unsupported body encoding. Check HTTPS, all four headers, clock, nonce, signature, active key and account eligibility. Authentication failures intentionally share one code; do not retry unchanged.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "invalid_api_authentication": {
                    "value": {
                      "code": "invalid_api_authentication",
                      "message_key": "error.unknown"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Insufficient scope or owner entitlement. The key lacks the required scope or the owner no longer has the required entitlement. Correct access before retrying.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "forbidden": {
                    "value": {
                      "code": "forbidden",
                      "message_key": "forbidden.message"
                    }
                  }
                }
              }
            }
          },
          "413": {
            "description": "Body too large. Reduce the request body; the limit is 4 MiB. An earlier server/proxy limit may instead return a non-JSON 413.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "body_too_large": {
                    "value": {
                      "code": "body_too_large",
                      "message_key": "error.invalid_input"
                    }
                  }
                }
              },
              "text/plain": {
                "schema": {
                  "type": "string"
                },
                "example": "Server or upstream error"
              }
            }
          },
          "429": {
            "description": "Rate limited. Wait for Retry-After when supplied, otherwise use exponential backoff. Sign each retry with a fresh nonce and timestamp.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "rate_limited": {
                    "value": {
                      "code": "rate_limited",
                      "message_key": "error.rate_limited"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "APIKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key",
        "description": "Public API key"
      },
      "APITimestamp": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Timestamp",
        "description": "Unix seconds; default allowed skew ±300 seconds"
      },
      "APINonce": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Nonce",
        "description": "Fresh base64url nonce, 22–128 characters; at least 128 random bits"
      },
      "APISignature": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Signature",
        "description": "HMAC-SHA256, exactly 64 lowercase hex characters"
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "required": [
          "code",
          "message_key"
        ],
        "properties": {
          "code": {
            "type": "string"
          },
          "message_key": {
            "type": "string"
          }
        }
      },
      "Identity": {
        "type": "object",
        "properties": {
          "credential_id": {
            "type": "string",
            "format": "uuid"
          },
          "owner_id": {
            "type": "string",
            "format": "uuid"
          },
          "api_key": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ActivitiesDetails": {
        "additionalProperties": false,
        "properties": {
          "areas_of_activity": {
            "items": {
              "$ref": "#/components/schemas/AreasOfActivityOfAssociationsFoundation"
            },
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "goals": {
            "items": {
              "$ref": "#/components/schemas/ActivityGoal"
            },
            "type": "array"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "nace_types": {
            "items": {
              "$ref": "#/components/schemas/NaceType"
            },
            "type": "array"
          },
          "territory_of_activity": {
            "nullable": true,
            "type": "string"
          },
          "types_of_activity": {
            "items": {
              "$ref": "#/components/schemas/ActivityType"
            },
            "type": "array"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "territory_of_activity",
          "goals",
          "types_of_activity",
          "nace_types",
          "areas_of_activity"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "territory_of_activity",
          "goals",
          "types_of_activity",
          "nace_types",
          "areas_of_activity"
        ]
      },
      "ActivityGoal": {
        "additionalProperties": false,
        "properties": {
          "activities_details_id": {
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "activities_details_id",
          "value"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "activities_details_id",
          "value"
        ]
      },
      "ActivityType": {
        "additionalProperties": false,
        "properties": {
          "activities_details_id": {
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "activities_details_id",
          "value"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "activities_details_id",
          "value"
        ]
      },
      "Address": {
        "additionalProperties": false,
        "properties": {
          "address_complete": {
            "nullable": true,
            "type": "string"
          },
          "address_incomplete": {
            "nullable": true,
            "type": "string"
          },
          "address_register_code": {
            "type": "integer"
          },
          "apartment": {
            "nullable": true,
            "type": "string"
          },
          "city": {
            "nullable": true,
            "type": "string"
          },
          "county": {
            "nullable": true,
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "house_name": {
            "nullable": true,
            "type": "string"
          },
          "house_number": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "parish": {
            "nullable": true,
            "type": "string"
          },
          "postal_code": {
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "street": {
            "nullable": true,
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "village": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "address_register_code",
          "postal_code",
          "address_incomplete",
          "address_complete",
          "county",
          "city",
          "parish",
          "village",
          "street",
          "house_name",
          "house_number",
          "apartment",
          "registered_on"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "address_register_code",
          "postal_code",
          "address_incomplete",
          "address_complete",
          "county",
          "city",
          "parish",
          "village",
          "street",
          "house_name",
          "house_number",
          "apartment",
          "registered_on"
        ]
      },
      "ArbitrationCourtDetails": {
        "additionalProperties": false,
        "properties": {
          "date_of_effective_rules_of_procedure": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "date_of_effective_rules_of_procedure"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "date_of_effective_rules_of_procedure"
        ]
      },
      "AreasOfActivityOfAssociationsFoundation": {
        "additionalProperties": false,
        "properties": {
          "activities_details_id": {
            "minimum": 0,
            "type": "integer"
          },
          "date_from": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "date_to": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "activities_details_id",
          "type",
          "date_from",
          "date_to",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "activities_details_id",
          "type",
          "date_from",
          "date_to",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "BeneficialOwner": {
        "additionalProperties": false,
        "properties": {
          "NaturalPersonID": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "minimum": 0,
            "nullable": true,
            "type": "integer",
            "x-personal-details": true
          },
          "NatureOfControlDetailsID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "PersonGroupID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "date_from": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "date_to": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "is_limited_access": {
            "nullable": true,
            "type": "boolean"
          },
          "is_minor": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "limited_access_periods": {
            "items": {
              "$ref": "#/components/schemas/LimitedAccessPeriod"
            },
            "type": "array"
          },
          "means_of_control": {
            "items": {
              "$ref": "#/components/schemas/MeansOfControl"
            },
            "type": "array"
          },
          "natural_person": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NaturalPerson"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "nature_of_control_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NatureOfControlDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "person_group": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PersonGroup"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "registered_because_of": {
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "registry_id": {
            "nullable": true,
            "type": "integer"
          },
          "removed_because_of": {
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "registry_id",
          "date_from",
          "date_to",
          "is_minor",
          "is_limited_access",
          "PersonGroupID",
          "person_group",
          "NatureOfControlDetailsID",
          "nature_of_control_details",
          "natural_person",
          "means_of_control",
          "limited_access_periods",
          "note",
          "registered_because_of",
          "removed_because_of",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "registry_id",
          "date_from",
          "date_to",
          "is_minor",
          "is_limited_access",
          "PersonGroupID",
          "person_group",
          "NatureOfControlDetailsID",
          "nature_of_control_details",
          "NaturalPersonID",
          "natural_person",
          "means_of_control",
          "limited_access_periods",
          "note",
          "registered_because_of",
          "removed_because_of",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "BeneficialOwnershipStatus": {
        "additionalProperties": false,
        "properties": {
          "date_from": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "date_to": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "type",
          "date_from",
          "date_to",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "type",
          "date_from",
          "date_to",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "Branch": {
        "additionalProperties": false,
        "properties": {
          "date_from": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "date_to": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_basic": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalEntityBasic"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "legal_entity_basic_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "date_from",
          "date_to",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "last_modified_at"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "date_from",
          "date_to",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "last_modified_at"
        ]
      },
      "BranchOf": {
        "additionalProperties": false,
        "properties": {
          "date_from": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "date_to": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_basic": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalEntityBasic"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "legal_entity_basic_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "date_from",
          "date_to",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "last_modified_at"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "date_from",
          "date_to",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "last_modified_at"
        ]
      },
      "CommercialEntityDetails": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "decisive_influence_notices": {
            "items": {
              "$ref": "#/components/schemas/DecisiveInfluenceNotice"
            },
            "type": "array"
          },
          "depositories": {
            "items": {
              "$ref": "#/components/schemas/Depository"
            },
            "type": "array"
          },
          "equity_capitals": {
            "items": {
              "$ref": "#/components/schemas/EquityCapital"
            },
            "type": "array"
          },
          "farm_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FarmDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "farm_details_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "insolvencies": {
            "items": {
              "$ref": "#/components/schemas/Insolvency"
            },
            "type": "array"
          },
          "limited_partner_contribution": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LimitedPartnerContribution"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "limited_partner_contribution_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "limited_partner_contribution_id",
          "limited_partner_contribution",
          "farm_details_id",
          "farm_details",
          "equity_capitals",
          "decisive_influence_notices",
          "depositories",
          "insolvencies"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "limited_partner_contribution_id",
          "limited_partner_contribution",
          "farm_details_id",
          "farm_details",
          "equity_capitals",
          "decisive_influence_notices",
          "depositories",
          "insolvencies"
        ]
      },
      "ContactDetails": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "email": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "phone": {
            "nullable": true,
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          },
          "website": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "website",
          "email",
          "phone"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "website",
          "email",
          "phone"
        ]
      },
      "DecisiveInfluenceNotice": {
        "additionalProperties": false,
        "properties": {
          "DependentEntityID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "DominantEntityID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "commercial_entity_details_id": {
            "minimum": 0,
            "type": "integer"
          },
          "date_of_agreement": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "date_of_amendments": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "dependent_entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DependentEntity"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "dominant_entity": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProhibitionOnMemberShareCapitalClass"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "note_on_removal": {
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          },
          "type_details": {
            "items": {
              "$ref": "#/components/schemas/DecisiveInfluenceTypeDetail"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "commercial_entity_details_id",
          "type",
          "type_details",
          "date_of_agreement",
          "date_of_amendments",
          "DominantEntityID",
          "dominant_entity",
          "DependentEntityID",
          "dependent_entity",
          "note",
          "note_on_removal",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "commercial_entity_details_id",
          "type",
          "type_details",
          "date_of_agreement",
          "date_of_amendments",
          "DominantEntityID",
          "dominant_entity",
          "DependentEntityID",
          "dependent_entity",
          "note",
          "note_on_removal",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "DecisiveInfluenceTypeDetail": {
        "additionalProperties": false,
        "properties": {
          "decisive_influence_notice_id": {
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "decisive_influence_notice_id",
          "value"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "decisive_influence_notice_id",
          "value"
        ]
      },
      "DelegatedEntity": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "public_authority_details_id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "registration_number": {
            "nullable": true,
            "type": "string"
          },
          "registry_id": {
            "nullable": true,
            "type": "integer"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "public_authority_details_id",
          "registry_id",
          "registration_number",
          "name",
          "registered_on",
          "removed_on",
          "last_modified_at"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "public_authority_details_id",
          "registry_id",
          "registration_number",
          "name",
          "registered_on",
          "removed_on",
          "last_modified_at"
        ]
      },
      "DependentEntity": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "current_name": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "links": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Links"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "links_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "registration_number": {
            "nullable": true,
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "registration_number",
          "current_name",
          "links_id",
          "links"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "registration_number",
          "current_name",
          "links_id",
          "links"
        ]
      },
      "Depository": {
        "additionalProperties": false,
        "properties": {
          "commercial_entity_details_id": {
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_basic": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalEntityBasic"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "legal_entity_basic_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "commercial_entity_details_id",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "commercial_entity_details_id",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "DirectlyRelatedPersonSanction": {
        "additionalProperties": false,
        "properties": {
          "entry_date": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_basic": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalEntityBasic"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "legal_entity_basic_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "list": {
            "nullable": true,
            "type": "string"
          },
          "natural_person": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NaturalPerson"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "natural_person_id": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "minimum": 0,
            "nullable": true,
            "type": "integer",
            "x-personal-details": true
          },
          "position": {
            "nullable": true,
            "type": "string"
          },
          "program": {
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "sanction_links": {
            "items": {
              "$ref": "#/components/schemas/SanctionPersonLink"
            },
            "type": "array"
          },
          "sanctions_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "sanctions_indirect_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "sanctions_id",
          "sanctions_indirect_id",
          "natural_person",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "position",
          "list",
          "program",
          "entry_date",
          "sanction_links",
          "registered_on",
          "removed_on",
          "last_modified_at"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "sanctions_id",
          "sanctions_indirect_id",
          "natural_person_id",
          "natural_person",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "position",
          "list",
          "program",
          "entry_date",
          "sanction_links",
          "registered_on",
          "removed_on",
          "last_modified_at"
        ]
      },
      "EeigPartyDetails": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_released_from_prior_liabilities": {
            "nullable": true,
            "type": "boolean"
          },
          "main_location_address": {
            "nullable": true,
            "type": "string"
          },
          "main_location_country": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "is_released_from_prior_liabilities",
          "main_location_address",
          "main_location_country"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "is_released_from_prior_liabilities",
          "main_location_address",
          "main_location_country"
        ]
      },
      "EntityInvolved": {
        "additionalProperties": false,
        "properties": {
          "LinksID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "current_name": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "links": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Links"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "registration_number": {
            "nullable": true,
            "type": "string"
          },
          "reorganization_id": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "reorganization_id",
          "registration_number",
          "current_name",
          "LinksID",
          "links"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "reorganization_id",
          "registration_number",
          "current_name",
          "LinksID",
          "links"
        ]
      },
      "EquityCapital": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "change_reason": {
            "nullable": true,
            "type": "string"
          },
          "commercial_entity_details_id": {
            "minimum": 0,
            "type": "integer"
          },
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "number_of_shares": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "share_nominal_value": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "commercial_entity_details_id",
          "type",
          "amount",
          "currency",
          "number_of_shares",
          "share_nominal_value",
          "change_reason",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "commercial_entity_details_id",
          "type",
          "amount",
          "currency",
          "number_of_shares",
          "share_nominal_value",
          "change_reason",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "FarmDetails": {
        "additionalProperties": false,
        "properties": {
          "area_in_hectares": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "land_ownership_changes": {
            "items": {
              "$ref": "#/components/schemas/LandOwnershipChange"
            },
            "type": "array"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "area_in_hectares",
          "land_ownership_changes"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "area_in_hectares",
          "land_ownership_changes"
        ]
      },
      "FieldOffice": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "nullable": true,
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "political_organization_details_id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "political_organization_details_id",
          "name",
          "address",
          "country",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "political_organization_details_id",
          "name",
          "address",
          "country",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "FormationDetails": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "date_of_effective_articles_of_association": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "duration_indefinite": {
            "nullable": true,
            "type": "boolean"
          },
          "duration_until": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "duration_until_objects_achieved": {
            "nullable": true,
            "type": "boolean"
          },
          "established_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "objects": {
            "nullable": true,
            "type": "string"
          },
          "registration_renewed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "registration_term_until": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "objects",
          "duration_until_objects_achieved",
          "duration_until",
          "duration_indefinite",
          "established_on",
          "date_of_effective_articles_of_association",
          "registration_term_until",
          "registration_renewed_on"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "objects",
          "duration_until_objects_achieved",
          "duration_until",
          "duration_indefinite",
          "established_on",
          "date_of_effective_articles_of_association",
          "registration_term_until",
          "registration_renewed_on"
        ]
      },
      "IdentityDocument": {
        "additionalProperties": false,
        "properties": {
          "country": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "issued_by": {
            "nullable": true,
            "type": "string"
          },
          "issued_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "number": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          },
          "valid_until": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "type",
          "number",
          "issued_on",
          "valid_until",
          "issued_by",
          "country"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "type",
          "number",
          "issued_on",
          "valid_until",
          "issued_by",
          "country"
        ]
      },
      "Insolvency": {
        "additionalProperties": false,
        "properties": {
          "commercial_entity_details_id": {
            "minimum": 0,
            "type": "integer"
          },
          "date_from": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "date_to": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "governed_by": {
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "links": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Links"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "links_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "commercial_entity_details_id",
          "date_from",
          "date_to",
          "governed_by",
          "links_id",
          "links",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "commercial_entity_details_id",
          "date_from",
          "date_to",
          "governed_by",
          "links_id",
          "links",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "JointOwners": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_basic": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalEntityBasic"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "legal_entity_basic_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "natural_person": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NaturalPerson"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "natural_person_id": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "minimum": 0,
            "nullable": true,
            "type": "integer",
            "x-personal-details": true
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "share_holder_details_id": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "share_holder_details_id",
          "natural_person",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "share_holder_details_id",
          "natural_person_id",
          "natural_person",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "LandOwnershipChange": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "nullable": true,
            "type": "string"
          },
          "area_change": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "deed_issued_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "deed_number": {
            "nullable": true,
            "type": "string"
          },
          "farm_details_id": {
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "rights_to_land_under_deed": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "farm_details_id",
          "area_change",
          "deed_number",
          "deed_issued_on",
          "rights_to_land_under_deed",
          "address",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "farm_details_id",
          "area_change",
          "deed_number",
          "deed_issued_on",
          "rights_to_land_under_deed",
          "address",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "LegalAct": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "date": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "legislator_name": {
            "nullable": true,
            "type": "string"
          },
          "legislator_number": {
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "legislator_name",
          "legislator_number",
          "date",
          "type"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "legislator_name",
          "legislator_number",
          "date",
          "type"
        ]
      },
      "LegalEntity": {
        "additionalProperties": false,
        "description": "Complete stored Legal Entity graph. Exact JSON names and nullable relationships are documented, including recursively nested means of control. Restricted personal fields are conditionally omitted. This response has no financial_reports or VID page wrapper.",
        "properties": {
          "ActivitiesDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ActivitiesDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "ActivitiesID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "Address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Address"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "AddressID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "ArbitrationCourtDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ArbitrationCourtDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "ArbitrationCourtDetailsID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "BeneficialOwners": {
            "items": {
              "$ref": "#/components/schemas/BeneficialOwner"
            },
            "type": "array"
          },
          "BeneficialOwnershipStatuses": {
            "items": {
              "$ref": "#/components/schemas/BeneficialOwnershipStatus"
            },
            "type": "array"
          },
          "BranchOf": {
            "items": {
              "$ref": "#/components/schemas/BranchOf"
            },
            "type": "array"
          },
          "Branches": {
            "items": {
              "$ref": "#/components/schemas/Branch"
            },
            "type": "array"
          },
          "CommercialDetailsID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "CommercialEntityDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CommercialEntityDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "FormationDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FormationDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "FormationDetailsID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "Links": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Links"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "LinksID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "Liquidations": {
            "items": {
              "$ref": "#/components/schemas/Liquidation"
            },
            "type": "array"
          },
          "Members": {
            "items": {
              "$ref": "#/components/schemas/Member"
            },
            "type": "array"
          },
          "Officers": {
            "items": {
              "$ref": "#/components/schemas/Officer"
            },
            "type": "array"
          },
          "PoliticalOrganizationDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PoliticalOrganizationDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "PoliticalOrganizationDetailsID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "PreviousAddresses": {
            "items": {
              "$ref": "#/components/schemas/PreviousAddress"
            },
            "type": "array"
          },
          "PreviousLegalForms": {
            "items": {
              "$ref": "#/components/schemas/PreviousLegalForm"
            },
            "type": "array"
          },
          "PreviousNames": {
            "items": {
              "$ref": "#/components/schemas/PreviousName"
            },
            "type": "array"
          },
          "Procurations": {
            "items": {
              "$ref": "#/components/schemas/Procuration"
            },
            "type": "array"
          },
          "ProhibitionsOfActivities": {
            "items": {
              "$ref": "#/components/schemas/ProhibitionsOfActivity"
            },
            "type": "array"
          },
          "PublicAuthorityDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PublicAuthorityDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "PublicAuthorityDetailsID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "ReligiousEntityDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReligiousEntityDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "ReligiousEntityDetailsID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "Reorganizations": {
            "items": {
              "$ref": "#/components/schemas/Reorganization"
            },
            "type": "array"
          },
          "Representatives": {
            "items": {
              "$ref": "#/components/schemas/RepresentativeElement"
            },
            "type": "array"
          },
          "Reregistrations": {
            "items": {
              "$ref": "#/components/schemas/Reregistration"
            },
            "type": "array"
          },
          "Sanctions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Sanctions"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "SanctionsID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "SecuringMeasures": {
            "items": {
              "$ref": "#/components/schemas/SecuringMeasure"
            },
            "type": "array"
          },
          "SpecialStatuses": {
            "items": {
              "$ref": "#/components/schemas/SpecialStatus"
            },
            "type": "array"
          },
          "SuspensionsOfActivities": {
            "items": {
              "$ref": "#/components/schemas/SuspensionsOfActivity"
            },
            "type": "array"
          },
          "VariousNotices": {
            "items": {
              "$ref": "#/components/schemas/VariousNotice"
            },
            "type": "array"
          },
          "atvk_code": {
            "nullable": true,
            "type": "string"
          },
          "cleaned_short_name": {
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_name": {
            "type": "string"
          },
          "register": {
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "registration_number": {
            "type": "string"
          },
          "registration_number_assigned_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "registry_record_id": {
            "minimum": 0,
            "type": "integer"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "sanctions_risk": {
            "nullable": true,
            "type": "boolean"
          },
          "sepa_creditor_id": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "status_details": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "registry_record_id",
          "registration_number",
          "registration_number_assigned_on",
          "status",
          "status_details",
          "sepa_creditor_id",
          "register",
          "type",
          "legal_name",
          "cleaned_short_name",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled",
          "atvk_code",
          "sanctions_risk",
          "AddressID",
          "Address",
          "LinksID",
          "Links",
          "FormationDetailsID",
          "FormationDetails",
          "ActivitiesID",
          "ActivitiesDetails",
          "CommercialDetailsID",
          "CommercialEntityDetails",
          "ArbitrationCourtDetailsID",
          "ArbitrationCourtDetails",
          "ReligiousEntityDetailsID",
          "ReligiousEntityDetails",
          "PoliticalOrganizationDetailsID",
          "PoliticalOrganizationDetails",
          "PublicAuthorityDetailsID",
          "PublicAuthorityDetails",
          "SanctionsID",
          "Sanctions",
          "SpecialStatuses",
          "Reorganizations",
          "Liquidations",
          "SuspensionsOfActivities",
          "ProhibitionsOfActivities",
          "Reregistrations",
          "PreviousNames",
          "PreviousAddresses",
          "PreviousLegalForms",
          "BranchOf",
          "Branches",
          "Officers",
          "Members",
          "Representatives",
          "Procurations",
          "BeneficialOwnershipStatuses",
          "BeneficialOwners",
          "SecuringMeasures",
          "VariousNotices"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "registry_record_id",
          "registration_number",
          "registration_number_assigned_on",
          "status",
          "status_details",
          "sepa_creditor_id",
          "register",
          "type",
          "legal_name",
          "cleaned_short_name",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled",
          "atvk_code",
          "sanctions_risk",
          "AddressID",
          "Address",
          "LinksID",
          "Links",
          "FormationDetailsID",
          "FormationDetails",
          "ActivitiesID",
          "ActivitiesDetails",
          "CommercialDetailsID",
          "CommercialEntityDetails",
          "ArbitrationCourtDetailsID",
          "ArbitrationCourtDetails",
          "ReligiousEntityDetailsID",
          "ReligiousEntityDetails",
          "PoliticalOrganizationDetailsID",
          "PoliticalOrganizationDetails",
          "PublicAuthorityDetailsID",
          "PublicAuthorityDetails",
          "SanctionsID",
          "Sanctions",
          "SpecialStatuses",
          "Reorganizations",
          "Liquidations",
          "SuspensionsOfActivities",
          "ProhibitionsOfActivities",
          "Reregistrations",
          "PreviousNames",
          "PreviousAddresses",
          "PreviousLegalForms",
          "BranchOf",
          "Branches",
          "Officers",
          "Members",
          "Representatives",
          "Procurations",
          "BeneficialOwnershipStatuses",
          "BeneficialOwners",
          "SecuringMeasures",
          "VariousNotices"
        ]
      },
      "LegalEntityBasic": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "nullable": true,
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "external_object_number": {
            "nullable": true,
            "type": "string"
          },
          "foreign_registration_number": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "links": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Links"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "links_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "registration_number": {
            "nullable": true,
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "registration_number",
          "external_object_number",
          "foreign_registration_number",
          "name",
          "address",
          "country",
          "links_id",
          "links"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "registration_number",
          "external_object_number",
          "foreign_registration_number",
          "name",
          "address",
          "country",
          "links_id",
          "links"
        ]
      },
      "LegalEntitySanction": {
        "additionalProperties": false,
        "properties": {
          "entry_date": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "list": {
            "nullable": true,
            "type": "string"
          },
          "program": {
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "sanction_links": {
            "items": {
              "$ref": "#/components/schemas/SanctionLink"
            },
            "type": "array"
          },
          "sanctions_id": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "sanctions_id",
          "list",
          "program",
          "entry_date",
          "sanction_links",
          "registered_on",
          "removed_on",
          "last_modified_at"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "sanctions_id",
          "list",
          "program",
          "entry_date",
          "sanction_links",
          "registered_on",
          "removed_on",
          "last_modified_at"
        ]
      },
      "LimitedAccessPeriod": {
        "additionalProperties": false,
        "properties": {
          "beneficial_owner_id": {
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "registry_id": {
            "nullable": true,
            "type": "integer"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "beneficial_owner_id",
          "registry_id",
          "registered_on",
          "removed_on"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "beneficial_owner_id",
          "registry_id",
          "registered_on",
          "removed_on"
        ]
      },
      "LimitedPartnerContribution": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "currency": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "amount",
          "currency"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "amount",
          "currency"
        ]
      },
      "Links": {
        "additionalProperties": false,
        "properties": {
          "annual_reports": {
            "nullable": true,
            "type": "string"
          },
          "commercial_pledges": {
            "nullable": true,
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "foreign_entity": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "insolvency": {
            "nullable": true,
            "type": "string"
          },
          "mass_media": {
            "nullable": true,
            "type": "string"
          },
          "public_documents": {
            "nullable": true,
            "type": "string"
          },
          "restricted_documents": {
            "nullable": true,
            "type": "string"
          },
          "self": {
            "nullable": true,
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "self",
          "foreign_entity",
          "commercial_pledges",
          "insolvency",
          "annual_reports",
          "public_documents",
          "restricted_documents",
          "mass_media"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "self",
          "foreign_entity",
          "commercial_pledges",
          "insolvency",
          "annual_reports",
          "public_documents",
          "restricted_documents",
          "mass_media"
        ]
      },
      "Liquidation": {
        "additionalProperties": false,
        "properties": {
          "LegalActID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "completion_expected_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "ended_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grounds_for_continuation": {
            "nullable": true,
            "type": "string"
          },
          "grounds_for_liquidation": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_act": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalAct"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "result_type": {
            "nullable": true,
            "type": "string"
          },
          "started_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "type",
          "started_on",
          "completion_expected_on",
          "ended_on",
          "grounds_for_liquidation",
          "grounds_for_continuation",
          "result_type",
          "LegalActID",
          "legal_act",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "type",
          "started_on",
          "completion_expected_on",
          "ended_on",
          "grounds_for_liquidation",
          "grounds_for_continuation",
          "result_type",
          "LegalActID",
          "legal_act",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "MeansOfControl": {
        "additionalProperties": false,
        "properties": {
          "LegalEntityBasicID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "NaturalPersonID": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "minimum": 0,
            "nullable": true,
            "type": "integer",
            "x-personal-details": true
          },
          "NatureOfControlDetailsID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "beneficial_owner_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_basic": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalEntityBasic"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "means_of_control": {
            "items": {
              "$ref": "#/components/schemas/MeansOfControl"
            },
            "type": "array"
          },
          "natural_person": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NaturalPerson"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "nature_of_control": {
            "nullable": true,
            "type": "string"
          },
          "nature_of_control_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NatureOfControlDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "nature_of_control_specified": {
            "nullable": true,
            "type": "string"
          },
          "parent_means_of_control_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "registry_id": {
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "beneficial_owner_id",
          "parent_means_of_control_id",
          "registry_id",
          "nature_of_control",
          "nature_of_control_specified",
          "NatureOfControlDetailsID",
          "nature_of_control_details",
          "natural_person",
          "LegalEntityBasicID",
          "legal_entity_basic",
          "means_of_control",
          "last_modified_at",
          "registered_on"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "beneficial_owner_id",
          "parent_means_of_control_id",
          "registry_id",
          "nature_of_control",
          "nature_of_control_specified",
          "NatureOfControlDetailsID",
          "nature_of_control_details",
          "NaturalPersonID",
          "natural_person",
          "LegalEntityBasicID",
          "legal_entity_basic",
          "means_of_control",
          "last_modified_at",
          "registered_on"
        ]
      },
      "Member": {
        "additionalProperties": false,
        "properties": {
          "data_incomplete": {
            "nullable": true,
            "type": "boolean"
          },
          "data_unknown": {
            "nullable": true,
            "type": "boolean"
          },
          "date_from": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "date_to": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "eeig_party_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EeigPartyDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "eeig_party_details_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "is_personally_liable": {
            "nullable": true,
            "type": "boolean"
          },
          "is_restricted": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_basic": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalEntityBasic"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "legal_entity_basic_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "natural_person": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NaturalPerson"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "natural_person_id": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "minimum": 0,
            "nullable": true,
            "type": "integer",
            "x-personal-details": true
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "registered_because_of": {
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_because_of": {
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "representative": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProhibitionOnMemberShareCapitalClass"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "representative_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "share_holder_details": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShareHolderDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "share_holder_details_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "is_restricted",
          "date_from",
          "date_to",
          "is_personally_liable",
          "natural_person",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "representative_id",
          "representative",
          "share_holder_details_id",
          "share_holder_details",
          "eeig_party_details_id",
          "eeig_party_details",
          "note",
          "registered_because_of",
          "removed_because_of",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "data_incomplete",
          "data_unknown",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "is_restricted",
          "date_from",
          "date_to",
          "is_personally_liable",
          "natural_person_id",
          "natural_person",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "representative_id",
          "representative",
          "share_holder_details_id",
          "share_holder_details",
          "eeig_party_details_id",
          "eeig_party_details",
          "note",
          "registered_because_of",
          "removed_because_of",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "data_incomplete",
          "data_unknown",
          "is_annulled"
        ]
      },
      "NaceType": {
        "additionalProperties": false,
        "properties": {
          "activities_details_id": {
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "nace_code": {
            "nullable": true,
            "type": "string"
          },
          "nace_revision": {
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "activities_details_id",
          "nace_code",
          "nace_revision",
          "removed_on",
          "last_modified_at"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "activities_details_id",
          "nace_code",
          "nace_revision",
          "removed_on",
          "last_modified_at"
        ]
      },
      "NaturalPerson": {
        "additionalProperties": false,
        "properties": {
          "IdentityDocumentID": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "minimum": 0,
            "nullable": true,
            "type": "integer",
            "x-personal-details": true
          },
          "birth_date": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "format": "date-time",
            "nullable": true,
            "type": "string",
            "x-personal-details": true
          },
          "countries": {
            "items": {
              "$ref": "#/components/schemas/NaturalPersonCountry"
            },
            "type": "array"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "country_of_residence": {
            "nullable": true,
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "foreigner_system_assigned_number": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "nullable": true,
            "type": "string",
            "x-personal-details": true
          },
          "forename": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "identity_document": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/IdentityDocument"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ],
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "x-personal-details": true
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "latvian_identity_number": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "nullable": true,
            "type": "string",
            "x-personal-details": true
          },
          "latvian_identity_number_changed_on": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "format": "date-time",
            "nullable": true,
            "type": "string",
            "x-personal-details": true
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "surname": {
            "nullable": true,
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "forename",
          "surname",
          "name",
          "country",
          "countries",
          "country_of_residence",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "latvian_identity_number",
          "latvian_identity_number_changed_on",
          "foreigner_system_assigned_number",
          "forename",
          "surname",
          "name",
          "birth_date",
          "country",
          "countries",
          "country_of_residence",
          "IdentityDocumentID",
          "identity_document",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "NaturalPersonCountry": {
        "additionalProperties": false,
        "properties": {
          "country": {
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "natural_person_id": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "minimum": 0,
            "type": "integer",
            "x-personal-details": true
          }
        },
        "required": [
          "id",
          "country"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "natural_person_id",
          "country"
        ]
      },
      "NatureOfControlDetails": {
        "additionalProperties": false,
        "properties": {
          "description": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "ownership_in_percent": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "votes_in_percent": {
            "format": "double",
            "nullable": true,
            "type": "number"
          }
        },
        "required": [
          "id",
          "ownership_in_percent",
          "votes_in_percent",
          "description"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "ownership_in_percent",
          "votes_in_percent",
          "description"
        ]
      },
      "Officer": {
        "additionalProperties": false,
        "properties": {
          "appointed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "governing_body": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_basic": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalEntityBasic"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "legal_entity_basic_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "natural_person": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NaturalPerson"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "natural_person_id": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "minimum": 0,
            "nullable": true,
            "type": "integer",
            "x-personal-details": true
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "position": {
            "nullable": true,
            "type": "string"
          },
          "position_details": {
            "nullable": true,
            "type": "string"
          },
          "registered_because_of": {
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_because_of": {
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "resigned_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "rights_of_representation": {
            "items": {
              "$ref": "#/components/schemas/RightsOfRepresentation"
            },
            "type": "array"
          },
          "term_until": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "natural_person",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "rights_of_representation",
          "appointed_on",
          "term_until",
          "resigned_on",
          "position",
          "position_details",
          "governing_body",
          "note",
          "registered_because_of",
          "removed_because_of",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "natural_person_id",
          "natural_person",
          "legal_entity_basic_id",
          "legal_entity_basic",
          "rights_of_representation",
          "appointed_on",
          "term_until",
          "resigned_on",
          "position",
          "position_details",
          "governing_body",
          "note",
          "registered_because_of",
          "removed_because_of",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "PersonGroup": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "person_group_information": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "person_group_information"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "person_group_information"
        ]
      },
      "PoliticalOrganizationDetails": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "field_offices": {
            "items": {
              "$ref": "#/components/schemas/FieldOffice"
            },
            "type": "array"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "field_offices"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "field_offices"
        ]
      },
      "PreviousAddress": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "address",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "address",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "PreviousLegalForm": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "register": {
            "nullable": true,
            "type": "string"
          },
          "registered_because_of": {
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_because_of": {
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "type",
          "register",
          "registered_because_of",
          "removed_because_of",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "type",
          "register",
          "registered_because_of",
          "removed_because_of",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "PreviousName": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "name",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "name",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "PreviousRegistration": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "registration_number": {
            "nullable": true,
            "type": "string"
          },
          "religious_entity_details_id": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "religious_entity_details_id",
          "registration_number",
          "registered_on"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "religious_entity_details_id",
          "registration_number",
          "registered_on"
        ]
      },
      "Procuration": {
        "additionalProperties": false,
        "properties": {
          "date_from": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "prokurists": {
            "items": {
              "$ref": "#/components/schemas/Prokurists"
            },
            "type": "array"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "rights_of_representation": {
            "items": {
              "$ref": "#/components/schemas/RightsOfRepresentation"
            },
            "type": "array"
          },
          "rights_on_immovable_property": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RightsOnImmovableProperty"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "rights_on_immovable_property_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "rights_on_immovable_property_id",
          "rights_on_immovable_property",
          "rights_of_representation",
          "prokurists",
          "date_from",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "rights_on_immovable_property_id",
          "rights_on_immovable_property",
          "rights_of_representation",
          "prokurists",
          "date_from",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "ProhibitionOnMemberShareCapitalClass": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "legal_entity_basic": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalEntityBasic"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "legal_entity_basic_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "natural_person": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NaturalPerson"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "natural_person_id": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "minimum": 0,
            "nullable": true,
            "type": "integer",
            "x-personal-details": true
          }
        },
        "required": [
          "id",
          "natural_person",
          "legal_entity_basic_id",
          "legal_entity_basic"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "natural_person_id",
          "natural_person",
          "legal_entity_basic_id",
          "legal_entity_basic"
        ]
      },
      "ProhibitionsOfActivity": {
        "additionalProperties": false,
        "properties": {
          "ended_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grounds_for_ending_prohibition": {
            "nullable": true,
            "type": "string"
          },
          "grounds_for_prohibition": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "result_type": {
            "nullable": true,
            "type": "string"
          },
          "started_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "type",
          "started_on",
          "ended_on",
          "grounds_for_prohibition",
          "grounds_for_ending_prohibition",
          "result_type",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "type",
          "started_on",
          "ended_on",
          "grounds_for_prohibition",
          "grounds_for_ending_prohibition",
          "result_type",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "Prokurists": {
        "additionalProperties": false,
        "properties": {
          "date_from": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "natural_person": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NaturalPerson"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "natural_person_id": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "minimum": 0,
            "nullable": true,
            "type": "integer",
            "x-personal-details": true
          },
          "procuration_id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "procuration_id",
          "natural_person",
          "date_from",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "procuration_id",
          "natural_person_id",
          "natural_person",
          "date_from",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "PublicAuthorityDetails": {
        "additionalProperties": false,
        "properties": {
          "ContactDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ContactDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "ContactDetailsID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "DelegatedEntities": {
            "items": {
              "$ref": "#/components/schemas/DelegatedEntity"
            },
            "type": "array"
          },
          "EstablishingAct": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalAct"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "EstablishingActID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "RegistrationDetails": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/RegistrationDetails"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "RegistrationDetailsID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "SchoolBranches": {
            "items": {
              "$ref": "#/components/schemas/SchoolBranch"
            },
            "type": "array"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "ContactDetailsID",
          "ContactDetails",
          "RegistrationDetailsID",
          "RegistrationDetails",
          "EstablishingActID",
          "EstablishingAct",
          "DelegatedEntities",
          "SchoolBranches"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "ContactDetailsID",
          "ContactDetails",
          "RegistrationDetailsID",
          "RegistrationDetails",
          "EstablishingActID",
          "EstablishingAct",
          "DelegatedEntities",
          "SchoolBranches"
        ]
      },
      "RegistrationDetails": {
        "additionalProperties": false,
        "properties": {
          "authority_type": {
            "nullable": true,
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "established_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "higher_authority_current_name": {
            "nullable": true,
            "type": "string"
          },
          "higher_authority_number": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_independent_taxpayer": {
            "nullable": true,
            "type": "boolean"
          },
          "is_institution_of_higher_education": {
            "nullable": true,
            "type": "boolean"
          },
          "subordination_type": {
            "nullable": true,
            "type": "string"
          },
          "taxpayer_unit_number": {
            "nullable": true,
            "type": "string"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "authority_type",
          "established_on",
          "is_institution_of_higher_education",
          "is_independent_taxpayer",
          "taxpayer_unit_number",
          "higher_authority_number",
          "higher_authority_current_name",
          "subordination_type"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "authority_type",
          "established_on",
          "is_institution_of_higher_education",
          "is_independent_taxpayer",
          "taxpayer_unit_number",
          "higher_authority_number",
          "higher_authority_current_name",
          "subordination_type"
        ]
      },
      "ReligiousEntityDetails": {
        "additionalProperties": false,
        "properties": {
          "affiliation": {
            "nullable": true,
            "type": "string"
          },
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "previous_registrations": {
            "items": {
              "$ref": "#/components/schemas/PreviousRegistration"
            },
            "type": "array"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "affiliation",
          "previous_registrations"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "affiliation",
          "previous_registrations"
        ]
      },
      "Reorganization": {
        "additionalProperties": false,
        "properties": {
          "LegalActID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "date": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "entities_involved": {
            "items": {
              "$ref": "#/components/schemas/EntityInvolved"
            },
            "type": "array"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_act": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalAct"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "objects": {
            "items": {
              "$ref": "#/components/schemas/ReorganizationObject"
            },
            "type": "array"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "result": {
            "nullable": true,
            "type": "string"
          },
          "subjects": {
            "items": {
              "$ref": "#/components/schemas/ReorganizationSubject"
            },
            "type": "array"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "type",
          "date",
          "result",
          "LegalActID",
          "legal_act",
          "entities_involved",
          "subjects",
          "objects",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "type",
          "date",
          "result",
          "LegalActID",
          "legal_act",
          "entities_involved",
          "subjects",
          "objects",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "ReorganizationObject": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "nullable": true,
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "current_name": {
            "nullable": true,
            "type": "string"
          },
          "external_object_number": {
            "nullable": true,
            "type": "string"
          },
          "foreign_registration_number": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "links": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Links"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "links_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "registration_number": {
            "nullable": true,
            "type": "string"
          },
          "reorganization_id": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "reorganization_id",
          "registration_number",
          "external_object_number",
          "foreign_registration_number",
          "name",
          "current_name",
          "address",
          "country",
          "links_id",
          "links"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "reorganization_id",
          "registration_number",
          "external_object_number",
          "foreign_registration_number",
          "name",
          "current_name",
          "address",
          "country",
          "links_id",
          "links"
        ]
      },
      "ReorganizationSubject": {
        "additionalProperties": false,
        "properties": {
          "address": {
            "nullable": true,
            "type": "string"
          },
          "country": {
            "nullable": true,
            "type": "string"
          },
          "current_name": {
            "nullable": true,
            "type": "string"
          },
          "external_object_number": {
            "nullable": true,
            "type": "string"
          },
          "foreign_registration_number": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "links": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Links"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "links_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "registration_number": {
            "nullable": true,
            "type": "string"
          },
          "reorganization_id": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "reorganization_id",
          "registration_number",
          "external_object_number",
          "foreign_registration_number",
          "name",
          "current_name",
          "address",
          "country",
          "links_id",
          "links"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "reorganization_id",
          "registration_number",
          "external_object_number",
          "foreign_registration_number",
          "name",
          "current_name",
          "address",
          "country",
          "links_id",
          "links"
        ]
      },
      "RepresentativeElement": {
        "additionalProperties": false,
        "properties": {
          "appointed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "natural_person": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NaturalPerson"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "natural_person_id": {
            "description": "Omitted by default. Present only with legal-entities:personal-details, legal-entities:read, and approved account access; the value may still be null.",
            "minimum": 0,
            "nullable": true,
            "type": "integer",
            "x-personal-details": true
          },
          "note": {
            "nullable": true,
            "type": "string"
          },
          "registered_because_of": {
            "nullable": true,
            "type": "string"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_because_of": {
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "resigned_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "term_until": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "natural_person",
          "appointed_on",
          "term_until",
          "resigned_on",
          "note",
          "registered_because_of",
          "removed_because_of",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "natural_person_id",
          "natural_person",
          "appointed_on",
          "term_until",
          "resigned_on",
          "note",
          "registered_because_of",
          "removed_because_of",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "Reregistration": {
        "additionalProperties": false,
        "properties": {
          "date": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "register": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "date",
          "register"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "date",
          "register"
        ]
      },
      "RightsOfRepresentation": {
        "additionalProperties": false,
        "properties": {
          "details": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "officer_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "procuration_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "type": {
            "nullable": true,
            "type": "string"
          },
          "with_at_least": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "id",
          "officer_id",
          "procuration_id",
          "type",
          "with_at_least",
          "details"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "officer_id",
          "procuration_id",
          "type",
          "with_at_least",
          "details"
        ]
      },
      "RightsOnImmovableProperty": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "may_alienate": {
            "nullable": true,
            "type": "boolean"
          },
          "may_encumber": {
            "nullable": true,
            "type": "boolean"
          },
          "may_pledge": {
            "nullable": true,
            "type": "boolean"
          }
        },
        "required": [
          "id",
          "may_alienate",
          "may_pledge",
          "may_encumber"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "may_alienate",
          "may_pledge",
          "may_encumber"
        ]
      },
      "SanctionLink": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "legal_entity_sanction_id": {
            "minimum": 0,
            "type": "integer"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_sanction_id",
          "value"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_sanction_id",
          "value"
        ]
      },
      "SanctionPersonLink": {
        "additionalProperties": false,
        "properties": {
          "directly_related_person_sanction_id": {
            "minimum": 0,
            "type": "integer"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "directly_related_person_sanction_id",
          "value"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "directly_related_person_sanction_id",
          "value"
        ]
      },
      "Sanctions": {
        "additionalProperties": false,
        "properties": {
          "created_at": {
            "format": "date-time",
            "type": "string"
          },
          "directly_related_sanctions": {
            "items": {
              "$ref": "#/components/schemas/DirectlyRelatedPersonSanction"
            },
            "type": "array"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "indirectly_related_sanctions": {
            "items": {
              "$ref": "#/components/schemas/DirectlyRelatedPersonSanction"
            },
            "type": "array"
          },
          "legal_entity_sanctions": {
            "items": {
              "$ref": "#/components/schemas/LegalEntitySanction"
            },
            "type": "array"
          },
          "updated_at": {
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "id",
          "created_at",
          "updated_at",
          "legal_entity_sanctions",
          "directly_related_sanctions",
          "indirectly_related_sanctions"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "created_at",
          "updated_at",
          "legal_entity_sanctions",
          "directly_related_sanctions",
          "indirectly_related_sanctions"
        ]
      },
      "SchoolBranch": {
        "additionalProperties": false,
        "properties": {
          "AddressID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "GeneralManagerID": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "address": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Address"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "general_manager": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NaturalPerson"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "name": {
            "nullable": true,
            "type": "string"
          },
          "public_authority_details_id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "registry_id": {
            "nullable": true,
            "type": "integer"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "public_authority_details_id",
          "registry_id",
          "name",
          "AddressID",
          "address",
          "GeneralManagerID",
          "general_manager",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "public_authority_details_id",
          "registry_id",
          "name",
          "AddressID",
          "address",
          "GeneralManagerID",
          "general_manager",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "SecuringMeasure": {
        "additionalProperties": false,
        "properties": {
          "case_number": {
            "nullable": true,
            "type": "string"
          },
          "date_from": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "date_to": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "imposed_by": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LegalEntityBasic"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "imposed_by_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "note_on_registration": {
            "nullable": true,
            "type": "string"
          },
          "note_on_removal": {
            "nullable": true,
            "type": "string"
          },
          "prohibition_on_member_share_capital": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProhibitionOnMemberShareCapitalClass"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true,
                "type": "object"
              }
            ]
          },
          "prohibition_on_member_share_capital_id": {
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          },
          "type_details": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "type",
          "type_details",
          "date_from",
          "date_to",
          "case_number",
          "imposed_by_id",
          "imposed_by",
          "prohibition_on_member_share_capital_id",
          "prohibition_on_member_share_capital",
          "note_on_registration",
          "note_on_removal",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "type",
          "type_details",
          "date_from",
          "date_to",
          "case_number",
          "imposed_by_id",
          "imposed_by",
          "prohibition_on_member_share_capital_id",
          "prohibition_on_member_share_capital",
          "note_on_registration",
          "note_on_removal",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "ShareHolderDetails": {
        "additionalProperties": false,
        "properties": {
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "in_percent": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "joint_owners": {
            "items": {
              "$ref": "#/components/schemas/JointOwners"
            },
            "type": "array"
          },
          "number_of_shares": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "share_currency": {
            "nullable": true,
            "type": "string"
          },
          "share_nominal_value": {
            "format": "double",
            "nullable": true,
            "type": "number"
          },
          "votes": {
            "format": "double",
            "nullable": true,
            "type": "number"
          }
        },
        "required": [
          "id",
          "number_of_shares",
          "share_nominal_value",
          "share_currency",
          "in_percent",
          "votes",
          "joint_owners"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "number_of_shares",
          "share_nominal_value",
          "share_currency",
          "in_percent",
          "votes",
          "joint_owners"
        ]
      },
      "SpecialStatus": {
        "additionalProperties": false,
        "properties": {
          "date_from": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "date_to": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "type",
          "date_from",
          "date_to",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "type",
          "date_from",
          "date_to",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "SuspensionsOfActivity": {
        "additionalProperties": false,
        "properties": {
          "ended_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "grounds_for_renewal": {
            "nullable": true,
            "type": "string"
          },
          "grounds_for_suspension": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "result_type": {
            "nullable": true,
            "type": "string"
          },
          "started_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "type",
          "started_on",
          "ended_on",
          "grounds_for_suspension",
          "grounds_for_renewal",
          "result_type",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "type",
          "started_on",
          "ended_on",
          "grounds_for_suspension",
          "grounds_for_renewal",
          "result_type",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      },
      "VariousNotice": {
        "additionalProperties": false,
        "properties": {
          "date": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "id": {
            "minimum": 0,
            "type": "integer"
          },
          "is_annulled": {
            "nullable": true,
            "type": "boolean"
          },
          "last_modified_at": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "legal_entity_id": {
            "minimum": 0,
            "type": "integer"
          },
          "registered_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "removed_on": {
            "format": "date-time",
            "nullable": true,
            "type": "string"
          },
          "type": {
            "nullable": true,
            "type": "string"
          }
        },
        "required": [
          "id",
          "legal_entity_id",
          "type",
          "date",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ],
        "type": "object",
        "x-field-order": [
          "id",
          "legal_entity_id",
          "type",
          "date",
          "registered_on",
          "removed_on",
          "last_modified_at",
          "is_annulled"
        ]
      }
    }
  }
}
