{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/leaseweb/main/json-schema/leaseweb-aggregation-pack-schema.json",
  "title": "aggregationPack",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/leaseweb-aggregationpack-openapi.yml#/components/schemas/aggregationPack",
  "properties": {
    "id": {
      "description": "Id of the aggregation pack",
      "type": "string"
    },
    "customerId": {
      "type": "string"
    },
    "salesOrgId": {
      "type": "string"
    },
    "contractStartDate": {
      "format": "date-time",
      "type": "string"
    },
    "billingType": {
      "type": "string"
    },
    "connectivityType": {
      "type": "string"
    },
    "contractTerm": {
      "type": "integer"
    },
    "dataTrafficCommit": {
      "type": "integer"
    },
    "dataTrafficCommitUnit": {
      "$ref": "#/$defs/dataTrafficCommitUnit"
    },
    "networkPerformanceType": {
      "$ref": "#/$defs/networkPerformanceType"
    },
    "aggregationType": {
      "$ref": "#/$defs/aggregationType"
    }
  },
  "required": [
    "aggregationType",
    "billingType",
    "connectivityType",
    "contractStartDate",
    "contractTerm",
    "customerId",
    "dataTrafficCommit",
    "dataTrafficCommitUnit",
    "id",
    "networkPerformanceType",
    "salesOrgId"
  ],
  "type": "object",
  "$defs": {
    "aggregationType": {
      "enum": [
        "Hybrid"
      ],
      "type": "string"
    },
    "dataTrafficCommitUnit": {
      "enum": [
        "Gbps",
        "Mbps",
        "TB"
      ],
      "type": "string"
    },
    "networkPerformanceType": {
      "enum": [
        "VOLUME",
        "PREMIUM"
      ],
      "type": "string"
    }
  }
}