<?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="DataScope.Select.Api.StandardExtractions" xmlns="http://docs.oasis-open.org/odata/ns/edm">
      <EntityType Name="PackageDelivery" HasStream="true" p4:SetStream="true" p4:OperationsDestination="Ancestor" p4:CanCreate="true" p4:CanUpdate="true" p4:CanDelete="true" xmlns:p4="DataScope.Select.Api.StandardExtractions">
        <Key>
          <PropertyRef Name="PackageDeliveryId" />
        </Key>
        <Property Name="PackageDeliveryId" Type="Edm.String" Nullable="false" p4:KeyAnnotation="Key">
          <Annotation Term="Org.OData.Core.V1.Description" String="The package delivery id." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Name" Type="Edm.String" Nullable="false" p4:RequiredAnnotation="Required" p4:RegularExpressionAnnotation="RegularExpression(@&amp;quot;^[a-zA-Z0-9_\-\. ]+$&amp;quot;, ErrorMessage = &amp;quot;The only characters allowed in the Name are &amp;#39;A-Z&amp;#39;, &amp;#39;a-z&amp;#39;, &amp;#39;0-9&amp;#39;, &amp;#39;_-.&amp;#39;, and spaces.&amp;quot;)">
          <Annotation Term="Org.OData.Core.V1.Description" String="The name of the file." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="FileSizeBytes" Type="Edm.Int64" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="The size of the file in bytes." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="CreateDateTime" Type="Edm.DateTimeOffset" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="The file creation date and time." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="ReleaseDateTime" Type="Edm.DateTimeOffset" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="The requested release date and time." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="ModifiedDateTime" Type="Edm.DateTimeOffset" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="The file modified date and time." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="ExpirationDateTime" Type="Edm.DateTimeOffset" Nullable="false" p4:IsReadOnly="true">
          <Annotation Term="Org.OData.Core.V1.Description" String="The file expiration date and time." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="PublishedDateTime" Type="Edm.DateTimeOffset" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="The file published date and time." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="TimeSinceEta" Type="Edm.Duration" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="Time" />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="PublisherOwnsContent" Type="Edm.Boolean" Nullable="false" p4:IsReadOnly="true">
          <Annotation Term="Org.OData.Core.V1.Description" String="The flag representing whether or not TR controls the content." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="PackageId" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The package id." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="SubscriptionId" Type="Edm.String" Nullable="false" p4:RequiredAnnotation="Required">
          <Annotation Term="Org.OData.Core.V1.Description" String="The subscription id." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="UserId" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The user id." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Type" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The type." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="ContentMd5" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The MD5 checksum supplied by the publisher. Not all files will have a MD5 value." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="ETag" Type="Edm.Binary">
          <Annotation Term="Org.OData.Core.V1.Description" String="The ETag." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Frequency" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The frequency." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="ContentLocation" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="Specifies the location in the container for retrieving the blob contents if blob contents are stored separately." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Claims" Type="Collection(DataScope.Select.Api.StandardExtractions.PackageDeliveryClaim)">
          <Annotation Term="Org.OData.Core.V1.Description" String="Returns the list of claims for the package delivery." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="ArchivedBy" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="What machine is in the process of archiving the package delivery." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="ArchiveStatus" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The archive status." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Publisher" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="Who published the data." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Version" Type="Edm.Int16" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="The version number." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="VenueId" Type="Edm.String" />
        <NavigationProperty Name="Package" Type="DataScope.Select.Api.StandardExtractions.Package" />
        <Annotation Term="Org.OData.Core.V1.Description" String="Package Delivery information." />
        <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
      </EntityType>
      <ComplexType Name="PackageDeliveryClaim">
        <Property Name="Subject" Type="Edm.String" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="The claim subject." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Type" Type="Edm.String" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="The claim type." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Annotation Term="Org.OData.Core.V1.Description" String="Package Delivery Claim information." />
        <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
      </ComplexType>
      <EntityType Name="Package" p4:OperationsDestination="Ancestor" xmlns:p4="DataScope.Select.Api.StandardExtractions">
        <Key>
          <PropertyRef Name="PackageId" />
        </Key>
        <Property Name="PackageId" Type="Edm.String" Nullable="false" p4:KeyAnnotation="Key">
          <Annotation Term="Org.OData.Core.V1.Description" String="The package id." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="SubscriptionId" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The subscription id." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Name" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The name of the package." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Description" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The description of the package." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <NavigationProperty Name="Subscription" Type="DataScope.Select.Api.StandardExtractions.Subscription" />
        <Annotation Term="Org.OData.Core.V1.Description" String="Package information." />
        <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
      </EntityType>
      <EntityType Name="Subscription" p4:OperationsDestination="Ancestor" xmlns:p4="DataScope.Select.Api.StandardExtractions">
        <Key>
          <PropertyRef Name="SubscriptionId" />
        </Key>
        <Property Name="SubscriptionId" Type="Edm.String" Nullable="false" p4:KeyAnnotation="Key">
          <Annotation Term="Org.OData.Core.V1.Description" String="The subscription id." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Name" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The name of the subscription." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Description" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The description of the subscription." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="RetentionDays" Type="Edm.Int16" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="The number of data retention days." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <NavigationProperty Name="Packages" Type="Collection(DataScope.Select.Api.StandardExtractions.Package)" />
        <Annotation Term="Org.OData.Core.V1.Description" String="Subscription information." />
        <Annotation Term="Org.OData.Core.V1.LongDescription" String="Standard extractions content is organized by Subscription (e.g. Tick History, Street Events) and Package. Subscriptions and Packages are not user-specific and allow you to view the list of available content. UserPackage and UserPackageDeliveries provide access to your permissioned content." />
      </EntityType>
      <EntityType Name="UserPackageDelivery" HasStream="true" p4:OperationsDestination="Ancestor" xmlns:p4="DataScope.Select.Api.StandardExtractions">
        <Key>
          <PropertyRef Name="PackageDeliveryId" />
        </Key>
        <Property Name="PackageDeliveryId" Type="Edm.String" Nullable="false" p4:KeyAnnotation="Key" />
        <Property Name="UserPackageId" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The user package id." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="SubscriptionId" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The subscription id." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Name" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The name of the file." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="CreateDateTime" Type="Edm.DateTimeOffset" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="The file creation date and time." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="ReleaseDateTime" Type="Edm.DateTimeOffset" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="The requested release date and time." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="FileSizeBytes" Type="Edm.Int64" Nullable="false">
          <Annotation Term="Org.OData.Core.V1.Description" String="The size of the file in bytes." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="Frequency" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="How often this package is delivered." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="ContentMd5" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The MD5 checksum supplied by the publisher. Not all files will have a MD5 value." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <NavigationProperty Name="UserPackage" Type="DataScope.Select.Api.StandardExtractions.UserPackage" />
        <Annotation Term="Org.OData.Core.V1.Description" String="Delivered file information for a User Package." />
        <Annotation Term="Org.OData.Core.V1.LongDescription" String="User package delivery is the primary entity for standard extractions that returns the list of delivered files. Querying the User package deliveries endpoint will return the list of all your user package deliveries, [one page at a time][Paging], starting with the most recent files first. Use [change tracking][ChangeTracking] to retrieve only the latest deliveries since the last request. Alternatively, you can use the GetUserPackageDeliveriesByDateRange method to retrieve deliveries by date range. Each UserPackageDelivery belongs to one UserPackage for which you are permissioned. Each UserPackage for the Tick History Subscription represents a single venue. UserPackages are organized by Subscription (e.g. Tick History)." />
      </EntityType>
      <EntityType Name="UserPackage" p4:OperationsDestination="Ancestor" xmlns:p4="DataScope.Select.Api.StandardExtractions">
        <Key>
          <PropertyRef Name="UserPackageId" />
        </Key>
        <Property Name="UserPackageId" Type="Edm.String" Nullable="false" p4:KeyAnnotation="Key">
          <Annotation Term="Org.OData.Core.V1.Description" String="The user package Id." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="The unique id for this entity." />
        </Property>
        <Property Name="PackageId" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The package Id." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="The id of the associated Package. Packages return all the available packages in the system whereas UserPackage returns on the the packages for which you have permissions. UserPackages also provide a means to access the PackageDeliveries for the package." />
        </Property>
        <Property Name="PackageName" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The name of the package." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="SubscriptionId" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The subscription Id." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <Property Name="SubscriptionName" Type="Edm.String">
          <Annotation Term="Org.OData.Core.V1.Description" String="The name of the subscription." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </Property>
        <NavigationProperty Name="Subscription" Type="DataScope.Select.Api.StandardExtractions.Subscription" />
        <NavigationProperty Name="UserPackageDeliveries" Type="Collection(DataScope.Select.Api.StandardExtractions.UserPackageDelivery)" />
        <Annotation Term="Org.OData.Core.V1.Description" String="The User Package." />
        <Annotation Term="Org.OData.Core.V1.LongDescription" String="Standard extractions content is organized by Subscription (e.g. Tick History, Street Events) and each Subscription contains Packages. You will have one UserPackages for each Packages for which you are permissioned. Tick History subscriptions are permissioned by venue so that each UserPackage represents a single venue. The delivered content for each UserPackage is accessible via UserPackageDeliveries." />
      </EntityType>
      <Function Name="PackageDeliveryGetPackageDeliveriesByPackageId">
        <Parameter Name="PackageId" Type="Edm.String" Unicode="false" />
        <ReturnType Type="Collection(DataScope.Select.Api.StandardExtractions.PackageDelivery)" />
        <Annotation Term="Org.OData.Capabilities.V1.Paging" Bool="true" />
      </Function>
      <Function Name="PackageGetByVenueId">
        <Parameter Name="VenueId" Type="Edm.String" Unicode="false" />
        <ReturnType Type="DataScope.Select.Api.StandardExtractions.Package" />
      </Function>
      <Function Name="PackageGetPackagesBySubscriptionId">
        <Parameter Name="Id" Type="Edm.String" Unicode="false" />
        <ReturnType Type="Collection(DataScope.Select.Api.StandardExtractions.Package)" />
      </Function>
      <Function Name="UserPackageDeliveryGetUserPackageDeliveriesByPackageId">
        <Parameter Name="PackageId" Type="Edm.String" Unicode="false" />
        <ReturnType Type="Collection(DataScope.Select.Api.StandardExtractions.UserPackageDelivery)" />
        <Annotation Term="Org.OData.Capabilities.V1.Paging" Bool="true" />
      </Function>
      <Function Name="UserPackageDeliveryGetUserPackageDeliveriesByDateRange">
        <Parameter Name="SubscriptionId" Type="Edm.String" Unicode="false" />
        <Parameter Name="FromDate" Type="Edm.DateTimeOffset" />
        <Parameter Name="ToDate" Type="Edm.DateTimeOffset" />
        <ReturnType Type="Collection(DataScope.Select.Api.StandardExtractions.UserPackageDelivery)" />
        <Annotation Term="Org.OData.Capabilities.V1.Paging" Bool="true" />
      </Function>
      <EntityContainer Name="StandardExtractions">
        <EntitySet Name="PackageDeliveries" EntityType="DataScope.Select.Api.StandardExtractions.PackageDelivery">
          <NavigationPropertyBinding Path="Package" Target="Packages" />
        </EntitySet>
        <EntitySet Name="Packages" EntityType="DataScope.Select.Api.StandardExtractions.Package">
          <NavigationPropertyBinding Path="Subscription" Target="Subscriptions" />
        </EntitySet>
        <EntitySet Name="Subscriptions" EntityType="DataScope.Select.Api.StandardExtractions.Subscription">
          <NavigationPropertyBinding Path="Packages" Target="Packages" />
        </EntitySet>
        <EntitySet Name="UserPackageDeliveries" EntityType="DataScope.Select.Api.StandardExtractions.UserPackageDelivery">
          <NavigationPropertyBinding Path="UserPackage" Target="UserPackages" />
        </EntitySet>
        <EntitySet Name="UserPackages" EntityType="DataScope.Select.Api.StandardExtractions.UserPackage">
          <NavigationPropertyBinding Path="Subscription" Target="Subscriptions" />
          <NavigationPropertyBinding Path="UserPackageDeliveries" Target="UserPackageDeliveries" />
        </EntitySet>
        <FunctionImport Name="PackageDeliveryGetPackageDeliveriesByPackageId" Function="DataScope.Select.Api.StandardExtractions.PackageDeliveryGetPackageDeliveriesByPackageId" EntitySet="PackageDeliveries" IncludeInServiceDocument="true" />
        <FunctionImport Name="PackageGetByVenueId" Function="DataScope.Select.Api.StandardExtractions.PackageGetByVenueId" EntitySet="Packages" IncludeInServiceDocument="true">
          <Annotation Term="Org.OData.Core.V1.Description" String="Returns the package for a specific VenueId." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </FunctionImport>
        <FunctionImport Name="PackageGetPackagesBySubscriptionId" Function="DataScope.Select.Api.StandardExtractions.PackageGetPackagesBySubscriptionId" EntitySet="Packages" IncludeInServiceDocument="true">
          <Annotation Term="Org.OData.Core.V1.Description" String="Gets all packages for a given Subscription." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="" />
        </FunctionImport>
        <FunctionImport Name="UserPackageDeliveryGetUserPackageDeliveriesByPackageId" Function="DataScope.Select.Api.StandardExtractions.UserPackageDeliveryGetUserPackageDeliveriesByPackageId" EntitySet="UserPackageDeliveries" IncludeInServiceDocument="true">
          <Annotation Term="Org.OData.Core.V1.Description" String="" />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="Unique system-generated identifier for a package (commonly known as a deal). A deal may have one or more facilities/tranches." />
        </FunctionImport>
        <FunctionImport Name="UserPackageDeliveryGetUserPackageDeliveriesByDateRange" Function="DataScope.Select.Api.StandardExtractions.UserPackageDeliveryGetUserPackageDeliveriesByDateRange" EntitySet="UserPackageDeliveries" IncludeInServiceDocument="true">
          <Annotation Term="Org.OData.Core.V1.Description" String="Returns the list of deliveries by date range." />
          <Annotation Term="Org.OData.Core.V1.LongDescription" String="This can be used to query the API daily or hourly (for example) to retrieve the latest delivery files for download. [Change tracking][ChangeTracking] can also be used to retrieve new deliveries since the last request." />
        </FunctionImport>
      </EntityContainer>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>