<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
  <edmx:DataServices>
    <Schema Namespace="O365ReportingCore.Model.PBIV1" xmlns="http://docs.oasis-open.org/odata/ns/edm">
      <EntityType Name="TenantClientUsage">
        <Key>
          <PropertyRef Name="Product" />
          <PropertyRef Name="ClientId" />
          <PropertyRef Name="TimeFrame" />
        </Key>
        <Property Name="Product" Type="Edm.String" Nullable="false" />
        <Property Name="ClientId" Type="Edm.String" Nullable="false" />
        <Property Name="UserCount" Type="Edm.Int64" Nullable="false" />
        <Property Name="TimeFrame" Type="Edm.String" Nullable="false" />
        <Property Name="ContentDate" Type="Edm.DateTimeOffset" Nullable="false" />
      </EntityType>
      <EntityType Name="TenantMailboxUsage">
        <Key>
          <PropertyRef Name="TimeFrame" />
        </Key>
        <Property Name="TotalMailboxes" Type="Edm.Int64" Nullable="false" />
        <Property Name="IssueWarningQuota" Type="Edm.Int64" />
        <Property Name="ProhibitSendQuota" Type="Edm.Int64" />
        <Property Name="ProhibitSendReceiveQuota" Type="Edm.Int64" />
        <Property Name="TotalItemBytes" Type="Edm.Int64" />
        <Property Name="MailboxesNoWarning" Type="Edm.Int64" />
        <Property Name="MailboxesIssueWarning" Type="Edm.Int64" />
        <Property Name="MailboxesExceedSendQuota" Type="Edm.Int64" />
        <Property Name="MailboxesExceedSendReceiveQuota" Type="Edm.Int64" />
        <Property Name="DeletedMailboxes" Type="Edm.Int64" Nullable="false" />
        <Property Name="TimeFrame" Type="Edm.String" Nullable="false" />
        <Property Name="ContentDate" Type="Edm.DateTimeOffset" Nullable="false" />
      </EntityType>
      <EntityType Name="TenantO365GroupsActivity">
        <Key>
          <PropertyRef Name="TimeFrame" />
        </Key>
        <Property Name="GroupType" Type="Edm.String" />
        <Property Name="TotalGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="ActiveGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="MBX_TotalGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="MBX_ActiveGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="MBX_TotalActivities" Type="Edm.Int64" Nullable="false" />
        <Property Name="MBX_TotalItems" Type="Edm.Int64" Nullable="false" />
        <Property Name="MBX_StorageUsed" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_TotalGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_ActiveGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_FileAccessedActiveGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_FileSyncedActiveGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_FileSharedInternallyActiveGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_FileSharedExternallyActiveGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_TotalActivities" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_FileAccessedActivities" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_FileSyncedActivities" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_FileSharedInternallyActivities" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_FileSharedExternallyActivities" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_TotalFiles" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_ActiveFiles" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_StorageUsed" Type="Edm.Int64" Nullable="false" />
        <Property Name="YAM_TotalGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="YAM_ActiveGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="YAM_LikedActiveGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="YAM_PostedActiveGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="YAM_ReadActiveGroups" Type="Edm.Int64" Nullable="false" />
        <Property Name="YAM_TotalActivities" Type="Edm.Int64" Nullable="false" />
        <Property Name="YAM_LikedActivities" Type="Edm.Int64" Nullable="false" />
        <Property Name="YAM_PostedActivties" Type="Edm.Int64" Nullable="false" />
        <Property Name="YAM_ReadActivites" Type="Edm.Int64" Nullable="false" />
        <Property Name="TimeFrame" Type="Edm.String" Nullable="false" />
        <Property Name="ContentDate" Type="Edm.DateTimeOffset" Nullable="false" />
      </EntityType>
      <EntityType Name="TenantOfficeActivation">
        <Key>
          <PropertyRef Name="TimeFrame" />
        </Key>
        <Property Name="ServicePlans" Type="Collection(O365ReportingCore.Model.PBIV1.ServicePlan)" />
        <Property Name="Licenses" Type="Collection(O365ReportingCore.Model.PBIV1.License)" />
        <Property Name="TimeFrame" Type="Edm.String" Nullable="false" />
        <Property Name="ContentDate" Type="Edm.DateTimeOffset" Nullable="false" />
      </EntityType>
      <EntityType Name="TenantSiteUsage">
        <Key>
          <PropertyRef Name="SiteType" />
          <PropertyRef Name="ActivityType" />
          <PropertyRef Name="TimeFrame" />
        </Key>
        <Property Name="SiteType" Type="Edm.String" Nullable="false" />
        <Property Name="ActivityType" Type="Edm.String" Nullable="false" />
        <Property Name="DiskUsed" Type="Edm.Int64" />
        <Property Name="DiskQuota" Type="Edm.Int64" />
        <Property Name="DocumentCount" Type="Edm.Int64" />
        <Property Name="TotalSites" Type="Edm.Int64" />
        <Property Name="ActivityTotalSites" Type="Edm.Int64" />
        <Property Name="SitesWithOwnerActivities" Type="Edm.Int64" />
        <Property Name="SitesWithNonOwnerActivities" Type="Edm.Int64" />
        <Property Name="TimeFrame" Type="Edm.String" Nullable="false" />
        <Property Name="ContentDate" Type="Edm.DateTimeOffset" Nullable="false" />
      </EntityType>
      <EntityType Name="TenantProductActivity">
        <Key>
          <PropertyRef Name="Product" />
          <PropertyRef Name="TimeFrame" />
        </Key>
        <Property Name="Product" Type="Edm.String" Nullable="false" />
        <Property Name="Activity" Type="Edm.String" />
        <Property Name="ActivityCount" Type="Edm.Int64" />
        <Property Name="UserCount" Type="Edm.Int64" />
        <Property Name="TotalDurationInMinute" Type="Edm.Int64" />
        <Property Name="TimeFrame" Type="Edm.String" Nullable="false" />
        <Property Name="ContentDate" Type="Edm.DateTimeOffset" Nullable="false" />
      </EntityType>
      <EntityType Name="TenantProductUsage">
        <Key>
          <PropertyRef Name="Product" />
          <PropertyRef Name="TimeFrame" />
        </Key>
        <Property Name="Product" Type="Edm.String" Nullable="false" />
        <Property Name="LicensedUsers" Type="Edm.Int64" Nullable="false" />
        <Property Name="ActiveUsers" Type="Edm.Int64" Nullable="false" />
        <Property Name="CumulativeActiveUsers" Type="Edm.Int64" Nullable="false" />
        <Property Name="MOMReturningUsers" Type="Edm.Int64" Nullable="false" />
        <Property Name="FirstTimeUsers" Type="Edm.Int64" Nullable="false" />
        <Property Name="TimeFrame" Type="Edm.String" Nullable="false" />
        <Property Name="ContentDate" Type="Edm.DateTimeOffset" Nullable="false" />
      </EntityType>
      <EntityType Name="UserActivity">
        <Key>
          <PropertyRef Name="TimeFrame" />
          <PropertyRef Name="UserId" />
          <PropertyRef Name="IdType" />
        </Key>
        <Property Name="TimeFrame" Type="Edm.String" Nullable="false" />
        <Property Name="UserId" Type="Edm.String" Nullable="false" />
        <Property Name="IdType" Type="Edm.Int64" Nullable="false" />
        <Property Name="EXO_EmailSent" Type="Edm.Int64" Nullable="false" />
        <Property Name="EXO_EmailReceived" Type="Edm.Int64" Nullable="false" />
        <Property Name="EXO_EmailRead" Type="Edm.Int64" Nullable="false" />
        <Property Name="EXO_MeetingSent" Type="Edm.Int64" Nullable="false" />
        <Property Name="EXO_MeetingCancelled" Type="Edm.Int64" Nullable="false" />
        <Property Name="EXO_MeetingAccepted" Type="Edm.Int64" Nullable="false" />
        <Property Name="EXO_MeetingDeclined" Type="Edm.Int64" Nullable="false" />
        <Property Name="EXO_AppointmentCreated" Type="Edm.Int64" Nullable="false" />
        <Property Name="ODB_FileViewedModified" Type="Edm.Int64" Nullable="false" />
        <Property Name="ODB_FileSynched" Type="Edm.Int64" Nullable="false" />
        <Property Name="ODB_FileSharedInternally" Type="Edm.Int64" Nullable="false" />
        <Property Name="ODB_FileSharedExternally" Type="Edm.Int64" Nullable="false" />
        <Property Name="ODB_AccessedByOwner" Type="Edm.Int64" Nullable="false" />
        <Property Name="ODB_AccessedByOthers" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_TeamFileViewedModified" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_TeamFileSynched" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_TeamFileSharedInternally" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_TeamFileSharedExternally" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_TeamAccessedByOwner" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_TeamAccessedByOthers" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_GroupFileViewedModified" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_GroupFileSynched" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_GroupFileSharedInternally" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_GroupFileSharedExternally" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_GroupAccessedByOwner" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_GroupAccessedByOthers" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_OtherFileViewedModified" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_OtherFileSynched" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_OtherFileSharedInternally" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_OtherFileSharedExternally" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_OtherAccessedByOwner" Type="Edm.Int64" Nullable="false" />
        <Property Name="SPO_OtherAccessedByOthers" Type="Edm.Int64" Nullable="false" />
        <Property Name="YAM_MessagePost" Type="Edm.Int64" Nullable="false" />
        <Property Name="YAM_MessageLiked" Type="Edm.Int64" Nullable="false" />
        <Property Name="YAM_MessageRead" Type="Edm.Int64" Nullable="false" />
        <Property Name="SFB_P2PSummary" Type="Edm.Int64" Nullable="false" />
        <Property Name="SFB_ConfOrgSummary" Type="Edm.Int64" Nullable="false" />
        <Property Name="SFB_ConfPartSummary" Type="Edm.Int64" Nullable="false" />
        <Property Name="Teams_ChatMessage" Type="Edm.Int64" Nullable="false" />
        <Property Name="Teams_ChannelMessage" Type="Edm.Int64" Nullable="false" />
        <Property Name="Teams_CallParticipate" Type="Edm.Int64" Nullable="false" />
        <Property Name="Teams_MeetingParticipate" Type="Edm.Int64" Nullable="false" />
        <Property Name="Teams_HasOtherAction" Type="Edm.Boolean" Nullable="false" />
      </EntityType>
      <EntityType Name="UserState">
        <Key>
          <PropertyRef Name="TimeFrame" />
          <PropertyRef Name="UserId" />
          <PropertyRef Name="IdType" />
        </Key>
        <Property Name="TimeFrame" Type="Edm.String" Nullable="false" />
        <Property Name="UserId" Type="Edm.String" Nullable="false" />
        <Property Name="IdType" Type="Edm.Int64" Nullable="false" />
        <Property Name="UPN" Type="Edm.String" />
        <Property Name="DisplayName" Type="Edm.String" />
        <Property Name="LocationOffice" Type="Edm.String" />
        <Property Name="LocationCity" Type="Edm.String" />
        <Property Name="LocationState" Type="Edm.String" />
        <Property Name="LocationCountry" Type="Edm.String" />
        <Property Name="Department" Type="Edm.String" />
        <Property Name="Company" Type="Edm.String" />
        <Property Name="Title" Type="Edm.String" />
        <Property Name="HasLicenseEXO" Type="Edm.Boolean" Nullable="false" />
        <Property Name="HasLicenseSPO" Type="Edm.Boolean" Nullable="false" />
        <Property Name="HasLicenseSFB" Type="Edm.Boolean" Nullable="false" />
        <Property Name="HasLicenseODB" Type="Edm.Boolean" Nullable="false" />
        <Property Name="HasLicenseTeams" Type="Edm.Boolean" Nullable="false" />
        <Property Name="HasLicenseYAM" Type="Edm.Boolean" Nullable="false" />
        <Property Name="YAM_State" Type="Edm.String" />
        <Property Name="YAM_ActivationDate" Type="Edm.DateTimeOffset" />
        <Property Name="YAM_SuspensionDate" Type="Edm.DateTimeOffset" />
        <Property Name="YAM_DeletionDate" Type="Edm.DateTimeOffset" />
        <Property Name="Deleted" Type="Edm.Boolean" />
        <Property Name="DeletedDate" Type="Edm.DateTimeOffset" />
      </EntityType>
      <ComplexType Name="ServicePlan">
        <Property Name="ServicePlanName" Type="Edm.String" />
        <Property Name="TotalEnabled" Type="Edm.Int64" Nullable="false" />
        <Property Name="TotalActivated" Type="Edm.Int64" Nullable="false" />
        <Property Name="TotalCount" Type="Edm.Int64" Nullable="false" />
        <Property Name="AndroidCount" Type="Edm.Int64" Nullable="false" />
        <Property Name="iOSCount" Type="Edm.Int64" Nullable="false" />
        <Property Name="MacCount" Type="Edm.Int64" Nullable="false" />
        <Property Name="PcCount" Type="Edm.Int64" Nullable="false" />
        <Property Name="WinRtCount" Type="Edm.Int64" Nullable="false" />
      </ComplexType>
      <ComplexType Name="License">
        <Property Name="LicenseName" Type="Edm.String" />
        <Property Name="AssignedCount" Type="Edm.Int64" Nullable="false" />
      </ComplexType>
    </Schema>
    <Schema Namespace="Default" xmlns="http://docs.oasis-open.org/odata/ns/edm">
      <EntityContainer Name="Container">
        <EntitySet Name="TenantClientUsage" EntityType="O365ReportingCore.Model.PBIV1.TenantClientUsage" />
        <EntitySet Name="TenantMailboxUsage" EntityType="O365ReportingCore.Model.PBIV1.TenantMailboxUsage" />
        <EntitySet Name="TenantO365GroupsActivity" EntityType="O365ReportingCore.Model.PBIV1.TenantO365GroupsActivity" />
        <EntitySet Name="TenantOfficeActivation" EntityType="O365ReportingCore.Model.PBIV1.TenantOfficeActivation" />
        <EntitySet Name="TenantOneDriveUsage" EntityType="O365ReportingCore.Model.PBIV1.TenantSiteUsage" />
        <EntitySet Name="TenantProductActivity" EntityType="O365ReportingCore.Model.PBIV1.TenantProductActivity" />
        <EntitySet Name="TenantProductUsage" EntityType="O365ReportingCore.Model.PBIV1.TenantProductUsage" />
        <EntitySet Name="TenantSharePointUsage" EntityType="O365ReportingCore.Model.PBIV1.TenantSiteUsage" />
        <EntitySet Name="UserActivity" EntityType="O365ReportingCore.Model.PBIV1.UserActivity" />
        <EntitySet Name="UserState" EntityType="O365ReportingCore.Model.PBIV1.UserState" />
      </EntityContainer>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>