<?xml version="1.0"?>
<policy type="and" name="CAVPP Preservation Master">
  <description>Derived from http://calpreservation.org/wp-content/uploads/2014/12/CAVPP-file-specs-2014.11.20.pdf</description>
  <rule name="Video CodecID should be v210." value="CodecID" tracktype="Video" occurrence="*" operator="=">v210</rule>
  <policy type="or" name="Format should be QuickTime">
    <description>Two tests, since there are two formats 'called' QuickTime.</description>
    <rule name="Format is QuickTime" value="Format" tracktype="General" occurrence="*" operator="=">QuickTime</rule>
    <policy type="and" name="Format is MPEG-4 with QuickTime profile">
      <rule name="Format is MPEG-4" value="Format" tracktype="General" occurrence="*" operator="=">MPEG-4</rule>
      <rule name="Format profile is QuickTime" value="Format_Profile" tracktype="General" occurrence="*" operator="=">QuickTime</rule>
    </policy>
  </policy>
  <rule name="Width is 720" value="Width" tracktype="Video" occurrence="*" operator="=">720</rule>
  <rule name="Height is 486" value="Height" tracktype="Video" occurrence="*" operator="=">486</rule>
  <rule name="Frame Rate is 29.97" value="FrameRate" tracktype="General" occurrence="*" operator="=">29.970</rule>
  <rule name="Colorspace is YUV" value="ColorSpace" tracktype="Video" occurrence="*" operator="=">YUV</rule>
  <rule name="ScanType is interlaced" value="ScanType" tracktype="Video" occurrence="*" operator="=">Interlaced</rule>
  <rule name="Audio is PCM" value="Format" tracktype="Audio" occurrence="*" operator="=">PCM</rule>
  <rule name="Audio is 2 channel" value="Channels" tracktype="Audio" occurrence="*" operator="=">2</rule>
  <rule name="Audio is 48kHz" value="SamplingRate" tracktype="Audio" occurrence="*" operator="=">48000</rule>
  <rule name="Audio is 24 bit" value="BitDepth" tracktype="Audio" occurrence="*" operator="=">24</rule>
</policy>
