{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cisco-umbrella/json-schema/cisco-umbrella-download-report-schema.json",
  "title": "DownloadReport",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cisco-umbrella-providers-api-openapi.yml#/components/schemas/DownloadReport",
  "type": "object",
  "required": [
    "isReportReady"
  ],
  "properties": {
    "isReportReady": {
      "type": "boolean",
      "default": true,
      "description": "Specifies whether the security report is ready to download"
    },
    "organizationTypeId": {
      "type": "integer",
      "description": "The type ID of the customer's organization"
    },
    "organizationName": {
      "type": "string",
      "description": "The name of the customer's organization"
    },
    "organizationId": {
      "type": "integer",
      "description": "The ID of the customer's organization"
    },
    "createdAt": {
      "type": "integer",
      "description": "The time when the report was created. Specify the time in milliseconds."
    },
    "packageName": {
      "type": "string",
      "description": "The name of customer's subscription"
    },
    "users": {
      "type": "integer",
      "description": "The number of users in the subscription"
    },
    "adminEmails": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The emails of admins for the customer's organization"
    },
    "streetAddress": {
      "type": "string",
      "description": "The customer's street address"
    },
    "streetAddress2": {
      "type": "string",
      "description": "The second street address for the customer"
    },
    "city": {
      "type": "string",
      "description": "The customer's city"
    },
    "state": {
      "type": "string",
      "description": "The customer's state"
    },
    "countryCode": {
      "type": "string",
      "description": "The customer's country",
      "minLength": 2,
      "maxLength": 3
    },
    "zipCode": {
      "type": "string",
      "description": "The customer's zip code"
    },
    "dealId": {
      "type": "string",
      "description": "The ID of the CCW deal for the subscription"
    },
    "ppovLifecycle": {
      "$ref": "#/$defs/PpovLifecycle_2"
    },
    "hasDistributorVisibility": {
      "type": "boolean",
      "description": "Specify whether the distributor has visibility into the trial"
    },
    "isOnboardingWizardCompleted": {
      "type": "boolean",
      "description": "Specify whether customer has logged into the dashboard"
    },
    "trialId": {
      "type": "string",
      "description": "The MD5 value of the customer's trial ID"
    },
    "accountManagerEmails": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The emails of the account managers"
    },
    "trialStartsAt": {
      "type": "string",
      "format": "date",
      "description": "The start date of the trial subscription"
    },
    "trialEndsAt": {
      "type": "string",
      "format": "date",
      "description": "The end date of the trial subscription"
    },
    "serviceGracePeriodEndDate": {
      "type": "integer",
      "description": "The period that extends the trial subscription"
    },
    "networks": {
      "type": "integer",
      "description": "The number of networks deployed in the customer's organization"
    },
    "roamingClients": {
      "type": "integer",
      "description": "The number of roaming clients deployed in the customer's organization"
    },
    "VAs": {
      "type": "integer",
      "description": "The number of virtual appliances (VAs) deployed in the customer's organization"
    },
    "comments": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The feedback about the customer's trial"
    },
    "sigQuestionnaire": {
      "$ref": "#/$defs/sigQuestionnaire"
    }
  },
  "$defs": {
    "PpovLifecycle_2": {
      "type": "object",
      "description": "The email details for a customer trial lifecycle events",
      "properties": {
        "state": {
          "type": "string",
          "description": "The current state of the customer trial"
        },
        "date": {
          "type": "string",
          "format": "date",
          "description": ""
        },
        "enabled": {
          "type": "boolean",
          "description": "Specify whether lifecycle emails are enabled"
        },
        "lastSentDate": {
          "type": "string",
          "format": "date",
          "description": "Specify last lifecycle email sent date"
        },
        "mailIdentifiers": {
          "type": "object",
          "description": "The information about the email identifiers for the customer",
          "properties": {
            "noLoginDayFourMailIdentifier": {
              "type": "string",
              "description": "The email for the customer that did not log in for four days"
            },
            "noOriginDayThreeMailIdentifier": {
              "type": "string",
              "description": "The email for the customer that has not set up an origin for three days"
            },
            "noOriginDaySevenMailIdentifier": {
              "type": "string",
              "description": "The email for the customer that has not set up an origin for seven days"
            }
          }
        },
        "excludedLifecycleEmails": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The emails excluded for the lifecycle of the customer"
        }
      }
    },
    "sigQuestionnaire": {
      "type": "string",
      "description": "The SIG questionnaire"
    }
  }
}