Edurep:Metadata/Uitvoerformaten/en

Uit Kennisnet Developers Documentatie
Naar navigatie springen Naar zoeken springen
Nl.gif Nederlands En.gif English

It may happen that one learning material can be download in several different formats and not only in the source format. Consider learning material that can be downloaded as a single PDF, or ePUB or Word document. In this case, it is not necessary to create a separate metadata record for each format.

Different download formats should be specified in a single metadata record. That metadata record then contains relation elements that point to alternative formats.

NL LOM

Bullet book.png Specificatie Nl.gif (leidend)

In NL LOM, "hasformat" is used as the relation/kind/value. The mime type of the relevant format is listed in the relation/resource/description.

<lom>
  <relation> 
    <kind> 
      <source> 
        <langstring xml:lang="x-none">http://purl.edustandaard.nl/relation_kind_nllom_20131211</langstring> 
      </source> 
      <value> 
        <langstring xml:lang="x-none">hasformat</langstring> 
      </value> 
    </kind>
    <resource>
      <description>
        <langsting xml:lang="x-none">application/pdf</langstring>
      </description>
      <catalogentry>
        <catalog>URI</catalog>
        <entry> 
          <langstring xml:lang="x-none">http://www.site.nl/materiaal/4560.pdf</langstring> 
        </entry> 
      </catalogentry>
    </resource>
  </relation>
  <relation> 
    <kind> 
      <source> 
        <langstring xml:lang="x-none">http://purl.edustandaard.nl/relation_kind_nllom_20131211</langstring> 
      </source> 
      <value> 
        <langstring xml:lang="x-none">hasformat</langstring> 
      </value> 
    </kind>
    <resource>
      <description>
        <langsting xml:lang="x-none">application/epub+zip</langstring>
      </description>
      <catalogentry>
        <catalog>URI</catalog>
        <entry> 
          <langstring xml:lang="x-none">http://www.site.nl/materiaal/4560.epub</langstring> 
        </entry> 
      </catalogentry>
    </resource>
  </relation>
</lom>


Schema.org

Bullet book.png Specificatie En.gif (leidend)

In schema.org, a separate MediaObject is created for each download format.

{
  "@context": {
    "schema": "https://schema.org/"
  },
  "schema:encoding": [
    {
      "@type": "schema:MediaObject",
      "schema:encodingFormat": "application/pdf",
      "schema:url": "http://www.site.nl/materiaal/4560.pdf"
    },
    {
      "@type": "schema:MediaObject",
      "schema:encodingFormat": "application/epub+zip",
      "schema:url": "http://www.site.nl/materiaal/4560.epub"
    }
  ]
}

Searching

/edurep/sruns: query=lom.relation.resource.description="application/x-imsqti+zip"
/jsonsearch: query=schema:encoding.schema:encodingFormat="application/x-imsqti+zip"

See Also

Gebruikt in Edurep:Metadata
Vergelijkbaar met -
Gerelateerd aan Edurep:VeldenlijstEdurep:Metadata/FormaatStandaarden:NL_LOM/lom.relationStandaarden:NL_LOM/lom.relation/hasformatStandaarden:Schema.org/schema:encoding