Relationship Enumeration |
| Member name | Value | Description |
|---|---|---|
| None | 0 | Indicates that the /AFRelationship key is absent from the file specification dictionary. This is typically used for backward compatibility with older PDF standards (PDF 1.7 or lower) where associated files are not defined, or to represent an uninitialized property state. |
| Source | 1 | Shall be used if this file specification is the original source material for the associated content. |
| Data | 2 | Shall be used if this file specification represents information used to derive a visual presentation – such as for a table or a graph. |
| Alternative | 3 | Shall be used if this file specification is an alternative representation of content, for example audio. |
| Supplement | 4 | Shall be used if this file specification represents a supplemental representation of the original source or data that may be more easily consumable (e.g., A MathML version of an equation). |
| EncryptedPayload | 5 | shall be used if this file specification is an encrypted payload document that should be displayed to the user if the PDF processor has the cryptographic filter needed to decrypt the document. |
| FormData | 6 | shall be used if this file specification is the data associated with the AcroForm of this PDF. |
| Schema | 7 | shall be used if this file specification is a schema definition for the associated object (e.g. an XML schema associated with a metadata stream). |
| Unspecified | 8 | shall be used when the relationship is not known or cannot be described using one of the other values. |
| Other | 9 | Indicates that the /AFRelationship key contains a custom or extension value (such as a registered second-class name) that is not covered by the predefined values in this enumeration. |
This enumeration represents the predefined values for the mandatory /AFRelationship key within a file specification dictionary when included in an /AF (Associated Files) array, as defined in the ISO 32000-2 (PDF 2.0) and ISO 19005-3 (PDF/A-3) specifications.
Although the /AFRelationship key is technically optional for standard file specifications, it becomes strictly required once the file is referenced as an Associated File.