Work.metadata.namespaces: Difference between revisions

From Safe Creative API
Jump to navigation Jump to search
w>Mpolo
m (Fixed link)
m (3 revisions imported)
 
(No difference)

Latest revision as of 08:07, 7 May 2021

Public component to query data about available namespaces.

Using this component you can get public information about available namespaces found with some work's metadata.

Info

  • Component name: work.metadata.namespaces
  • Signature: No signature required
  • Timestamp: Ztime is not required
  • API trust level: Public

Returns

  • namespace
    • name: Namespace short name
    • uri: Namespace uri
      • terms: Terms within namespace
        • term: Namespace term

Example

REQUEST:

https://api.safecreative.org/v2/?component=work.metadata.namespaces


RESPONSE:

<?xml version="1.0" encoding="UTF-8"?>
<namespaces>
  <namespace>
    <name>DC</name>
    <uri>http://purl.org/dc/elements/1.1/</uri>
    <terms>
      <term>abstract</term>
      <term>contributor</term>
      <term>coverage</term>
      <term>created</term>
      <term>creator</term>
      <term>date</term>
      <term>dateAccepted</term>
      <term>dateCopyrighted</term>
      <term>dateSubmitted</term>
      <term>description</term>
      <term>extent</term>
      <term>format</term>
      <term>identifier</term>
      <term>issued</term>
      <term>language</term>
      <term>license</term>
      <term>modified</term>
      <term>publisher</term>
      <term>relation</term>
      <term>rights</term>
      <term>rightsHolder</term>
      <term>source</term>
      <term>subject</term>
      <term>title</term>
      <term>type</term>
    </terms>
  </namespace>
  <namespace>
    <name>DCTERMS</name>
    <uri>http://purl.org/dc/terms/</uri>
    <terms>
      <term>contributor</term>
      <term>coverage</term>
      <term>creator</term>
      <term>date</term>
      <term>description</term>
      <term>format</term>
      <term>identifier</term>
      <term>language</term>
      <term>publisher</term>
      <term>relation</term>
      <term>rights</term>
      <term>source</term>
      <term>subject</term>
      <term>title</term>
      <term>type</term>
    </terms>
  </namespace>
  <namespace>
    <name>XSD</name>
    <uri>http://www.w3.org/2001/XMLSchema#</uri>
    <terms>
      <term>date</term>
      <term>decimal</term>
      <term>integer</term>
      <term>boolean</term>
      <term>float</term>
      <term>double</term>
      <term>time</term>
      <term>dateTime</term>
      <term>duration</term>
      <term>gYear</term>
    </terms>
  </namespace>
  <namespace>
    <name>CC</name>
    <uri>http://creativecommons.org/ns#</uri>
    <terms>
      <term>license</term>
      <term>attributionName</term>
      <term>attributionURL</term>
      <term>morePermissions</term>
    </terms>
  </namespace>
  <namespace>
    <name>ROL</name>
    <uri>http://rdvocab.info/roles/</uri>
    <terms>
      <term>actor</term>
      <term>director</term>
      <term>producer</term>
      <term>publisher</term>
      <term>composer</term>
      <term>screenwriter</term>
      <term>contributor</term>
      <term>editor</term>
      <term>designer</term>
      <term>photographer</term>
      <term>directorOfPhotography</term>
    </terms>
  </namespace>
  <namespace>
    <name>GN</name>
    <uri>http://www.geonames.org/ontology#</uri>
    <terms>
      <term>countryCode</term>
    </terms>
  </namespace>
</namespaces>