changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "description": "A lead list: firms in an activity, newest registration first.",
+ "properties": {
+ "asOf": {
+ "description": "What to cite: registry (ONRC snapshot date), financialYear (fiscal year of the figures), anaf (day of the ANAF data), snapshot, published, source.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "attribution": {
+ "description": "The credit line to keep when redistributing the data (CC BY 4.0).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "availableTopics": {
+ "description": "The curated topics, when the topic is unknown.",
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "caenCodes": {
+ "description": "The CAEN codes searched, when given or derived as codes.",
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "candidates": {
+ "description": "When the words fit several activities (ambiguous_topic): the ones to choose from.",
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "codesAdded": {
+ "description": "CAEN Rev.2/Rev.3 counterparts added to the search.",
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "county": {
+ "description": "The county filter, if any.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "error": {
+ "description": "Set only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fields": {
+ "description": "The company fields kept when fields or compact trimmed the rows.",
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "filters": {
+ "description": "The filters applied (legalForm, activeOnly, revenue and headcount bands, vatPayer, mainActivityOnly ...).",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "inactiveFilteredOut": {
+ "description": "Firms removed by active_only (null when off).",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "inactiveFilteredOutApproximate": {
+ "description": "true when that count is estimated.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "label": {
+ "description": "Human label of what was matched.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "matched": {
+ "description": "How plain words were read: by, niche or class title, codes.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "message": {
+ "description": "A sentence for the caller.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "query": {
+ "description": "The topic as given.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "results": {
+ "description": "The company records, best first.",
+ "items": {
+ "additionalProperties": true,
+ "description": "A company record: companyName, cui, registrationCode, registrationDate (DD/MM/YYYY), legalForm, euid, address, county, city, website, phone, caenActivities [{code, activity}], directors, status [{code, name}], latestFinancials {year, revenue, netResult, employees; RON}, anaf {mainCaen, vatPayer, eFactura, inactive}, risk {level, label, reasons, isLead}, source, asOf, and score/match on name searches. With fields or compact, only the requested keys.",
+ "type": "object"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "source": {
+ "description": "Data source: onrc (registry) or mfp (Ministry of Finance filings).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "topic": {
+ "description": "The curated topic matched, if any.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "total": {
+ "description": "Number of companies returned.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "truncated": {
+ "description": "true when more firms match than were returned.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "warnings": {
+ "description": "Notes on how the request was read (a clamped limit, a widened CAEN code, an ignored field).",
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+}