changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "description": "Ranked companies for a name, or the firm with that CUI.",
+ "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"
+ ]
+ },
+ "county": {
+ "description": "The county hint, if one was given.",
+ "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"
+ ]
+ },
+ "found": {
+ "description": "false when a well-formed CUI is not in the snapshot.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "hint": {
+ "description": "When a name search finds nothing but reads like a category question: the lookup_by_category call that answers it.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "message": {
+ "description": "A sentence for the caller.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "query": {
+ "description": "The query as given.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "reason": {
+ "description": "Why nothing was found (not_found).",
+ "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"
+ ]
+ },
+ "total": {
+ "description": "Number of companies returned.",
+ "type": [
+ "integer",
+ "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"
+}