Sha256: fff017ef5f36feab1e9d1e43ac859a649771c7b79b6a2c7efb80304ea1d26818

Contents?: true

Size: 782 Bytes

Versions: 3

Compression:

Stored size: 782 Bytes

Contents

<schema xmlns="http://purl.oclc.org/dsdl/schematron">

  <title>
    Florida Digital Archive SIP Validation
  </title>
  
  <ns prefix="mets" uri="http://www.loc.gov/METS/"/>
  <ns prefix="pre" uri="info:lc/xmlns/premis-v2"/>
  <ns prefix="dts" uri="http://www.fcla.edu/dls/md/daitss/"/>

  <pattern name="PREMIS object should bein the proper buckets">
    
    <rule context="//pre:event">
      <assert test="parent::mets:xmlData/parent::mets:mdWrap/parent::mets:digiprovMD">
	PREMIS events must be contained in a METS digiprovMD
      </assert>
    </rule>

    <rule context="//pre:object">
      <assert test="parent::mets:xmlData/parent::mets:mdWrap/parent::mets:techMD">
	PREMIS objects must be contained in a METS techMD
      </assert> 
    </rule>

 </pattern>

</schema>

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
flazz-schematron-0.0.3 spec/schema/pim.sch
schematron-0.0.3 spec/schema/pim.sch
schematron-0.0.2 spec/schema/pim.sch