companydata.dk · Schema

ProductionUnitSearchResponse

Response for production unit search endpoint.

Company DataBusiness RegistryCVRDenmarkCredit ScoringFinancial StatementsLead GenerationMCPREST API

Properties

Name Type Description
data array Matching production units
meta object Response metadata
pagination object Pagination info: page, limit, total, pages
View JSON Schema on GitHub

JSON Schema

companydata-dk-production-unit-search-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/companydata-dk/json-schema/companydata-dk-production-unit-search-response-schema.json",
  "title": "ProductionUnitSearchResponse",
  "description": "Response for production unit search endpoint.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/companydata-dk-production-units-api-openapi.yml#/components/schemas/ProductionUnitSearchResponse",
  "properties": {
    "data": {
      "items": {
        "$ref": "#/$defs/ProductionUnitSearchResult"
      },
      "type": "array",
      "title": "Data",
      "description": "Matching production units"
    },
    "meta": {
      "additionalProperties": true,
      "type": "object",
      "title": "Meta",
      "description": "Response metadata"
    },
    "pagination": {
      "additionalProperties": true,
      "type": "object",
      "title": "Pagination",
      "description": "Pagination info: page, limit, total, pages"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "$defs": {
    "CompanyAddress": {
      "properties": {
        "address_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Address Id",
          "description": "DAWA adgangsadresse ID for direct geocoding lookup"
        },
        "street_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Street Name",
          "description": "Street name (vejnavn)"
        },
        "street_code": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Street Code",
          "description": "Street code, unique per municipality (vejkode)"
        },
        "house_number": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "House Number",
          "description": "House number (husnummerFra)"
        },
        "house_number_to": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "House Number To",
          "description": "House number end for address ranges"
        },
        "house_letter": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "House Letter",
          "description": "Letter suffix, e.g. 'A', 'B'"
        },
        "house_letter_to": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "House Letter To",
          "description": "Letter suffix end for ranges"
        },
        "floor": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Floor",
          "description": "Floor (etage), e.g. 'st', '1', '2'"
        },
        "door": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Door",
          "description": "Door identifier: 'th' (right), 'tv' (left), 'mf' (middle)"
        },
        "postal_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Postal Code",
          "description": "4-digit Danish postal code"
        },
        "postal_district": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Postal District",
          "description": "Postal district name"
        },
        "town_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Town Name",
          "description": "Town name for rural areas (bynavn)"
        },
        "care_of": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Care Of",
          "description": "c/o name if applicable"
        },
        "po_box": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Po Box",
          "description": "P.O. box number"
        },
        "free_text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Free Text",
          "description": "Free text address (typically for foreign addresses)"
        },
        "country_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Country Code",
          "description": "ISO 3166-1 alpha-2 country code",
          "default": "DK"
        },
        "municipality_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Municipality Code",
          "description": "3-digit Danish municipality code"
        },
        "municipality_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Municipality Name",
          "description": "Municipality name"
        },
        "street": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Street",
          "description": "Formatted street address for display"
        },
        "city": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "City",
          "description": "City name (same as postal_district)"
        }
      },
      "type": "object",
      "title": "CompanyAddress",
      "description": "Danish address with all CVR fields preserved for accurate geocoding."
    },
    "CompanyEmployees": {
      "properties": {
        "count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Count",
          "description": "Exact employee count (if available)"
        },
        "interval": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Interval",
          "description": "Employee count interval"
        },
        "full_time_equivalent": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Full Time Equivalent",
          "description": "Full-time equivalent (FTE) count"
        },
        "including_owners": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Including Owners",
          "description": "Employee count including owners"
        },
        "year": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Year",
          "description": "Year the employee data was reported"
        },
        "month": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Month",
          "description": "Month of the figure (monthly series only)"
        }
      },
      "type": "object",
      "title": "CompanyEmployees",
      "description": "Employee count information from CVR."
    },
    "CompanyIndustry": {
      "properties": {
        "primary_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Primary Code",
          "description": "Primary 6-digit industry code (DB07)"
        },
        "primary_text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Primary Text",
          "description": "Primary industry description"
        },
        "secondary": {
          "items": {
            "$ref": "#/$defs/SecondaryIndustry"
          },
          "type": "array",
          "title": "Secondary",
          "description": "List of secondary industry codes"
        }
      },
      "type": "object",
      "title": "CompanyIndustry",
      "description": "Industry classification using Danish DB07 codes."
    },
    "ProductionUnitSearchResult": {
      "properties": {
        "p_number": {
          "type": "string",
          "title": "P Number",
          "description": "10-digit P-nummer"
        },
        "cvr": {
          "type": "string",
          "title": "Cvr",
          "description": "Parent company CVR"
        },
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Name",
          "description": "Production unit name"
        },
        "status": {
          "type": "string",
          "title": "Status",
          "description": "Unit status"
        },
        "is_main_unit": {
          "type": "boolean",
          "title": "Is Main Unit",
          "description": "Whether this is the main unit",
          "default": false
        },
        "address": {
          "anyOf": [
            {
              "$ref": "#/$defs/CompanyAddress"
            },
            {
              "type": "null"
            }
          ],
          "description": "Physical address"
        },
        "industry": {
          "anyOf": [
            {
              "$ref": "#/$defs/CompanyIndustry"
            },
            {
              "type": "null"
            }
          ],
          "description": "Industry classification"
        },
        "employees": {
          "anyOf": [
            {
              "$ref": "#/$defs/CompanyEmployees"
            },
            {
              "type": "null"
            }
          ],
          "description": "Employee information"
        },
        "location": {
          "anyOf": [
            {
              "$ref": "#/$defs/app__models__company__GeoLocation"
            },
            {
              "type": "null"
            }
          ],
          "description": "Geocoded coordinates"
        },
        "distance_meters": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Distance Meters",
          "description": "Distance from search point (location searches only)"
        }
      },
      "type": "object",
      "required": [
        "p_number",
        "cvr",
        "status"
      ],
      "title": "ProductionUnitSearchResult",
      "description": "Simplified production unit for search results."
    },
    "SecondaryIndustry": {
      "properties": {
        "code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Code",
          "description": "6-digit Danish industry code (DB07)"
        },
        "text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Text",
          "description": "Industry description in Danish"
        }
      },
      "type": "object",
      "title": "SecondaryIndustry",
      "description": "Secondary industry classification."
    },
    "app__models__company__GeoLocation": {
      "properties": {
        "type": {
          "type": "string",
          "title": "Type",
          "description": "GeoJSON type (always 'Point')",
          "default": "Point"
        },
        "coordinates": {
          "items": {
            "type": "number"
          },
          "type": "array",
          "title": "Coordinates",
          "description": "Coordinates as [longitude, latitude]"
        }
      },
      "type": "object",
      "required": [
        "coordinates"
      ],
      "title": "GeoLocation",
      "description": "GeoJSON Point for geographic coordinates."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/companydata-dk-production-unit-search-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.