changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": true,
+ "description": "One result per input CUI, in input order.",
+ "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"
+ ]
+ },
+ "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"
+ ]
+ },
+ "errors": {
+ "description": "Rows that are input errors (empty, not a CUI, wrong control digit).",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "fields": {
+ "description": "The company fields kept when fields or compact trimmed the rows.",
+ "items": {
+ "type": "string"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "found": {
+ "description": "Rows that matched a firm.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "message": {
+ "description": "A sentence for the caller.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "metering": {
+ "description": "What the batch cost: rows, counted, notCounted (input-error rows are not counted) and the rule.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "notFound": {
+ "description": "Well-formed CUIs not in the snapshot.",
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "results": {
+ "description": "Per input: input, cui, found, and company (the record) or error/reason.",
+ "items": {
+ "additionalProperties": true,
+ "description": "One input row's answer.",
+ "properties": {
+ "company": {
+ "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"
+ },
+ "cui": {
+ "description": "The normalised CUI.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "found": {
+ "description": "Whether a firm has this CUI.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "input": {
+ "description": "The value as given.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "source": {
+ "description": "Data source: onrc (registry) or mfp (Ministry of Finance filings).",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "total": {
+ "description": "Number of input rows.",
+ "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"
+}