Skip to content

RSL and Schema.org

RSL integrates with Schema.org to enable publishers to define additional metadata about their licensable digital assets.

Adding Schema.org metadata to an RSL license

The optional RSL <schema> element provides additional metadata about a digital asset, including the author, publisher, or date of creation. This element must contain a URL pointing to a Schema.org CreativeWork declaration.

Example Code

Below is an example RSL file that links to a Schema.org declaration.

xml
<rsl xmlns="https://rslstandard.org/rsl">
 <content url="https://gutenberg.org/2701/pg2701-h.zip">
   <schema>https://gutenberg.org/ebooks/2701</schema>
   <license>
     <payment type="free"/>
   </license>
 </content>
</rsl>

Example corresponding Schema.org declaration.

json
{
  "@context": "https://schema.org",
  "@type": "Book",
  "name": "Moby Dick; Or, The Whale by Herman Melville",
  "author": {
    "@type": "Person",
    "name": "Herman Melville"
  }
}

Adding an RSL license to a Schema.org CreativeWork

The Schema.org license property can be used to link to an RSL file that defines machine-readable usage rights and licensing terms for a CreativeWork.

Example Code

Below is an example Schema.org declaration that links to an RSL license file.

json
{
  "@context": "https://schema.org",
  "@type": "Book",
  "name": "Moby Dick; Or, The Whale by Herman Melville",
  "author": {
    "@type": "Person",
    "name": "Herman Melville"
  },
  "license": "https://gutenberg.org/ebooks-rsl-license.xml"
}

RSL™, Really Simple Licensing™, and the RSL Logo are trademarks of RSL Foundry. Terms of Service. Privacy.