bowlingTournament
League
name
player
Player
name
dateOfBirth
height
isProfessional
Tournament
type
matchups
league
Matchup
games
Game
player
matchup
frames
TournamentType
Pro
Pro
Amateur
Amateur
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="bowlingTournament" nsURI="http://www.example.org/bowlingTournament"
    nsPrefix="bowlingTournament">
  <eClassifiers xsi:type="ecore:EClass" name="League">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="player" upperBound="-1"
        eType="#//Player" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Player">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="dateOfBirth" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDate"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="height" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EDouble"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="isProfessional" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Tournament">
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="#//TournamentType"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="matchups" upperBound="-1"
        eType="#//Matchup" containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="league" upperBound="-1"
        eType="#//League" containment="true"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Matchup">
    <eStructuralFeatures xsi:type="ecore:EReference" name="games" upperBound="2" eType="#//Game"
        containment="true" eOpposite="#//Game/matchup"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EClass" name="Game">
    <eStructuralFeatures xsi:type="ecore:EReference" name="player" eType="#//Player"
        containment="true"/>
    <eStructuralFeatures xsi:type="ecore:EReference" name="matchup" eType="#//Matchup"
        eOpposite="#//Matchup/games"/>
    <eStructuralFeatures xsi:type="ecore:EAttribute" name="frames" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
  </eClassifiers>
  <eClassifiers xsi:type="ecore:EEnum" name="TournamentType">
    <eLiterals name="Pro"/>
    <eLiterals name="Amateur" value="1"/>
  </eClassifiers>
</ecore:EPackage>

{"directed":true,"nodes":[{"nsPrefix":"bowlingTournament","nsURI":"http://www.example.org/bowlingTournament","name":"bowlingTournament","id":0,"eClass":"EPackage"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"League","instanceClass":null,"abstract":false,"id":1,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Player","instanceClass":null,"abstract":false,"id":2,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Tournament","instanceClass":null,"abstract":false,"id":3,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Matchup","instanceClass":null,"abstract":false,"id":4,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"defaultValue":null,"instanceClassName":null,"name":"Game","instanceClass":null,"abstract":false,"id":5,"interface":false,"eClass":"EClass"},{"instanceTypeName":null,"instanceClassName":null,"name":"TournamentType","instanceClass":null,"id":6,"serializable":true,"eClass":"EEnum"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":0,"iD":false,"id":7,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"player","changeable":true,"resolveProxies":true,"lowerBound":0,"id":8,"derived":false},{"id":9,"eClass":"EGenericType"},{"id":10,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"name","changeable":true,"lowerBound":0,"iD":false,"id":11,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"dateOfBirth","changeable":true,"lowerBound":0,"iD":false,"id":12,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0.0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"height","changeable":true,"lowerBound":0,"iD":false,"id":13,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":false,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"isProfessional","changeable":true,"lowerBound":0,"iD":false,"id":14,"derived":false},{"id":15,"eClass":"EGenericType"},{"id":16,"eClass":"EGenericType"},{"id":17,"eClass":"EGenericType"},{"id":18,"eClass":"EGenericType"},{"ordered":true,"upperBound":1,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"type","changeable":true,"lowerBound":0,"iD":false,"id":19,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"matchups","changeable":true,"resolveProxies":true,"lowerBound":0,"id":20,"derived":false},{"container":false,"ordered":true,"upperBound":-1,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"league","changeable":true,"resolveProxies":true,"lowerBound":0,"id":21,"derived":false},{"id":22,"eClass":"EGenericType"},{"id":23,"eClass":"EGenericType"},{"id":24,"eClass":"EGenericType"},{"container":false,"ordered":true,"upperBound":2,"defaultValue":null,"volatile":false,"many":true,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"games","changeable":true,"resolveProxies":true,"lowerBound":0,"id":25,"derived":false},{"id":26,"eClass":"EGenericType"},{"container":true,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":false,"unsettable":false,"transient":false,"unique":true,"name":"matchup","changeable":true,"resolveProxies":true,"lowerBound":0,"id":27,"derived":false},{"container":false,"ordered":true,"upperBound":1,"defaultValue":null,"volatile":false,"many":false,"required":false,"eClass":"EReference","defaultValueLiteral":null,"containment":true,"unsettable":false,"transient":false,"unique":true,"name":"player","changeable":true,"resolveProxies":true,"lowerBound":0,"id":28,"derived":false},{"ordered":true,"upperBound":1,"defaultValue":0,"volatile":false,"many":false,"required":false,"eClass":"EAttribute","defaultValueLiteral":null,"unsettable":false,"transient":false,"unique":true,"name":"frames","changeable":true,"lowerBound":0,"iD":false,"id":29,"derived":false},{"id":30,"eClass":"EGenericType"},{"id":31,"eClass":"EGenericType"},{"id":32,"eClass":"EGenericType"},{"name":"Pro","id":33,"value":0,"literal":"Pro","eClass":"EEnumLiteral"},{"name":"Amateur","id":34,"value":1,"literal":"Amateur","eClass":"EEnumLiteral"}],"links":[{"source":0,"target":1},{"source":0,"target":2},{"source":0,"target":3},{"source":0,"target":4},{"source":0,"target":5},{"source":0,"target":6},{"source":1,"target":0},{"source":1,"target":7},{"source":1,"target":8},{"source":7,"target":9},{"source":7,"target":1},{"source":8,"target":2},{"source":8,"target":10},{"source":8,"target":1},{"source":10,"target":2},{"source":2,"target":0},{"source":2,"target":11},{"source":2,"target":12},{"source":2,"target":13},{"source":2,"target":14},{"source":11,"target":15},{"source":11,"target":2},{"source":12,"target":16},{"source":12,"target":2},{"source":13,"target":17},{"source":13,"target":2},{"source":14,"target":18},{"source":14,"target":2},{"source":3,"target":0},{"source":3,"target":19},{"source":3,"target":20},{"source":3,"target":21},{"source":19,"target":6},{"source":19,"target":22},{"source":19,"target":3},{"source":22,"target":6},{"source":20,"target":4},{"source":20,"target":23},{"source":20,"target":3},{"source":23,"target":4},{"source":21,"target":1},{"source":21,"target":24},{"source":21,"target":3},{"source":24,"target":1},{"source":4,"target":0},{"source":4,"target":25},{"source":25,"target":5},{"source":25,"target":26},{"source":25,"target":4},{"source":25,"target":27},{"source":26,"target":5},{"source":5,"target":0},{"source":5,"target":28},{"source":5,"target":27},{"source":5,"target":29},{"source":28,"target":2},{"source":28,"target":30},{"source":28,"target":5},{"source":30,"target":2},{"source":27,"target":4},{"source":27,"target":31},{"source":27,"target":5},{"source":27,"target":25},{"source":31,"target":4},{"source":29,"target":32},{"source":29,"target":5},{"source":6,"target":0},{"source":6,"target":33},{"source":6,"target":34},{"source":33,"target":6},{"source":34,"target":6}],"multigraph":true}