{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-twinmaker/json-schema/amazon-iot-twinmaker-update-pricing-plan-response-schema.json",
  "title": "UpdatePricingPlanResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-twinmaker-pricingplan-api-openapi.yml#/components/schemas/UpdatePricingPlanResponse",
  "type": "object",
  "properties": {
    "currentPricingPlan": {
      "$ref": "#/$defs/PricingPlan"
    },
    "pendingPricingPlan": {
      "$ref": "#/$defs/PricingPlan"
    }
  },
  "required": [
    "currentPricingPlan"
  ],
  "$defs": {
    "BundleInformation": {
      "type": "object",
      "properties": {
        "bundleNames": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The bundle names."
        },
        "pricingTier": {
          "type": "string",
          "description": "The pricing tier."
        }
      },
      "required": [
        "bundleNames"
      ]
    },
    "PricingPlan": {
      "type": "object",
      "properties": {
        "billableEntityCount": {
          "type": "integer",
          "description": "The billable entity count."
        },
        "bundleInformation": {
          "$ref": "#/$defs/BundleInformation"
        },
        "effectiveDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The effective date and time of the pricing plan."
        },
        "pricingMode": {
          "type": "string",
          "description": "The pricing mode."
        },
        "updateDateTime": {
          "type": "string",
          "format": "date-time",
          "description": "The set date and time for updating a pricing plan."
        },
        "updateReason": {
          "type": "string",
          "description": "The update reason for changing a pricing plan."
        }
      },
      "required": [
        "effectiveDateTime",
        "pricingMode",
        "updateDateTime",
        "updateReason"
      ]
    }
  }
}