{
  "$schema": "https://static.modelcontextprotocol.io/schemas/v1/server-card.schema.json",
  "name": "ee.arikratt/arikratt",
  "title": "Ärikratt",
  "description": "Free Estonian company, industry, grant and tender data from public registers. API key or OAuth.",
  "websiteUrl": "https://arikratt.ee/en/mcp",
  "version": "1.0.1",
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://arikratt.ee/mcp",
      "headers": [
        {
          "name": "Authorization",
          "description": "Bearer followed by an OAuth access token or personal API key. Access is free: 2,000 successful calls a month and 200 a day, and 500 distinct companies a day only for tools that read or enumerate companies. Daily limits reset at 00:00 Europe/Tallinn; the monthly limit resets at 00:00 on the first of the month. Quota errors include the exact reset_at UTC timestamp. Refused company-cap attempts do not spend call quota. OAuth authorization uses https://arikratt.ee; discovery is at https://arikratt.ee/.well-known/oauth-protected-resource/mcp. Never put credentials in a URL.",
          "isRequired": true,
          "isSecret": true
        },
        {
          "name": "X-API-Key",
          "description": "Raw API key with no Bearer prefix. Optional alternative when a gateway reserves Authorization. If both headers are sent, they must carry the same key.",
          "isRequired": false,
          "isSecret": true
        }
      ],
      "supportedProtocolVersions": [
        "2024-11-05",
        "2025-03-26",
        "2025-06-18",
        "2025-11-25",
        "2026-07-28"
      ]
    }
  ],
  "serverUrl": "https://arikratt.ee/mcp",
  "protocolVersion": "2025-11-25",
  "supportedProtocolVersions": [
    "2024-11-05",
    "2025-03-26",
    "2025-06-18",
    "2025-11-25",
    "2026-07-28"
  ],
  "serverInfo": {
    "name": "arikratt",
    "title": "Ärikratt",
    "version": "1.0.1"
  },
  "transport": {
    "type": "streamable-http",
    "endpoint": "/mcp"
  },
  "authentication": {
    "required": true,
    "schemes": [
      "oauth2",
      "bearer"
    ],
    "authorizationServers": [
      "https://arikratt.ee"
    ],
    "resourceMetadataUrl": "https://arikratt.ee/.well-known/oauth-protected-resource/mcp",
    "scopes": [
      "mcp:read"
    ]
  },
  "tools": [
    {
      "name": "describe_datasets",
      "title": "Describe datasets",
      "description": "List dataset IDs, English names, per-surface status and licences within 8000 bytes. Pass dataset_id for full rights, exclusions, attribution, clocks and coverage. Summary reports datasets_total and truncated if the registry outgrows the budget. Authenticated, not metered; shares a 60-call bucket with source_metadata, refilling at one call per second. Independent of daily call and company limits. No data rows. Snapshot readiness is independent of legal eligibility. Use source_metadata for acquisition evidence and get_company for company data. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "dataset_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Stable dataset ID for full detail; omit for a bounded summary",
            "title": "Dataset Id"
          }
        },
        "title": "describe_datasetsArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "schema_version": {
            "const": 1
          },
          "reviewed_at": {
            "type": "string"
          },
          "datasets": {
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "surfaces": {
                      "type": "object",
                      "properties": {
                        "snapshot": {
                          "enum": [
                            "present",
                            "partial",
                            "missing",
                            "withheld"
                          ]
                        },
                        "ui": {
                          "enum": [
                            "present",
                            "partial",
                            "missing",
                            "withheld"
                          ]
                        },
                        "api": {
                          "enum": [
                            "present",
                            "partial",
                            "missing",
                            "withheld"
                          ]
                        },
                        "mcp": {
                          "enum": [
                            "present",
                            "partial",
                            "missing",
                            "withheld"
                          ]
                        }
                      },
                      "required": [
                        "snapshot",
                        "ui",
                        "api",
                        "mcp"
                      ],
                      "additionalProperties": false
                    },
                    "licence": {
                      "type": "array",
                      "items": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "surfaces",
                    "licence"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "required": [
                    "id",
                    "title",
                    "legal_eligibility",
                    "operational_availability",
                    "payment_entitlement",
                    "surfaces",
                    "sources"
                  ]
                }
              ]
            }
          },
          "datasets_total": {
            "type": "integer",
            "minimum": 0
          },
          "truncated": {
            "type": "boolean"
          }
        },
        "required": [
          "schema_version",
          "reviewed_at",
          "datasets"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "title": "Describe datasets",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "search_legal_vectors",
      "title": "Search legal vectors",
      "description": "Free bounded hybrid retrieval of affirmatively cleared current state-law provisions. Partial coverage only; no persons, companies, courts or other corpora. Returns the canonical page with RT attribution, clocks and ten-minute-or-midnight expiry. Continue with the same query/result_set and next_offset; restart_required needs an explicit new search. Unavailable and rate_limited are errors, never empty results. No snapshot or generation/RAG call. Use browse_catalog(kind=legal_search) for the separate literal snapshot search. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "query": {
            "description": "Legal query, at most 512 UTF-8 bytes and 256 encoder tokens",
            "title": "Query",
            "type": "string"
          },
          "offset": {
            "default": 0,
            "maximum": 100,
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "limit": {
            "default": 5,
            "maximum": 10,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "result_set": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Opaque fixed-result token; reuse with the same query and next_offset",
            "title": "Result Set"
          }
        },
        "required": [
          "query"
        ],
        "title": "search_legal_vectorsArguments",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "Coverage": {
            "additionalProperties": false,
            "properties": {
              "acts": {
                "maximum": 32,
                "minimum": 1,
                "title": "Acts",
                "type": "integer"
              },
              "chunks": {
                "maximum": 512,
                "minimum": 1,
                "title": "Chunks",
                "type": "integer"
              }
            },
            "required": [
              "acts",
              "chunks"
            ],
            "title": "Coverage",
            "type": "object"
          },
          "Hit": {
            "additionalProperties": false,
            "properties": {
              "chunk_id": {
                "pattern": "^[A-Za-z0-9_-]{1,96}$",
                "title": "Chunk Id",
                "type": "string"
              },
              "source_key": {
                "const": "riigiteataja",
                "title": "Source Key",
                "type": "string"
              },
              "act_id": {
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991,
                "title": "Act Id",
                "type": "integer"
              },
              "redaction_id": {
                "pattern": "^[0-9]{1,32}$",
                "title": "Redaction Id",
                "type": "string"
              },
              "title": {
                "title": "Title",
                "type": "string"
              },
              "heading": {
                "title": "Heading",
                "type": "string"
              },
              "excerpt": {
                "title": "Excerpt",
                "type": "string"
              },
              "excerpt_truncated": {
                "title": "Excerpt Truncated",
                "type": "boolean"
              },
              "url": {
                "title": "Url",
                "type": "string"
              },
              "source_updated_at": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Source Updated At"
              },
              "last_validity_check": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Last Validity Check"
              },
              "clearance_reviewed_at": {
                "title": "Clearance Reviewed At",
                "type": "string"
              }
            },
            "required": [
              "chunk_id",
              "source_key",
              "act_id",
              "redaction_id",
              "title",
              "heading",
              "excerpt",
              "excerpt_truncated",
              "url",
              "source_updated_at",
              "last_validity_check",
              "clearance_reviewed_at"
            ],
            "title": "Hit",
            "type": "object"
          }
        },
        "additionalProperties": false,
        "properties": {
          "state": {
            "const": "available",
            "title": "State",
            "type": "string"
          },
          "contract_version": {
            "const": "legal-retrieval-v1",
            "title": "Contract Version",
            "type": "string"
          },
          "release_sha": {
            "pattern": "^[0-9a-f]{40}$",
            "title": "Release Sha",
            "type": "string"
          },
          "generation": {
            "pattern": "^[0-9a-f]{32}$",
            "title": "Generation",
            "type": "string"
          },
          "policy_version": {
            "const": "legal-clearance-v1",
            "title": "Policy Version",
            "type": "string"
          },
          "clearance_digest": {
            "pattern": "^[0-9a-f]{64}$",
            "title": "Clearance Digest",
            "type": "string"
          },
          "mode": {
            "const": "hybrid",
            "title": "Mode",
            "type": "string"
          },
          "ranking_version": {
            "const": "exact-cosine-fts-rrf60-v1",
            "title": "Ranking Version",
            "type": "string"
          },
          "validity_date": {
            "title": "Validity Date",
            "type": "string"
          },
          "checked_at": {
            "title": "Checked At",
            "type": "string"
          },
          "generation_built_at": {
            "title": "Generation Built At",
            "type": "string"
          },
          "coverage": {
            "$ref": "#/$defs/Coverage"
          },
          "result_set": {
            "pattern": "^[A-Za-z0-9_-]{43}$",
            "title": "Result Set",
            "type": "string"
          },
          "expires_at": {
            "title": "Expires At",
            "type": "string"
          },
          "search_limited": {
            "title": "Search Limited",
            "type": "boolean"
          },
          "sources": {
            "items": {
              "additionalProperties": true,
              "type": "object"
            },
            "maxItems": 1,
            "minItems": 1,
            "title": "Sources",
            "type": "array"
          },
          "notice": {
            "title": "Notice",
            "type": "string"
          },
          "exclusions": {
            "items": {
              "type": "string"
            },
            "title": "Exclusions",
            "type": "array"
          },
          "clock_meanings": {
            "additionalProperties": {
              "type": "string"
            },
            "title": "Clock Meanings",
            "type": "object"
          },
          "offset": {
            "maximum": 100,
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "limit": {
            "maximum": 10,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "returned": {
            "maximum": 10,
            "minimum": 0,
            "title": "Returned",
            "type": "integer"
          },
          "hits": {
            "items": {
              "$ref": "#/$defs/Hit"
            },
            "maxItems": 10,
            "title": "Hits",
            "type": "array"
          },
          "next_offset": {
            "anyOf": [
              {
                "maximum": 100,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next Offset"
          },
          "has_more": {
            "title": "Has More",
            "type": "boolean"
          },
          "page_limited_by_bytes": {
            "title": "Page Limited By Bytes",
            "type": "boolean"
          }
        },
        "required": [
          "state",
          "contract_version",
          "release_sha",
          "generation",
          "policy_version",
          "clearance_digest",
          "mode",
          "ranking_version",
          "validity_date",
          "checked_at",
          "generation_built_at",
          "coverage",
          "result_set",
          "expires_at",
          "search_limited",
          "sources",
          "notice",
          "exclusions",
          "clock_meanings",
          "offset",
          "limit",
          "returned",
          "hits",
          "next_offset",
          "has_more",
          "page_limited_by_bytes"
        ],
        "title": "Page",
        "type": "object"
      },
      "annotations": {
        "title": "Search legal vectors",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "browse_catalog",
      "title": "Browse catalogs",
      "description": "Free paginated catalogs with attribution, source clocks and partial coverage. Follow next_offset; envelope trimming preserves continuation. legal_search: state statutes/regulations, literal FTS5, exact RT ID or title/ID plus §; title, section path and RT link per passage. Tallinn-date validity is checked; new redactions need a snapshot refresh. No vectors, generation, attachments or municipal/individual acts. Medicines: no documents, company joins or clinical inference. IP: no person names, addresses, designers or representatives; organization codes require a legal-entity match. Courts: 2020+ validated metadata only; no names, prose, charges or company/person links. Property: identifiers, addresses, energy labels, parcel links and public state assets; no private owners or quarantine. Ships: open entries and active non-FIE organization observations, not proven current ownership; no mortgages. Inspect dates/status; EHR freshness and ship currentness may be unknown. Use describe_datasets for exclusions. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "kind": {
            "description": "Current legal passages, packages, safe IP filings, name-free courts or qualified property",
            "enum": [
              "legal_search",
              "medicines",
              "trademarks",
              "designs",
              "court_decisions",
              "buildings",
              "ehr_energy_labels",
              "ehr_building_cadastral",
              "cadastral",
              "land_register_kris",
              "land_register_parcels",
              "state_real_estate_rkvr",
              "katri_state_property_ownership",
              "ship_register_safe_projection",
              "ship_technical_entries",
              "ship_legal_owners"
            ],
            "title": "Kind",
            "type": "string"
          },
          "query": {
            "default": "",
            "description": "Approved metadata or identifier; empty browses all rows",
            "maxLength": 200,
            "title": "Query",
            "type": "string"
          },
          "offset": {
            "default": 0,
            "minimum": 0,
            "title": "Offset",
            "type": "integer"
          },
          "limit": {
            "default": 10,
            "maximum": 25,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          }
        },
        "required": [
          "kind"
        ],
        "title": "browse_catalogArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": "string"
          },
          "kind": {
            "enum": [
              "legal_search",
              "medicines",
              "trademarks",
              "designs",
              "court_decisions",
              "buildings",
              "ehr_energy_labels",
              "ehr_building_cadastral",
              "cadastral",
              "land_register_kris",
              "land_register_parcels",
              "state_real_estate_rkvr",
              "katri_state_property_ownership",
              "ship_register_safe_projection",
              "ship_technical_entries",
              "ship_legal_owners"
            ]
          },
          "status": {
            "enum": [
              "available",
              "unavailable"
            ]
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "object"
            }
          },
          "total": {
            "type": "integer"
          },
          "offset": {
            "type": "integer"
          },
          "next_offset": {
            "type": [
              "integer",
              "null"
            ]
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "description": "Key. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
                },
                "name": {
                  "type": "string",
                  "description": "Name. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
                },
                "url": {
                  "type": "string",
                  "description": "Url. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
                },
                "licence": {
                  "type": "string",
                  "description": "Licence. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
                },
                "licence_url": {
                  "type": "string",
                  "description": "Licence url. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
                },
                "attribution": {
                  "type": "string",
                  "description": "Attribution. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
                }
              }
            }
          },
          "source_clocks": {
            "type": "object"
          },
          "coverage": {
            "type": "object",
            "properties": {
              "status": {
                "type": "string",
                "description": "Status. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
              },
              "reason": {
                "type": "string",
                "description": "Reason. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
              }
            }
          },
          "truncated": {
            "type": "boolean"
          },
          "as_of": {
            "type": "string",
            "description": "As of. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
          },
          "limit": {
            "type": "integer",
            "description": "Limit. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
          },
          "notice": {
            "type": "string",
            "description": "Notice. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
          },
          "disclaimer": {
            "type": "string",
            "description": "Disclaimer. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
          },
          "source_details": {
            "type": "string",
            "description": "Source details. catalogs.catalog_page and tools.browse_catalog: allowlisted catalog metadata."
          }
        },
        "required": [
          "snapshot_id",
          "kind",
          "status",
          "rows",
          "total",
          "offset",
          "next_offset",
          "sources",
          "source_clocks",
          "coverage",
          "truncated"
        ],
        "additionalProperties": true
      },
      "annotations": {
        "title": "Browse catalogs",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "source_metadata",
      "title": "Source metadata",
      "description": "Licence, attribution and distribution evidence for one source. Authenticated, not metered; shares a 60-call bucket with describe_datasets, refilling at one call per second. Independent of daily call and company limits. Current policy checks differ from acquisition rights: unresolved means no retained grant evidence; retained_copy requires an older licensed copy. Includes exact recorded distribution URLs, acquisition/source clocks and transformation codes. Old snapshots return empty acquisitions. Truncated results include acquisitions_total. Use get_company for legal-entity figures. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "source_key": {
            "default": "stat",
            "description": "Source key, e.g. stat, emta or ariregister",
            "title": "Source Key",
            "type": "string"
          }
        },
        "title": "source_metadataArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "published_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "acquired_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of_basis": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "acquisitions": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "properties": {
                "source_key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "table_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "distribution_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "acquired_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "source_updated_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "acquisition_licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "acquisition_licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "acquisition_licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "transformation": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "acquisitions_total": {
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "Source metadata result"
      },
      "annotations": {
        "title": "Source metadata",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "search_companies",
      "title": "Search companies",
      "description": "Search active legal entities by current or former name or registry code. Set include_inactive for other statuses. County aliases and cursor pagination are supported; unknown counties error. Use get_company for a full company profile, or find_companies to filter by county, Estonian Classification of Economic Activities (EMTAK), revenue or employees. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "query": {
            "description": "Company name or 8-digit registry code",
            "title": "Query",
            "type": "string"
          },
          "county": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "County name or alias (Harju, Harjumaa, Harju maakond). Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.",
            "title": "County"
          },
          "emtak": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Estonian Classification of Economic Activities (EMTAK) code or prefix",
            "title": "Emtak"
          },
          "include_inactive": {
            "default": false,
            "description": "Include liquidated, bankrupt, and deleted companies. Default false.",
            "title": "Include Inactive",
            "type": "boolean"
          },
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Opaque cursor from a previous next_cursor for the next page",
            "title": "Cursor"
          },
          "limit": {
            "default": 10,
            "description": "At most 25 companies",
            "maximum": 25,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          }
        },
        "required": [
          "query"
        ],
        "title": "search_companiesArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "companies": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "registry_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "county": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "municipality": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "emtak_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "emtak_label": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "revenue": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "revenue_year": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "employees": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "net_profit": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "growth_pct": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Growth pct. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."
                },
                "report_basis": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Report basis. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."
                },
                "monetary_null_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Monetary null reason. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when no missing-value, suppression or unavailability reason applies."
                }
              }
            }
          },
          "row_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "search_companiesOutput"
      },
      "annotations": {
        "title": "Search companies",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "get_company",
      "title": "Company profile",
      "description": "Company profile with default accounts (all years via sections), eight EMTA quarters, tax debt, pledges, aid, licences, notices and legal-entity owners. State taxes are net of refunds; labour taxes are separate, not wages. on_list false means not on the EMTA debt list ≥100 € as of snapshot_date. Unknown applies only when that list was not observed. Optional sections add the extras named on sections. Observed ownership and permits do not prove current ownership or validity. Contracts show at most 25 rows; fees have unverified periods and must not be summed. Shared-board results have at most 20 companies. Procurement ceilings are not spend; buyer seat is not delivery location. Distress is an indicator, not a finding; respect methodology changes. Missing older data may be empty or null. Use company_procurement for award pages, check_counterparty for status/debt/filing checks, search_companies for a name, or watch_companies for changes across codes. board lists current officers of one commercial company (name, role, start date; not indexed). not_published means withheld or unavailable, not an empty board. Do not look up natural persons, personal codes or personal contact details.",
      "inputSchema": {
        "properties": {
          "registry_code": {
            "description": "8-digit commercial register code",
            "title": "Registry Code",
            "type": "string"
          },
          "sections": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional extras: ships (open ship register entries, observed/historical owner entry in the register, may not be current owner; CC BY-SA 4.0; old snapshots empty), permits (source permit_type/permit_type_label, ET/EN/RU type labels, normalized comma-separated domains; missing facts null with not_in_source reasons; ET/EN/RU kind/status labels, date_basis distinguishes source validity dates from waste activity dates, source-status buckets; source presence is not permit validity; unavailable links are null), activities, grants (EU projects), history (company events), state_contracts (source contract type/subtype, ET/EN/RU glossary, status and dates; fee_amount with null currency/not_in_source, explicit year/month/interval/unknown denominator, excluding_vat and nullable VAT applicability; rkvr-contracts-1; never sum or annualise fees), financials (all years), tax_debt_history, distress_trend, de_minimis, successions (undirected legal links), peers (percentiles), procurement_wins (totals and dated award context), as_buyer (procedures, lots, ceilings by year, top suppliers, known-denominator single-tender share), former_ownership (observed organisation links), shared_board (company counts only), appointments (anonymous counts/dates). Default omits these and returns the page’s default annual report only. Named default cards are also valid: tax, state_aid, pledges, similar, licences, announcements, owners, holdings, report_status, distress. Naming one keeps that card.",
            "title": "Sections"
          }
        },
        "required": [
          "registry_code"
        ],
        "title": "get_companyArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of_basis": {
                  "type": "string",
                  "description": "As of basis. privacy._sources: compact source attribution; absent clocks are omitted."
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "found": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "profile": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "registry_code": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "legal_form": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "county": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "municipality": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "emtak_code": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "emtak_label": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "address": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "website": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "founded": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "capital": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "vat_number": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "is_active": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "size_band": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "financials": {
            "type": [
              "object",
              "array",
              "null"
            ],
            "additionalProperties": true,
            "properties": {
              "year": {
                "type": "integer",
                "description": "Year. queries_extra._financial_row: annual company accounts and source availability."
              },
              "report_basis": {
                "type": "string",
                "description": "Report basis. queries_extra._financial_row: annual company accounts and source availability."
              },
              "revenue": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Revenue. queries_extra._financial_row: annual company accounts and source availability. Null when the source value or applicable observation is unavailable."
              },
              "revenue_reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Revenue reason. queries_extra._financial_row: annual company accounts and source availability. Null when no missing-value, suppression or unavailability reason applies."
              },
              "net_profit": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Net profit. queries_extra._financial_row: annual company accounts and source availability. Null when the source value or applicable observation is unavailable."
              },
              "net_profit_reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Net profit reason. queries_extra._financial_row: annual company accounts and source availability. Null when no missing-value, suppression or unavailability reason applies."
              },
              "equity": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Equity. queries_extra._financial_row: annual company accounts and source availability. Null when the source value or applicable observation is unavailable."
              },
              "equity_reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Equity reason. queries_extra._financial_row: annual company accounts and source availability. Null when no missing-value, suppression or unavailability reason applies."
              },
              "total_assets": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Total assets. queries_extra._financial_row: annual company accounts and source availability. Null when the source value or applicable observation is unavailable."
              },
              "total_assets_reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Total assets reason. queries_extra._financial_row: annual company accounts and source availability. Null when no missing-value, suppression or unavailability reason applies."
              },
              "liabilities": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Liabilities. queries_extra._financial_row: annual company accounts and source availability. Null when the source value or applicable observation is unavailable."
              },
              "liabilities_reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Liabilities reason. queries_extra._financial_row: annual company accounts and source availability. Null when no missing-value, suppression or unavailability reason applies."
              },
              "employees_avg": {
                "type": [
                  "integer",
                  "null"
                ],
                "description": "Employees avg. queries_extra._financial_row: annual company accounts and source availability. Null when the source value or applicable observation is unavailable."
              },
              "employees_avg_reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Employees avg reason. queries_extra._financial_row: annual company accounts and source availability. Null when no missing-value, suppression or unavailability reason applies."
              },
              "filed_at": {
                "type": "null",
                "description": "Always null: this producer does not publish filing dates, even when an upstream record contains one."
              },
              "filed_at_reason": {
                "type": "string",
                "description": "Filed at reason. queries_extra._financial_row: annual company accounts and source availability."
              }
            },
            "items": {
              "type": "object",
              "properties": {
                "year": {
                  "type": "integer",
                  "description": "Year. queries_extra._financial_row: annual company accounts and source availability."
                },
                "report_basis": {
                  "type": "string",
                  "description": "Report basis. queries_extra._financial_row: annual company accounts and source availability."
                },
                "revenue": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Revenue. queries_extra._financial_row: annual company accounts and source availability. Null when the source value or applicable observation is unavailable."
                },
                "revenue_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Revenue reason. queries_extra._financial_row: annual company accounts and source availability. Null when no missing-value, suppression or unavailability reason applies."
                },
                "net_profit": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Net profit. queries_extra._financial_row: annual company accounts and source availability. Null when the source value or applicable observation is unavailable."
                },
                "net_profit_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Net profit reason. queries_extra._financial_row: annual company accounts and source availability. Null when no missing-value, suppression or unavailability reason applies."
                },
                "equity": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Equity. queries_extra._financial_row: annual company accounts and source availability. Null when the source value or applicable observation is unavailable."
                },
                "equity_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Equity reason. queries_extra._financial_row: annual company accounts and source availability. Null when no missing-value, suppression or unavailability reason applies."
                },
                "total_assets": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Total assets. queries_extra._financial_row: annual company accounts and source availability. Null when the source value or applicable observation is unavailable."
                },
                "total_assets_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Total assets reason. queries_extra._financial_row: annual company accounts and source availability. Null when no missing-value, suppression or unavailability reason applies."
                },
                "liabilities": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Liabilities. queries_extra._financial_row: annual company accounts and source availability. Null when the source value or applicable observation is unavailable."
                },
                "liabilities_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Liabilities reason. queries_extra._financial_row: annual company accounts and source availability. Null when no missing-value, suppression or unavailability reason applies."
                },
                "employees_avg": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "Employees avg. queries_extra._financial_row: annual company accounts and source availability. Null when the source value or applicable observation is unavailable."
                },
                "employees_avg_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Employees avg reason. queries_extra._financial_row: annual company accounts and source availability. Null when no missing-value, suppression or unavailability reason applies."
                },
                "filed_at": {
                  "type": "null",
                  "description": "Always null: this producer does not publish filing dates, even when an upstream record contains one."
                },
                "filed_at_reason": {
                  "type": "string",
                  "description": "Filed at reason. queries_extra._financial_row: annual company accounts and source availability."
                }
              },
              "additionalProperties": true
            }
          },
          "tax": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "year": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "quarter": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "taxes_paid": {
                  "description": "EMTA state taxes paid net of refunds, EUR per quarter. Separate from labour_taxes.",
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "taxes_paid_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "labour_taxes": {
                  "description": "EMTA paid income and social tax plus pension and unemployment insurance contributions, EUR per quarter; not a subset of taxes_paid.",
                  "type": [
                    "string",
                    "number",
                    "boolean",
                    "null"
                  ]
                },
                "labour_taxes_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "turnover": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "turnover_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "employee_count": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "employee_count_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "tax_debt": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "snapshot_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "debt_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "debt_amount_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "disputed_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "disputed_amount_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "scheduled_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "scheduled_amount_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "threshold_eur": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "on_list": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "schedule_end_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "schedule_end_date_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "left_censored": {
                "type": "boolean",
                "description": "True when first_seen is the retention boundary (tax_debt_history_start), so the first listing may be earlier. Not a claim of continuous listing: check episodes and events in tax_debt_history for clears and re-entries. The compact tax_debt view omits the key when false."
              },
              "first_seen": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "oldest_debt_date": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "state_aid": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "count": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "total_eur": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "latest": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "decision_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "provider": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "measure": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "amount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "amount_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "amount_unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "aid_form": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "legal_basis": {
                      "type": [
                        "string",
                        "number",
                        "boolean",
                        "null"
                      ]
                    },
                    "is_vta": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "status_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "context": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "description": "Kind. award_context.context: bounded dated award indicators."
                          },
                          "status": {
                            "type": "string",
                            "description": "Status. award_context.context: bounded dated award indicators."
                          },
                          "evidence": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "record": {
                                  "type": "string",
                                  "description": "Record. award_context.context: bounded dated award indicators."
                                },
                                "date": {
                                  "type": "string",
                                  "description": "Date. award_context.context: bounded dated award indicators."
                                },
                                "url": {
                                  "type": "string",
                                  "description": "Url. award_context.context: bounded dated award indicators."
                                }
                              },
                              "additionalProperties": true
                            },
                            "description": "Evidence. award_context.context: bounded dated award indicators."
                          },
                          "tax_debt": {
                            "type": "object",
                            "description": "Exact retained EMTA daily observation on the award date; absent when no matched observation exists. Amounts and dates are null under source suppression or when unavailable.",
                            "properties": {
                              "registry_code": {
                                "type": "string",
                                "description": "Registry code. From build_extra._copy_award_tax_observations, preserved by award_context.tax_context."
                              },
                              "date": {
                                "type": "string",
                                "description": "Date. From build_extra._copy_award_tax_observations, preserved by award_context.tax_context."
                              },
                              "unit": {
                                "type": "string",
                                "description": "Unit. From build_extra._copy_award_tax_observations, preserved by award_context.tax_context."
                              },
                              "amount_suppressed": {
                                "type": "integer",
                                "description": "Amount suppressed. From build_extra._copy_award_tax_observations, preserved by award_context.tax_context."
                              },
                              "debt_amount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Debt amount. From build_extra._copy_award_tax_observations, preserved by award_context.tax_context."
                              },
                              "disputed_amount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Disputed amount. From build_extra._copy_award_tax_observations, preserved by award_context.tax_context."
                              },
                              "scheduled_amount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Scheduled amount. From build_extra._copy_award_tax_observations, preserved by award_context.tax_context."
                              },
                              "schedule_end_date": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Schedule end date. From build_extra._copy_award_tax_observations, preserved by award_context.tax_context."
                              },
                              "oldest_debt_date": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Oldest debt date. From build_extra._copy_award_tax_observations, preserved by award_context.tax_context."
                              }
                            },
                            "additionalProperties": true
                          }
                        },
                        "additionalProperties": true
                      },
                      "description": "Context. award_context.context: bounded dated award indicators."
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "additionalProperties": true
          },
          "licences": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "number": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "activity": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "valid_from": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "valid_until": {
                  "type": [
                    "string",
                    "number",
                    "boolean",
                    "null"
                  ]
                },
                "inactive_at": {
                  "type": [
                    "string",
                    "number",
                    "boolean",
                    "null"
                  ]
                },
                "source_present": {
                  "type": [
                    "boolean",
                    "null"
                  ],
                  "description": "Source present. queries_extra._licences: source licence observations, not proof of validity. Null when the source value or applicable observation is unavailable."
                },
                "source_status": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Source status. queries_extra._licences: source licence observations, not proof of validity. Null when the source value or applicable observation is unavailable."
                },
                "domain": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Domain. queries_extra._licences: source licence observations, not proof of validity. Null when the source value or applicable observation is unavailable."
                }
              },
              "additionalProperties": true
            }
          },
          "announcements": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "publication_date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "category": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "kind": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "is_current_risk": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                }
              }
            }
          },
          "owners": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "registry_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "country_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "foreign": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "participation_pct": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "participation_pct_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "participation_pct_unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "signals": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "$ref": "#/$defs/RelatedSignal"
                  },
                  "description": "Adverse dated company facts; empty means no observed signals, null means unavailable. Not a credit decision."
                }
              }
            }
          },
          "holdings": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "registry_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "country": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "country_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "foreign": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "participation_pct": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "participation_pct_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "participation_pct_unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "signals": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "$ref": "#/$defs/RelatedSignal"
                  },
                  "description": "Adverse dated company facts; empty means no observed signals, null means unavailable. Not a credit decision."
                }
              },
              "additionalProperties": true
            }
          },
          "similar": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "registry_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "emtak_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "county": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "employees": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "employees_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "revenue": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "revenue_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "revenue_unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "report_status": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "latest_year": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "latest_year_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "filed": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "next_due": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "overdue_days": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "overdue_days_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "permits": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "kind": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "number": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "valid_from": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "valid_until": {
                  "type": [
                    "string",
                    "number",
                    "boolean",
                    "null"
                  ]
                },
                "kind_labels": {
                  "type": "object",
                  "properties": {
                    "et": {
                      "type": "string"
                    },
                    "en": {
                      "type": "string"
                    },
                    "ru": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "status_labels": {
                  "type": "object",
                  "properties": {
                    "et": {
                      "type": "string"
                    },
                    "en": {
                      "type": "string"
                    },
                    "ru": {
                      "type": "string"
                    }
                  },
                  "additionalProperties": false
                },
                "status_bucket": {
                  "type": "string",
                  "enum": [
                    "current",
                    "archived",
                    "unknown"
                  ]
                },
                "source_present": {
                  "type": "boolean"
                },
                "validity": {
                  "type": "string",
                  "enum": [
                    "unknown"
                  ]
                },
                "date_basis": {
                  "type": "string",
                  "enum": [
                    "source_validity",
                    "activity"
                  ],
                  "description": "Basis of valid_from/valid_until: source validity dates for permit/emission, activity dates for waste. Legal validity remains unknown."
                },
                "permit_type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "permit_type_reason": {
                  "enum": [
                    null,
                    "not_in_source"
                  ]
                },
                "permit_type_label": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "permit_type_label_reason": {
                  "enum": [
                    null,
                    "not_in_source"
                  ]
                },
                "domains": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "domains_reason": {
                  "enum": [
                    null,
                    "not_in_source"
                  ]
                },
                "permit_type_labels": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "et": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "en": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "ru": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "et",
                    "en",
                    "ru"
                  ],
                  "additionalProperties": false
                }
              },
              "additionalProperties": true,
              "required": [
                "domains",
                "domains_reason",
                "permit_type",
                "permit_type_label",
                "permit_type_label_reason",
                "permit_type_labels",
                "permit_type_reason"
              ]
            }
          },
          "permits_total": {
            "type": [
              "number",
              "null"
            ]
          },
          "activities": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "emtak_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "label": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "is_primary": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "activities_total": {
            "type": [
              "number",
              "null"
            ]
          },
          "grants": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "provider": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "amount": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "amount_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "grants_total": {
            "type": [
              "number",
              "null"
            ]
          },
          "history": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "kind": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "detail": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "history_total": {
            "type": [
              "number",
              "null"
            ]
          },
          "state_contracts": {
            "type": "object",
            "properties": {
              "rows": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "contract_code": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "role": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "valid_from": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "valid_until": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "role_labels": {
                      "type": "object",
                      "properties": {
                        "et": {
                          "type": "string"
                        },
                        "en": {
                          "type": "string"
                        },
                        "ru": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    "status_labels": {
                      "type": "object",
                      "properties": {
                        "et": {
                          "type": "string"
                        },
                        "en": {
                          "type": "string"
                        },
                        "ru": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    },
                    "status_bucket": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "valid_from_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "valid_until_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "fee_amount": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Current source fee excluding VAT; not a whole-contract total. Never sum or annualise."
                    },
                    "fee_currency": {
                      "type": "null"
                    },
                    "fee_currency_reason": {
                      "const": "not_in_source"
                    },
                    "fee_period": {
                      "enum": [
                        "year",
                        "month",
                        "interval",
                        "unknown"
                      ],
                      "description": "Fee denominator; interval boundaries are unknown. Missing/new source codes are unknown."
                    },
                    "fee_vat_basis": {
                      "const": "excluding_vat"
                    },
                    "vat_applicable": {
                      "type": [
                        "boolean",
                        "null"
                      ],
                      "description": "Source VAT applicability assertion; false is not a legal tax-exemption finding."
                    },
                    "semantics_version": {
                      "const": "rkvr-contracts-1"
                    },
                    "contract_type": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contract_type_label": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contract_subtype": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "concluded_on": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "ended_on": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "concluded_on_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "ended_on_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "contract_type_labels": {
                      "type": "object",
                      "properties": {
                        "et": {
                          "type": "string"
                        },
                        "en": {
                          "type": "string"
                        },
                        "ru": {
                          "type": "string"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "additionalProperties": true
                }
              },
              "total": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "truncated": {
                "type": "boolean"
              }
            },
            "additionalProperties": true
          },
          "financials_total": {
            "type": [
              "number",
              "null"
            ]
          },
          "tax_debt_history": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "on_list": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "first_seen": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "last_seen": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "days_on_list": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "episodes": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "peak_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "peak_amount_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "oldest_debt_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "clear_absences": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "series": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "debt_amount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                }
              },
              "events": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "kind": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "amount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "previous_amount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                }
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "threshold_eur": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "left_censored": {
                "type": "boolean",
                "description": "True when first_seen is the retention boundary (tax_debt_history_start), so the first listing may be earlier. Not a claim of continuous listing: check episodes and events in tax_debt_history for clears and re-entries. The compact tax_debt view omits the key when false."
              },
              "series_total": {
                "type": "integer",
                "description": "Series total. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata."
              },
              "truncated": {
                "type": "boolean",
                "description": "Truncated. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata."
              }
            },
            "additionalProperties": true
          },
          "tax_debt_history_total": {
            "type": [
              "number",
              "null"
            ]
          },
          "distress_trend": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "score": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "score_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "score_unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "risk_level": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "calculated_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "rise_threshold": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "history": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true,
                  "properties": {
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "score": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "risk_level": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "methodology_change": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "1.2 marks the 2026-10-03 methodology rollout; not a business recovery or deterioration."
                    },
                    "calculated_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": "string",
                      "description": "Unit. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                    }
                  }
                }
              },
              "events": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true,
                  "properties": {
                    "kind": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "score": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "previous_score": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "delta": {
                      "type": "integer",
                      "description": "Delta. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                    },
                    "risk_level": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Risk level. queries_extra._distress_rising_events and distress_reasons: persisted score observations. Null when the source value or applicable observation is unavailable."
                    },
                    "unit": {
                      "type": "string",
                      "description": "Unit. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                    }
                  }
                }
              },
              "methodology_version": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "history_total": {
                "type": "integer",
                "description": "History total. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
              },
              "truncated": {
                "type": "boolean",
                "description": "Truncated. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
              },
              "events_total": {
                "type": "integer",
                "description": "Events total. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
              }
            },
            "additionalProperties": true
          },
          "distress_trend_total": {
            "type": [
              "number",
              "null"
            ]
          },
          "de_minimis": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "sum_3y": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "sum_3y_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "cap": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "remaining": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "window_start": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "window_end": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "decisions": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "indicative": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "regulation": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "regulation_url": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "categories": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "kind": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "sum_3y": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "sum_3y_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "cap": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "remaining": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "decisions": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "regulation": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "regulation_url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "additionalProperties": true
          },
          "de_minimis_total": {
            "type": [
              "number",
              "null"
            ]
          },
          "successions": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "relation": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "counterpart_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "counterpart_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "successions_total": {
            "type": [
              "number",
              "null"
            ]
          },
          "peers": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "group": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "emtak": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "county": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "year": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "n": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "suppressed": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  }
                },
                "additionalProperties": true
              },
              "metrics": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "revenue": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "p25": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "p50": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "p75": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "n": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "suppressed": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "pct": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "pct_reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "period": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "employees": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "p25": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "p50": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "p75": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "n": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "suppressed": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "pct": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "pct_reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "period": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "net_profit": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "p25": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "p50": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "p75": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "n": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "suppressed": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "pct": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "pct_reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "period": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "equity": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "p25": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "p50": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "p75": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "n": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "suppressed": {
                        "type": [
                          "boolean",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "pct": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "pct_reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "period": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          },
          "procurement_wins": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "properties": {
              "available": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "dedupe_key": {
                "type": [
                  "string",
                  "array",
                  "object",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "number",
                    "null"
                  ]
                },
                "additionalProperties": true
              },
              "value_note": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "win_count": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "value_eur": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "value_eur_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "value_unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "last_award_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "framework_count": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "framework_flag_note": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "tenders_known_count": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "shared_multi_winner": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": true
              },
              "by_year": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true
                }
              },
              "by_year_total": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "top_buyers": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true
                }
              },
              "top_buyers_total": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "flags": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": true
              },
              "state_dependence": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": true,
                "properties": {
                  "rows": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": true
                    }
                  },
                  "rows_total": {
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "explanation": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                }
              },
              "group_totals": {
                "type": [
                  "object",
                  "null"
                ],
                "additionalProperties": true,
                "properties": {
                  "subsidiaries": {
                    "type": [
                      "array",
                      "null"
                    ],
                    "items": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": true
                    }
                  },
                  "subsidiaries_total": {
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                }
              },
              "award_context": {
                "type": "object",
                "additionalProperties": true,
                "properties": {
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "properties": {
                        "notice_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "lot_id": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "award_date": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "rhr_reference": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "url": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "context": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": true
                          }
                        }
                      }
                    }
                  },
                  "rows_total": {
                    "type": "integer"
                  },
                  "truncated": {
                    "type": "boolean"
                  },
                  "note": {
                    "type": "string"
                  }
                }
              }
            }
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "pledges": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "properties": {
              "present": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "pledge_count": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "total_amount_eur": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "total_amount_eur_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "latest_start_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "latest_start_date_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "note": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "majority_foreign_owned": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "unnamed_foreign_owner_count": {
            "type": [
              "integer",
              "null"
            ]
          },
          "owners_coverage": {
            "type": [
              "string",
              "null"
            ],
            "description": "not_in_source_securities_register when an Aktsiaselts or European company (SE) has no owner edges: shareholders are in the Nasdaq CSD securities register, not Business Register open data. Omitted otherwise."
          },
          "owners_coverage_note": {
            "type": [
              "string",
              "null"
            ],
            "description": "Sentence explaining owners_coverage. Omitted when owners_coverage is omitted."
          },
          "distress": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "risk_level": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "score": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "score_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "score_unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "calculated_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "components": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "tax_debt": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "financial_health": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "board_churn": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "insolvency_announcements": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "license_loss": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "additionalProperties": false
              },
              "methodology_version": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reasons": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "component": {
                      "type": "string",
                      "description": "Component. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                    },
                    "contribution": {
                      "type": "integer",
                      "description": "Contribution. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                    },
                    "event": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "previous_score": {
                          "type": "integer",
                          "description": "Previous score. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                        },
                        "detected_at": {
                          "type": "string",
                          "description": "Detected at. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                        }
                      },
                      "additionalProperties": true,
                      "description": "Event. queries_extra._distress_rising_events and distress_reasons: persisted score observations. Null when the source value or applicable observation is unavailable."
                    }
                  },
                  "additionalProperties": true
                },
                "description": "Reasons. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
              },
              "reasons_total": {
                "type": "integer",
                "description": "Reasons total. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
              },
              "note": {
                "type": "string",
                "description": "Note. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
              },
              "truncated": {
                "type": "boolean",
                "description": "Truncated. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
              }
            },
            "additionalProperties": true
          },
          "ships": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "properties": {
                "register_number": {
                  "type": "string",
                  "description": "Register number. ships.ships_payload: historical register entries, not verified current ownership."
                },
                "entry_number": {
                  "type": "string",
                  "description": "Entry number. ships.ships_payload: historical register entries, not verified current ownership."
                },
                "effective_start": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Effective start. ships.ships_payload: historical register entries, not verified current ownership. Null when the source value or applicable observation is unavailable."
                },
                "source_version": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Source version. ships.ships_payload: historical register entries, not verified current ownership. Null when the source value or applicable observation is unavailable."
                },
                "source_current": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "Source current. ships.ships_payload: historical register entries, not verified current ownership. Null when the source value or applicable observation is unavailable."
                },
                "owner_observed_at": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Owner observed at. ships.ships_payload: historical register entries, not verified current ownership. Null when the source value or applicable observation is unavailable."
                },
                "owner_inactive_at": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Owner inactive at. ships.ships_payload: historical register entries, not verified current ownership. Null when the source value or applicable observation is unavailable."
                },
                "vessel_type": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Vessel type. ships.ships_payload: historical register entries, not verified current ownership. Null when the source value or applicable observation is unavailable."
                },
                "use_type": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Use type. ships.ships_payload: historical register entries, not verified current ownership. Null when the source value or applicable observation is unavailable."
                },
                "build_year": {
                  "type": [
                    "integer",
                    "null"
                  ],
                  "description": "Build year. ships.ships_payload: historical register entries, not verified current ownership. Null when the source value or applicable observation is unavailable."
                },
                "gross_tonnage": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Gross tonnage. ships.ships_payload: historical register entries, not verified current ownership. Null when the source value or applicable observation is unavailable."
                },
                "net_tonnage": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Net tonnage. ships.ships_payload: historical register entries, not verified current ownership. Null when the source value or applicable observation is unavailable."
                },
                "home_port": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Home port. ships.ships_payload: historical register entries, not verified current ownership. Null when the source value or applicable observation is unavailable."
                },
                "registry_status": {
                  "type": "string",
                  "description": "Registry status. ships.ships_payload: historical register entries, not verified current ownership."
                },
                "registry_observed_at": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Registry observed at. ships.ships_payload: historical register entries, not verified current ownership. Null when the source value or applicable observation is unavailable."
                },
                "current_ownership": {
                  "type": "string",
                  "description": "Current ownership. ships.ships_payload: historical register entries, not verified current ownership."
                },
                "owner_entry_status": {
                  "type": "string",
                  "description": "Owner entry status. ships.ships_payload: historical register entries, not verified current ownership."
                },
                "url": {
                  "type": "string",
                  "description": "Url. ships.ships_payload: historical register entries, not verified current ownership."
                },
                "url_basis": {
                  "type": "string",
                  "description": "Url basis. ships.ships_payload: historical register entries, not verified current ownership."
                }
              }
            }
          },
          "ships_total": {
            "type": "integer"
          },
          "ships_status": {
            "type": "string"
          },
          "ships_note": {
            "type": "string"
          },
          "as_buyer": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Public legal-entity buying across all retained history; registered seat, not delivery location. Old snapshots return null.",
            "properties": {
              "notice_count": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Retained notice count for matched legal buyers."
              },
              "procedure_count": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Distinct unambiguous folders."
              },
              "lot_count": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Observed latest-revision folder/lot pairs with a legal-entity winner."
              },
              "tenders_known_n": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Lots with a consistent known non-negative integer tender count."
              },
              "tenders_unknown_n": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Lots with missing or conflicting tender counts."
              },
              "single_tender_n": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Known lots with exactly one tender."
              },
              "single_tender_share": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "single_tender_n / tenders_known_n; null if denominator is zero."
              },
              "ceiling_eur": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Sum of consistent known lot ceilings, not expenditure."
              },
              "ceiling_known_n": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Lots contributing a known ceiling, including zero."
              },
              "shared_or_unknown_winner_lots": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Lots not attributable to exactly one joined legal-entity winner."
              },
              "geography_basis": {
                "type": "string",
                "const": "registered_seat"
              },
              "note": {
                "type": "string"
              },
              "coverage": {
                "type": "object",
                "additionalProperties": true
              },
              "truncated": {
                "type": "boolean"
              },
              "county": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "by_year": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "lot_count": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Observed latest-revision folder/lot pairs with a legal-entity winner."
                    },
                    "tenders_known_n": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Lots with a consistent known non-negative integer tender count."
                    },
                    "tenders_unknown_n": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Lots with missing or conflicting tender counts."
                    },
                    "single_tender_n": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Known lots with exactly one tender."
                    },
                    "single_tender_share": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "single_tender_n / tenders_known_n; null if denominator is zero."
                    },
                    "ceiling_eur": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Sum of consistent known lot ceilings, not expenditure."
                    },
                    "ceiling_known_n": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Lots contributing a known ceiling, including zero."
                    },
                    "shared_or_unknown_winner_lots": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Lots not attributable to exactly one joined legal-entity winner."
                    },
                    "year": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Award year; null is unknown."
                    }
                  }
                }
              },
              "by_year_total": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Full number of year groups."
              },
              "top_suppliers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "registry_code": {
                      "type": "string",
                      "pattern": "^[0-9]{8}$"
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "lot_count": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Single-winner lots only."
                    },
                    "ceiling_eur": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Known single-winner ceilings only."
                    },
                    "ceiling_known_n": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Lots with a known ceiling."
                    }
                  }
                }
              },
              "top_suppliers_total": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Full supplier count before preview/envelope cap."
              },
              "procedures": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "procedure_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "notice_id": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "issue_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "url": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "rhr_reference": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  }
                }
              },
              "procedures_total": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "Full procedure count before preview/envelope cap."
              }
            }
          },
          "board": {
            "type": "object",
            "additionalProperties": true,
            "description": "Current officers of one company. status published means the company is in scope: members lists current officers and may be empty. status not_published means an excluded legal form, an Article 21 objection, or a snapshot without board_current; members is then empty and does not mean the board is empty. Not an opt-in section. The response budget does not trim members.",
            "properties": {
              "status": {
                "type": "string",
                "enum": [
                  "published",
                  "not_published"
                ],
                "description": "published: in-scope company, and members is the current board, possibly empty. not_published: names are withheld or unavailable."
              },
              "members": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "person_name": {
                      "type": "string"
                    },
                    "role": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "role_code": {
                      "type": "string"
                    },
                    "start_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "person_name",
                    "role",
                    "role_code",
                    "start_date"
                  ]
                }
              }
            },
            "required": [
              "status",
              "members"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "sanctions_s1": {
            "anyOf": [
              {
                "additionalProperties": false,
                "properties": {
                  "registry_code": {
                    "pattern": "^[0-9]{8}$",
                    "title": "Registry Code",
                    "type": "string"
                  },
                  "status": {
                    "const": "available",
                    "title": "Status",
                    "type": "string"
                  },
                  "checked_at": {
                    "title": "Checked At",
                    "type": "string"
                  },
                  "valid_until": {
                    "title": "Valid Until",
                    "type": "string"
                  },
                  "sources": {
                    "items": {
                      "$ref": "#/$defs/S1SourceObservation"
                    },
                    "maxItems": 3,
                    "minItems": 3,
                    "title": "Sources",
                    "type": "array"
                  },
                  "entries": {
                    "items": {
                      "$ref": "#/$defs/S1PublicEntry"
                    },
                    "maxItems": 20,
                    "title": "Entries",
                    "type": "array"
                  }
                },
                "required": [
                  "registry_code",
                  "status",
                  "checked_at",
                  "valid_until",
                  "sources",
                  "entries"
                ],
                "title": "S1PublicEvidence",
                "type": "object"
              },
              {
                "additionalProperties": false,
                "properties": {
                  "status": {
                    "const": "unavailable",
                    "title": "Status",
                    "type": "string"
                  }
                },
                "required": [
                  "status"
                ],
                "title": "S1Unavailable",
                "type": "object"
              }
            ],
            "description": "Optional default-off S1 evidence. Complete fresh EU/UK/OFAC evaluation, not a clean/unsanctioned finding. Literal source copies and ET/EN context stay together; the entire block is omitted when the envelope cannot hold it."
          },
          "shared_board": {
            "type": "object",
            "properties": {
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "registry_code": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "shared_member_count": {
                      "type": "integer"
                    },
                    "signals": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "$ref": "#/$defs/RelatedSignal"
                      },
                      "description": "Adverse dated company facts; empty means no observed signals, null means unavailable. Not a credit decision."
                    }
                  }
                }
              },
              "total": {
                "type": "integer"
              },
              "truncated": {
                "type": "boolean"
              },
              "note": {
                "type": "string"
              }
            }
          },
          "appointments": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "appointment_count": {
                "type": "integer",
                "description": "Appointment count. queries_extra.management_appointments_payload: observed management appointment summary."
              },
              "latest_start_date": {
                "type": "string",
                "description": "Latest start date. queries_extra.management_appointments_payload: observed management appointment summary."
              },
              "period_start": {
                "type": "string",
                "description": "Period start. queries_extra.management_appointments_payload: observed management appointment summary."
              },
              "as_of": {
                "type": "string",
                "description": "As of. queries_extra.management_appointments_payload: observed management appointment summary."
              },
              "note": {
                "type": "string",
                "description": "Note. queries_extra.management_appointments_payload: observed management appointment summary."
              }
            },
            "additionalProperties": true,
            "description": "Optional anonymous non-founding management appointment counts and dates; null when unavailable. No person data."
          },
          "former_ownership": {
            "type": "object",
            "properties": {
              "former_owners": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "registry_code": {
                      "type": "string",
                      "description": "Registry code. former_ownership.former_ownership_payload: observed domestic organisation links."
                    },
                    "name": {
                      "type": "string",
                      "description": "Name. former_ownership.former_ownership_payload: observed domestic organisation links."
                    },
                    "participation_pct": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Participation pct. former_ownership.former_ownership_payload: observed domestic organisation links. Null when the source value or applicable observation is unavailable."
                    },
                    "last_seen_at": {
                      "type": "string",
                      "description": "Last seen at. former_ownership.former_ownership_payload: observed domestic organisation links."
                    },
                    "inactive_at": {
                      "type": "string",
                      "description": "Inactive at. former_ownership.former_ownership_payload: observed domestic organisation links."
                    },
                    "foreign": {
                      "type": "integer",
                      "description": "Foreign. former_ownership.former_ownership_payload: observed domestic organisation links."
                    },
                    "country": {
                      "type": "null",
                      "description": "Always null: this projection joins domestic registered organisations and emits no country value."
                    }
                  },
                  "additionalProperties": true
                },
                "description": "Former owners. former_ownership.former_ownership_payload: observed domestic organisation links."
              },
              "former_owners_truncated": {
                "type": "boolean",
                "description": "Former owners truncated. former_ownership.former_ownership_payload: observed domestic organisation links."
              },
              "former_holdings": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "registry_code": {
                      "type": "string",
                      "description": "Registry code. former_ownership.former_ownership_payload: observed domestic organisation links."
                    },
                    "name": {
                      "type": "string",
                      "description": "Name. former_ownership.former_ownership_payload: observed domestic organisation links."
                    },
                    "participation_pct": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Participation pct. former_ownership.former_ownership_payload: observed domestic organisation links. Null when the source value or applicable observation is unavailable."
                    },
                    "last_seen_at": {
                      "type": "string",
                      "description": "Last seen at. former_ownership.former_ownership_payload: observed domestic organisation links."
                    },
                    "inactive_at": {
                      "type": "string",
                      "description": "Inactive at. former_ownership.former_ownership_payload: observed domestic organisation links."
                    },
                    "foreign": {
                      "type": "integer",
                      "description": "Foreign. former_ownership.former_ownership_payload: observed domestic organisation links."
                    },
                    "country": {
                      "type": "null",
                      "description": "Always null: this projection joins domestic registered organisations and emits no country value."
                    }
                  },
                  "additionalProperties": true
                },
                "description": "Former holdings. former_ownership.former_ownership_payload: observed domestic organisation links."
              },
              "former_holdings_truncated": {
                "type": "boolean",
                "description": "Former holdings truncated. former_ownership.former_ownership_payload: observed domestic organisation links."
              },
              "note": {
                "type": "string",
                "description": "Note. former_ownership.former_ownership_payload: observed domestic organisation links."
              },
              "truncated": {
                "type": "boolean",
                "description": "Truncated. former_ownership.former_ownership_payload: observed domestic organisation links."
              }
            },
            "additionalProperties": true,
            "description": "Optional former legal-entity ownership observations in both directions. Dates are observations, not legal transfer dates."
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "get_companyOutput",
        "$defs": {
          "S1Display": {
            "additionalProperties": false,
            "properties": {
              "et": {
                "title": "Et",
                "type": "string"
              },
              "en": {
                "title": "En",
                "type": "string"
              }
            },
            "required": [
              "et",
              "en"
            ],
            "title": "S1Display",
            "type": "object"
          },
          "S1PublicEntry": {
            "additionalProperties": false,
            "properties": {
              "source": {
                "enum": [
                  "eu",
                  "uk",
                  "ofac"
                ],
                "title": "Source",
                "type": "string"
              },
              "source_name": {
                "maxLength": 200,
                "title": "Source Name",
                "type": "string"
              },
              "source_entry_id": {
                "maxLength": 100,
                "title": "Source Entry Id",
                "type": "string"
              },
              "source_url": {
                "maxLength": 2048,
                "title": "Source Url",
                "type": "string"
              },
              "source_publication_at": {
                "maxLength": 200,
                "title": "Source Publication At",
                "type": "string"
              },
              "retrieved_at": {
                "title": "Retrieved At",
                "type": "string"
              },
              "source_digest": {
                "pattern": "^[0-9a-f]{64}$",
                "title": "Source Digest",
                "type": "string"
              },
              "source_name_original": {
                "maxLength": 240,
                "title": "Source Name Original",
                "type": "string"
              },
              "registry_code": {
                "pattern": "^[0-9]{8}$",
                "title": "Registry Code",
                "type": "string"
              },
              "source_excerpt": {
                "maxLength": 4096,
                "title": "Source Excerpt",
                "type": "string"
              },
              "source_locator": {
                "maxLength": 100,
                "title": "Source Locator",
                "type": "string"
              },
              "artifact_id": {
                "pattern": "^[0-9a-f]{64}$",
                "title": "Artifact Id",
                "type": "string"
              },
              "artifact_sha256": {
                "pattern": "^[0-9a-f]{64}$",
                "title": "Artifact Sha256",
                "type": "string"
              },
              "licence": {
                "maxLength": 200,
                "title": "Licence",
                "type": "string"
              },
              "licence_url": {
                "maxLength": 2048,
                "title": "Licence Url",
                "type": "string"
              },
              "attribution": {
                "maxLength": 1000,
                "title": "Attribution",
                "type": "string"
              },
              "copy_url": {
                "pattern": "^https://arikratt\\.ee/api/v1/explorer/sanctions-source/[0-9a-f]{64}$",
                "title": "Copy Url",
                "type": "string"
              },
              "display": {
                "$ref": "#/$defs/S1Display"
              }
            },
            "required": [
              "source",
              "source_name",
              "source_entry_id",
              "source_url",
              "source_publication_at",
              "retrieved_at",
              "source_digest",
              "source_name_original",
              "registry_code",
              "source_excerpt",
              "source_locator",
              "artifact_id",
              "artifact_sha256",
              "licence",
              "licence_url",
              "attribution",
              "copy_url",
              "display"
            ],
            "title": "S1PublicEntry",
            "type": "object"
          },
          "S1SourceObservation": {
            "additionalProperties": false,
            "properties": {
              "source": {
                "enum": [
                  "eu",
                  "uk",
                  "ofac"
                ],
                "title": "Source",
                "type": "string"
              },
              "source_digest": {
                "pattern": "^[0-9a-f]{64}$",
                "title": "Source Digest",
                "type": "string"
              },
              "checked_at": {
                "title": "Checked At",
                "type": "string"
              }
            },
            "required": [
              "source",
              "source_digest",
              "checked_at"
            ],
            "title": "S1SourceObservation",
            "type": "object"
          },
          "RelatedSignal": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "kind",
              "as_of",
              "source"
            ],
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "status",
                  "tax_debt",
                  "bankruptcy",
                  "liquidation",
                  "report_overdue",
                  "distress_high"
                ]
              },
              "as_of": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "source": {
                "type": "string",
                "enum": [
                  "RIK",
                  "EMTA",
                  "Ametlikud Teadaanded",
                  "Koond"
                ]
              },
              "status": {
                "type": "string"
              },
              "amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "days": {
                "type": "integer"
              }
            }
          }
        }
      },
      "annotations": {
        "title": "Company profile",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "check_counterparty",
      "title": "Check a counterparty",
      "description": "Check one legal entity: status, tax debt, last filed report, overdue days, dated insolvency and enforcement notices, and distress components with evidence and methodology version. on_list false means not on the EMTA debt list ≥100 € as of snapshot_date. Unknown applies only when that list was not observed and is undated. Distress is an indicator, not a finding or credit decision. Use get_company for the wider financial profile, or risk_signals to scan companies for one signal. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "registry_code": {
            "description": "8-digit commercial register code",
            "title": "Registry Code",
            "type": "string"
          }
        },
        "required": [
          "registry_code"
        ],
        "title": "check_counterpartyArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of_basis": {
                  "type": "string",
                  "description": "As of basis. privacy._sources: compact source attribution; absent clocks are omitted."
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "found": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "name": {
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "type": [
              "string",
              "null"
            ]
          },
          "legal_form": {
            "type": [
              "string",
              "null"
            ]
          },
          "tax_debt": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "snapshot_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "debt_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "debt_amount_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "disputed_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "disputed_amount_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "scheduled_amount": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "scheduled_amount_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "threshold_eur": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "on_list": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "schedule_end_date": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "schedule_end_date_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "left_censored": {
                "type": "boolean",
                "description": "True when first_seen is the retention boundary (tax_debt_history_start), so the first listing may be earlier. Not a claim of continuous listing: check episodes and events in tax_debt_history for clears and re-entries. The compact tax_debt view omits the key when false."
              },
              "first_seen": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "oldest_debt_date": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "report": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "latest_year": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "latest_year_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "filed": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "next_due": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "overdue_days": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "overdue_days_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "insolvency_announcements": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "kind": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "publication_date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "category": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "type_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "distress": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "risk_level": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "score": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "score_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "score_unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "calculated_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "components": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {
                  "tax_debt": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "financial_health": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "board_churn": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "insolvency_announcements": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  },
                  "license_loss": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "properties": {
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      },
                      "unit": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "reason": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "additionalProperties": false
              },
              "methodology_version": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reasons": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "component": {
                      "type": "string",
                      "description": "Component. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                    },
                    "contribution": {
                      "type": "integer",
                      "description": "Contribution. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                    },
                    "event": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "previous_score": {
                          "type": "integer",
                          "description": "Previous score. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                        },
                        "detected_at": {
                          "type": "string",
                          "description": "Detected at. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                        }
                      },
                      "additionalProperties": true,
                      "description": "Event. queries_extra._distress_rising_events and distress_reasons: persisted score observations. Null when the source value or applicable observation is unavailable."
                    }
                  },
                  "additionalProperties": true
                },
                "description": "Reasons. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
              },
              "reasons_total": {
                "type": "integer",
                "description": "Reasons total. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
              },
              "note": {
                "type": "string",
                "description": "Note. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
              }
            },
            "additionalProperties": true
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "flags": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "properties": {
              "bankruptcy": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "liquidation": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "restructuring": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "enforcement": {
                "type": [
                  "boolean",
                  "null"
                ]
              }
            }
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "check_counterpartyOutput"
      },
      "annotations": {
        "title": "Check a counterparty",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "funding_overview",
      "title": "Funding overview",
      "description": "European Union funding allocations from active source project-key records by period, fund and period, programme, implementing body and project region, plus the top 20 verified legal-entity beneficiaries. Private, redacted and unmatched recipients appear only in aggregates. Missing regions remain null; project geography is not legal seat. Intermediary status is unknown. Awarded support, project budget, co-financing and paid project costs have separate coverage counts; paid cost is not support paid; no absorption ratio is available. State Shared Service Centre (RTK) attribution accompanies results. Truncated lists retain totals; older snapshots return available=false. Use open_calls for opportunities or get_company for company grants. Do not look up natural persons.",
      "inputSchema": {
        "properties": {},
        "title": "funding_overviewArguments",
        "type": "object"
      },
      "outputSchema": {
        "title": "funding_overviewOutput",
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer",
          "available",
          "totals"
        ],
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "available": {
            "type": "boolean"
          },
          "totals": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true
          },
          "coverage": {
            "type": "object",
            "additionalProperties": true
          },
          "absorption": {
            "type": "null"
          },
          "absorption_reason": {
            "type": "string"
          },
          "universe": {
            "type": "string"
          },
          "periods": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "periods_total": {
            "type": "integer"
          },
          "funds": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "funds_total": {
            "type": "integer"
          },
          "programmes": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "programmes_total": {
            "type": "integer"
          },
          "implementing_bodies": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "implementing_bodies_total": {
            "type": "integer"
          },
          "regions": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "regions_total": {
            "type": "integer"
          },
          "beneficiaries": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true
            }
          },
          "beneficiaries_total": {
            "type": "integer"
          }
        }
      },
      "annotations": {
        "title": "Funding overview",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "compare_companies",
      "title": "Compare companies",
      "description": "Compare up to four legal entities for one year: accounts, tax debt, distress and revenue percentile. on_list false with snapshot_date means not on the EMTA debt list ≥100 € as of that date. Unknown applies only when the list was not observed; a missing tax_debt object is undated and is not absence. Use find_companies to discover codes, or sector_stats for industry medians. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "registry_codes": {
            "description": "One to four 8-digit registry codes",
            "items": {
              "type": "string"
            },
            "maxItems": 4,
            "minItems": 1,
            "title": "Registry Codes",
            "type": "array"
          },
          "year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Financial year. Defaults to the snapshot year.",
            "title": "Year"
          }
        },
        "required": [
          "registry_codes"
        ],
        "title": "compare_companiesArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of_basis": {
                  "type": "string",
                  "description": "As of basis. privacy._sources: compact source attribution; absent clocks are omitted."
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "year": {
            "type": [
              "number",
              "null"
            ]
          },
          "partial": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "companies": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "registry_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "county": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "emtak_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "emtak_label": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "founded": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "year": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "metrics": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "revenue": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "revenue_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "net_profit": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "equity": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "total_assets": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "employees_avg": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "unit_revenue": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "period": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                },
                "tax_debt": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "snapshot_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "debt_amount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "debt_amount_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "disputed_amount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "disputed_amount_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "scheduled_amount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "scheduled_amount_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "threshold_eur": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "on_list": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "first_seen": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "last_seen": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "days_on_list": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "episodes": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "peak_amount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "peak_amount_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "oldest_debt_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "clear_absences": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "series": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "additionalProperties": true,
                        "properties": {
                          "date": {
                            "type": "string",
                            "description": "Date. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata."
                          },
                          "debt_amount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Debt amount. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."
                          },
                          "unit": {
                            "type": "string",
                            "description": "Unit. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata."
                          }
                        }
                      }
                    },
                    "events": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "additionalProperties": true
                      }
                    },
                    "schedule_end_date": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "schedule_end_date_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "left_censored": {
                      "type": "boolean",
                      "description": "True when first_seen is the retention boundary (tax_debt_history_start), so the first listing may be earlier. Not a claim of continuous listing: check episodes and events in tax_debt_history for clears and re-entries. The full comparison tax_debt view includes the key when false."
                    }
                  },
                  "additionalProperties": true
                },
                "distress": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "score": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "score_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "score_unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "risk_level": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "calculated_at": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "components": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "properties": {
                        "tax_debt": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "value": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "unit": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "reason": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": true
                        },
                        "financial_health": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "value": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "unit": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "reason": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": true
                        },
                        "board_churn": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "value": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "unit": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "reason": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": true
                        },
                        "insolvency_announcements": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "value": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "unit": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "reason": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": true
                        },
                        "license_loss": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "properties": {
                            "value": {
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "unit": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "reason": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "additionalProperties": true
                        }
                      },
                      "additionalProperties": true
                    },
                    "history": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "additionalProperties": true,
                        "properties": {
                          "date": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "score": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "risk_level": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "events": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "additionalProperties": true,
                        "properties": {
                          "kind": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "date": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "score": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "previous_score": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        }
                      }
                    },
                    "rise_threshold": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "reasons": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "component": {
                            "type": "string",
                            "description": "Component. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                          },
                          "contribution": {
                            "type": "integer",
                            "description": "Contribution. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                          },
                          "event": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "properties": {
                              "previous_score": {
                                "type": "integer",
                                "description": "Previous score. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                              },
                              "detected_at": {
                                "type": "string",
                                "description": "Detected at. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                              }
                            },
                            "additionalProperties": true,
                            "description": "Event. queries_extra._distress_rising_events and distress_reasons: persisted score observations. Null when the source value or applicable observation is unavailable."
                          }
                        },
                        "additionalProperties": true
                      },
                      "description": "Reasons. queries_extra._distress_rising_events and distress_reasons: persisted score observations."
                    },
                    "methodology_version": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Methodology version. queries_extra._distress_rising_events and distress_reasons: persisted score observations. Null when the source value or applicable observation is unavailable."
                    }
                  },
                  "additionalProperties": true
                },
                "tax_last4q": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "period": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                },
                "turnover_last4q": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "period": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                },
                "report_status": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "latest_year": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "latest_year_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "filed": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "next_due": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "overdue_days": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "overdue_days_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "period": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                },
                "state_aid_3y": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "period": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                },
                "licence_count": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "revenue_percentile": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "series": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "revenue": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "year": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "reason": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": true
                      }
                    },
                    "net_profit": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "properties": {
                          "year": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "unit": {
                            "type": [
                              "string",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": true
                      }
                    },
                    "employees_q": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "additionalProperties": true,
                        "properties": {
                          "period": {
                            "type": "string",
                            "description": "Period. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata."
                          },
                          "value": {
                            "type": [
                              "integer",
                              "null"
                            ],
                            "description": "Value. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."
                          },
                          "unit": {
                            "type": "string",
                            "description": "Unit. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata."
                          }
                        }
                      }
                    }
                  },
                  "additionalProperties": true
                },
                "report_basis": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Report basis. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."
                },
                "monetary_null_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Monetary null reason. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when no missing-value, suppression or unavailability reason applies."
                }
              },
              "additionalProperties": true
            }
          },
          "missing": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "compare_companiesOutput"
      },
      "annotations": {
        "title": "Compare companies",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "find_companies",
      "title": "Find companies",
      "description": "Find up to 50 legal entities by county, Estonian Classification of Economic Activities (EMTAK), revenue, employees or observed Register of Economic Activities (MTR) activity. Can exclude companies with current tax debt (`no_tax_debt`). Licence presence is not proof of compliance. Sort by metric and direction; default revenue descending, missing values last. At most 40 candidate pages or 80 tax-debt checks, subject to distinct-code allowance; no continuation cursor. Check result completeness. Missing source data can yield an empty list. English activity labels include attribution and disclose broader-label fallbacks. Use search_companies for a name, or get_company for a listed code. Do not look up natural persons or personal contact details.",
      "inputSchema": {
        "properties": {
          "county": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "County name or alias. Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.",
            "title": "County"
          },
          "emtak": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Estonian Classification of Economic Activities (EMTAK) code or prefix",
            "title": "Emtak"
          },
          "licence_activity": {
            "anyOf": [
              {
                "maxLength": 500,
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Exact Register of Economic Activities (MTR) activity string from sector_stats. Observed source presence, not verified licence validity; submitted and suspended records included.",
            "title": "Licence Activity"
          },
          "min_revenue": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Minimum annual revenue, EUR",
            "title": "Min Revenue"
          },
          "max_revenue": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum annual revenue, EUR",
            "title": "Max Revenue"
          },
          "min_employees": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Minimum average employees",
            "title": "Min Employees"
          },
          "max_employees": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum average employees",
            "title": "Max Employees"
          },
          "no_tax_debt": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Keep only companies with no current tax debt",
            "title": "No Tax Debt"
          },
          "year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "const": "latest",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Financial year, or latest: each active company’s latest non-null revenue filing since the latest complete year",
            "title": "Year"
          },
          "limit": {
            "default": 25,
            "description": "At most 50 companies",
            "maximum": 50,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          },
          "sort": {
            "default": "revenue",
            "enum": [
              "revenue",
              "profit",
              "employees",
              "growth"
            ],
            "title": "Sort",
            "type": "string"
          },
          "dir": {
            "default": "desc",
            "enum": [
              "asc",
              "desc"
            ],
            "title": "Dir",
            "type": "string"
          }
        },
        "title": "find_companiesArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of_basis": {
                  "type": "string",
                  "description": "As of basis. privacy._sources: compact source attribution; absent clocks are omitted."
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "companies": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "registry_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "county": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "municipality": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "emtak_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "emtak_label": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "revenue": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "revenue_year": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "employees": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "net_profit": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "growth_pct": {
                  "type": [
                    "null",
                    "number"
                  ],
                  "description": "Growth pct. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."
                },
                "report_basis": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Report basis. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."
                },
                "monetary_null_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Monetary null reason. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when no missing-value, suppression or unavailability reason applies."
                },
                "label_en": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Label en. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."
                },
                "label_en_method": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Label en method. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."
                }
              }
            }
          },
          "row_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "excluded_unit_uncertain": {
            "type": [
              "object",
              "null"
            ],
            "description": "Companies left out of this revenue ranking because revenue is null and monetary_null_reason is unit_uncertain. count is the filtered total; companies lists at most 20 with registry_code and name, and has no rank. count 0 means none were excluded. Null is accepted and means the exclusion was not computed. find_companies reads the first company page only and keeps that page's object.",
            "properties": {
              "count": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "companies": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "registry_code": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "additionalProperties": true
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "year": {
            "anyOf": [
              {
                "type": [
                  "number",
                  "null"
                ]
              },
              {
                "const": "latest"
              }
            ]
          },
          "label_en_note": {
            "type": "string",
            "description": "Interpretation of English label coverage and fallback."
          },
          "note": {
            "type": "string",
            "description": "Incomplete-result warning when a result, scan or lookup limit is reached."
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "find_companiesOutput"
      },
      "annotations": {
        "title": "Find companies",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "sector_stats",
      "title": "Sector statistics",
      "description": "Medians, percentiles and company counts for a sector under the Estonian Classification of Economic Activities (EMTAK 2025), optionally by county and year. Older codes use the snapshot crosswalk. Licence counts suppress n < 5 and use current sector/county denominators, independent of year. Presence is not compliance. Legal acts are incomplete, capped at 10 per group. Optional sections add quarterly figures, national gross wages, filing coverage, benchmarks, vacancies, technology adoption, insolvency, tourism, macro context and upcoming laws. Labour taxes are not wages. Filing absence means not in the dated data, not proven non-filing. Official benchmarks describe broader national populations, not company percentiles. Preserve source periods, units, coverage and classification caveats; missing data stays null or empty. Bills are not law and detected deadlines are not compliance verdicts. Truncated lists retain totals and sources. Use legal_calendar for upcoming changes, region_stats for a place, or compare_companies for named firms. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "emtak": {
            "description": "Estonian Classification of Economic Activities (EMTAK) 2025 code or division. Estonian Classification of Economic Activities (EMTAK) 2008 codes are resolved via the snapshot crosswalk.",
            "title": "Emtak",
            "type": "string"
          },
          "county": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "County name or alias, optional. Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.",
            "title": "County"
          },
          "year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Year",
            "title": "Year"
          },
          "sections": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Opt-in context sections; omitted or [] returns pre-integration core only. Available: ai_adoption, bankruptcies, economy, job_vacancies, official_benchmarks, quarterly, report_coverage, tourism, upcoming_changes, wages",
            "title": "Sections"
          },
          "quarterly_form": {
            "default": "ou",
            "description": "Quarterly legal-form group: OÜ, AS, other retained legal forms. Independent of annual-account year.",
            "enum": [
              "ou",
              "as",
              "other"
            ],
            "title": "Quarterly Form",
            "type": "string"
          }
        },
        "required": [
          "emtak"
        ],
        "title": "sector_statsArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of_basis": {
                  "type": "string",
                  "description": "As of basis. privacy._sources: compact source attribution; absent clocks are omitted."
                },
                "table": {
                  "type": "string",
                  "description": "Table. privacy._sources: compact source attribution; absent clocks are omitted."
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "emtak": {
            "type": [
              "string",
              "null"
            ]
          },
          "level": {
            "type": [
              "string",
              "null"
            ]
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "year": {
            "type": [
              "number",
              "null"
            ]
          },
          "partial": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "company_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "company_count_national": {
            "type": [
              "number",
              "null"
            ]
          },
          "median_revenue": {
            "type": [
              "number",
              "null"
            ]
          },
          "median_revenue_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "revenue_sum": {
            "type": [
              "number",
              "null"
            ]
          },
          "employees_total": {
            "type": [
              "number",
              "null"
            ]
          },
          "percentiles": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "p25": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "p50": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "p75": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "n": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "suppressed": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "excludes_zero_revenue": {
                "type": [
                  "boolean",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "histogram": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "bin_label": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "count": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "trend": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "year": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "median_county": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "median_national": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "n_county": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "n_national": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "licence_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "acts": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "act_id": {
                  "type": [
                    "number",
                    "string",
                    "null"
                  ]
                },
                "rt_id": {
                  "type": [
                    "number",
                    "string",
                    "null"
                  ]
                },
                "global_id": {
                  "type": [
                    "number",
                    "string",
                    "null"
                  ]
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "obligation_count": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "amended_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "derived": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "obligation_count_basis": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Obligation count basis. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."
                }
              }
            }
          },
          "acts_universal": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "act_id": {
                  "type": [
                    "number",
                    "string",
                    "null"
                  ]
                },
                "rt_id": {
                  "type": [
                    "number",
                    "string",
                    "null"
                  ]
                },
                "global_id": {
                  "type": [
                    "number",
                    "string",
                    "null"
                  ]
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "obligation_count": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "amended_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "derived": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                }
              }
            }
          },
          "found": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "emtak_requested": {
            "type": [
              "string",
              "null"
            ]
          },
          "emtak_note": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "properties": {
              "from_emtak": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "to_emtak": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "notice": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "notice_en": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "licence_prevalence": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "activity": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "domain": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "denominator": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "n": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "rate_pct": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "suppressed": {
                  "type": "boolean"
                }
              }
            }
          },
          "licence_prevalence_total": {
            "type": "integer"
          },
          "licence_prevalence_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "report_coverage": {
            "anyOf": [
              {
                "type": "object",
                "description": "Fixed FY2024/2025 R-status OÜ cohort registered before 2023 with 12-31 year end. Dated absence is not evidence of non-filing. Ingestion-unavailable and suppressed values are null.",
                "properties": {
                  "as_of": {
                    "type": "string"
                  },
                  "chosen_year_rule": {
                    "type": "string"
                  },
                  "ingestion_status": {
                    "type": "string"
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "properties": {
                        "period": {
                          "type": "string",
                          "description": "Period. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                        },
                        "cohort_count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Cohort size; null under privacy suppression, including unavailable ingestion."
                        },
                        "found_count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Observed company count for the period; null when ingestion is unavailable or the cohort is suppressed."
                        },
                        "absent_count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Observed company count for the period; null when ingestion is unavailable or the cohort is suppressed."
                        },
                        "absent_share_pct": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Percentage of the cohort; null for empty cohorts, unavailable ingestion or suppression."
                        },
                        "completeness_pct": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Percentage of the cohort; null for empty cohorts, unavailable ingestion or suppression."
                        },
                        "reason": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "ingestion_unavailable or suppressed; null for a loaded, unsuppressed observation."
                        },
                        "at_least_one_count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Observed company count for the period; null when ingestion is unavailable or the cohort is suppressed."
                        },
                        "both_years_count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Observed company count for the period; null when ingestion is unavailable or the cohort is suppressed."
                        }
                      }
                    }
                  },
                  "rows_total": {
                    "type": "integer"
                  },
                  "fiscal_years": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    },
                    "description": "Fiscal years. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "registered_before": {
                    "type": "string",
                    "description": "Registered before. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "fiscal_year_end": {
                    "type": "string",
                    "description": "Fiscal year end. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "legal_form": {
                    "type": "string",
                    "description": "Legal form. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "status": {
                    "type": "string",
                    "description": "Status. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "membership_basis": {
                    "type": "string",
                    "description": "Membership basis. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "loaded_years": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    },
                    "description": "Loaded years. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "imported_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Imported at. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations. Null when the source value or applicable observation is unavailable."
                  },
                  "source_cutoff": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Source cutoff. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations. Null when the source value or applicable observation is unavailable."
                  },
                  "national_completeness": {
                    "type": "string",
                    "description": "National completeness. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "label": {
                    "type": "string",
                    "description": "Label. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "note": {
                    "type": "string",
                    "description": "Note. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  }
                },
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ],
            "description": "Opt-in: returned only when sections includes report_coverage. "
          },
          "quarterly": {
            "type": "object",
            "description": "Opt-in: returned only when sections includes quarterly. Eight latest quarters from a fixed 12-quarter complete-reporting legal-entity cohort. Current geography/classifier. Small cells excluded before all rollups. Empty for old snapshots.",
            "properties": {
              "method": {
                "type": "string"
              },
              "segments_total": {
                "type": "integer"
              },
              "truncated": {
                "type": "boolean"
              },
              "segments": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "legal_form": {
                      "type": "string",
                      "enum": [
                        "ou",
                        "as",
                        "other"
                      ]
                    },
                    "coverage_count": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "suppressed": {
                      "type": "boolean"
                    },
                    "rows_total": {
                      "type": "integer"
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "period": {
                            "type": "string"
                          },
                          "headcount_change": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "turnover": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "turnover_yoy_pct": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "employee_count": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "employee_count_yoy_pct": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "labour_taxes": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "labour_taxes_yoy_pct": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": true
                      }
                    },
                    "truncated": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "additionalProperties": true
          },
          "wages": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "classification": {
                "type": "string"
              },
              "rows_total": {
                "type": "integer"
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "table_code": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    },
                    "metric": {
                      "type": "string"
                    },
                    "period": {
                      "type": "string"
                    },
                    "unit": {
                      "type": "string"
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "national_value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "national_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "table_code",
                    "metric",
                    "period",
                    "value"
                  ]
                }
              },
              "latest": {
                "type": "object",
                "description": "Latest observed values by Statistics Estonia table and metric. Preserved when historical rows are trimmed. Each table has code, unit and values; each metric retains its own period, value, national_value and missingness reasons.",
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "unit": {
                      "type": "string"
                    },
                    "values": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "period": {
                            "type": "string"
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "national_value": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "reason": {
                            "type": "string"
                          },
                          "national_reason": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "period",
                          "value",
                          "national_value"
                        ]
                      }
                    }
                  },
                  "required": [
                    "code",
                    "unit",
                    "values"
                  ]
                }
              },
              "scope": {
                "type": "string",
                "description": "Scope. labour_market.sector_wages and tools._bound_labour_context: official wage context."
              },
              "mapping": {
                "type": "string",
                "description": "Mapping. labour_market.sector_wages and tools._bound_labour_context: official wage context."
              },
              "predecessor_divisions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "Predecessor divisions. labour_market.sector_wages and tools._bound_labour_context: official wage context."
              },
              "section": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Section. labour_market.sector_wages and tools._bound_labour_context: official wage context. Null when the source value or applicable observation is unavailable."
              },
              "division": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Division. labour_market.sector_wages and tools._bound_labour_context: official wage context. Null when the source value or applicable observation is unavailable."
              },
              "division_reason": {
                "type": [
                  "null",
                  "string"
                ],
                "description": "Division reason. labour_market.sector_wages and tools._bound_labour_context: official wage context. Null when no missing-value, suppression or unavailability reason applies."
              },
              "section_reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Section reason. labour_market.sector_wages and tools._bound_labour_context: official wage context. Null when no missing-value, suppression or unavailability reason applies."
              },
              "rows_returned": {
                "type": "integer",
                "description": "Rows returned. labour_market.sector_wages and tools._bound_labour_context: official wage context."
              },
              "rows_truncated": {
                "type": "boolean",
                "description": "Rows truncated. labour_market.sector_wages and tools._bound_labour_context: official wage context."
              }
            },
            "description": "Opt-in: returned only when sections includes wages. Official aggregate context; source gaps remain null, periods and classification are independent of company report year. Lists may be truncated."
          },
          "upcoming_changes": {
            "type": "object",
            "additionalProperties": true,
            "properties": {
              "future_laws": {
                "type": "object",
                "additionalProperties": true,
                "properties": {
                  "sector": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "properties": {
                        "identity": {
                          "type": "string",
                          "description": "Identity. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "title": {
                          "type": "string",
                          "description": "Title. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date": {
                          "type": "string",
                          "description": "Date. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "version_id": {
                          "type": "string",
                          "description": "Version id. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date_basis": {
                          "type": "string",
                          "description": "Date basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "change_type": {
                          "type": "string",
                          "description": "Change type. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "url": {
                          "type": "string",
                          "description": "Url. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "scope": {
                          "type": "string",
                          "description": "Scope. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "match_basis": {
                          "type": "string",
                          "description": "Match basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        }
                      }
                    }
                  },
                  "universal": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "properties": {
                        "identity": {
                          "type": "string",
                          "description": "Identity. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "title": {
                          "type": "string",
                          "description": "Title. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date": {
                          "type": "string",
                          "description": "Date. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "version_id": {
                          "type": "string",
                          "description": "Version id. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date_basis": {
                          "type": "string",
                          "description": "Date basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "change_type": {
                          "type": "string",
                          "description": "Change type. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "url": {
                          "type": "string",
                          "description": "Url. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "scope": {
                          "type": "string",
                          "description": "Scope. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "match_basis": {
                          "type": "string",
                          "description": "Match basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        }
                      }
                    }
                  },
                  "general": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "properties": {
                        "identity": {
                          "type": "string",
                          "description": "Identity. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "title": {
                          "type": "string",
                          "description": "Title. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date": {
                          "type": "string",
                          "description": "Date. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "version_id": {
                          "type": "string",
                          "description": "Version id. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date_basis": {
                          "type": "string",
                          "description": "Date basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "change_type": {
                          "type": "string",
                          "description": "Change type. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "url": {
                          "type": "string",
                          "description": "Url. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "scope": {
                          "type": "string",
                          "description": "Scope. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "match_basis": {
                          "type": "string",
                          "description": "Match basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        }
                      }
                    }
                  },
                  "sector_total": {
                    "type": "integer"
                  },
                  "universal_total": {
                    "type": "integer"
                  },
                  "general_total": {
                    "type": "integer"
                  },
                  "available": {
                    "type": "boolean",
                    "description": "Available. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  },
                  "sector_truncated": {
                    "type": "boolean",
                    "description": "Sector truncated. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  },
                  "universal_truncated": {
                    "type": "boolean",
                    "description": "Universal truncated. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  },
                  "general_truncated": {
                    "type": "boolean",
                    "description": "General truncated. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  }
                }
              },
              "bills": {
                "type": "object",
                "additionalProperties": true,
                "properties": {
                  "sector": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "properties": {
                        "identity": {
                          "type": "string",
                          "description": "Identity. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "title": {
                          "type": "string",
                          "description": "Title. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date": {
                          "type": "string",
                          "description": "Date. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date_basis": {
                          "type": "string",
                          "description": "Date basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "stage": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Stage. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
                        },
                        "committee": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Committee. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
                        },
                        "law_link_status": {
                          "type": "string",
                          "description": "Law link status. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "url": {
                          "type": "string",
                          "description": "Url. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "scope": {
                          "type": "string",
                          "description": "Scope. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "match_basis": {
                          "type": "string",
                          "description": "Match basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        }
                      }
                    }
                  },
                  "universal": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "properties": {
                        "identity": {
                          "type": "string",
                          "description": "Identity. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "title": {
                          "type": "string",
                          "description": "Title. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date": {
                          "type": "string",
                          "description": "Date. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date_basis": {
                          "type": "string",
                          "description": "Date basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "stage": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Stage. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
                        },
                        "committee": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Committee. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
                        },
                        "law_link_status": {
                          "type": "string",
                          "description": "Law link status. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "url": {
                          "type": "string",
                          "description": "Url. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "scope": {
                          "type": "string",
                          "description": "Scope. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "match_basis": {
                          "type": "string",
                          "description": "Match basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        }
                      }
                    }
                  },
                  "general": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "properties": {
                        "identity": {
                          "type": "string",
                          "description": "Identity. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "title": {
                          "type": "string",
                          "description": "Title. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date": {
                          "type": "string",
                          "description": "Date. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date_basis": {
                          "type": "string",
                          "description": "Date basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "stage": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Stage. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
                        },
                        "committee": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Committee. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
                        },
                        "law_link_status": {
                          "type": "string",
                          "description": "Law link status. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "url": {
                          "type": "string",
                          "description": "Url. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "scope": {
                          "type": "string",
                          "description": "Scope. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "match_basis": {
                          "type": "string",
                          "description": "Match basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        }
                      }
                    }
                  },
                  "sector_total": {
                    "type": "integer"
                  },
                  "universal_total": {
                    "type": "integer"
                  },
                  "general_total": {
                    "type": "integer"
                  },
                  "available": {
                    "type": "boolean",
                    "description": "Available. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  },
                  "no_upcoming_date_total": {
                    "type": "integer",
                    "description": "No upcoming date total. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  },
                  "sector_truncated": {
                    "type": "boolean",
                    "description": "Sector truncated. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  },
                  "universal_truncated": {
                    "type": "boolean",
                    "description": "Universal truncated. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  },
                  "general_truncated": {
                    "type": "boolean",
                    "description": "General truncated. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  }
                }
              },
              "eu_deadlines": {
                "type": "object",
                "additionalProperties": true,
                "properties": {
                  "sector": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "properties": {
                        "identity": {
                          "type": "string",
                          "description": "Identity. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "title": {
                          "type": "string",
                          "description": "Title. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date": {
                          "type": "string",
                          "description": "Date. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "title_en": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Title en. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
                        },
                        "date_basis": {
                          "type": "string",
                          "description": "Date basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "measures_detected": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Measures detected. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
                        },
                        "lifecycle": {
                          "type": "string",
                          "description": "Lifecycle. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "url": {
                          "type": "string",
                          "description": "Url. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "scope": {
                          "type": "string",
                          "description": "Scope. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "match_basis": {
                          "type": "string",
                          "description": "Match basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        }
                      }
                    }
                  },
                  "universal": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "properties": {
                        "identity": {
                          "type": "string",
                          "description": "Identity. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "title": {
                          "type": "string",
                          "description": "Title. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date": {
                          "type": "string",
                          "description": "Date. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "title_en": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Title en. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
                        },
                        "date_basis": {
                          "type": "string",
                          "description": "Date basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "measures_detected": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Measures detected. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
                        },
                        "lifecycle": {
                          "type": "string",
                          "description": "Lifecycle. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "url": {
                          "type": "string",
                          "description": "Url. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "scope": {
                          "type": "string",
                          "description": "Scope. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "match_basis": {
                          "type": "string",
                          "description": "Match basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        }
                      }
                    }
                  },
                  "general": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "properties": {
                        "identity": {
                          "type": "string",
                          "description": "Identity. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "title": {
                          "type": "string",
                          "description": "Title. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "date": {
                          "type": "string",
                          "description": "Date. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "title_en": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Title en. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
                        },
                        "date_basis": {
                          "type": "string",
                          "description": "Date basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "measures_detected": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Measures detected. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
                        },
                        "lifecycle": {
                          "type": "string",
                          "description": "Lifecycle. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "url": {
                          "type": "string",
                          "description": "Url. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "scope": {
                          "type": "string",
                          "description": "Scope. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        },
                        "match_basis": {
                          "type": "string",
                          "description": "Match basis. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                        }
                      }
                    }
                  },
                  "sector_total": {
                    "type": "integer"
                  },
                  "universal_total": {
                    "type": "integer"
                  },
                  "general_total": {
                    "type": "integer"
                  },
                  "available": {
                    "type": "boolean",
                    "description": "Available. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  },
                  "sector_truncated": {
                    "type": "boolean",
                    "description": "Sector truncated. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  },
                  "universal_truncated": {
                    "type": "boolean",
                    "description": "Universal truncated. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  },
                  "general_truncated": {
                    "type": "boolean",
                    "description": "General truncated. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  }
                }
              },
              "available": {
                "type": "boolean"
              },
              "emtak": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "notice": {
                "type": "string"
              },
              "truncated": {
                "type": "boolean"
              },
              "as_of": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "As of. legal_calendar.query and tools._calendar_preview: dated legal metadata. Null when the source value or applicable observation is unavailable."
              },
              "more": {
                "type": "object",
                "properties": {
                  "tool": {
                    "type": "string",
                    "description": "Tool. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  },
                  "arguments": {
                    "type": "object",
                    "properties": {
                      "emtak": {
                        "type": "string",
                        "description": "Emtak. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                      }
                    },
                    "additionalProperties": true,
                    "description": "Arguments. legal_calendar.query and tools._calendar_preview: dated legal metadata."
                  }
                },
                "additionalProperties": true,
                "description": "More. legal_calendar.query and tools._calendar_preview: dated legal metadata."
              }
            },
            "description": "Opt-in: returned only when sections includes upcoming_changes. "
          },
          "ai_adoption": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Opt-in: returned only when sections includes ai_adoption. ",
            "properties": {
              "indicator": {
                "type": "string",
                "description": "Indicator. stat_tables.sector_ai_adoption: official national NACE section context."
              },
              "table_code": {
                "type": "string",
                "description": "Table code. stat_tables.sector_ai_adoption: official national NACE section context."
              },
              "level": {
                "type": "string",
                "description": "Level. stat_tables.sector_ai_adoption: official national NACE section context."
              },
              "emtak": {
                "type": "string",
                "description": "Emtak. stat_tables.sector_ai_adoption: official national NACE section context."
              },
              "unit": {
                "type": "string",
                "description": "Unit. stat_tables.sector_ai_adoption: official national NACE section context."
              },
              "source": {
                "type": "string",
                "description": "Source. stat_tables.sector_ai_adoption: official national NACE section context."
              },
              "attribution": {
                "type": "string",
                "description": "Attribution. stat_tables.sector_ai_adoption: official national NACE section context."
              },
              "label": {
                "type": "string",
                "description": "Label. stat_tables.sector_ai_adoption: official national NACE section context."
              },
              "series": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "period": {
                      "type": "string",
                      "description": "Period. stat_tables.sector_ai_adoption: official national NACE section context."
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Value. stat_tables.sector_ai_adoption: official national NACE section context. Null when the source value or applicable observation is unavailable."
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Unit. stat_tables.sector_ai_adoption: official national NACE section context. Null when the source value or applicable observation is unavailable."
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Reason. stat_tables.sector_ai_adoption: official national NACE section context. Null when no missing-value, suppression or unavailability reason applies."
                    }
                  },
                  "additionalProperties": true
                },
                "description": "Series. stat_tables.sector_ai_adoption: official national NACE section context."
              }
            }
          },
          "bankruptcies": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Opt-in: returned only when sections includes bankruptcies. ",
            "properties": {
              "indicator": {
                "type": "string",
                "description": "Indicator. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "table_code": {
                "type": "string",
                "description": "Table code. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "level": {
                "type": "string",
                "description": "Level. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "emtak": {
                "type": "string",
                "description": "Emtak. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "unit": {
                "type": "string",
                "description": "Unit. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "source": {
                "type": "string",
                "description": "Source. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "attribution": {
                "type": "string",
                "description": "Attribution. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "label": {
                "type": "string",
                "description": "Label. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "series": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "period": {
                      "type": "string",
                      "description": "Period. stat_tables sector/region_bankruptcies: official NACE or national context."
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Value. stat_tables sector/region_bankruptcies: official NACE or national context. Null when the source value or applicable observation is unavailable."
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Unit. stat_tables sector/region_bankruptcies: official NACE or national context. Null when the source value or applicable observation is unavailable."
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Reason. stat_tables sector/region_bankruptcies: official NACE or national context. Null when no missing-value, suppression or unavailability reason applies."
                    }
                  },
                  "additionalProperties": true
                },
                "description": "Series. stat_tables sector/region_bankruptcies: official NACE or national context."
              }
            }
          },
          "economy": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "properties": {
                "indicator": {
                  "type": "string",
                  "description": "Indicator. queries_extra._economy_row: source observations with suppression retained."
                },
                "period": {
                  "type": "string",
                  "description": "Period. queries_extra._economy_row: source observations with suppression retained."
                },
                "value": {
                  "type": [
                    "number",
                    "null"
                  ],
                  "description": "Value. queries_extra._economy_row: source observations with suppression retained. Null when the source value or applicable observation is unavailable."
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Unit. queries_extra._economy_row: source observations with suppression retained. Null when the source value or applicable observation is unavailable."
                },
                "source": {
                  "type": "string",
                  "description": "Source. queries_extra._economy_row: source observations with suppression retained."
                },
                "label": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Label. queries_extra._economy_row: source observations with suppression retained. Null when the source value or applicable observation is unavailable."
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Reason. queries_extra._economy_row: source observations with suppression retained. Null when no missing-value, suppression or unavailability reason applies."
                },
                "emtak": {
                  "type": "string",
                  "description": "Emtak. queries_extra._economy_row: source observations with suppression retained."
                },
                "level": {
                  "type": "string",
                  "description": "Level. queries_extra._economy_row: source observations with suppression retained."
                }
              }
            },
            "description": "Opt-in: returned only when sections includes economy. "
          },
          "job_vacancies": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Opt-in: returned only when sections includes job_vacancies. ",
            "properties": {
              "indicator": {
                "type": "string",
                "description": "Indicator. stat_tables.sector_job_vacancies: official national vacancy context."
              },
              "table_code": {
                "type": "string",
                "description": "Table code. stat_tables.sector_job_vacancies: official national vacancy context."
              },
              "level": {
                "type": "string",
                "description": "Level. stat_tables.sector_job_vacancies: official national vacancy context."
              },
              "emtak": {
                "type": "string",
                "description": "Emtak. stat_tables.sector_job_vacancies: official national vacancy context."
              },
              "unit": {
                "type": "string",
                "description": "Unit. stat_tables.sector_job_vacancies: official national vacancy context."
              },
              "source": {
                "type": "string",
                "description": "Source. stat_tables.sector_job_vacancies: official national vacancy context."
              },
              "attribution": {
                "type": "string",
                "description": "Attribution. stat_tables.sector_job_vacancies: official national vacancy context."
              },
              "label": {
                "type": "string",
                "description": "Label. stat_tables.sector_job_vacancies: official national vacancy context."
              },
              "series": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "period": {
                      "type": "string",
                      "description": "Period. stat_tables.sector_job_vacancies: official national vacancy context."
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Value. stat_tables.sector_job_vacancies: official national vacancy context. Null when the source value or applicable observation is unavailable."
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Unit. stat_tables.sector_job_vacancies: official national vacancy context. Null when the source value or applicable observation is unavailable."
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Reason. stat_tables.sector_job_vacancies: official national vacancy context. Null when no missing-value, suppression or unavailability reason applies."
                    }
                  },
                  "additionalProperties": true
                },
                "description": "Series. stat_tables.sector_job_vacancies: official national vacancy context."
              }
            }
          },
          "tourism": {
            "type": [
              "object",
              "null"
            ],
            "description": "Opt-in: returned only when sections includes tourism. TU110 annual county totals and normalized TU121 national monthly arrivals; independent periods, null means not reported. Cost is not revenue/profit/yield. Accommodation (EMTAK 55) only; null for other sectors.",
            "properties": {
              "annual": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "county": {
                      "type": "string"
                    },
                    "period": {
                      "type": "string"
                    },
                    "CAP_BEDP": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure CAP_BEDP; null when not reported. See measures for label and unit."
                    },
                    "CAP_BEDR": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure CAP_BEDR; null when not reported. See measures for label and unit."
                    },
                    "CAP_ESTA": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure CAP_ESTA; null when not reported. See measures for label and unit."
                    },
                    "OCC_ARR": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_ARR; null when not reported. See measures for label and unit."
                    },
                    "OCC_ARR_BSNS": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_ARR_BSNS; null when not reported. See measures for label and unit."
                    },
                    "OCC_ARR_HOL": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_ARR_HOL; null when not reported. See measures for label and unit."
                    },
                    "OCC_NI": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_NI; null when not reported. See measures for label and unit."
                    },
                    "OCC_NI_COST": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_NI_COST; null when not reported. See measures for label and unit."
                    },
                    "OCC_OR_BEDP": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_OR_BEDP; null when not reported. See measures for label and unit."
                    },
                    "OCC_OR_BEDR": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_OR_BEDR; null when not reported. See measures for label and unit."
                    }
                  },
                  "additionalProperties": true
                }
              },
              "monthly": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "period": {
                      "type": "string"
                    },
                    "OCC_ARR": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_ARR; null when not reported. See measures for label and unit."
                    },
                    "OCC_ARR_NONRES": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_ARR_NONRES; null when not reported. See measures for label and unit."
                    },
                    "OCC_ARR_RES": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_ARR_RES; null when not reported. See measures for label and unit."
                    }
                  },
                  "additionalProperties": true
                }
              },
              "annual_total": {
                "type": "integer"
              },
              "monthly_total": {
                "type": "integer"
              },
              "sources": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              },
              "truncated": {
                "type": "boolean"
              },
              "available": {
                "type": "boolean",
                "description": "Available. tourism.tourism: separate annual and monthly official tourism measures."
              },
              "availability_reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Availability reason. tourism.tourism: separate annual and monthly official tourism measures. Null when no missing-value, suppression or unavailability reason applies."
              },
              "annual_year": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Annual year. tourism.tourism: separate annual and monthly official tourism measures. Null when the source value or applicable observation is unavailable."
              },
              "annual_geography": {
                "type": "string",
                "description": "Annual geography. tourism.tourism: separate annual and monthly official tourism measures."
              },
              "monthly_geography": {
                "type": "string",
                "description": "Monthly geography. tourism.tourism: separate annual and monthly official tourism measures."
              },
              "measures": {
                "type": "object",
                "description": "Source measure codes mapped to labels and units.",
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "label": {
                      "type": "string",
                      "description": "Label. tourism.tourism: separate annual and monthly official tourism measures."
                    },
                    "unit": {
                      "type": "string",
                      "description": "Unit. tourism.tourism: separate annual and monthly official tourism measures."
                    }
                  },
                  "additionalProperties": true
                }
              },
              "null_reason": {
                "type": "string",
                "description": "Null reason. tourism.tourism: separate annual and monthly official tourism measures."
              },
              "note": {
                "type": "string",
                "description": "Note. tourism.tourism: separate annual and monthly official tourism measures."
              }
            },
            "additionalProperties": true
          },
          "official_benchmarks": {
            "type": "object",
            "description": "Opt-in: returned only when sections includes official_benchmarks. EM001 enterprise statistics by persons-employed size class, not company percentiles; empty rows on old snapshots.",
            "additionalProperties": true,
            "properties": {
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "size_class": {
                      "type": "string",
                      "description": "Size class. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics."
                    },
                    "indicator": {
                      "type": "string",
                      "description": "Indicator. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics."
                    },
                    "unit": {
                      "type": "string",
                      "description": "Unit. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics."
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Value. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics. Null when the source value or applicable observation is unavailable."
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Reason. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics. Null when no missing-value, suppression or unavailability reason applies."
                    }
                  }
                }
              },
              "rows_total": {
                "type": "integer"
              },
              "basis_warning": {
                "type": "string"
              },
              "activity": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "year": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "table_code": {
                "type": "string",
                "description": "Table code. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics."
              },
              "coverage": {
                "type": "string",
                "description": "Coverage. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics."
              },
              "source_url": {
                "type": "string",
                "description": "Source url. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics."
              },
              "geography": {
                "type": "string",
                "description": "Geography. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics."
              },
              "classification": {
                "type": "string",
                "description": "Classification. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics."
              },
              "match": {
                "type": "string",
                "description": "Match. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics."
              },
              "unavailable_reason": {
                "type": [
                  "null",
                  "string"
                ],
                "description": "Unavailable reason. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics. Null when no missing-value, suppression or unavailability reason applies."
              },
              "rows_truncated": {
                "type": "boolean",
                "description": "Rows truncated. official_benchmarks.official_benchmarks: broader legacy NACE enterprise statistics."
              }
            }
          },
          "official_benchmarks_url": {
            "type": "string",
            "description": "Full-data URL; returned only when sections includes official_benchmarks."
          },
          "label_en": {
            "type": [
              "string",
              "null"
            ],
            "description": "English sector label, or null when unavailable."
          },
          "label_en_method": {
            "type": [
              "string",
              "null"
            ],
            "description": "English label derivation method, including broader NACE fallback; null when unavailable."
          },
          "label_en_note": {
            "type": "string",
            "description": "Interpretation of English label coverage and fallback."
          },
          "acts_total": {
            "type": "integer",
            "description": "Total sector-specific acts before envelope trimming."
          },
          "acts_universal_total": {
            "type": "integer",
            "description": "Total universal acts before envelope trimming."
          },
          "acts_notice": {
            "type": [
              "string",
              "null"
            ],
            "description": "Coverage caveat for derived company-subject act extractions; missing counts do not mean zero duties."
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "sector_statsOutput",
        "description": "Default returns pre-integration core sections. Opt-in sections (via sections): ai_adoption, bankruptcies, economy, job_vacancies, official_benchmarks, quarterly, report_coverage, tourism, upcoming_changes, wages. Unknown section names are validation errors. Nested previews retain totals/truncation; core section containers are never dropped."
      },
      "annotations": {
        "title": "Sector statistics",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "event_series",
      "title": "Observed corporate events",
      "description": "Monthly observed legal-entity notice publications and registry relationships, separately. Notice counts are not unique insolvencies: notices are deduplicated across entities, but proceeding stages remain separate. Relationships count unordered company pairs by kind. Coverage and unmatched counts are national; older coverage is incomplete. County and sector filters use current classifications and overlap. Official Announcements attribution accompanies results. Old snapshots return empty rows; truncated results retain rows_total. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "county": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Current snapshot county. Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.",
            "title": "County"
          },
          "emtak": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Current snapshot Estonian Classification of Economic Activities (EMTAK) prefix, 1–5 digits.",
            "title": "Emtak"
          },
          "year": {
            "anyOf": [
              {
                "maximum": 2100,
                "minimum": 1900,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Calendar year; defaults to snapshot year, which is partial.",
            "title": "Year"
          }
        },
        "title": "event_seriesArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer",
          "rows",
          "rows_total"
        ],
        "title": "event_seriesOutput",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of_basis": {
                  "type": "string",
                  "description": "As of basis. event_series.event_series_payload: observed events and coverage, not unique insolvencies."
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "object",
              "additionalProperties": true,
              "properties": {
                "month": {
                  "type": "string"
                },
                "counts": {
                  "type": "object",
                  "additionalProperties": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  }
                },
                "partial": {
                  "type": "boolean",
                  "description": "Partial. event_series.event_series_payload: observed events and coverage, not unique insolvencies."
                },
                "matched_notices": {
                  "type": [
                    "null",
                    "integer"
                  ],
                  "description": "Matched notices. event_series.event_series_payload: observed events and coverage, not unique insolvencies. Null when the source value or applicable observation is unavailable."
                },
                "unmatched_notices": {
                  "type": [
                    "null",
                    "integer"
                  ],
                  "description": "Unmatched notices. event_series.event_series_payload: observed events and coverage, not unique insolvencies. Null when the source value or applicable observation is unavailable."
                }
              }
            }
          },
          "rows_total": {
            "type": "integer"
          },
          "year": {
            "type": "integer"
          },
          "partial_year": {
            "type": "boolean"
          },
          "reason": {
            "type": "string"
          },
          "note": {
            "type": "string"
          },
          "kind_first_month": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "first_month": {
            "type": [
              "string",
              "null"
            ],
            "description": "First month. event_series.event_series_payload: observed events and coverage, not unique insolvencies. Null when the source value or applicable observation is unavailable."
          },
          "notices_available": {
            "type": "boolean",
            "description": "Notices available. event_series.event_series_payload: observed events and coverage, not unique insolvencies."
          },
          "notice_first_month": {
            "type": [
              "string",
              "null"
            ],
            "description": "Notice first month. event_series.event_series_payload: observed events and coverage, not unique insolvencies. Null when the source value or applicable observation is unavailable."
          },
          "relationship_first_month": {
            "type": [
              "string",
              "null"
            ],
            "description": "Relationship first month. event_series.event_series_payload: observed events and coverage, not unique insolvencies. Null when the source value or applicable observation is unavailable."
          },
          "invalid_dates": {
            "type": "object",
            "description": "Counts by event kind for invalid dates.",
            "additionalProperties": {
              "type": "integer"
            }
          },
          "future_records": {
            "type": "object",
            "description": "Counts by event kind for future records.",
            "additionalProperties": {
              "type": "integer"
            }
          },
          "excluded_relationships_without_two_company_joins": {
            "type": "integer",
            "description": "Count of excluded company relationship pairs with a missing registry code or with one or both companies absent from the company join."
          },
          "county": {
            "type": [
              "string",
              "null"
            ],
            "description": "County. event_series.event_series_payload: observed events and coverage, not unique insolvencies. Null when the source value or applicable observation is unavailable."
          },
          "emtak": {
            "type": [
              "string",
              "null"
            ],
            "description": "Emtak. event_series.event_series_payload: observed events and coverage, not unique insolvencies. Null when the source value or applicable observation is unavailable."
          },
          "coverage_basis": {
            "type": [
              "string",
              "null"
            ],
            "description": "Coverage basis. event_series.event_series_payload: observed events and coverage, not unique insolvencies. Null when the source value or applicable observation is unavailable."
          },
          "national_coverage": {
            "type": "string",
            "description": "National coverage. event_series.event_series_payload: observed events and coverage, not unique insolvencies."
          },
          "coverage_scope": {
            "type": "string",
            "description": "Coverage scope. event_series.event_series_payload: observed events and coverage, not unique insolvencies."
          },
          "invalid_date_notices": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Invalid date notices. event_series.event_series_payload: observed events and coverage, not unique insolvencies. Null when the source value or applicable observation is unavailable."
          },
          "future_notices": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Future notices. event_series.event_series_payload: observed events and coverage, not unique insolvencies. Null when the source value or applicable observation is unavailable."
          },
          "data_as_of": {
            "type": [
              "string",
              "null"
            ],
            "description": "Event-series observation cutoff, separate from the snapshot publication clock."
          }
        }
      },
      "annotations": {
        "title": "Observed corporate events",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "legal_calendar",
      "title": "Legal calendar",
      "description": "Upcoming laws, legislative bills and European Union deadlines in separate dated layers. Bills are not law. Universal changes are separate from title-derived sector matches. Bill stages and committees are included; direct law links and measure lifecycle remain unverified. Deadline detections are not compliance or transposition verdicts. Sources, licences, totals and truncation are reported; older snapshots return empty layers. Use sector_stats for sector benchmarks and a calendar preview. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "emtak": {
            "anyOf": [
              {
                "pattern": "^\\d{2,5}$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional Estonian Classification of Economic Activities (EMTAK) code/division, 2–5 digits; title-derived matches only.",
            "title": "Emtak"
          },
          "limit": {
            "default": 20,
            "description": "Rows per layer and scope; envelope may trim further.",
            "maximum": 100,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          }
        },
        "title": "legal_calendarArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "additionalProperties": true,
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of_basis": {
                  "type": "string",
                  "description": "As of basis. legal_calendar.query: dated legal metadata."
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": "boolean"
          },
          "future_laws": {
            "type": "object",
            "additionalProperties": true,
            "properties": {
              "sector": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "identity": {
                      "type": "string",
                      "description": "Identity. legal_calendar.query: dated legal metadata."
                    },
                    "title": {
                      "type": "string",
                      "description": "Title. legal_calendar.query: dated legal metadata."
                    },
                    "date": {
                      "type": "string",
                      "description": "Date. legal_calendar.query: dated legal metadata."
                    },
                    "version_id": {
                      "type": "string",
                      "description": "Version id. legal_calendar.query: dated legal metadata."
                    },
                    "date_basis": {
                      "type": "string",
                      "description": "Date basis. legal_calendar.query: dated legal metadata."
                    },
                    "change_type": {
                      "type": "string",
                      "description": "Change type. legal_calendar.query: dated legal metadata."
                    },
                    "url": {
                      "type": "string",
                      "description": "Url. legal_calendar.query: dated legal metadata."
                    },
                    "scope": {
                      "type": "string",
                      "description": "Scope. legal_calendar.query: dated legal metadata."
                    },
                    "match_basis": {
                      "type": "string",
                      "description": "Match basis. legal_calendar.query: dated legal metadata."
                    }
                  }
                }
              },
              "universal": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "identity": {
                      "type": "string",
                      "description": "Identity. legal_calendar.query: dated legal metadata."
                    },
                    "title": {
                      "type": "string",
                      "description": "Title. legal_calendar.query: dated legal metadata."
                    },
                    "date": {
                      "type": "string",
                      "description": "Date. legal_calendar.query: dated legal metadata."
                    },
                    "version_id": {
                      "type": "string",
                      "description": "Version id. legal_calendar.query: dated legal metadata."
                    },
                    "date_basis": {
                      "type": "string",
                      "description": "Date basis. legal_calendar.query: dated legal metadata."
                    },
                    "change_type": {
                      "type": "string",
                      "description": "Change type. legal_calendar.query: dated legal metadata."
                    },
                    "url": {
                      "type": "string",
                      "description": "Url. legal_calendar.query: dated legal metadata."
                    },
                    "scope": {
                      "type": "string",
                      "description": "Scope. legal_calendar.query: dated legal metadata."
                    },
                    "match_basis": {
                      "type": "string",
                      "description": "Match basis. legal_calendar.query: dated legal metadata."
                    }
                  }
                }
              },
              "general": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "identity": {
                      "type": "string",
                      "description": "Identity. legal_calendar.query: dated legal metadata."
                    },
                    "title": {
                      "type": "string",
                      "description": "Title. legal_calendar.query: dated legal metadata."
                    },
                    "date": {
                      "type": "string",
                      "description": "Date. legal_calendar.query: dated legal metadata."
                    },
                    "version_id": {
                      "type": "string",
                      "description": "Version id. legal_calendar.query: dated legal metadata."
                    },
                    "date_basis": {
                      "type": "string",
                      "description": "Date basis. legal_calendar.query: dated legal metadata."
                    },
                    "change_type": {
                      "type": "string",
                      "description": "Change type. legal_calendar.query: dated legal metadata."
                    },
                    "url": {
                      "type": "string",
                      "description": "Url. legal_calendar.query: dated legal metadata."
                    },
                    "scope": {
                      "type": "string",
                      "description": "Scope. legal_calendar.query: dated legal metadata."
                    },
                    "match_basis": {
                      "type": "string",
                      "description": "Match basis. legal_calendar.query: dated legal metadata."
                    }
                  }
                }
              },
              "sector_total": {
                "type": "integer"
              },
              "universal_total": {
                "type": "integer"
              },
              "general_total": {
                "type": "integer"
              },
              "available": {
                "type": "boolean",
                "description": "Available. legal_calendar.query: dated legal metadata."
              },
              "sector_truncated": {
                "type": "boolean",
                "description": "Sector truncated. legal_calendar.query: dated legal metadata."
              },
              "universal_truncated": {
                "type": "boolean",
                "description": "Universal truncated. legal_calendar.query: dated legal metadata."
              },
              "general_truncated": {
                "type": "boolean",
                "description": "General truncated. legal_calendar.query: dated legal metadata."
              }
            }
          },
          "bills": {
            "type": "object",
            "additionalProperties": true,
            "properties": {
              "sector": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "identity": {
                      "type": "string",
                      "description": "Identity. legal_calendar.query: dated legal metadata."
                    },
                    "title": {
                      "type": "string",
                      "description": "Title. legal_calendar.query: dated legal metadata."
                    },
                    "date": {
                      "type": "string",
                      "description": "Date. legal_calendar.query: dated legal metadata."
                    },
                    "date_basis": {
                      "type": "string",
                      "description": "Date basis. legal_calendar.query: dated legal metadata."
                    },
                    "stage": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Stage. legal_calendar.query: dated legal metadata. Null when the source value or applicable observation is unavailable."
                    },
                    "committee": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Committee. legal_calendar.query: dated legal metadata. Null when the source value or applicable observation is unavailable."
                    },
                    "law_link_status": {
                      "type": "string",
                      "description": "Law link status. legal_calendar.query: dated legal metadata."
                    },
                    "url": {
                      "type": "string",
                      "description": "Url. legal_calendar.query: dated legal metadata."
                    },
                    "scope": {
                      "type": "string",
                      "description": "Scope. legal_calendar.query: dated legal metadata."
                    },
                    "match_basis": {
                      "type": "string",
                      "description": "Match basis. legal_calendar.query: dated legal metadata."
                    }
                  }
                }
              },
              "universal": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "identity": {
                      "type": "string",
                      "description": "Identity. legal_calendar.query: dated legal metadata."
                    },
                    "title": {
                      "type": "string",
                      "description": "Title. legal_calendar.query: dated legal metadata."
                    },
                    "date": {
                      "type": "string",
                      "description": "Date. legal_calendar.query: dated legal metadata."
                    },
                    "date_basis": {
                      "type": "string",
                      "description": "Date basis. legal_calendar.query: dated legal metadata."
                    },
                    "stage": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Stage. legal_calendar.query: dated legal metadata. Null when the source value or applicable observation is unavailable."
                    },
                    "committee": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Committee. legal_calendar.query: dated legal metadata. Null when the source value or applicable observation is unavailable."
                    },
                    "law_link_status": {
                      "type": "string",
                      "description": "Law link status. legal_calendar.query: dated legal metadata."
                    },
                    "url": {
                      "type": "string",
                      "description": "Url. legal_calendar.query: dated legal metadata."
                    },
                    "scope": {
                      "type": "string",
                      "description": "Scope. legal_calendar.query: dated legal metadata."
                    },
                    "match_basis": {
                      "type": "string",
                      "description": "Match basis. legal_calendar.query: dated legal metadata."
                    }
                  }
                }
              },
              "general": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "identity": {
                      "type": "string",
                      "description": "Identity. legal_calendar.query: dated legal metadata."
                    },
                    "title": {
                      "type": "string",
                      "description": "Title. legal_calendar.query: dated legal metadata."
                    },
                    "date": {
                      "type": "string",
                      "description": "Date. legal_calendar.query: dated legal metadata."
                    },
                    "date_basis": {
                      "type": "string",
                      "description": "Date basis. legal_calendar.query: dated legal metadata."
                    },
                    "stage": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Stage. legal_calendar.query: dated legal metadata. Null when the source value or applicable observation is unavailable."
                    },
                    "committee": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Committee. legal_calendar.query: dated legal metadata. Null when the source value or applicable observation is unavailable."
                    },
                    "law_link_status": {
                      "type": "string",
                      "description": "Law link status. legal_calendar.query: dated legal metadata."
                    },
                    "url": {
                      "type": "string",
                      "description": "Url. legal_calendar.query: dated legal metadata."
                    },
                    "scope": {
                      "type": "string",
                      "description": "Scope. legal_calendar.query: dated legal metadata."
                    },
                    "match_basis": {
                      "type": "string",
                      "description": "Match basis. legal_calendar.query: dated legal metadata."
                    }
                  }
                }
              },
              "sector_total": {
                "type": "integer"
              },
              "universal_total": {
                "type": "integer"
              },
              "general_total": {
                "type": "integer"
              },
              "available": {
                "type": "boolean",
                "description": "Available. legal_calendar.query: dated legal metadata."
              },
              "no_upcoming_date_total": {
                "type": "integer",
                "description": "No upcoming date total. legal_calendar.query: dated legal metadata."
              },
              "sector_truncated": {
                "type": "boolean",
                "description": "Sector truncated. legal_calendar.query: dated legal metadata."
              },
              "universal_truncated": {
                "type": "boolean",
                "description": "Universal truncated. legal_calendar.query: dated legal metadata."
              },
              "general_truncated": {
                "type": "boolean",
                "description": "General truncated. legal_calendar.query: dated legal metadata."
              }
            }
          },
          "eu_deadlines": {
            "type": "object",
            "additionalProperties": true,
            "properties": {
              "sector": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "identity": {
                      "type": "string",
                      "description": "Identity. legal_calendar.query: dated legal metadata."
                    },
                    "title": {
                      "type": "string",
                      "description": "Title. legal_calendar.query: dated legal metadata."
                    },
                    "date": {
                      "type": "string",
                      "description": "Date. legal_calendar.query: dated legal metadata."
                    },
                    "title_en": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Title en. legal_calendar.query: dated legal metadata. Null when the source value or applicable observation is unavailable."
                    },
                    "date_basis": {
                      "type": "string",
                      "description": "Date basis. legal_calendar.query: dated legal metadata."
                    },
                    "measures_detected": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "Measures detected. legal_calendar.query: dated legal metadata. Null when the source value or applicable observation is unavailable."
                    },
                    "lifecycle": {
                      "type": "string",
                      "description": "Lifecycle. legal_calendar.query: dated legal metadata."
                    },
                    "url": {
                      "type": "string",
                      "description": "Url. legal_calendar.query: dated legal metadata."
                    },
                    "scope": {
                      "type": "string",
                      "description": "Scope. legal_calendar.query: dated legal metadata."
                    },
                    "match_basis": {
                      "type": "string",
                      "description": "Match basis. legal_calendar.query: dated legal metadata."
                    }
                  }
                }
              },
              "universal": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "identity": {
                      "type": "string",
                      "description": "Identity. legal_calendar.query: dated legal metadata."
                    },
                    "title": {
                      "type": "string",
                      "description": "Title. legal_calendar.query: dated legal metadata."
                    },
                    "date": {
                      "type": "string",
                      "description": "Date. legal_calendar.query: dated legal metadata."
                    },
                    "title_en": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Title en. legal_calendar.query: dated legal metadata. Null when the source value or applicable observation is unavailable."
                    },
                    "date_basis": {
                      "type": "string",
                      "description": "Date basis. legal_calendar.query: dated legal metadata."
                    },
                    "measures_detected": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "Measures detected. legal_calendar.query: dated legal metadata. Null when the source value or applicable observation is unavailable."
                    },
                    "lifecycle": {
                      "type": "string",
                      "description": "Lifecycle. legal_calendar.query: dated legal metadata."
                    },
                    "url": {
                      "type": "string",
                      "description": "Url. legal_calendar.query: dated legal metadata."
                    },
                    "scope": {
                      "type": "string",
                      "description": "Scope. legal_calendar.query: dated legal metadata."
                    },
                    "match_basis": {
                      "type": "string",
                      "description": "Match basis. legal_calendar.query: dated legal metadata."
                    }
                  }
                }
              },
              "general": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "identity": {
                      "type": "string",
                      "description": "Identity. legal_calendar.query: dated legal metadata."
                    },
                    "title": {
                      "type": "string",
                      "description": "Title. legal_calendar.query: dated legal metadata."
                    },
                    "date": {
                      "type": "string",
                      "description": "Date. legal_calendar.query: dated legal metadata."
                    },
                    "title_en": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "Title en. legal_calendar.query: dated legal metadata. Null when the source value or applicable observation is unavailable."
                    },
                    "date_basis": {
                      "type": "string",
                      "description": "Date basis. legal_calendar.query: dated legal metadata."
                    },
                    "measures_detected": {
                      "type": [
                        "integer",
                        "null"
                      ],
                      "description": "Measures detected. legal_calendar.query: dated legal metadata. Null when the source value or applicable observation is unavailable."
                    },
                    "lifecycle": {
                      "type": "string",
                      "description": "Lifecycle. legal_calendar.query: dated legal metadata."
                    },
                    "url": {
                      "type": "string",
                      "description": "Url. legal_calendar.query: dated legal metadata."
                    },
                    "scope": {
                      "type": "string",
                      "description": "Scope. legal_calendar.query: dated legal metadata."
                    },
                    "match_basis": {
                      "type": "string",
                      "description": "Match basis. legal_calendar.query: dated legal metadata."
                    }
                  }
                }
              },
              "sector_total": {
                "type": "integer"
              },
              "universal_total": {
                "type": "integer"
              },
              "general_total": {
                "type": "integer"
              },
              "available": {
                "type": "boolean",
                "description": "Available. legal_calendar.query: dated legal metadata."
              },
              "sector_truncated": {
                "type": "boolean",
                "description": "Sector truncated. legal_calendar.query: dated legal metadata."
              },
              "universal_truncated": {
                "type": "boolean",
                "description": "Universal truncated. legal_calendar.query: dated legal metadata."
              },
              "general_truncated": {
                "type": "boolean",
                "description": "General truncated. legal_calendar.query: dated legal metadata."
              }
            }
          },
          "available": {
            "type": "boolean"
          },
          "emtak": {
            "type": [
              "string",
              "null"
            ]
          },
          "notice": {
            "type": "string"
          },
          "calendar_as_of": {
            "type": [
              "string",
              "null"
            ],
            "description": "Calendar evaluation date, separate from the snapshot publication clock."
          }
        },
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ]
      },
      "annotations": {
        "title": "Legal calendar",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "economy_context",
      "title": "Economic context",
      "description": "National context: real gross domestic product (GDP) annual growth, month-end registered unemployed counts and annualised volume-weighted contractual interest rates on new and amended euro loans to Estonian resident non-financial corporations. Growth uses chain-linked, unadjusted, revisable volume accounts, not flash estimates; unemployment is a count, not a rate; interest is not outstanding-loan interest. The official corporate aggregate includes sole proprietors with 10+ employees. Each series includes observation periods, units, basis, cadence and source licences, with up to eight observations. Old snapshots return empty rows; truncated results retain totals. Use region_stats for counties or sector_stats for company benchmarks. Do not look up natural persons or household credit data.",
      "inputSchema": {
        "properties": {},
        "title": "economy_contextArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "rows_total": {
            "type": "integer"
          },
          "rows": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "indicator": {
                  "type": "string"
                },
                "source": {
                  "type": "string"
                },
                "table_code": {
                  "type": "string"
                },
                "unit": {
                  "type": "string"
                },
                "basis": {
                  "type": "string"
                },
                "frequency": {
                  "type": "string"
                },
                "publication_cadence": {
                  "type": "string"
                },
                "release_basis": {
                  "type": "string"
                },
                "source_url": {
                  "type": "string"
                },
                "coverage": {
                  "type": "string"
                },
                "period": {
                  "type": "string"
                },
                "value": {
                  "type": "number"
                },
                "series_total": {
                  "type": "integer"
                },
                "series": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "period": {
                        "type": "string"
                      },
                      "value": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "period",
                      "value"
                    ]
                  }
                }
              },
              "required": [
                "indicator",
                "period",
                "value",
                "unit",
                "basis",
                "source",
                "source_url",
                "frequency",
                "publication_cadence",
                "release_basis",
                "series_total"
              ],
              "additionalProperties": true
            }
          }
        },
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer",
          "rows",
          "rows_total"
        ],
        "additionalProperties": true
      },
      "annotations": {
        "title": "Economic context",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "region_stats",
      "title": "Regional statistics",
      "description": "County medians, employment and aid; omit county for all counties. Land is national. Optional sections add quarterly figures, filing coverage, labour market, public buying, energy labels, land, property, construction, municipal acts, municipality rankings and tourism. Small cells are suppressed. Labour taxes are not wages; registered unemployment is a count, not a rate. Filing absence is not proven non-filing. Buying uses registered seat and all retained history, independent of year; ceilings are not spend. Energy labels cover certified buildings, not all buildings or verified current validity. Property stock counts registered apartment-property units, not dwellings. Transactions are dated aggregates: respect frozen periods and never pool medians. national_construction: national series inside a county dossier only; null without county. Municipal topics are incomplete relevance indicators. Guest-night cost is not revenue; national tourism does not establish county seasonality. Preserve dates, units and nulls. county_brief keeps those figures; code region_report. Truncated lists keep totals. Use sector_stats for an industry. Do not look up natural persons, owners or parcel records.",
      "inputSchema": {
        "properties": {
          "county": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "County name or alias. Omit for every county. Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.",
            "title": "County"
          },
          "year": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Year",
            "title": "Year"
          },
          "sections": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Opt-in context sections; omitted or [] returns pre-integration core only. Available: energy_labels, labour_market, land, municipal_acts, municipalities_ranked, national_construction, property_market, property_stock, public_buying, quarterly, report_coverage, tourism",
            "title": "Sections"
          },
          "quarterly_form": {
            "default": "ou",
            "description": "Quarterly legal-form group: OÜ, AS, other retained legal forms. Independent of annual-account year.",
            "enum": [
              "ou",
              "as",
              "other"
            ],
            "title": "Quarterly Form",
            "type": "string"
          }
        },
        "title": "region_statsArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of_basis": {
                  "type": "string",
                  "description": "As of basis. privacy._sources: compact source attribution; absent clocks are omitted."
                },
                "table": {
                  "type": "string",
                  "description": "Table. privacy._sources: compact source attribution; absent clocks are omitted."
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "found": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "county": {
            "type": [
              "string",
              "null"
            ]
          },
          "slug": {
            "type": [
              "string",
              "null"
            ]
          },
          "year": {
            "type": [
              "number",
              "null"
            ]
          },
          "partial": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "year_label": {
            "type": [
              "string",
              "null"
            ]
          },
          "company_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "company_count_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "share_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "share_pct_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "delta_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "delta_pct_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "median_revenue": {
            "type": [
              "number",
              "null"
            ]
          },
          "median_revenue_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "median_revenue_unit": {
            "type": [
              "string",
              "null"
            ]
          },
          "median_series": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "year": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "median_revenue": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "employees_total": {
            "type": [
              "number",
              "null"
            ]
          },
          "employees_total_reason": {
            "type": [
              "string",
              "null"
            ]
          },
          "employees_unit": {
            "type": [
              "string",
              "null"
            ]
          },
          "unemployment": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "value": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "source": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "aid": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "sum": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "sum_reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "decisions": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "year": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "open_call_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "sectors": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "emtak": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "label": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company_count": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "revenue_sum": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "revenue_sum_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "employees": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "employees_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "label_en": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Label en. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."
                },
                "label_en_method": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Label en method. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata. Null when the source value or applicable observation is unavailable."
                }
              },
              "additionalProperties": true
            }
          },
          "municipalities": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company_count": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "median_revenue": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "median_revenue_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "municipalities_ranked": {
            "type": [
              "array",
              "null"
            ],
            "description": "Opt-in. Same active-company municipality rows as municipalities, ordered by company_count descending then name. median_revenue is null when median_revenue_n < 5.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "slug": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company_count": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "median_revenue": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "median_revenue_n": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "employees_total": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "largest": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "registry_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "revenue": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "revenue_unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "year": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "excluded_unit_uncertain": {
            "type": [
              "object",
              "null"
            ],
            "description": "Companies left out of this revenue ranking because revenue is null and monetary_null_reason is unit_uncertain. count is the filtered total; companies lists at most 20 with registry_code and name, and has no rank. count 0 means none were excluded.",
            "properties": {
              "count": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "companies": {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "registry_code": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "additionalProperties": true
          },
          "demography": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "year": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "new": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "deleted": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "counties_compare": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "county": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company_count": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "median_revenue": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "median_revenue_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            }
          },
          "gross_wage": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "series": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "period": {
                      "type": "string"
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "period",
                    "value"
                  ]
                }
              },
              "series_total": {
                "type": "integer"
              },
              "indicator": {
                "type": "string",
                "description": "Indicator. stat_tables.region_gross_wage: official county wage context."
              },
              "table_code": {
                "type": "string",
                "description": "Table code. stat_tables.region_gross_wage: official county wage context."
              },
              "level": {
                "type": "string",
                "description": "Level. stat_tables.region_gross_wage: official county wage context."
              },
              "county": {
                "type": "string",
                "description": "County. stat_tables.region_gross_wage: official county wage context."
              },
              "unit": {
                "type": "string",
                "description": "Unit. stat_tables.region_gross_wage: official county wage context."
              },
              "source": {
                "type": "string",
                "description": "Source. stat_tables.region_gross_wage: official county wage context."
              },
              "attribution": {
                "type": "string",
                "description": "Attribution. stat_tables.region_gross_wage: official county wage context."
              },
              "label": {
                "type": "string",
                "description": "Label. stat_tables.region_gross_wage: official county wage context."
              }
            },
            "additionalProperties": true
          },
          "wage_municipalities": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "value": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "period": {
                  "type": "string",
                  "description": "Period. stat_tables.region_municipality_wages: latest municipal wage observations."
                }
              }
            }
          },
          "bankruptcies": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "series": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "period": {
                      "type": "string"
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "period",
                    "value"
                  ]
                }
              },
              "series_total": {
                "type": "integer"
              },
              "indicator": {
                "type": "string",
                "description": "Indicator. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "table_code": {
                "type": "string",
                "description": "Table code. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "level": {
                "type": "string",
                "description": "Level. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "emtak": {
                "type": "string",
                "description": "Emtak. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "unit": {
                "type": "string",
                "description": "Unit. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "source": {
                "type": "string",
                "description": "Source. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "attribution": {
                "type": "string",
                "description": "Attribution. stat_tables sector/region_bankruptcies: official NACE or national context."
              },
              "label": {
                "type": "string",
                "description": "Label. stat_tables sector/region_bankruptcies: official NACE or national context."
              }
            },
            "additionalProperties": true
          },
          "counties": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "county": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "company_count": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "median_revenue": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "employees": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "aid_sum": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "report_coverage": {
                  "anyOf": [
                    {
                      "type": "object",
                      "description": "Compact all-county coverage: values are positional rows matching the shared top-level report_coverage.columns. All three periods are retained; suppressed counts including cohort size are null.",
                      "properties": {
                        "values": {
                          "type": "array",
                          "items": {
                            "type": "array",
                            "items": {
                              "type": [
                                "string",
                                "number",
                                "null"
                              ]
                            }
                          }
                        }
                      },
                      "additionalProperties": true
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              }
            }
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "report_coverage": {
            "anyOf": [
              {
                "type": "object",
                "description": "Fixed FY2024/2025 R-status OÜ cohort registered before 2023 with 12-31 year end. Dated absence is not evidence of non-filing. Ingestion-unavailable and suppressed values are null. With county omitted, contains shared metadata and columns for each county report_coverage.values.",
                "properties": {
                  "as_of": {
                    "type": "string"
                  },
                  "chosen_year_rule": {
                    "type": "string"
                  },
                  "ingestion_status": {
                    "type": "string"
                  },
                  "rows": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "additionalProperties": true,
                      "properties": {
                        "period": {
                          "type": "string",
                          "description": "Period. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                        },
                        "cohort_count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Cohort size; null under privacy suppression, including unavailable ingestion."
                        },
                        "found_count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Observed company count for the period; null when ingestion is unavailable or the cohort is suppressed."
                        },
                        "absent_count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Observed company count for the period; null when ingestion is unavailable or the cohort is suppressed."
                        },
                        "absent_share_pct": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Percentage of the cohort; null for empty cohorts, unavailable ingestion or suppression."
                        },
                        "completeness_pct": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Percentage of the cohort; null for empty cohorts, unavailable ingestion or suppression."
                        },
                        "reason": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "ingestion_unavailable or suppressed; null for a loaded, unsuppressed observation."
                        },
                        "at_least_one_count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Observed company count for the period; null when ingestion is unavailable or the cohort is suppressed."
                        },
                        "both_years_count": {
                          "type": [
                            "integer",
                            "null"
                          ],
                          "description": "Observed company count for the period; null when ingestion is unavailable or the cohort is suppressed."
                        }
                      }
                    }
                  },
                  "rows_total": {
                    "type": "integer"
                  },
                  "columns": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "fiscal_years": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    },
                    "description": "Fiscal years. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "registered_before": {
                    "type": "string",
                    "description": "Registered before. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "fiscal_year_end": {
                    "type": "string",
                    "description": "Fiscal year end. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "legal_form": {
                    "type": "string",
                    "description": "Legal form. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "status": {
                    "type": "string",
                    "description": "Status. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "membership_basis": {
                    "type": "string",
                    "description": "Membership basis. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "loaded_years": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    },
                    "description": "Loaded years. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "imported_at": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Imported at. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations. Null when the source value or applicable observation is unavailable."
                  },
                  "source_cutoff": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Source cutoff. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations. Null when the source value or applicable observation is unavailable."
                  },
                  "national_completeness": {
                    "type": "string",
                    "description": "National completeness. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "label": {
                    "type": "string",
                    "description": "Label. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  },
                  "note": {
                    "type": "string",
                    "description": "Note. report_coverage._coverage_payload: fixed FY2024–2025 ingestion observations."
                  }
                },
                "additionalProperties": true
              },
              {
                "type": "null"
              }
            ],
            "description": "Opt-in: returned only when sections includes report_coverage. "
          },
          "quarterly": {
            "type": [
              "object",
              "null"
            ],
            "description": "Opt-in: returned only when sections includes quarterly. Eight latest quarters from a fixed 12-quarter complete-reporting legal-entity cohort. Current geography/classifier. Small cells excluded before all rollups. Empty for old snapshots.",
            "properties": {
              "method": {
                "type": "string"
              },
              "segments_total": {
                "type": "integer"
              },
              "truncated": {
                "type": "boolean"
              },
              "segments": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "legal_form": {
                      "type": "string",
                      "enum": [
                        "ou",
                        "as",
                        "other"
                      ]
                    },
                    "coverage_count": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "suppressed": {
                      "type": "boolean"
                    },
                    "rows_total": {
                      "type": "integer"
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "period": {
                            "type": "string"
                          },
                          "headcount_change": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "turnover": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "turnover_yoy_pct": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "employee_count": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "employee_count_yoy_pct": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "labour_taxes": {
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "labour_taxes_yoy_pct": {
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "additionalProperties": true
                      }
                    },
                    "truncated": {
                      "type": "boolean"
                    }
                  },
                  "additionalProperties": true
                }
              }
            },
            "additionalProperties": true
          },
          "public_buying": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "properties": {
              "geography_basis": {
                "type": "string",
                "const": "registered_seat"
              },
              "note": {
                "type": "string"
              },
              "coverage": {
                "type": "object",
                "additionalProperties": true,
                "properties": {
                  "source_notice_count": {
                    "type": "integer",
                    "description": "Source notice count. public_buying: retained procurement observations and coverage."
                  },
                  "joined_notice_count": {
                    "type": "integer",
                    "description": "Joined notice count. public_buying: retained procurement observations and coverage."
                  },
                  "source_buyer_count": {
                    "type": "integer",
                    "description": "Source buyer count. public_buying: retained procurement observations and coverage."
                  },
                  "joined_buyer_count": {
                    "type": "integer",
                    "description": "Joined buyer count. public_buying: retained procurement observations and coverage."
                  },
                  "source_start": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Source start. public_buying: retained procurement observations and coverage. Null when the source value or applicable observation is unavailable."
                  },
                  "source_end": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "Source end. public_buying: retained procurement observations and coverage. Null when the source value or applicable observation is unavailable."
                  }
                }
              },
              "truncated": {
                "type": "boolean"
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "notice_count": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Retained notice count for matched legal buyers."
                    },
                    "procedure_count": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Distinct unambiguous folders."
                    },
                    "lot_count": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Observed latest-revision folder/lot pairs with a legal-entity winner."
                    },
                    "tenders_known_n": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Lots with a consistent known non-negative integer tender count."
                    },
                    "tenders_unknown_n": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Lots with missing or conflicting tender counts."
                    },
                    "single_tender_n": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Known lots with exactly one tender."
                    },
                    "single_tender_share": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "single_tender_n / tenders_known_n; null if denominator is zero."
                    },
                    "ceiling_eur": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Sum of consistent known lot ceilings, not expenditure."
                    },
                    "ceiling_known_n": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Lots contributing a known ceiling, including zero."
                    },
                    "shared_or_unknown_winner_lots": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Lots not attributable to exactly one joined legal-entity winner."
                    },
                    "county": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "buyer_count": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Number of joined legal-entity buyers; public counts are not small-cell suppressed."
                    },
                    "unknown_procedure_notice_n": {
                      "type": "integer",
                      "description": "Unknown procedure notice n. public_buying: retained procurement observations and coverage."
                    }
                  }
                }
              },
              "rows_total": {
                "type": [
                  "number",
                  "null"
                ],
                "description": "County count before envelope trimming."
              }
            },
            "description": "Opt-in: returned only when sections includes public_buying. "
          },
          "labour_market": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "classification": {
                "type": "string"
              },
              "rows_total": {
                "type": "integer"
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "table_code": {
                      "type": "string"
                    },
                    "code": {
                      "type": "string"
                    },
                    "metric": {
                      "type": "string"
                    },
                    "period": {
                      "type": "string"
                    },
                    "unit": {
                      "type": "string"
                    },
                    "value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "national_value": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "national_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "table_code",
                    "metric",
                    "period",
                    "value"
                  ]
                }
              },
              "latest": {
                "type": "object",
                "description": "Latest observed values by Statistics Estonia table and metric. Preserved when historical rows are trimmed. Each table has code, unit and values; each metric retains its own period, value, national_value and missingness reasons.",
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "Code. labour_market._latest_values and tools._bound_labour_context: latest official labour measures."
                    },
                    "unit": {
                      "type": "string",
                      "description": "Unit. labour_market._latest_values and tools._bound_labour_context: latest official labour measures."
                    },
                    "values": {
                      "type": "object",
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "period": {
                            "type": "string",
                            "description": "Period. labour_market._latest_values and tools._bound_labour_context: latest official labour measures."
                          },
                          "value": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Value. labour_market._latest_values and tools._bound_labour_context: latest official labour measures. Null when the source value or applicable observation is unavailable."
                          },
                          "national_value": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "National value. labour_market._latest_values and tools._bound_labour_context: latest official labour measures. Null when the source value or applicable observation is unavailable."
                          },
                          "reason": {
                            "type": "string",
                            "description": "Reason. labour_market._latest_values and tools._bound_labour_context: latest official labour measures."
                          },
                          "national_reason": {
                            "type": "string",
                            "description": "National reason. labour_market._latest_values and tools._bound_labour_context: latest official labour measures."
                          }
                        },
                        "required": [
                          "period",
                          "value",
                          "national_value"
                        ]
                      },
                      "description": "Values. labour_market._latest_values and tools._bound_labour_context: latest official labour measures."
                    }
                  },
                  "required": [
                    "code",
                    "unit",
                    "values"
                  ]
                }
              },
              "rows_returned": {
                "type": "integer",
                "description": "Rows returned. labour_market._latest_values and tools._bound_labour_context: latest official labour measures."
              },
              "rows_truncated": {
                "type": "boolean",
                "description": "Rows truncated. labour_market._latest_values and tools._bound_labour_context: latest official labour measures."
              }
            },
            "description": "Opt-in: returned only when sections includes labour_market. Official aggregate context; source gaps remain null, periods and classification are independent of company report year. Lists may be truncated."
          },
          "energy_labels": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "n": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "registered_buildings": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "registered_rows": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "partial_only_buildings": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "excluded_date_buildings": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "missing_valid_to": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "located_county": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "located_municipality": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "as_of": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "as_of_basis": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "view": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "methodology": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "note": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "distribution": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "calculation_type": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "energy_class": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "n": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  }
                }
              },
              "counties": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "county": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "n": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "ETA": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "KEK": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "unknown": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  }
                }
              },
              "municipalities": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "municipality": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "n": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "ETA": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "KEK": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "unknown": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    }
                  }
                }
              },
              "truncated": {
                "type": "boolean"
              },
              "distribution_total": {
                "type": "integer"
              },
              "counties_total": {
                "type": "integer"
              },
              "municipalities_total": {
                "type": "integer"
              }
            },
            "description": "Opt-in: returned only when sections includes energy_labels. "
          },
          "land": {
            "type": [
              "object",
              "null"
            ],
            "description": "Opt-in: returned only when sections includes land. Aggregate cadastral context, independently dated. National scope when county is omitted.",
            "additionalProperties": true,
            "properties": {
              "as_of": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "scope": {
                "type": "string"
              },
              "unit_count": {
                "type": "integer"
              },
              "area_km2": {
                "type": "number"
              },
              "area_missing_units": {
                "type": "integer"
              },
              "ownership": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "category": {
                      "type": "string"
                    },
                    "area_km2": {
                      "type": "number"
                    },
                    "unit_count": {
                      "type": "integer"
                    },
                    "area_missing_units": {
                      "type": "integer",
                      "description": "Area missing units. land: aggregate cadastre measures."
                    }
                  }
                }
              },
              "land_cover": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "category": {
                      "type": "string"
                    },
                    "area_km2": {
                      "type": "number"
                    },
                    "unit_count": {
                      "type": "integer"
                    }
                  }
                }
              },
              "land_use": {
                "type": "array",
                "items": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {
                    "category": {
                      "type": "string"
                    },
                    "area_km2": {
                      "type": "number"
                    },
                    "unit_count": {
                      "type": "integer"
                    }
                  }
                }
              },
              "source": {
                "type": "object",
                "properties": {
                  "key": {
                    "type": "string",
                    "description": "Key. land: aggregate cadastre measures."
                  },
                  "name": {
                    "type": "string",
                    "description": "Name. land: aggregate cadastre measures."
                  },
                  "url": {
                    "type": "string",
                    "description": "Url. land: aggregate cadastre measures."
                  },
                  "attribution": {
                    "type": "string",
                    "description": "Attribution. land: aggregate cadastre measures."
                  },
                  "licence": {
                    "type": "string",
                    "description": "Licence. land: aggregate cadastre measures."
                  },
                  "licence_url": {
                    "type": "string",
                    "description": "Licence url. land: aggregate cadastre measures."
                  },
                  "status": {
                    "type": "string",
                    "description": "Status. land: aggregate cadastre measures."
                  },
                  "as_of": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "As of. land: aggregate cadastre measures. Null when the source value or applicable observation is unavailable."
                  },
                  "as_of_basis": {
                    "type": "string",
                    "description": "As of basis. land: aggregate cadastre measures."
                  }
                },
                "additionalProperties": true,
                "description": "Source. land: aggregate cadastre measures."
              },
              "note": {
                "type": "string",
                "description": "Note. land: aggregate cadastre measures."
              },
              "ownership_total": {
                "type": "integer",
                "description": "Ownership total. land: aggregate cadastre measures."
              },
              "truncated": {
                "type": "boolean",
                "description": "Truncated. land: aggregate cadastre measures."
              },
              "land_cover_total": {
                "type": "integer",
                "description": "Land cover total. land: aggregate cadastre measures."
              },
              "land_use_total": {
                "type": "integer",
                "description": "Land use total. land: aggregate cadastre measures."
              }
            }
          },
          "property_stock": {
            "type": [
              "object",
              "null"
            ],
            "description": "Opt-in: returned only when sections includes property_stock. Registered apartment-property units (korteriomand), not physical dwellings. Source Last-Modified date; RIK kinnistusraamat (Kris.xml), CC BY-SA 4.0, https://creativecommons.org/licenses/by-sa/4.0/. Missing input or old snapshots: null.",
            "additionalProperties": true,
            "properties": {
              "unit_count": {
                "type": "integer"
              },
              "scope": {
                "type": "string"
              },
              "as_of": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "county_available": {
                "type": "boolean"
              },
              "unknown_county_count": {
                "type": "integer"
              },
              "source": {
                "type": "object",
                "additionalProperties": true,
                "properties": {
                  "key": {
                    "type": "string",
                    "description": "Key. property_stock: aggregate registered apartment-property units."
                  },
                  "name": {
                    "type": "string",
                    "description": "Name. property_stock: aggregate registered apartment-property units."
                  },
                  "url": {
                    "type": "string",
                    "description": "Url. property_stock: aggregate registered apartment-property units."
                  },
                  "attribution": {
                    "type": "string",
                    "description": "Attribution. property_stock: aggregate registered apartment-property units."
                  },
                  "licence": {
                    "type": "string",
                    "description": "Licence. property_stock: aggregate registered apartment-property units."
                  },
                  "licence_url": {
                    "type": "string",
                    "description": "Licence url. property_stock: aggregate registered apartment-property units."
                  },
                  "status": {
                    "type": "string",
                    "description": "Status. property_stock: aggregate registered apartment-property units."
                  },
                  "as_of": {
                    "type": [
                      "string",
                      "null"
                    ],
                    "description": "As of. property_stock: aggregate registered apartment-property units. Null when the source value or applicable observation is unavailable."
                  },
                  "as_of_basis": {
                    "type": "string",
                    "description": "As of basis. property_stock: aggregate registered apartment-property units."
                  }
                }
              },
              "note": {
                "type": "string",
                "description": "Note. property_stock: aggregate registered apartment-property units."
              },
              "geography_note": {
                "type": "string",
                "description": "Geography note. property_stock: aggregate registered apartment-property units."
              }
            }
          },
          "property_market": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "frozen_since": {
                "type": "string",
                "const": "2026-05-11"
              },
              "grain": {
                "type": "string"
              },
              "population": {
                "type": "string"
              },
              "price_unit": {
                "type": "string"
              },
              "rows": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "area_code": {
                      "type": "string"
                    },
                    "municipality": {
                      "type": "string"
                    },
                    "property_type": {
                      "type": "string"
                    },
                    "property_subtype": {
                      "type": "string"
                    },
                    "period": {
                      "type": "string"
                    },
                    "partial": {
                      "type": "boolean"
                    },
                    "deal_count": {
                      "type": "integer"
                    },
                    "median_price_m2": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "price_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                }
              },
              "rows_total": {
                "type": "integer"
              },
              "truncated": {
                "type": "boolean"
              }
            },
            "additionalProperties": true,
            "description": "Opt-in: returned only when sections includes property_market. "
          },
          "national_construction": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string"
                },
                "table": {
                  "type": "string"
                },
                "geography": {
                  "type": "string"
                },
                "unit": {
                  "type": "string"
                },
                "source_url": {
                  "type": "string"
                },
                "series": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "period": {
                        "type": "string"
                      },
                      "value": {
                        "type": [
                          "number",
                          "null"
                        ]
                      }
                    },
                    "additionalProperties": true
                  }
                },
                "series_total": {
                  "type": "integer"
                },
                "truncated": {
                  "type": "boolean"
                }
              },
              "additionalProperties": true
            },
            "description": "Opt-in: returned only when sections includes national_construction and county is supplied; national series inside the county dossier, null without county."
          },
          "municipal_acts": {
            "type": [
              "object",
              "null"
            ],
            "description": "Opt-in: returned only when sections includes municipal_acts. Current municipal regulations: derived title-keyword relevance, not a complete compliance checklist. Null for older snapshots.",
            "properties": {
              "current_count": {
                "type": "integer"
              },
              "published_12m": {
                "type": "integer",
                "description": "Publication dates of current redactions; not newly enacted laws."
              },
              "mapping_version": {
                "type": "string"
              },
              "as_of": {
                "type": "string"
              },
              "topic_method": {
                "const": "title_keywords"
              },
              "source_geography_level": {
                "const": "municipality"
              },
              "unassigned_count": {
                "type": "integer"
              },
              "municipalities": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "description": "Code. municipal_acts: current municipal regulation metadata."
                    },
                    "name": {
                      "type": "string",
                      "description": "Name. municipal_acts: current municipal regulation metadata."
                    },
                    "current_count": {
                      "type": "integer",
                      "description": "Current count. municipal_acts: current municipal regulation metadata."
                    },
                    "published_12m": {
                      "type": "integer",
                      "description": "Published 12m. municipal_acts: current municipal regulation metadata."
                    }
                  }
                }
              },
              "topics": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "string",
                      "description": "Key. municipal_acts: current municipal regulation metadata."
                    },
                    "acts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "global_id": {
                            "type": "string",
                            "description": "Global id. municipal_acts: current municipal regulation metadata."
                          },
                          "municipality": {
                            "type": "string",
                            "description": "Municipality. municipal_acts: current municipal regulation metadata."
                          },
                          "title": {
                            "type": "string",
                            "description": "Title. municipal_acts: current municipal regulation metadata."
                          },
                          "publication_date": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Publication date. municipal_acts: current municipal regulation metadata. Null when the source value or applicable observation is unavailable."
                          },
                          "effective_date": {
                            "type": "string",
                            "description": "Effective date. municipal_acts: current municipal regulation metadata."
                          },
                          "url": {
                            "type": "string",
                            "description": "Url. municipal_acts: current municipal regulation metadata."
                          }
                        },
                        "additionalProperties": true
                      },
                      "description": "Acts. municipal_acts: current municipal regulation metadata."
                    },
                    "acts_total": {
                      "type": "integer",
                      "description": "Acts total. municipal_acts: current municipal regulation metadata."
                    },
                    "truncated": {
                      "type": "boolean",
                      "description": "Truncated. municipal_acts: current municipal regulation metadata."
                    }
                  }
                }
              },
              "truncated": {
                "type": "boolean"
              },
              "excluded_invalid_title": {
                "type": "integer",
                "description": "Excluded invalid title. municipal_acts: current municipal regulation metadata."
              },
              "new_12m_basis": {
                "type": "string",
                "description": "New 12m basis. municipal_acts: current municipal regulation metadata."
              },
              "period_start_exclusive": {
                "type": "string",
                "description": "Period start exclusive. municipal_acts: current municipal regulation metadata."
              },
              "relevance": {
                "type": "string",
                "description": "Relevance. municipal_acts: current municipal regulation metadata."
              }
            },
            "additionalProperties": true
          },
          "tourism": {
            "type": "object",
            "description": "Opt-in: returned only when sections includes tourism. TU110 annual county totals and normalized TU121 national monthly arrivals; independent periods, null means not reported. Cost is not revenue/profit/yield.",
            "properties": {
              "annual": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "county": {
                      "type": "string"
                    },
                    "period": {
                      "type": "string"
                    },
                    "CAP_BEDP": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure CAP_BEDP; null when not reported. See measures for label and unit."
                    },
                    "CAP_BEDR": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure CAP_BEDR; null when not reported. See measures for label and unit."
                    },
                    "CAP_ESTA": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure CAP_ESTA; null when not reported. See measures for label and unit."
                    },
                    "OCC_ARR": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_ARR; null when not reported. See measures for label and unit."
                    },
                    "OCC_ARR_BSNS": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_ARR_BSNS; null when not reported. See measures for label and unit."
                    },
                    "OCC_ARR_HOL": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_ARR_HOL; null when not reported. See measures for label and unit."
                    },
                    "OCC_NI": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_NI; null when not reported. See measures for label and unit."
                    },
                    "OCC_NI_COST": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_NI_COST; null when not reported. See measures for label and unit."
                    },
                    "OCC_OR_BEDP": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_OR_BEDP; null when not reported. See measures for label and unit."
                    },
                    "OCC_OR_BEDR": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_OR_BEDR; null when not reported. See measures for label and unit."
                    }
                  },
                  "additionalProperties": true
                }
              },
              "monthly": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "period": {
                      "type": "string"
                    },
                    "OCC_ARR": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_ARR; null when not reported. See measures for label and unit."
                    },
                    "OCC_ARR_NONRES": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_ARR_NONRES; null when not reported. See measures for label and unit."
                    },
                    "OCC_ARR_RES": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Source tourism measure OCC_ARR_RES; null when not reported. See measures for label and unit."
                    }
                  },
                  "additionalProperties": true
                }
              },
              "annual_total": {
                "type": "integer"
              },
              "monthly_total": {
                "type": "integer"
              },
              "sources": {
                "type": "array",
                "items": {
                  "type": "object"
                }
              },
              "truncated": {
                "type": "boolean"
              },
              "available": {
                "type": "boolean",
                "description": "Available. tourism.tourism: separate annual and monthly official tourism measures."
              },
              "availability_reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Availability reason. tourism.tourism: separate annual and monthly official tourism measures. Null when no missing-value, suppression or unavailability reason applies."
              },
              "annual_year": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "Annual year. tourism.tourism: separate annual and monthly official tourism measures. Null when the source value or applicable observation is unavailable."
              },
              "annual_geography": {
                "type": "string",
                "description": "Annual geography. tourism.tourism: separate annual and monthly official tourism measures."
              },
              "monthly_geography": {
                "type": "string",
                "description": "Monthly geography. tourism.tourism: separate annual and monthly official tourism measures."
              },
              "measures": {
                "type": "object",
                "description": "Source measure codes mapped to labels and units.",
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "label": {
                      "type": "string",
                      "description": "Label. tourism.tourism: separate annual and monthly official tourism measures."
                    },
                    "unit": {
                      "type": "string",
                      "description": "Unit. tourism.tourism: separate annual and monthly official tourism measures."
                    }
                  },
                  "additionalProperties": true
                }
              },
              "null_reason": {
                "type": "string",
                "description": "Null reason. tourism.tourism: separate annual and monthly official tourism measures."
              },
              "note": {
                "type": "string",
                "description": "Note. tourism.tourism: separate annual and monthly official tourism measures."
              }
            },
            "additionalProperties": true
          },
          "transactions": {
            "type": [
              "object",
              "null"
            ],
            "properties": {
              "median_price_m2": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "unit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "period": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "property_type": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "frozen_at": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "partial": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "reason": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "note_code": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "note_params": {
                "type": [
                  "object",
                  "null"
                ],
                "properties": {},
                "additionalProperties": true
              },
              "note": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "additionalProperties": true
          },
          "county_brief": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "description": "Compact county figures from the report note: tax-debt company count and share, bounded aid sum and decision count, procurement win count and value, 30-day bankruptcy notice count, and median wage versus the national figure. Numbers only.",
            "properties": {
              "tax_debt": {
                "type": "object",
                "properties": {
                  "companies": {
                    "type": "integer",
                    "description": "Companies. tools._county_brief: non-null county report figures."
                  },
                  "share_pct": {
                    "type": "number",
                    "description": "Share pct. tools._county_brief: non-null county report figures."
                  },
                  "denominator": {
                    "type": "integer",
                    "description": "Denominator. tools._county_brief: non-null county report figures."
                  },
                  "threshold_eur": {
                    "type": "integer",
                    "description": "Threshold eur. tools._county_brief: non-null county report figures."
                  },
                  "period": {
                    "type": "string",
                    "description": "Period. tools._county_brief: non-null county report figures."
                  }
                },
                "additionalProperties": true,
                "description": "Tax debt. tools._county_brief: non-null county report figures."
              },
              "aid": {
                "type": "object",
                "properties": {
                  "sum": {
                    "type": "number",
                    "description": "Sum. tools._county_brief: non-null county report figures."
                  },
                  "decisions": {
                    "type": "integer",
                    "description": "Decisions. tools._county_brief: non-null county report figures."
                  },
                  "period": {
                    "type": "string",
                    "description": "Period. tools._county_brief: non-null county report figures."
                  }
                },
                "additionalProperties": true,
                "description": "Aid. tools._county_brief: non-null county report figures."
              },
              "bankruptcy_notices": {
                "type": "object",
                "properties": {
                  "notices": {
                    "type": "integer",
                    "description": "Notices. tools._county_brief: non-null county report figures."
                  },
                  "period": {
                    "type": "string",
                    "description": "Period. tools._county_brief: non-null county report figures."
                  }
                },
                "additionalProperties": true,
                "description": "Bankruptcy notices. tools._county_brief: non-null county report figures."
              },
              "median_wage": {
                "type": "object",
                "properties": {
                  "value": {
                    "type": "number",
                    "description": "Value. tools._county_brief: non-null county report figures."
                  },
                  "national_value": {
                    "type": "number",
                    "description": "National value. tools._county_brief: non-null county report figures."
                  },
                  "difference_eur": {
                    "type": "number",
                    "description": "Difference eur. tools._county_brief: non-null county report figures."
                  },
                  "difference_pct": {
                    "type": "number",
                    "description": "Difference pct. tools._county_brief: non-null county report figures."
                  },
                  "period": {
                    "type": "string",
                    "description": "Period. tools._county_brief: non-null county report figures."
                  }
                },
                "additionalProperties": true,
                "description": "Median wage. tools._county_brief: non-null county report figures."
              }
            }
          },
          "report_note_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "County report code. region_report marks a county response; the figures are in county_brief."
          },
          "label_en_note": {
            "type": "string",
            "description": "Interpretation of English sector label coverage and fallback."
          },
          "sectors_total": {
            "type": "integer",
            "description": "Sectors total. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata."
          },
          "largest_total": {
            "type": "integer",
            "description": "Largest total. queries._company_rows, fill_sector_english_labels and MCP tools: company selection and context metadata."
          },
          "counties_total": {
            "type": "integer",
            "description": "Number of counties before envelope trimming."
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "region_statsOutput",
        "description": "Default returns pre-integration core sections. Opt-in sections (via sections): energy_labels, labour_market, land, municipal_acts, municipalities_ranked, national_construction, property_market, property_stock, public_buying, quarterly, report_coverage, tourism. Unknown section names are validation errors. Nested previews retain totals/truncation; core section containers are never dropped."
      },
      "annotations": {
        "title": "Regional statistics",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "open_calls",
      "title": "Open funding calls",
      "description": "Open (default), upcoming, or all retained funding calls from the Estonian Business and Innovation Agency (EIS), Agricultural Registers and Information Board (PRIA), and Environmental Investment Centre (KIK). Pass a company profile or registry_code for matching calls, with reasons, rules, co-financing share, budget and size bands. Explicit profile fields override the company profile. This tool does not draft or submit applications. Use procurement_notices for public tenders. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "emtak": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Estonian Classification of Economic Activities (EMTAK) code. Matched on the division when the call has rules.",
            "title": "Emtak"
          },
          "county": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "County name or alias. Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.",
            "title": "County"
          },
          "size_band": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Company size band: e:0-9, e:10-49, e:50-249, e:250+, e:unknown.",
            "title": "Size Band"
          },
          "registry_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "8-digit registry code; resolves Estonian Classification of Economic Activities (EMTAK), county and size band from the snapshot. Explicit emtak/county/size_band override it per dimension.",
            "title": "Registry Code"
          },
          "provider": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Funder, for example the Estonian Business and Innovation Agency (EIS)",
            "title": "Provider"
          },
          "deadline_within_days": {
            "anyOf": [
              {
                "maximum": 3650,
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Keep calls whose deadline is within this many days",
            "title": "Deadline Within Days"
          },
          "status": {
            "default": "open",
            "description": "Call status: open (default), upcoming, or all retained calls.",
            "enum": [
              "open",
              "upcoming",
              "all"
            ],
            "title": "Status",
            "type": "string"
          }
        },
        "title": "open_callsArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "calls": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "id": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "provider": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Effective call status for the selected open, upcoming, or all retained calls."
                },
                "deadline": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "deadline_missing": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "deadline_kind": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "measure": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "summary": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "source_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "max_grant": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "category": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "cofinance_pct": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "total_budget": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "call_match": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true,
                  "description": "Distinct counties, excluded areas, EMTAK divisions and size bands. The stored call_match rows stay the full county × division × band product; this payload does not repeat it.",
                  "properties": {
                    "counties": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "string"
                      }
                    },
                    "excluded_areas": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "string"
                      }
                    },
                    "emtak_divisions": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "string"
                      }
                    },
                    "size_bands": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": "string"
                      }
                    }
                  }
                },
                "size_bands": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": "string"
                  }
                },
                "sector_scope": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "all when the source opened every sector, listed when it names divisions, unknown when it names none."
                },
                "match": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "additionalProperties": true,
                  "properties": {
                    "reasons": {
                      "type": [
                        "array",
                        "null"
                      ],
                      "items": {
                        "type": [
                          "object",
                          "null"
                        ],
                        "additionalProperties": true,
                        "properties": {
                          "dimension": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "kind": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "value": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "sector_scope": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "all, listed or unknown. Same scope as the call."
                          }
                        }
                      }
                    }
                  }
                },
                "opens_at": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "Opening date when known, including for upcoming calls."
                }
              }
            }
          },
          "calls_total": {
            "type": [
              "number",
              "null"
            ]
          },
          "row_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "unknown_scope_count": {
            "type": [
              "number",
              "null"
            ],
            "description": "Calls dropped by an EMTAK filter because the source named no sector. Zero when the caller did not filter by EMTAK."
          },
          "profile": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "properties": {
              "registry_code": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "emtak": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "emtak2": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "county": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "size_band": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "open_callsOutput"
      },
      "annotations": {
        "title": "Open funding calls",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "procurement_notices",
      "title": "Procurement notices",
      "description": "Public procurement notices filtered by buyer, Common Procurement Vocabulary (CPV), value, deadline or open status. Notice types distinguish calls for tender from awards. Estimates may be incomplete or repeated; estimates and award ceilings are not spend or payments. Text uses contains matching. Global sorting supports issued date, deadline or value, with missing values last. Keep sort and direction unchanged across cursor pages. Total counts all matches; row_count counts the returned page. Legal entities and authorities only. Use company_procurement for a company's awards, or open_calls for grants. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "query": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Title or buyer text (contains match on folded title/authority)",
            "title": "Query"
          },
          "cpv": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Common Procurement Vocabulary (CPV) code prefix",
            "title": "Cpv"
          },
          "buyer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Buyer name or registry code",
            "title": "Buyer"
          },
          "days": {
            "anyOf": [
              {
                "maximum": 3650,
                "minimum": 1,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Published within this many days",
            "title": "Days"
          },
          "open_only": {
            "default": false,
            "description": "Keep open contract notices (cn-*) with deadline on/after today; exclude award notices",
            "title": "Open Only",
            "type": "boolean"
          },
          "min_value_eur": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Minimum estimated value in EUR (finite, 0..1e15)",
            "title": "Min Value Eur"
          },
          "max_value_eur": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Maximum estimated value in EUR (finite, 0..1e15)",
            "title": "Max Value Eur"
          },
          "include_null_value": {
            "default": false,
            "description": "When min/max value filters are set, also keep notices with no estimated value",
            "title": "Include Null Value",
            "type": "boolean"
          },
          "deadline_within_days": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Keep notices whose submission deadline is within this many days (0..3650)",
            "title": "Deadline Within Days"
          },
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Opaque cursor from a previous next_cursor for the next page",
            "title": "Cursor"
          },
          "sort": {
            "default": "issued",
            "description": "Global sort key; missing values last",
            "enum": [
              "issued",
              "deadline",
              "value"
            ],
            "title": "Sort",
            "type": "string"
          },
          "dir": {
            "default": "desc",
            "description": "Sort direction; reuse with the cursor",
            "enum": [
              "asc",
              "desc"
            ],
            "title": "Dir",
            "type": "string"
          },
          "limit": {
            "default": 15,
            "description": "At most 25 notices",
            "maximum": 25,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          }
        },
        "title": "procurement_noticesArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "notices": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "notice_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "authority_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "authority_registry_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "cpv_main": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "estimated_value_eur": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "submission_deadline": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "issue_date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "notice_type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "procedure_type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "eu_funded": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rhr_reference": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "row_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "total": {
            "type": "integer",
            "description": "Total. queries.procurement_estimate_coverage and tools: procurement observation context."
          },
          "estimate_coverage": {
            "type": "object",
            "properties": {
              "with_estimate": {
                "type": "integer",
                "description": "With estimate. queries.procurement_estimate_coverage and tools: procurement observation context."
              },
              "notice_count": {
                "type": "integer",
                "description": "Notice count. queries.procurement_estimate_coverage and tools: procurement observation context."
              },
              "scope": {
                "type": "string",
                "description": "Scope. queries.procurement_estimate_coverage and tools: procurement observation context."
              }
            },
            "additionalProperties": true,
            "description": "Estimate coverage. queries.procurement_estimate_coverage and tools: procurement observation context."
          },
          "estimate_note": {
            "type": "string",
            "description": "Estimate note. queries.procurement_estimate_coverage and tools: procurement observation context."
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "procurement_noticesOutput"
      },
      "annotations": {
        "title": "Procurement notices",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "procurement_stats",
      "title": "Procurement market statistics",
      "description": "Compare legal-entity buyer and Common Procurement Vocabulary (CPV) markets across retained history. Notices, procedure folders and observed notice-lots are separate; revisions remain separate lots. Includes tender-count coverage, single-tender share with known denominator, observed winner coverage and year/buyer/category tables. Rates below five observations are withheld. Indicators are not findings, corruption scores or expenditure. Estonian Public Procurement Register attribution accompanies results. Tables have up to 50 rows; truncated results retain totals. Old snapshots return available=false and empty tables. Use procurement_notices for individual notices and open tenders. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "buyer": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Buyer name or registry-code contains match",
            "title": "Buyer"
          },
          "cpv": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Common Procurement Vocabulary (CPV) prefix",
            "title": "Cpv"
          }
        },
        "title": "procurement_statsArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "available": {
            "type": "boolean"
          },
          "note": {
            "type": "string"
          },
          "summary": {
            "type": [
              "object",
              "null"
            ],
            "additionalProperties": true,
            "properties": {
              "notice_count": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "procedure_count": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "procedure_unknown_notice_count": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "lot_count": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "tenders_known_count": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "tenders_unknown_count": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "single_tender_count": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "winner_known_count": {
                "type": [
                  "integer",
                  "null"
                ]
              },
              "key": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "label": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "source_start": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "single_tender_rate_reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "no_denominator when tenders_known_count is 0; suppressed when it is 1–4; null otherwise."
              },
              "winner_coverage_reason": {
                "type": [
                  "string",
                  "null"
                ],
                "description": "no_denominator when lot_count is 0; suppressed when it is 1–4; null otherwise."
              },
              "single_tender_rate": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "winner_coverage": {
                "type": [
                  "number",
                  "null"
                ]
              }
            }
          },
          "by_year": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "notice_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "procedure_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "procedure_unknown_notice_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "lot_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "tenders_known_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "tenders_unknown_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "single_tender_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "winner_known_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "label": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "source_start": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "single_tender_rate_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "no_denominator when tenders_known_count is 0; suppressed when it is 1–4; null otherwise."
                },
                "winner_coverage_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "no_denominator when lot_count is 0; suppressed when it is 1–4; null otherwise."
                },
                "single_tender_rate": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "winner_coverage": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              }
            }
          },
          "by_year_total": {
            "type": "integer"
          },
          "buyers": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "notice_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "procedure_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "procedure_unknown_notice_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "lot_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "tenders_known_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "tenders_unknown_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "single_tender_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "winner_known_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "label": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "source_start": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "single_tender_rate_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "no_denominator when tenders_known_count is 0; suppressed when it is 1–4; null otherwise."
                },
                "winner_coverage_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "no_denominator when lot_count is 0; suppressed when it is 1–4; null otherwise."
                },
                "single_tender_rate": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "winner_coverage": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "registry_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "buyers_total": {
            "type": "integer"
          },
          "cpv": {
            "type": "array",
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "notice_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "procedure_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "procedure_unknown_notice_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "lot_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "tenders_known_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "tenders_unknown_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "single_tender_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "winner_known_count": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "label": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "source_start": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "single_tender_rate_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "no_denominator when tenders_known_count is 0; suppressed when it is 1–4; null otherwise."
                },
                "winner_coverage_reason": {
                  "type": [
                    "string",
                    "null"
                  ],
                  "description": "no_denominator when lot_count is 0; suppressed when it is 1–4; null otherwise."
                },
                "single_tender_rate": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "winner_coverage": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              }
            }
          },
          "cpv_total": {
            "type": "integer"
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "procurement_statsOutput"
      },
      "annotations": {
        "title": "Procurement market statistics",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "company_procurement",
      "title": "Company procurement awards",
      "description": "Paginated public-procurement awards for one legal-entity winner. Includes single-winner and shared lots; attributable totals are in get_company sections procurement_wins. Dated context includes repeat-pair procedure counts and exact-date tax-debt evidence: observations, not findings. Cursor pagination supports truncated pages. Sole proprietors are withheld. Use procurement_notices for open notices, or get_company for a win summary. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "registry_code": {
            "description": "8-digit commercial register code",
            "title": "Registry Code",
            "type": "string"
          },
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Opaque cursor from a previous next_cursor for the next page",
            "title": "Cursor"
          },
          "limit": {
            "default": 15,
            "description": "At most 25 awards",
            "maximum": 25,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          }
        },
        "required": [
          "registry_code"
        ],
        "title": "company_procurementArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of_basis": {
                  "type": "string",
                  "description": "As of basis. privacy._sources: compact source attribution; absent clocks are omitted."
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "rows": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "notice_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "lot_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "buyer_registry_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "buyer_name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "title": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "cpv_main": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "value_eur": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "value_eur_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "value_unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "award_date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "tenders_received": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "tenders_received_reason": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "is_framework": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "rhr_reference": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "row_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "found": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "registry_code": {
            "type": [
              "string",
              "null"
            ]
          },
          "available": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "dedupe_key": {
            "anyOf": [
              {
                "type": [
                  "array",
                  "null"
                ],
                "items": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "null"
                ]
              }
            ]
          },
          "value_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "framework_flag_note": {
            "type": [
              "string",
              "null"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "context_note": {
            "type": "string",
            "description": "Interpretation and limitations of award context; unknown tax debt is not debt-free."
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "company_procurementOutput"
      },
      "annotations": {
        "title": "Company procurement awards",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "risk_signals",
      "title": "Risk signals",
      "description": "Legal entities matching tax debt, bankruptcy, liquidation, enforcement, restructuring or distress signals. Use cursor pagination for company lists. kind=tax_debt_trend returns observed monthly debt stock, joined/left observations and latest active-cohort sector/county incidence: top 10 by incidence rate. Estonian Classification of Economic Activities (EMTAK) and county filters affect incidence rows only; both return separate aggregates. Sector codes map to two-digit divisions; shorter prefixes match divisions. Trends have no cursor; newest months are retained with totals and truncation flags. Baselines and gaps are excluded. Absence is not debt-free; scheduled and disputed amounts remain separate. Amounts withheld below 100 EUR or source-suppressed differ from zero or no published list. Estonian Tax and Customs Board (EMTA) attribution accompanies results; old snapshots return empty lists. Use check_counterparty for one code. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "kind": {
            "anyOf": [
              {
                "enum": [
                  "tax_debt_trend",
                  "registered",
                  "procurement_award",
                  "report_overdue",
                  "distress_high",
                  "high",
                  "distress_moderate",
                  "moderate",
                  "distress",
                  "distress_up",
                  "tax_debt",
                  "tax_debt_new",
                  "tax_debt_growing",
                  "tax_debt_cleared",
                  "bankruptcy",
                  "liquidation",
                  "enforcement",
                  "restructuring"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Omit for all feed kinds. registered: registrations; procurement_award: dated awards; report_overdue: overdue report deadlines at snapshot date; tax_debt_trend: national months and filtered incidence; tax_debt: current debt; tax_debt_new: newly observed debt; tax_debt_growing: growing debt; tax_debt_cleared: observed clearance; bankruptcy: bankruptcy notices; liquidation: liquidation notices; enforcement: enforcement notices; restructuring: restructuring notices; distress_high: high distress; high: alias for distress_high; distress_moderate: moderate distress; moderate: alias for distress_moderate; distress: high or moderate distress; distress_up: rising distress.",
            "title": "Kind"
          },
          "county": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "County name or alias. Valid: Ida-Viru maakond, Lääne-Viru maakond, Harju maakond, Hiiu maakond, Jõgeva maakond, Järva maakond, Lääne maakond, Põlva maakond, Pärnu maakond, Rapla maakond, Saare maakond, Tartu maakond, Valga maakond, Viljandi maakond, Võru maakond, Maakond puudu.",
            "title": "County"
          },
          "emtak": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Estonian Classification of Economic Activities (EMTAK) code or prefix",
            "title": "Emtak"
          },
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Opaque cursor from a previous next_cursor for the next page",
            "title": "Cursor"
          },
          "limit": {
            "default": 15,
            "description": "At most 25 signals",
            "maximum": 25,
            "minimum": 1,
            "title": "Limit",
            "type": "integer"
          }
        },
        "title": "risk_signalsArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of_basis": {
                  "type": "string",
                  "description": "As of basis. privacy._sources: compact source attribution; absent clocks are omitted."
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "signals": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "kind": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "registry_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "county": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "emtak_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "score": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "risk_level": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "amount": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "amount_unit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "event_date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "label": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "bankruptcy_phase": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              }
            }
          },
          "row_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "months": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "companies": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "debt_amount": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "disputed_amount": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "scheduled_amount": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "joined": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "left_count": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "month": {
                  "type": "string"
                },
                "observed_days": {
                  "type": "integer"
                },
                "missing_days": {
                  "type": "integer"
                },
                "compared_days": {
                  "type": "integer"
                },
                "debt_amount_reason": {
                  "enum": [
                    "withheld",
                    "no_list_published",
                    null
                  ],
                  "description": "withheld (below €100 or source-suppressed); no_list_published = no list published; null = numeric amount available, including zero."
                },
                "disputed_amount_reason": {
                  "enum": [
                    "withheld",
                    "no_list_published",
                    null
                  ],
                  "description": "withheld (below €100 or source-suppressed); no_list_published = no list published; null = numeric amount available, including zero."
                },
                "scheduled_amount_reason": {
                  "enum": [
                    "withheld",
                    "no_list_published",
                    null
                  ],
                  "description": "withheld (below €100 or source-suppressed); no_list_published = no list published; null = numeric amount available, including zero."
                }
              },
              "additionalProperties": true
            }
          },
          "months_total": {
            "type": "integer",
            "description": "Number of months in the full national history before size budgeting."
          },
          "months_returned": {
            "type": "integer",
            "description": "Number of returned months; newest months are retained in chronological order."
          },
          "months_truncated": {
            "type": "boolean",
            "description": "True when oldest months were omitted to fit the 8,000-byte envelope."
          },
          "incidence": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "dimension": {
                  "enum": [
                    "county",
                    "sector"
                  ]
                },
                "code": {
                  "type": "string"
                },
                "companies": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "denominator": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "share_pct": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "additionalProperties": true
            },
            "description": "Top incidence rates across counties and sectors, or rows selected by county/emtak. Both filters select separate aggregate rows, not a county-sector intersection. Months remain national."
          },
          "incidence_total": {
            "type": "integer",
            "description": "Number of incidence rows matching county/emtak filters, or all rows when unfiltered, before top-N selection."
          },
          "scope": {
            "type": [
              "string",
              "null"
            ]
          },
          "cohort": {
            "type": [
              "string",
              "null"
            ]
          },
          "cohort_as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "incidence_cohort": {
            "type": [
              "string",
              "null"
            ]
          },
          "start": {
            "type": [
              "string",
              "null"
            ]
          },
          "end": {
            "type": [
              "string",
              "null"
            ]
          },
          "note": {
            "type": [
              "string",
              "null"
            ]
          },
          "threshold_eur": {
            "type": "integer"
          },
          "observed_days": {
            "type": "integer"
          },
          "missing_days": {
            "type": "integer"
          },
          "incidence_top_n": {
            "type": "integer",
            "minimum": 0,
            "maximum": 10,
            "description": "Actual number of incidence rows returned, ranked by share_pct descending, unknown rates last; at most 10 and possibly fewer under the 8,000-byte envelope."
          },
          "hint": {
            "type": "string",
            "description": "Trend incidence ranking and county/emtak filter guidance for fetching omitted rows."
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "risk_signalsOutput"
      },
      "annotations": {
        "title": "Risk signals",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "watch_companies",
      "title": "Watch companies",
      "description": "Typed changes for a bounded list of legal-entity registry codes: name, status, capital, succession, tax debt and distress. Returns companies needing attention, with filing status and current tax debt. on_list false with snapshot_date means not on the EMTA debt list ≥100 € as of that date. Unknown applies only when the list was not observed and is not assurance of absence. Use check_counterparty for one code, or get_company sections tax_debt_history or distress_trend for deeper history. Do not look up natural persons.",
      "inputSchema": {
        "properties": {
          "registry_codes": {
            "description": "One to fifty 8-digit legal-entity registry codes",
            "items": {
              "type": "string"
            },
            "minItems": 1,
            "title": "Registry Codes",
            "type": "array"
          },
          "since": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Opaque change cursor (event id) or previous snapshot_id. Omit for the full typed change list in this snapshot.",
            "title": "Since"
          },
          "cursor": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Opaque cursor from a previous next_cursor for the next page",
            "title": "Cursor"
          }
        },
        "required": [
          "registry_codes"
        ],
        "title": "watch_companiesArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "snapshot_id": {
            "type": [
              "string",
              "null"
            ]
          },
          "as_of": {
            "type": [
              "string",
              "null"
            ]
          },
          "sources": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "additionalProperties": true,
              "properties": {
                "key": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "attribution": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "rights_status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_checked_at": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "licence_evidence_url": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "as_of_basis": {
                  "type": "string",
                  "description": "As of basis. privacy._sources: compact source attribution; absent clocks are omitted."
                }
              }
            }
          },
          "source_details": {
            "type": [
              "string",
              "null"
            ],
            "description": "Full attribution and acquisition evidence: source_metadata(key)."
          },
          "disclaimer": {
            "type": [
              "string",
              "null"
            ]
          },
          "rows": {
            "type": [
              "array",
              "null"
            ],
            "items": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "registry_code": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "name": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "emtak": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "county": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "status": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "tax_debt": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "amount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "debt_amount": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "as_of": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "on_list": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                },
                "report_status": {
                  "type": [
                    "object",
                    "null"
                  ],
                  "properties": {
                    "latest_year": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "latest_year_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "filed": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "next_due": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "overdue_days": {
                      "type": [
                        "number",
                        "null"
                      ]
                    },
                    "overdue_days_reason": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "status": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "period": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "unit": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "additionalProperties": true
                },
                "changes": {
                  "type": [
                    "array",
                    "null"
                  ],
                  "items": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "additionalProperties": true,
                    "properties": {
                      "id": {
                        "type": [
                          "number",
                          "string",
                          "null"
                        ]
                      },
                      "kind": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "date": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "text": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "detail": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    }
                  }
                }
              },
              "additionalProperties": true
            }
          },
          "row_count": {
            "type": [
              "number",
              "null"
            ]
          },
          "next_cursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "since": {
            "type": [
              "string",
              "null"
            ]
          },
          "requested": {
            "type": [
              "number",
              "null"
            ]
          },
          "omitted_sections": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Sections removed to fit the response budget, including default sections. Request one named section to retrieve it. Present only when truncated."
          },
          "truncated": {
            "type": [
              "boolean",
              "null"
            ]
          }
        },
        "additionalProperties": true,
        "required": [
          "snapshot_id",
          "as_of",
          "sources",
          "source_details",
          "disclaimer"
        ],
        "title": "watch_companiesOutput"
      },
      "annotations": {
        "title": "Watch companies",
        "readOnlyHint": true,
        "destructiveHint": false,
        "openWorldHint": false
      }
    },
    {
      "name": "submit_feedback",
      "title": "Submit data feedback",
      "description": "Use only when the user explicitly asks to report missing or wrong data. Stores one masked feedback record for human review; sends nothing externally. Include only the reported data problem, never conversation history, personal data or credentials. Omit request_context and agent unless essential to reproduce that problem; their documented size limits and masking apply. At most 20 reports per credential per Tallinn calendar day and five per rolling minute. Returns feedback_id and status=received. Use get_company to retrieve company data. Do not look up natural persons.",
      "inputSchema": {
        "additionalProperties": false,
        "properties": {
          "kind": {
            "enum": [
              "missing_data",
              "wrong_data",
              "tool_contract",
              "feature_request",
              "bug",
              "other"
            ],
            "title": "Kind",
            "type": "string"
          },
          "message": {
            "description": "Feedback text; no personal data",
            "maxLength": 2000,
            "minLength": 1,
            "title": "Message",
            "type": "string"
          },
          "tool": {
            "default": "",
            "description": "Tool this feedback refers to",
            "maxLength": 100,
            "title": "Tool",
            "type": "string"
          },
          "request_context": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "items": {},
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Optional minimal reproduction details only; omit by default. No conversation history, personal data or credentials. Text: at most 2000 characters. JSON: at most 50 nodes, depth 4, 49 keys per object, and 500 characters per key/string. Masked storage: at most 2000 characters.",
            "title": "Request Context"
          },
          "registry_codes": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "maxItems": 10,
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": null,
            "description": "Up to 10 known legal-entity registry codes; omit codes absent from the snapshot",
            "title": "Registry Codes"
          },
          "agent": {
            "default": "",
            "description": "Optional client identifier needed to reproduce the reported problem; omit by default. At most 100 characters, masked; no personal data or credentials.",
            "maxLength": 100,
            "title": "Agent",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "message"
        ],
        "title": "submit_feedbackArguments",
        "type": "object"
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "feedback_id": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "const": "received"
          }
        },
        "required": [
          "feedback_id",
          "status"
        ],
        "additionalProperties": false
      },
      "annotations": {
        "title": "Submit data feedback",
        "readOnlyHint": false,
        "destructiveHint": false,
        "idempotentHint": false,
        "openWorldHint": false
      }
    }
  ],
  "_meta": {
    "ee.arikratt/quota": {
      "freeLimits": {
        "monthlyCalls": 2000,
        "dailyCalls": 200,
        "distinctCompaniesPerDay": 500
      },
      "companyCapScope": "Only tools that read or enumerate companies, including named companies in statistics; source metadata, aggregate-only statistics and legal calendars do not spend company quota.",
      "metering": "Successful calls only. Tool errors and distinct-company refusals do not spend call quota.",
      "resetTimezone": "Europe/Tallinn",
      "dailyReset": "00:00 every day",
      "monthlyReset": "00:00 on the first day of each month",
      "errorResetField": "reset_at (ISO 8601 UTC timestamp)",
      "configuration": {
        "monthlyCalls": "MCP_FREE_MONTHLY_CALLS",
        "dailyCalls": "MCP_FREE_DAILY_CALLS"
      },
      "access": "Cancelled or expired paid access falls back to free. Administrative revocation still blocks access."
    }
  }
}
