{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sherweb-com/json-schema/sherweb-com-customer-subscription-meters-dto-schema.json",
  "title": "CustomerSubscriptionMetersDto",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sherweb-com-service-provider-api-beta-api-openapi.yml#/components/schemas/CustomerSubscriptionMetersDto",
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "format": "uuid"
    },
    "platformId": {
      "type": "string",
      "format": "uuid"
    },
    "subscriptionMeters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SubscriptionMetersDto"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "MeterDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": false
    },
    "SubscriptionMetersDto": {
      "type": "object",
      "properties": {
        "subscriptionId": {
          "type": "string",
          "format": "uuid"
        },
        "meters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/MeterDto"
          }
        }
      },
      "additionalProperties": false
    }
  }
}