<?xml version="1.0" encoding="UTF-8"?>
<profile xmlns="http://www.verapdf.org/ValidationProfile" model="org.verapdf.model.PDFA1a">
    <name>ISO 19005-1:2005 - 6.1.3 File trailer - ID keyword</name>
    <description>The file trailer dictionary shall contain the ID keyword</description>
    <creator>veraPDF Consortium</creator>
    <created>2015-06-02T13:22:15Z</created>
    <hash>sha-1 hash code</hash>
    <rules>
		<rule id="6-1-3-t01" object="CosDocument">
			<description>The file trailer dictionary shall contain the ID keyword. The file trailer referred to is either the last trailer dictionary in a PDF file,
			as described in PDF Reference 3.4.4 and 3.4.5, or the first page trailer in a linearized PDF file, as described in PDF Reference F.2</description>
			<test>(isLinearized == true &amp;&amp; firstPageID != null) || ((isLinearized != true) &amp;&amp; lastID != null)</test>
			<error>
				<message>Missing ID in the document trailer</message>
			</error>
			<reference>
				<specification>ISO19005-1:2005</specification>
				<clause>6.1.3</clause>
			</reference>
		</rule>
	</rules>
</profile>
