<?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.5.3 Annotation dictionaries - RGB color</name>
    <description>An annotation dictionary shall not contain the C array or the IC array unless the colour space of the
	DestOutputProfile in the PDF/A-1 OutputIntent dictionary, defined in 6.2.2, is RGB</description>
    <creator>veraPDF Consortium</creator>
    <created>2015-06-30T23:41:04Z</created>
    <hash>sha-1 hash code</hash>
    <rules>
		<rule id="6-5-3-t03" object="PDAnnot">
			<description>An annotation dictionary shall not contain the C array or the IC array unless the colour space of the
			DestOutputProfile in the PDF/A-1 OutputIntent dictionary, defined in 6.2.2, is RGB</description>
			<test>(C_size == 0 &amp;&amp; IC_size == 0) || gOutputCS == "RGB "</test>
			<error>
				<message>Annotation's color or interior color is used without specifying RGB-based destination output profile</message>
			</error>
			<reference>
				<specification>ISO19005-1</specification>
				<clause>6.5.3</clause>
			</reference>
		</rule>
	</rules>
	<variables>
		<variable name="gOutputCS" object="ICCOutputProfile">
			<defaultValue>null</defaultValue>
			<value>colorSpace</value>
		</variable>
	</variables>
</profile>
