PDF/A-1b validation profile
Validation rules against ISO 19005-1:2005, Cor.1:2007 and Cor.2:2011, Level B
The % character of the file header shall occur at byte offset 0 of the file. The first line of a PDF file is a header identifying the version of the PDF specification to which the file conforms
headerOffset == 0 && /%PDF-\d\.\d/.test(header)
File header %1 (offset = %2) starts at non-zero offset or does not match the pattern %PDF-n.m
header
headerOffset
The file header line shall be immediately followed by a comment consisting of a % character followed by at least four characters, each of whose encoded byte values shall have a decimal value greater than 127
headerByte1 > 127 && headerByte2 > 127 && headerByte3 > 127 && headerByte4 > 127
Binary comment in the file header is missing or does not start with 4 bytes with byte values above 127 (first four bytes = %1, %2, %3, %4)
headerByte1
headerByte2
headerByte3
headerByte4
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
(isLinearized == true) ? (firstPageID != null) : (lastID != null)
Missing ID in the document trailer
The keyword Encrypt shall not be used in the trailer dictionary
isEncrypted != true
Encrypt keyword is present in the trailer dictionary
No data shall follow the last end-of-file marker except a single optional end-of-line marker
postEOFDataSize == 0
%1 byte(s) of data is present after the last end-of-file marker
postEOFDataSize
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
(isLinearized != true) || lastID == null || (firstPageID == lastID)
Last ID (%1) is present in the Linearized PDF and does not match the first page ID (%2)
lastIDValue
firstPageIDValue
In a cross reference subsection header the starting object number and the range shall be separated by a single SPACE character (20h)
subsectionHeaderSpaceSeparated == true
Extra or missing spacings around in a subsection header of the cross reference table
The xref keyword and the cross reference subsection header shall be separated by a single EOL marker
xrefEOLMarkersComplyPDFA
Extra spacings or missing EOL characters after the 'xref' keyword in the cross reference table
Xref streams shall not be used
containsXRefStream == false
The document uses xref streams
Hexadecimal strings shall contain an even number of non-white-space characters
(isHex != true) || hexCount % 2 == 0
A hexadecimal string contains odd number (%1) of non-white-space characters
hexCount
All non-white-space characters in hexadecimal strings shall be in the range 0 to 9, A to F or a to f
(isHex != true) || containsOnlyHex == true
Hexadecimal string contains non-white-space characters outside the range 0 to 9, A to F or a to f
The value of the Length key specified in the stream dictionary shall match the number of bytes in the file following the LINE FEED character after the stream keyword and preceding the EOL marker before the endstream keyword
Length == realLength
Actual length of the stream (%1 byte(s)) does not match the value of the Length key in the Stream dictionary (%2 byte(s))
realLength
Length
The stream keyword shall be followed either by a CARRIAGE RETURN (0Dh) and LINE FEED (0Ah) character sequence or by a single LINE FEED character. The endstream keyword shall be preceded by an EOL marker
streamKeywordCRLFCompliant == true && endstreamKeywordEOLCompliant == true
Extra spacings or missing EOL characters around keywords 'stream' and 'endstream'
A stream object dictionary shall not contain the F, FFilter, or FDecodeParms keys
F == null && FFilter == null && FDecodeParms == null
A stream object dictionary contains %1 key(s)
keysString.split('&').filter(elem => elem == 'F' || elem == 'FFilter' || elem == 'FDecodeParms').toString()
The object number and generation number shall be separated by a single white-space character. The generation number and obj keyword shall be separated by a single white-space character. The object number and endobj keyword shall each be preceded by an EOL marker. The obj and endobj keywords shall each be followed by an EOL marker
spacingCompliesPDFA
Extra spacings or missing EOL characters around indirect object/generation number or keywords 'obj' and 'endobj'
The LZWDecode filter shall not be permitted
internalRepresentation != "LZWDecode"
Unknown or not permitted Stream filter %1 is used
internalRepresentation
The LZWDecode filter shall not be permitted
internalRepresentation != "LZWDecode" && internalRepresentation != "LZW"
LZW compression is used in the inline image
A file specification dictionary, as defined in PDF 3.10.2, shall not contain the EF key
containsEF == false
A file specification dictionary contains the EF key
A file's name dictionary, as defined in PDF Reference 3.6.3, shall not contain the EmbeddedFiles key
containsEmbeddedFiles == false
The document contains embedded files (EmbeddedFiles key is present in the file's name dictionary)
Largest Integer value is 2,147,483,647. Smallest integer value is -2,147,483,648
(intValue <= 2147483647) && (intValue >= -2147483648)
Integer value %1 out of range
intValue
Absolute real value must be less than or equal to 32767.0
(realValue >= -32767.0) && (realValue <= 32767.0)
Real value %1 out of range
realValue
Maximum length of a string (in bytes) is 65535
value.length() < 65536
String length (%1) exceeded 65535
value.length()
Maximum length of a name (in bytes) is 127
internalRepresentation.length() <= 127
Name length (%1) exceeded 127
internalRepresentation.length()
Maximum capacity of an array (in elements) is 8191
size <= 8191
Array capacity (%1) exceeded 8191
size
Maximum capacity of a dictionary (in entries) is 4095
size <= 4095
Dictionary capacity (%1) exceeded 4095
size
Maximum number of indirect objects in a PDF file is 8,388,607
nrIndirects <= 8388607
Number of indirect objects in a PDF file (%1) exceeded 8,388,607
nrIndirects
Maximum depth of graphics state nesting by q and Q operators is 28
nestingLevel <= 28
Depth of graphics state nesting of q/Q operators (%1) exceeded 28
nestingLevel
Maximum number of DeviceN components is 8
nrComponents <= 8
Number of DeviceN components (%1) exceeded 8
nrComponents
Maximum value of a CID (character identifier) is 65,535
maximalCID <= 65535
Value of a CID (%1) exceeded 65,535
maximalCID
The document catalog dictionary shall not contain a key with the name OCProperties
isOptionalContentPresent == false
The document catalog dictionary contains the OCProperties entry
A PDF/A-1 OutputIntent is an OutputIntent dictionary, as defined by PDF Reference 9.10.4, that is included in the file's OutputIntents array and has GTS_PDFA1 as the value of its S key and a valid ICC profile stream as the value its DestOutputProfile key
(deviceClass == "prtr" || deviceClass == "mntr") && (colorSpace == "RGB " || colorSpace == "CMYK" || colorSpace == "GRAY") && version < 3.0
The embedded PDF/A Output Intent colour profile is either invalid or does not provide BToA information
If a file's OutputIntents array contains more than one entry, then all entries that contain a DestOutputProfile key shall have as the value of that key the same indirect object, which shall be a valid ICC profile stream
sameOutputProfileIndirect == true
File's OutputIntents array contains output intent dictionaries with non-matching destination output profiles (indirect keys %1)
outputProfileIndirects
All ICCBased colour spaces shall be embedded as ICC profile streams as described in PDF Reference 4.5
(deviceClass == "prtr" || deviceClass == "mntr" || deviceClass == "scnr" || deviceClass == "spac") && (colorSpace == "RGB " || colorSpace == "CMYK" || colorSpace == "GRAY" || colorSpace == "Lab ") && version < 3.0
The embedded ICC profile (Device Class = %1, color space = %2, version = %3) is either invalid or does not satisfy PDF 1.4 requirements
deviceClass
colorSpace
version
All ICCBased colour spaces shall be embedded as ICC profile streams as described in PDF Reference 4.5. The number of color components in the color space described by the ICC profile data must match the number of components actually in the ICC profile. As of PDF 1.4, N must be 1, 3, or 4
N != null && ((N == 1 && colorSpace == "GRAY") || (N == 3 && (colorSpace == "RGB " || colorSpace == "Lab ")) || (N == 4 && colorSpace == "CMYK"))
The N entry (value %1) in the ICC profile dictionary is missing or does not match the number of components in the embedded ICC profile (color space %2)
N
colorSpace
DeviceRGB may be used only if the file has a PDF/A-1 OutputIntent that uses an RGB colour space
gOutputCS != null && gOutputCS == "RGB "
DeviceRGB colour space is used without RGB output intent profile
DeviceCMYK may be used only if the file has a PDF/A-1 OutputIntent that uses a CMYK colour space
gOutputCS != null && gOutputCS == "CMYK"
DeviceCMYK colour space is used without CMYK output intent profile
If an uncalibrated colour space is used in a file then that file shall contain a PDF/A-1 OutputIntent, as defined in 6.2.2
gOutputCS != null
DeviceGray colour space is used without output intent profile
An Image dictionary shall not contain the Alternates key
containsAlternates == false
Alternates key is present in the Image dictionary
An XObject dictionary (Image or Form) shall not contain the OPI key
containsOPI == false
OPI key is present in the XObject dictionary
If an Image dictionary contains the Interpolate key, its value shall be false
Interpolate == false
The value of the Interpolate key in the Image dictionary is true
If an Image dictionary contains the BitsPerComponent key, its value shall be 1, 2, 4 or 8
isMask == true || BitsPerComponent == null || BitsPerComponent == 1 || BitsPerComponent == 2 || BitsPerComponent == 4 || BitsPerComponent == 8
The value of the BitsPerComponent key in the Image dictionary is %1
BitsPerComponent
If an image mask dictionary contains the BitsPerComponent key, its value shall be 1
BitsPerComponent == null || BitsPerComponent == 1
The value of the BitsPerComponent key in the image mask dictionary is %1
BitsPerComponent
A form XObject dictionary shall not contain the Subtype2 key with a value of PS or the PS key
(Subtype2 == null || Subtype2 != "PS") && containsPS == false
The form XObject dictionary contains a PS key or Subtype2 key with value PS
A conforming file shall not contain any reference XObjects
containsRef == false
The document contains a reference XObject (Ref key in the form XObject dictionary)
A conforming file shall not contain any PostScript XObjects
Subtype != "PS"
The document contains a PostScript XObject
An ExtGState dictionary shall not contain the TR key
containsTR == false
An ExtGState dictionary contains the TR key
An ExtGState dictionary shall not contain the TR2 key with a value other than Default
containsTR2 == false || TR2NameValue == "Default"
An ExtGState dictionary contains the TR2 key with a value other than Default
Where a rendering intent is specified, its value shall be one of the four values defined in PDF Reference RelativeColorimetric, AbsoluteColorimetric, Perceptual or Saturation
internalRepresentation == "RelativeColorimetric" || internalRepresentation == "AbsoluteColorimetric" || internalRepresentation == "Perceptual" || internalRepresentation == "Saturation"
A rendering intent with non-standard value %1 is used
internalRepresentation
A content stream shall not contain any operators not defined in PDF Reference even if such operators are bracketed by the BX/EX compatibility operators
false
A content stream contains operator %1 not defined in PDF Reference
name
All fonts used in a conforming file shall conform to the font specifications defined in PDF Reference 5.5. Type - name - (Required) The type of PDF object that this dictionary describes; must be Font for a font dictionary
Type == "Font"
A Font dictionary has value %1 of Type entry instead of Font
Type
All fonts used in a conforming file shall conform to the font specifications defined in PDF Reference 5.5. Subtype - name - (Required) The type of font; must be "Type1" for Type 1 fonts, "MMType1" for multiple master fonts, "TrueType" for TrueType fonts "Type3" for Type 3 fonts, "Type0" for Type 0 fonts and "CIDFontType0" or "CIDFontType2" for CID fonts
Subtype == "Type1" || Subtype == "MMType1" || Subtype == "TrueType" || Subtype == "Type3" || Subtype == "Type0" || Subtype == "CIDFontType0" || Subtype == "CIDFontType2"
Invalid Subtype entry in font dictionary with value %1
Subtype
All fonts used in a conforming file shall conform to the font specifications defined in PDF Reference 5.5. BaseFont - name - (Required) The PostScript name of the font
Subtype == "Type3" || fontName != null
A BaseFont entry is missing or has invalid type
All fonts used in a conforming file shall conform to the font specifications defined in PDF Reference 5.5. FirstChar - integer - (Required except for the standard 14 fonts) The first character code defined in the font's Widths array
isStandard == true || FirstChar != null
A non-standard simple font dictionary has missing or invalid FirstChar entry
All fonts used in a conforming file shall conform to the font specifications defined in PDF Reference 5.5. LastChar - integer - (Required except for the standard 14 fonts) The last character code defined in the font's Widths array
isStandard == true || LastChar != null
A non-standard simple font dictionary has missing or invalid LastChar entry
All fonts used in a conforming file shall conform to the font specifications defined in PDF Reference 5.5. Widths - array - (Required except for the standard 14 fonts; indirect reference preferred) An array of (LastChar − FirstChar + 1) widths
isStandard == true || (Widths_size != null && Widths_size == LastChar - FirstChar + 1)
Widths array is missing or has invalid size %1 instead of %2
Widths_size
LastChar - FirstChar + 1
All fonts used in a conforming file shall conform to the font specifications defined in PDF Reference 5.5. The subtype is the value of the Subtype key, if present, in the font file stream dictionary. The only valid values of this key in PDF 1.4 are Type1C - Type 1–equivalent font program represented in the Compact Font Format (CFF) and CIDFontType0C - Type 0 CIDFont program represented in the Compact Font Format (CFF)
fontFileSubtype == null || fontFileSubtype == "Type1C" || fontFileSubtype == "CIDFontType0C"
Unsupported font file format %1 of the embedded font
fontFileSubtype
For any given composite (Type 0) font referenced within a conforming file, the CIDSystemInfo entries of its CIDFont and CMap dictionaries shall be compatible. In other words, the Registry and Ordering strings of the CIDSystemInfo dictionaries for that font shall be identical, unless the value of the Encoding key in the font dictionary is Identity-H or Identity-V
cmapName == "Identity-H" || cmapName == "Identity-V" || (CIDFontOrdering != null && CIDFontOrdering == CMapOrdering && CIDFontRegistry != null && CIDFontRegistry == CMapRegistry)
Registry and Ordering entries in the CIDFont and CMap dictionaries of a Type 0 font are not compatible (CIDSystemInfo Ordering = %1, CMap Ordering = %2, CIDSystemInfo Registry = %3, CMap Registry = %4)
CIDFontOrdering
CMapOrdering
CIDFontRegistry
CMapRegistry
For all Type 2 CIDFonts that are used for rendering, the CIDFont dictionary shall contain a CIDToGIDMap entry that shall be a stream mapping from CIDs to glyph indices or the name Identity, as described in PDF Reference Table 5.13
Subtype != "CIDFontType2" || CIDToGIDMap != null || renderingMode == 3
A Type 2 CIDFont dictionary has missing or invalid CIDToGIDMap entry
All CMaps used within a conforming file, except Identity-H and Identity-V, shall be embedded in that file as described in PDF Reference 5.6.4
CMapName == "Identity-H" || CMapName == "Identity-V" || containsEmbeddedFile == true
A CMap is different from "Identity-H" or "Identity-V" and is not embedded
For those CMaps that are embedded, the integer value of the WMode entry in the CMap dictionary shall be identical to the WMode value in the embedded CMap stream
WMode == dictWMode
WMode entry (value %1) in the embedded CMap and in the CMap dictionary (value %2) are not identical
WMode
dictWMode
The font programs for all fonts used within a conforming file shall be embedded within that file, as defined in PDF Reference 5.8, except when the fonts are used exclusively with text rendering mode 3
Subtype == "Type3" || Subtype == "Type0" || renderingMode == 3 || containsFontFile == true
The font program is not embedded
Embedded font programs shall define all font glyphs referenced for rendering with conforming file
renderingMode == 3 || isGlyphPresent == null || isGlyphPresent == true
Not all glyphs referenced for rendering are present in the embedded font program
For all Type 1 font subsets referenced within a conforming file, the font descriptor dictionary shall include a CharSet string listing the character names defined in the font subset, as described in PDF Reference Table 5.18
fontName.search(/[A-Z]{6}\+/) != 0 || (CharSet != null && charSetListsAllGlyphs == true)
A Type1 font subset does not define CharSet entry in its Descriptor dictionary
For all CIDFont subsets referenced within a conforming file, the font descriptor dictionary shall include a CIDSet stream identifying which CIDs are present in the embedded CIDFont file, as described in PDF Reference Table 5.20
fontName.search(/[A-Z]{6}\+/) != 0 || (containsCIDSet == true && cidSetListsAllGlyphs == true)
A CIDSet entry in the Font descriptor is missing or does not correctly identify all glyphs present in the embedded font subset and used for rendering
For every font embedded in a conforming file and used for rendering, the glyph width information in the font dictionary and in the embedded font program shall be consistent
renderingMode == 3 || widthFromFontProgram == null || widthFromDictionary == null || Math.abs(widthFromFontProgram - widthFromDictionary) <= 1
Glyph width %1 in the embedded font program is not consistent with the Widths entry of the font dictionary (value %2)
widthFromFontProgram
widthFromDictionary
All non-symbolic TrueType fonts shall specify MacRomanEncoding or WinAnsiEncoding, either as the value of the Encoding entry in the font dictionary or as the value of the BaseEncoding entry in the dictionary that is the value of the Encoding entry in the font dictionary. If the value of the Encoding entry is a dictionary, it shall not contain a Differences entry
isSymbolic == true || ((Encoding == "MacRomanEncoding" || Encoding == "WinAnsiEncoding") && containsDifferences == false)
A non-symbolic TrueType font encoding does not define a correct mapping to the Adobe Glyph List (Encoding = %1, Encoding entry contains a Differences = %2)
Encoding
containsDifferences
All symbolic TrueType fonts shall not specify an Encoding entry in the font dictionary
isSymbolic == false || Encoding == null
A symbolic TrueType font specifies an Encoding entry in its dictionary
Font programs' "cmap" tables for all symbolic TrueType fonts shall contain exactly one encoding
isSymbolic == false || nrCmaps == 1
The embedded font program for a symbolic TrueType font contains %1 cmap subtables
nrCmaps
If an SMask key appears in an ExtGState dictionary, its value shall be None
containsSMask == false || SMaskNameValue == "None"
An ExtGState contains SMask key with a value other than None
An XObject dictionary shall not contain the SMask key
containsSMask == false
An XObject contains an SMask key
A Group object with an S key with a value of Transparency shall not be included in a form XObject. A Group object with an S key with a value of Transparency shall not be included in a page dictionary
S != "Transparency"
A transparency group is present in a form XObject or page dictionary
If a BM key is present in an ExtGState object, its value shall be Normal or Compatible
containsBM == false || BMNameValue == "Normal" || BMNameValue == "Compatible"
An ExtGState dictionary contains the BM key (blend mode) with value %1 that is neither Normal or Compatible
BMNameValue
If a CA key is present in an ExtGState object, its value shall be 1.0
CA == null || CA - 1.0 < 0.000001 && CA - 1.0 > -0.000001
An ExtGState dictionary contains the CA key (stroke alpha) with value %1 other than 1.0
CA
If a ca key is present in an ExtGState object, its value shall be 1.0
ca == null || ca - 1.0 < 0.000001 && ca - 1.0 > -0.000001
An ExtGState dictionary contains the ca key (fill alpha) with value %1 other than 1.0
ca
Annotation types not defined in PDF Reference shall not be permitted. Additionally, the FileAttachment, Sound and Movie types shall not be permitted
Subtype == "Text" || Subtype == "Link" || Subtype == "FreeText" || Subtype == "Line" || Subtype == "Square" || Subtype == "Circle" || Subtype == "Highlight" || Subtype == "Underline" || Subtype == "Squiggly" || Subtype == "StrikeOut" || Subtype == "Stamp" || Subtype == "Ink" || Subtype == "Popup" || Subtype == "Widget" || Subtype == "PrinterMark" || Subtype == "TrapNet"
Unknown or not permitted Annotation type %1
Subtype
An annotation dictionary shall not contain the CA key with a value other than 1.0
CA == null || CA == 1.0
An annotation dictionary contains the CA key with value %1 instead of 1.0
CA
An annotation dictionary shall contain the F key. The F key’s Print flag bit shall be set to 1 and its Hidden, Invisible and NoView flag bits shall be set to 0
F != null && (F & 4) == 4 && (F & 1) == 0 && (F & 2) == 0 && (F & 32) == 0
Annotation flags are either missing or set the annotation to be hidden/invisible or non-printable (F = %1, Print = %2, Hidden = %3, Invisible = %4, NoView = %5)
F
F != null ? (F & 4) >> 2 : null
F != null ? (F & 2) >> 1 : null
F != null ? (F & 1) : null
F != null ? (F & 32) >> 5 : null
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
(containsC == false && containsIC == false) || gOutputCS == "RGB "
Annotation's color (C present = %1) or interior color (IC present = %2) is used without specifying RGB-based destination output profile
containsC
containsIC
For all annotation dictionaries containing an AP key, the appearance dictionary that it defines as its value shall contain only the N key
AP == null || AP == "N"
Annotation's appearance dictionary contains entries %1 other than N
AP.split('&').filter(elem => elem != 'N').toString()
If an annotation dictionary's Subtype key has a value of Widget and its FT key has a value of Btn, the value of the N key shall be an appearance subdictionary
AP != "N" || Subtype != "Widget" || FT != "Btn" || (N_type == "Dict" && containsAppearances == true)
An annotation dictionary's Subtype key has a value of Widget and its FT key has a value of Btn, but the value of the N key is %1 instead of appearance subdictionary
N_type
If an annotation dictionary's Subtype key has value other than Widget, or if FT key associated with Widget annotation has value other than Btn, the value of the N key shall be an appearance stream
AP != "N" || (Subtype == "Widget" && FT == "Btn") || N_type == "Stream"
An annotation dictionary's Subtype key has a value %1 and its FT key has a value %2, but the value of the N key is not an appearance stream
Subtype
FT
The Launch, Sound, Movie, ResetForm, ImportData and JavaScript actions shall not be permitted. Additionally, the deprecated set-state and no-op actions shall not be permitted. The Hide action shall not be permitted (Corrigendum 2)
S == "GoTo" || S == "GoToR" || S == "Thread" || S == "URI" || S == "Named" || S == "SubmitForm"
Unknown or not permitted Action type %1
S
Named actions other than NextPage, PrevPage, FirstPage, and LastPage shall not be permitted
N == "NextPage" || N == "PrevPage" || N == "FirstPage" || N == "LastPage"
Unknown or not permitted named action %1
N
Interactive form fields shall not perform actions of any type
containsA == false
Interactive form field contains an action object ('A' key)
A Widget annotation dictionary shall not include an AA entry for an additional-actions dictionary
containsAA == false
A Widget annotation contains an additional-actions dictionary (AA entry)
A Field dictionary shall not include an AA entry for an additional-actions dictionary
containsAA == false
A Field dictionary contains an additional-actions dictionary (AA entry)
The document catalog dictionary shall not include an AA entry for an additional-actions dictionary
containsAA == false
The document catalog dictionary contains an additional-actions dictionary (AA entry)
The document catalog dictionary of a conforming file shall contain the Metadata key. The metadata stream dictionary shall contain entry Type with value /Metadata and entry Subtype with value /XML
containsMetadata == true
The document catalog dictionary doesn't contain metadata key or metadata stream dictionary does not contain either entry Type with value /Metadata or entry Subtype with value /XML
The Metadata object stream dictionary in the document’s catalog shall not contain the Filter key
isCatalogMetadata == false || Filter == null
The catalog metadata object stream dictionary contains the Filter key
The value of CreationDate entry from the document information dictionary, if present, and its analogous XMP property "xmp:CreateDate" shall be equivalent
doCreationDatesMatch != false
The value of CreationDate entry from the document Info dictionary and its matching XMP property "xmp:CreateDate" are not equivalent (Info /CreationDate = %1, XMP xmp:CreateDate = %2)
CreationDate
XMPCreateDate
The value of Title entry from the document information dictionary, if present, and its analogous XMP property "dc:title['x-default']" shall be equivalent
Title == null || Title == XMPTitle
The value of Title entry from the document Info dictionary and its matching XMP property "dc:title['x-default']" are not equivalent (Info /Title = %1, XMP dc:title['x-default'] = %2)
Title
XMPTitle
The value of Author entry from the document information dictionary, if present, and its analogous XMP property "dc:creator" shall be equivalent. dc:creator shall contain exactly one entry
Author == null || (Author == XMPCreator && XMPCreatorSize == 1)
The value of Author entry from the document Info dictionary and its matching XMP property "dc:creator" are not equivalent (Info /Author = %1, XMP dc:creator = %2)
Author
XMPCreator
The value of Subject entry from the document information dictionary, if present, and its analogous XMP property "dc:description['x-default']" shall be equivalent
Subject == null || Subject == XMPDescription
The value of Subject entry from the document Info dictionary and its matching XMP property "dc:description['x-default']" are not equivalent (Info /Subject = %1, XMP dc:description['x-default'] = %2)
Subject
XMPDescription
The value of Keywords entry from the document information dictionary, if present, and its analogous XMP property "pdf:Keywords" shall be equivalent
Keywords == null || Keywords == XMPKeywords
The value of Keywords entry from the document Info dictionary and its matching XMP property "pdf:Keywords" are not equivalent (Info /Keywords = %1, XMP pdf:Keywords = %2)
Keywords
XMPKeywords
The value of Creator entry from the document information dictionary, if present, and its analogous XMP property "xmp:CreatorTool" shall be equivalent
Creator == null || Creator == XMPCreatorTool
The value of Creator entry from the document Info dictionary and its matching XMP property "xmp:CreatorTool" are not equivalent (Info /Creator = %1, XMP xmp:CreatorTool = %2)
Creator
XMPCreatorTool
The value of Producer entry from the document information dictionary, if present, and its analogous XMP property "pdf:Producer" shall be equivalent
Producer == null || Producer == XMPProducer
The value of Producer entry from the document Info dictionary and its matching XMP property "pdf:Producer" are not equivalent (Info /Producer = %1, XMP pdf:Producer = %2)
Producer
XMPProducer
The value of ModDate entry from the document information dictionary, if present, and its analogous XMP property "xmp:ModifyDate" shall be equivalent
doModDatesMatch != false
The value of ModDate entry from the document Info dictionary and its matching XMP property "xmp:ModifyDate" are not equivalent (Info /ModDate = %1, XMP xmp:ModifyDate = %2)
ModDate
XMPModifyDate
The bytes attribute shall not be used in the header of an XMP packet
bytes == null
The XMP Package contains bytes attribute
The encoding attribute shall not be used in the header of an XMP packet
encoding == null
The XMP Package contains encoding attribute
Extension schema descriptions shall be specified using the PDF/A extension schema description schema defined in this clause
containsUndefinedFields == false
An extension schema object contains field(s) %1 not defined by the specification
undefinedFields
The extension schema container schema uses the namespace URI "http://www.aiim.org/pdfa/ns/extension/". The required schema namespace prefix is pdfaExtension. pdfaExtension:schemas - Bag Schema - Description of extension schemas
isValidBag == true && prefix == "pdfaExtension"
The extension schema container has invalid type (isValidBag = %1) or doesn't have prefix 'pdfaExtension' (prefix = %2)
isValidBag
prefix
Field 'schema' of the PDF/A Schema value type in the PDF/A extension schema shall be present and shall have type Text and namespace prefix 'pdfaSchema'
isSchemaValidText == true && schemaPrefix == "pdfaSchema"
Field 'schema' of the PDF/A Schema value type is not present, or doesn't have prefix 'pdfaSchema' (schema prefix = %1) or doesn't have type Text (isSchemaValidText = %2)
schemaPrefix
isSchemaValidText
Field 'namespaceURI' of the PDF/A Schema value type in the PDF/A extension schema shall be present and shall have type URI and namespace prefix 'pdfaSchema'
isNamespaceURIValidURI == true && namespaceURIPrefix == "pdfaSchema"
Field 'namespaceURI' of the PDF/A Schema value type is not present, or doesn't have prefix 'pdfaSchema' (namespaceURI prefix = %1) or doesn't have type URI (isNamespaceURIValidURI = %2)
namespaceURIPrefix
isNamespaceURIValidURI
Field 'prefix' of the PDF/A Schema value type in the PDF/A extension schema shall be present and shall have type Text and namespace prefix 'pdfaSchema'
isPrefixValidText == true && prefixPrefix == "pdfaSchema"
Field 'prefix' of the PDF/A Schema value type is not present, or doesn't have prefix 'pdfaSchema' (prefix prefix = %1) or doesn't have type Text (isPrefixValidText = %2)
prefixPrefix
isPrefixValidText
Field 'property' of the PDF/A Schema value type in the PDF/A extension schema shall have type Seq Property and namespace prefix 'pdfaSchema'
isPropertyValidSeq == true && (propertyPrefix == null || propertyPrefix == "pdfaSchema")
Field 'property' of the PDF/A Schema value type doesn't have prefix 'pdfaSchema' (property prefix = %1) or doesn't have type Seq Property (isPropertyValidSeq = %2)
propertyPrefix
isPropertyValidSeq
Field 'valueType' of the PDF/A Schema value type in the PDF/A extension schema shall have type Seq ValueType and namespace prefix 'pdfaSchema'
isValueTypeValidSeq == true && (valueTypePrefix == null || valueTypePrefix == "pdfaSchema")
Field 'valueType' of the PDF/A Schema value type doesn't have prefix 'pdfaSchema' (valueType prefix = %1) or doesn't have type Seq ValueType (isValueTypeValidSeq = %2)
valueTypePrefix
isValueTypeValidSeq
Field 'name' of the PDF/A Property value type in the PDF/A extension schema shall be present and shall have type Text and namespace prefix 'pdfaProperty'
isNameValidText == true && namePrefix == "pdfaProperty"
Field 'name' of the PDF/A Property value type is not present, or doesn't have prefix 'pdfaProperty' (name prefix = %1) or doesn't have type Text (isNameValidText = %2)
namePrefix
isNameValidText
Field 'valueType' of the PDF/A Property value type in the PDF/A extension schema shall be present and shall have type Text and namespace prefix 'pdfaProperty'. Value of valueType property shall be defined
isValueTypeValidText == true && isValueTypeDefined == true && valueTypePrefix == "pdfaProperty"
Field 'valueType' of the PDF/A Property value type is not present, or doesn't have prefix 'pdfaProperty' (valueType prefix = %1) or doesn't have type Text (isValueTypeValidText = %2) or value of valueType doesn't defined (isValueTypeDefined = %3)
valueTypePrefix
isValueTypeValidText
isValueTypeDefined
Field 'category' of the PDF/A Property value type in the PDF/A extension schema shall be present and shall have type Text, value external or internal and namespace prefix 'pdfaProperty'
isCategoryValidText == true && (category == "external" || category == "internal") && categoryPrefix == "pdfaProperty"
Field 'category' of the PDF/A Property value type is not present, or doesn't have prefix 'pdfaProperty' (category prefix = %1) or doesn't have type Text (isCategoryValidText = %2) or has value different from external or internal (category value = %3)
categoryPrefix
isCategoryValidText
category
Field 'description' of the PDF/A Property value type in the PDF/A extension schema shall be present and shall have type Text and namespace prefix 'pdfaProperty'
isDescriptionValidText == true && descriptionPrefix == "pdfaProperty"
Field 'description' of the PDF/A Property value type is not present, or doesn't have prefix 'pdfaProperty' (description prefix = %1) or doesn't have type Text (isDescriptionValidText = %2)
descriptionPrefix
isDescriptionValidText
Field 'type' of the PDF/A ValueType value type in the PDF/A extension schema shall be present and shall have type Text and namespace prefix 'pdfaType'
isTypeValidText == true && typePrefix == "pdfaType"
Field 'type' of the PDF/A ValueType value type is not present, or doesn't have prefix 'pdfaType' (type prefix = %1) or doesn't have type Text (isTypeValidText = %2)
typePrefix
isTypeValidText
Field 'namespaceURI' of the PDF/A ValueType value type in the PDF/A extension schema shall be present and shall have type URI and namespace prefix 'pdfaType'
isNamespaceURIValidURI == true && namespaceURIPrefix == "pdfaType"
Field 'namespaceURI' of the PDF/A ValueType value type is not present, or doesn't have prefix 'pdfaType' (namespaceURI prefix = %1) or doesn't have type URI (isNamespaceURIValidURI = %2)
namespaceURIPrefix
isNamespaceURIValidURI
Field 'prefix' of the PDF/A ValueType value type in the PDF/A extension schema shall be present and shall have type Text and namespace prefix 'pdfaType'
isPrefixValidText == true && prefixPrefix == "pdfaType"
Field 'prefix' of the PDF/A ValueType value type is not present, or doesn't have prefix 'pdfaType' (prefix prefix = %1) or doesn't have type Text (isPrefixValidText = %2)
prefixPrefix
isPrefixValidText
Field 'description' of the PDF/A ValueType value type in the PDF/A extension schema shall be present and shall have type Text and namespace prefix 'pdfaType'
isDescriptionValidText == true && descriptionPrefix == "pdfaType"
Field 'description' of the PDF/A ValueType value type is not present, or doesn't have prefix 'pdfaType' (description prefix = %1) or doesn't have type Text (isDescriptionValidText = %2)
descriptionPrefix
isDescriptionValidText
Field 'field' of the PDF/A ValueType value type in the PDF/A extension schema shall have type Seq Field and namespace prefix 'pdfaType'
isFieldValidSeq == true && (fieldPrefix == null || fieldPrefix == "pdfaType")
Field 'field' of the PDF/A ValueType value type doesn't have prefix 'pdfaType' (field prefix = %1) or doesn't have type Seq Field (isFieldValidSeq = %2)
fieldPrefix
isFieldValidSeq
Field 'name' of the PDF/A Field value type in the PDF/A extension schema shall have type Text and namespace prefix 'pdfaField'
isNameValidText == true && namePrefix == "pdfaField"
Field 'name' of the PDF/A Field value type is not present, or doesn't have prefix 'pdfaField' (name prefix = %1) or doesn't have type Text (isNameValidText = %2)
namePrefix
isNameValidText
Field 'valueType' of the PDF/A Field value type in the PDF/A extension schema shall have type Text and namespace prefix 'pdfaField'. Value of valueType property shall be defined
isValueTypeValidText == true && isValueTypeDefined == true && valueTypePrefix == "pdfaField"
Field 'valueType' of the PDF/A Field value type is not present, or doesn't have prefix 'pdfaField' (valueType prefix = %1) or doesn't have type Text (isValueTypeValidText = %2) or value of valueType doesn't defined (isValueTypeDefined = %3)
valueTypePrefix
isValueTypeValidText
isValueTypeDefined
Field 'description' of the PDF/A Field value type in the PDF/A extension schema shall have type Text and namespace prefix 'pdfaField'
isDescriptionValidText == true && descriptionPrefix == "pdfaField"
Field 'description' of the PDF/A Field value type is not present, or doesn't have prefix 'pdfaField' (description prefix = %1) or doesn't have type Text (isDescriptionValidText = %2)
descriptionPrefix
isDescriptionValidText
The metadata stream shall conform to XMP Specification and well formed PDFAExtension Schema for all extensions
isSerializationValid
The serialization of the metadata stream does not conform to XMP Specification
Properties specified in XMP form shall use either the predefined schemas defined in XMP Specification, or extension schemas that comply with XMP Specification
isPredefinedInXMP2004 == true || isDefinedInCurrentPackage == true
A property is either not defined in XMP Specification, or is not defined in any of the extension schemas
Properties specified in XMP form shall use either the predefined schemas defined in XMP Specification, or extension schemas that comply with XMP Specification
isValueTypeCorrect == true
XMP property does not correspond to type %1
predefinedType
The PDF/A version and conformance level of a file shall be specified using the PDF/A Identification extension schema
containsPDFAIdentification == true
The document metadata stream doesn't contain PDF/A Identification Schema
The value of "pdfaid:part" shall be the part number of ISO 19005 to which the file conforms
part == 1
The "part" property of the PDF/A Identification Schema is %1 instead of 1 for PDF/A-1 conforming file
part
A Level A conforming file shall specify the value of "pdfaid:conformance" as A. A Level B conforming file shall specify the value of "pdfaid:conformance" as B
conformance == "B" || conformance == "A"
The "conformance" property of the PDF/A Identification Schema is %1 instead of "B" for PDF/A-1b conforming file
conformance
Property "part" of the PDF/A Identification Schema shall have namespace prefix "pdfaid"
partPrefix == null || partPrefix == "pdfaid"
Property "part" of the PDF/A Identification Schema has invalid namespace prefix %1
partPrefix
Property "conformance" of the PDF/A Identification Schema shall have namespace prefix "pdfaid"
conformancePrefix == null || conformancePrefix == "pdfaid"
Property "conformance" of the PDF/A Identification Schema has invalid namespace prefix %1
conformancePrefix
Property "amd" of the PDF/A Identification Schema shall have namespace prefix "pdfaid"
amdPrefix == null || amdPrefix == "pdfaid"
Property "amd" of the PDF/A Identification Schema has invalid namespace prefix %1
amdPrefix
The NeedAppearances flag of the interactive form dictionary shall either not be present or shall be false
NeedAppearances == null || NeedAppearances == false
The interactive form dictionary contains the NeedAppearances flag with value true
Every form field shall have an appearance dictionary associated with the field's data
AP != null
Form field does not have an appearance dictionary associated with the field's data
null
S == "GTS_PDFA1" ? colorSpace : gOutputCS