Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

As with all Fedora objects, Service Definitions must declare a persistent identifier ("PID") that is unique within the repository.  There are no special restrictions on the PID beyond those described in the Fedora Identifiers document.  In FOXML format, the PID is declared in the root element of the XML document as shown below:

Code Block

<?xml version="1.0" encoding="UTF-8"?>
<foxml:digitalObject xmlns:foxml="info:fedora/fedora-system:def/foxml#"
    VERSION="1.1" PID="demo:MyServiceDefinition">
  <!-- Object Properties -->
  <!-- Datastreams -->
</foxml:digitalObject>

...

There are also no special restrictions on the top-level object properties for Service Definitions.  In the following FOXML fragment, we assert that the state of the object is Active and the label is My Service Definition.

Code Block

  <foxml:objectProperties>
    <foxml:property
        NAME="info:fedora/fedora-system:def/model#state"
        VALUE="Active"/>
    <foxml:property
        NAME="info:fedora/fedora-system:def/model#label"
        VALUE="My Service Definition"/>
  </foxml:objectProperties>

...