{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/maesn/json-schema/maesn-company-response-dto-schema.json",
  "title": "CompanyResponseDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/maesn-auth-api-openapi.yml#/components/schemas/CompanyResponseDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "client_number": {
      "type": "number"
    },
    "consultant_number": {
      "type": "number"
    },
    "environmentId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "subscription": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SubscriptionDto"
      }
    }
  },
  "$defs": {
    "SubscriptionDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "active": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "status": {
          "type": "string"
        }
      }
    }
  }
}