{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/companydata-dk/json-schema/companydata-dk-industry-translations-response-schema.json",
  "title": "IndustryTranslationsResponse",
  "description": "Response with all industry translations for client-side caching.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/companydata-dk-reference-data-api-openapi.yml#/components/schemas/IndustryTranslationsResponse",
  "properties": {
    "translations": {
      "additionalProperties": {
        "$ref": "#/$defs/IndustryTranslation"
      },
      "type": "object",
      "title": "Translations",
      "description": "Map of code to translations"
    },
    "count": {
      "type": "integer",
      "title": "Count",
      "description": "Number of translations"
    }
  },
  "type": "object",
  "required": [
    "translations",
    "count"
  ],
  "$defs": {
    "IndustryTranslation": {
      "properties": {
        "da": {
          "type": "string",
          "title": "Da",
          "description": "Danish name"
        },
        "en": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "En",
          "description": "English name"
        }
      },
      "type": "object",
      "required": [
        "da"
      ],
      "title": "IndustryTranslation",
      "description": "Industry translation with both Danish and English names."
    }
  }
}