{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-dynamics-365-business-central/json-schema/microsoft-dynamics-365-business-central-company-collection-schema.json",
  "title": "CompanyCollection",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-dynamics-365-business-central-companies-api-openapi.yml#/components/schemas/CompanyCollection",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Company"
      }
    }
  },
  "$defs": {
    "Company": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "systemVersion": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        },
        "businessProfileId": {
          "type": "string"
        },
        "systemCreatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "systemModifiedAt": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}