﻿<ManagementPack SchemaVersion="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Manifest>
    <Identity>
      <ID>NFL</ID>
      <Version>1.0.0.0</Version>
    </Identity>
    <Name>National Football League</Name>
    <References>
      <Reference Alias="System">
        <ID>System.Library</ID>
        <Version>1.0.0.0</Version>
        <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
      </Reference>
    </References>
  </Manifest>
  <TypeDefinitions>
    <EntityTypes>
      <ClassTypes>
        <ClassType ID="NFL.Conference" Base="System!System.ConfigItem" Accessibility="Public" Hosted="false" Abstract="false">
          <Property ID="Name" Type="string" Key="true" />
        </ClassType>
        <ClassType ID="NFL.Division" Base="System!System.ConfigItem" Accessibility="Public" Hosted="true" Abstract="false">
          <Property ID="Name" Type="string" Key="true" />
        </ClassType>
      </ClassTypes>
      <RelationshipTypes>
        <RelationshipType ID="NFL.ConferenceHostsDivision" Base="System!System.Hosting" Abstract="false" Accessibility="Public">
          <Source ID="Conference" Type="NFL.Conference"/>
          <Target ID="Division" Type="NFL.Division"/>
        </RelationshipType>
      </RelationshipTypes>
      <TypeProjections>
        <TypeProjection ID="NFL.Conference.All" Accessibility="Public" Type="NFL.Conference">
          <Component Alias="Division" Path="$Target/Path[Relationship='NFL.ConferenceHostsDivision']$" />
        </TypeProjection>
      </TypeProjections>
    </EntityTypes>
  </TypeDefinitions>
</ManagementPack>