<?xml version="1.0" encoding="UTF-8"?>

<!-- LearningAssets Version 2.0 -->

<!DOCTYPE root [
  <!ELEMENT root (Authors, Lessons, LearningAssets)>
  
  <!ELEMENT Authors (Author*)>
  <!ELEMENT Author
      (name,org,email)>
  <!ATTLIST Author authorID ID #REQUIRED>
  <!ELEMENT name (#PCDATA)>
  <!ELEMENT org (#PCDATA)>
  <!ELEMENT email (#PCDATA)>

  
  <!ELEMENT Lessons (Lesson*)>
  <!ELEMENT Lesson
      (timeToComplete,title,asset+,memo)>
  <!ELEMENT timeToComplete (#PCDATA)>
  <!ATTLIST timeToComplete unit (min|hr) "min">
  <!ELEMENT title (#PCDATA)>
  <!ELEMENT asset (#PCDATA)>
  <!ATTLIST asset assetID IDREF #REQUIRED>
  <!ELEMENT memo (contents,attachment*)>
  <!ELEMENT contents (#PCDATA)>
  <!ELEMENT attachment (#PCDATA)>
  
  <!ELEMENT LearningAssets ((SlideDeck|Video)*)>
  <!ELEMENT SlideDeck
      (title,isDeployed?,url)>
  <!ATTLIST SlideDeck fileType (ppt|pptx|pdf|other) "other">
  <!ATTLIST SlideDeck assetID ID #REQUIRED>
  <!ATTLIST SlideDeck aID IDREF #REQUIRED>
  <!ELEMENT Video
      (title,isDeployed?,url,runTime)>
  <!ATTLIST Video assetID ID #REQUIRED>
  <!ATTLIST Video aID IDREF #REQUIRED>
  <!ATTLIST Video difficulty (easy|medium|difficult) "easy">
  <!ATTLIST Video type (Chalk-Talk|Tutorial|Demo|Narration) "Demo">
  <!ATTLIST Video platform (Kaltura|Vemeo|Youtube|Other) "Other">
  <!ELEMENT isDeployed EMPTY>
  <!ELEMENT url (#PCDATA)>
  <!ELEMENT runTime (#PCDATA)>

]>



<root>
  <Authors>
    <Author authorID="i101">
      <name>Chloe Parker</name>
      <org>Northeastern University</org>
      <email>c.parker@neu.edu</email>
    </Author>
    <Author authorID="i102">
      <name>Alison Chan</name>
      <org>PWC Toronto</org>
      <email>chan.alison@pwc.com</email>
    </Author>
    <Author authorID="i103">
      <name>James Pattern</name>
      <org>Cloud Partners LLC</org>
      <email>j.pattern@cloudp.com</email>
    </Author>
    <Author authorID="i105">
      <name>Oliver Kreis</name>
      <org>PWC Toronto</org>
      <email>oliver.kreis@pwc.com</email>
    </Author>
  </Authors>
  
  <Lessons>
    <Lesson>
      <timeToComplete unit="min">45</timeToComplete>
      <title>Estimation with Delphi</title>
      <asset assetID="l10" />
      <asset assetID="l14" />
      <memo>
        <contents>The Delphi method...</contents>
        <attachment>http://foo.bar.com/att1.docx</attachment>
        <attachment>http://foo.bar.com/att2.docx</attachment>
      </memo>
    </Lesson>
  </Lessons>
  
  <LearningAssets>
    <SlideDeck assetID="l10" fileType="pptx" aID="i105">
      <title>XML Patterns</title>
      <isDeployed />
      <url>http://foo.bar/xml.pptx</url>
    </SlideDeck>
    <Video assetID="l14" difficulty="easy" type="Demo" platform="Other" aID="i102">
      <title>Installing R Studio</title>
      <url>http://foo.bar/installR.mp4</url>
      <runTime>10</runTime>
    </Video>
    <SlideDeck assetID="l17" fileType="pdf" aID="i105">
      <title>XML Patterns Lecture Notes</title>
      <url>http://foo.bar/xmlnotes.pdf</url>
    </SlideDeck>
  </LearningAssets>
</root>
