<?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 - Linearized PDF - Matching IDs</name>
    <description>In a linearized PDF, if the ID keyword is present in both the first page trailer dictionary 
			and the last trailer dictionary, the value to both instances of the ID keyword shall be identical</description>
    <creator>veraPDF Consortium</creator>
    <created>2015-06-02T13:48:12Z</created>
    <hash>sha-1 hash code</hash>
    <rules>
		<rule id="6-1-3-t04" object="CosDocument">
			<description>In a linearized PDF, if the ID keyword is present in both the first page trailer dictionary 
			and the last trailer dictionary, the value to both instances of the ID keyword shall be identical</description>
			<test>(isLinearized != true)|| lastID == null || (firstPageID == lastID)</test>
			<error>
				<message>Last ID is present in the Linearized PDF and does not match the first page ID</message>
			</error>
			<reference>
				<specification>ISO 19005-1:2005/Cor.2:2011</specification>
				<clause>6.1.3</clause>
			</reference>
		</rule>
	</rules>
</profile>
