[latex3-commits] [latex3/pdfresources] develop: add schema for pdf declarations (8d44302)

github at latex-project.org github at latex-project.org
Mon Nov 20 12:22:19 CET 2023


Repository : https://github.com/latex3/pdfresources
On branch  : develop
Link       : https://github.com/latex3/pdfresources/commit/8d443021e1a80cb28afbdd3ddfff998018f5533b

>---------------------------------------------------------------

commit 8d443021e1a80cb28afbdd3ddfff998018f5533b
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Nov 20 12:22:19 2023 +0100

    add schema for pdf declarations


>---------------------------------------------------------------

8d443021e1a80cb28afbdd3ddfff998018f5533b
 info/A Extension Schema.xmp                      | 101 +++++
 info/declarations-schema.txt                     |  69 +++
 l3pdfmeta.dtx                                    |  77 ++++
 testfiles-pdftex/metadata-declaration-schema.pvt |  14 +
 testfiles-pdftex/metadata-declaration-schema.tpf | 541 +++++++++++++++++++++++
 5 files changed, 802 insertions(+)

diff --git a/info/A Extension Schema.xmp b/info/A Extension Schema.xmp
new file mode 100644
index 0000000..214a7db
--- /dev/null
+++ b/info/A Extension Schema.xmp	
@@ -0,0 +1,101 @@
+<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
+<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Public XMP Toolkit Core 4.0">
+   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+      <rdf:Description rdf:about=""
+            xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/"
+            xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#"
+            xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#"
+            xmlns:pdfaType="http://www.aiim.org/pdfa/ns/type#"
+            xmlns:pdfaField="http://www.aiim.org/pdfa/ns/field#">
+         <pdfaExtension:schemas>
+            <rdf:Bag>
+               <rdf:li rdf:parseType="Resource">
+                  <pdfaSchema:namespaceURI>http://pdfa.org/declarations/</pdfaSchema:namespaceURI>
+                  <pdfaSchema:prefix>pdfd</pdfaSchema:prefix>
+                  <pdfaSchema:schema>PDF Declarations Schema</pdfaSchema:schema>
+                  <pdfaSchema:property>
+                     <rdf:Seq>
+                        <rdf:li rdf:parseType="Resource">
+                           <pdfaProperty:category>external</pdfaProperty:category>
+                           <pdfaProperty:description>An unordered array of PDF Declaration entries, where each PDF Declaration representing a statement of conformance with an identified external standard or profile, along with optional information identifying the nature of the claim.</pdfaProperty:description>
+                           <pdfaProperty:name>declarations</pdfaProperty:name>
+                           <pdfaProperty:valueType>Bag declaration</pdfaProperty:valueType>
+                        </rdf:li>
+                     </rdf:Seq>
+                  </pdfaSchema:property>
+                  <pdfaSchema:valueType>
+                     <rdf:Seq>
+                        <rdf:li rdf:parseType="Resource">
+                           <pdfaType:description>A structure describing properties of an individual claim.</pdfaType:description>
+                           <pdfaType:namespaceURI>http://pdfa.org/declarations/</pdfaType:namespaceURI>
+                           <pdfaType:prefix>pdfd</pdfaType:prefix>
+                           <pdfaType:type>claim</pdfaType:type>
+                           <pdfaType:field>
+                              <rdf:Seq>
+                                 <rdf:li rdf:parseType="Resource">
+                                    <pdfaField:description>A URL to a report containing details of the specific conformance claim. </pdfaField:description>
+                                    <pdfaField:name>claimReport</pdfaField:name>
+                                    <pdfaField:valueType>Text</pdfaField:valueType>
+                                 </rdf:li>
+                                 <rdf:li rdf:parseType="Resource">
+                                    <pdfaField:description>The claimant's credentials.</pdfaField:description>
+                                    <pdfaField:name>claimCredentials</pdfaField:name>
+                                    <pdfaField:valueType>Text</pdfaField:valueType>
+                                 </rdf:li>
+                                 <rdf:li rdf:parseType="Resource">
+                                    <pdfaField:description>A date identifying when the claim was made.</pdfaField:description>
+                                    <pdfaField:name>claimDate</pdfaField:name>
+                                    <pdfaField:valueType>Text</pdfaField:valueType>
+                                 </rdf:li>
+                                 <rdf:li rdf:parseType="Resource">
+                                    <pdfaField:description>The name of the organization and/or individual and/or software making the claim.</pdfaField:description>
+                                    <pdfaField:name>claimBy</pdfaField:name>
+                                    <pdfaField:valueType>Text</pdfaField:valueType>
+                                 </rdf:li>
+                              </rdf:Seq>
+                           </pdfaType:field>
+                        </rdf:li>
+                        <rdf:li rdf:parseType="Resource">
+                           <pdfaType:description>A structure describing a single PDF Declaration asserting conformance with an externally-identified standard or profile.</pdfaType:description>
+                           <pdfaType:namespaceURI>http://pdfa.org/declarations/</pdfaType:namespaceURI>
+                           <pdfaType:prefix>pdfd</pdfaType:prefix>
+                           <pdfaType:type>declaration</pdfaType:type>
+                           <pdfaType:field>
+                              <rdf:Seq>
+                                 <rdf:li rdf:parseType="Resource">
+                                    <pdfaField:description>A property containing a URI specifying the standard or profile by the PDF Declaration. This property is intended to mirror the Dublin Core property dc:conformsTo.</pdfaField:description>
+                                    <pdfaField:name>conformsTo</pdfaField:name>
+                                    <pdfaField:valueType>Text</pdfaField:valueType>
+                                 </rdf:li>
+                                 <rdf:li rdf:parseType="Resource">
+                                    <pdfaField:description>An unordered array of claim data, where each claim identifies the nature of the claim.</pdfaField:description>
+                                    <pdfaField:name>claimData</pdfaField:name>
+                                    <pdfaField:valueType>Bag claim</pdfaField:valueType>
+                                 </rdf:li>
+                              </rdf:Seq>
+                           </pdfaType:field>
+                        </rdf:li>
+                     </rdf:Seq>
+                  </pdfaSchema:valueType>
+               </rdf:li>
+            </rdf:Bag>
+         </pdfaExtension:schemas>
+      </rdf:Description>
+      <rdf:Description rdf:about=""
+            xmlns:pdf="http://ns.adobe.com/pdf/1.3/">
+         <pdf:Producer>callas pdfaPilot 8</pdf:Producer>
+      </rdf:Description>
+      <rdf:Description rdf:about=""
+            xmlns:xmp="http://ns.adobe.com/xap/1.0/">
+         <xmp:CreateDate>2019-04-09T14:56:06+02:00</xmp:CreateDate>
+         <xmp:ModifyDate>2019-05-03T15:37:10+02:00</xmp:ModifyDate>
+         <xmp:MetadataDate>2019-05-03T15:37:10+02:00</xmp:MetadataDate>
+         <xmp:CreatorTool>callas pdfaPilot 8</xmp:CreatorTool>
+      </rdf:Description>
+      <rdf:Description rdf:about=""
+            xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/">
+         <xmpMM:DocumentID>b9966c5c-c675-4440-a4d4-673418dbbf40</xmpMM:DocumentID>
+      </rdf:Description>
+   </rdf:RDF>
+</x:xmpmeta>
+<?xpacket end="w"?>
\ No newline at end of file
diff --git a/info/declarations-schema.txt b/info/declarations-schema.txt
new file mode 100644
index 0000000..b79ed65
--- /dev/null
+++ b/info/declarations-schema.txt
@@ -0,0 +1,69 @@
+<rdf:li rdf:parseType="Resource">
+                  <pdfaSchema:schema>PDF Declarations Schema</pdfaSchema:schema>
+                  <pdfaSchema:prefix>pdfd</pdfaSchema:prefix>
+                  <pdfaSchema:namespaceURI>http://pdfa.org/declarations/</pdfaSchema:namespaceURI>
+                  <pdfaSchema:property>
+                     <rdf:Seq>
+                        <rdf:li rdf:parseType="Resource">
+                           <pdfaProperty:name>declarations</pdfaProperty:name>
+                           <pdfaProperty:valueType>Bag declaration</pdfaProperty:valueType>                        
+                           <pdfaProperty:category>external</pdfaProperty:category>
+                           <pdfaProperty:description>An unordered array of PDF Declaration entries, where each PDF Declaration representing a statement of conformance with an identified external standard or profile, along with optional information identifying the nature of the claim.</pdfaProperty:description>
+                        </rdf:li>
+                     </rdf:Seq>
+                  </pdfaSchema:property>
+                  <pdfaSchema:valueType>
+                     <rdf:Seq>
+                        <rdf:li rdf:parseType="Resource">
+                           <pdfaType:type>claim</pdfaType:type>                        
+                           <pdfaType:namespaceURI>http://pdfa.org/declarations/</pdfaType:namespaceURI>
+                           <pdfaType:prefix>pdfd</pdfaType:prefix>
+                           <pdfaType:description>A structure describing properties of an individual claim.</pdfaType:description>
+                           <pdfaType:field>
+                              <rdf:Seq>
+                                 <rdf:li rdf:parseType="Resource">
+                                    <pdfaField:name>claimReport</pdfaField:name>
+                                    <pdfaField:valueType>Text</pdfaField:valueType>
+                                    <pdfaField:description>A URL to a report containing details of the specific conformance claim. </pdfaField:description>                                    
+                                 </rdf:li>
+                                 <rdf:li rdf:parseType="Resource">
+                                    <pdfaField:name>claimCredentials</pdfaField:name>
+                                    <pdfaField:valueType>Text</pdfaField:valueType>
+                                    <pdfaField:description>The claimant's credentials.</pdfaField:description>                                    
+                                 </rdf:li>
+                                 <rdf:li rdf:parseType="Resource">
+                                    <pdfaField:name>claimDate</pdfaField:name>
+                                    <pdfaField:valueType>Text</pdfaField:valueType>
+                                    <pdfaField:description>A date identifying when the claim was made.</pdfaField:description>                                    
+                                 </rdf:li>
+                                 <rdf:li rdf:parseType="Resource">
+                                    <pdfaField:name>claimBy</pdfaField:name>
+                                    <pdfaField:valueType>Text</pdfaField:valueType>
+                                    <pdfaField:description>The name of the organization and/or individual and/or software making the claim.</pdfaField:description>                                    
+                                 </rdf:li>
+                              </rdf:Seq>
+                           </pdfaType:field>
+                        </rdf:li>
+                        <rdf:li rdf:parseType="Resource">
+                           <pdfaType:type>declaration</pdfaType:type>                        
+                           <pdfaType:namespaceURI>http://pdfa.org/declarations/</pdfaType:namespaceURI>
+                           <pdfaType:prefix>pdfd</pdfaType:prefix>
+                           <pdfaType:description>A structure describing a single PDF Declaration asserting conformance with an externally-identified standard or profile.</pdfaType:description>
+                           <pdfaType:field>
+                              <rdf:Seq>
+                                 <rdf:li rdf:parseType="Resource">
+                                    <pdfaField:name>conformsTo</pdfaField:name>
+                                    <pdfaField:valueType>Text</pdfaField:valueType>
+                                    <pdfaField:description>A property containing a URI specifying the standard or profile by the PDF Declaration. This property is intended to mirror the Dublin Core property dc:conformsTo.</pdfaField:description>                                    
+                                 </rdf:li>
+                                 <rdf:li rdf:parseType="Resource">
+                                    <pdfaField:name>claimData</pdfaField:name>
+                                    <pdfaField:valueType>Bag claim</pdfaField:valueType>
+                                    <pdfaField:description>An unordered array of claim data, where each claim identifies the nature of the claim.</pdfaField:description>                                    
+                                 </rdf:li>
+                              </rdf:Seq>
+                           </pdfaType:field>
+                        </rdf:li>
+                     </rdf:Seq>
+                  </pdfaSchema:valueType>
+               </rdf:li>
\ No newline at end of file
diff --git a/l3pdfmeta.dtx b/l3pdfmeta.dtx
index 6d6b19b..5c4aba2 100644
--- a/l3pdfmeta.dtx
+++ b/l3pdfmeta.dtx
@@ -2130,6 +2130,83 @@
 %    \end{macrocode}
 % \item[jav]: currently ignored
 % 
+% \item[declarations] The PDF Declarations mechanism allows creation and 
+% editing software to declare, via a PDF Declaration, a PDF file to be in 
+% conformance with a 3rd party specification or profile 
+% that may not be related to PDF technology. Their specification is for example
+% described in \url{https://pdfa.org/wp-content/uploads/2019/09/PDF-Declarations.pdf}.
+% 
+% If declarations are added to the XMP-metadata they need (for pdf/A compliancy) a
+% schema declaration. We do not add it by default but define here a command to enable
+% it. (This can be done in the document preamble as xmp is built only at the end.)
+% 
+% 
+%    \begin{macrocode}
+\cs_new_protected:Npn \@@_xmp_schema_enable_pdfd:
+ {
+  \@@_xmp_schema_new:nnn
+    {PDF~Declarations~Schema}
+    {pdfd}
+    {http://pdfa.org/declarations/}
+  \@@_xmp_property_new:nnnnn
+    {pdfd}
+    {declarations}
+    {Bag~declaration}
+    {external}
+    {An~unordered~array~of~PDF~Declaration~entries,~where~each~PDF~Declaration~representing~a~statement~of~conformance~with~ an~identified~external~standard~or~profile,~along~with~optional~information~identifying~the~nature~of~the~claim.}  
+%    \end{macrocode}
+% the values are complicated so we use the additions: method to add them.
+%    \begin{macrocode}
+  \cs_new_protected:cpn { __pdfmeta_xmp_schema_pdfd_additions: }
+    {
+      \@@_xmp_add_packet_open:nn{pdfaSchema}{valueType}
+        \@@_xmp_add_packet_open:nn{rdf}{Seq}
+          \@@_xmp_add_packet_open_attr:nnn{rdf}{li}{rdf:parseType="Resource"}
+            \@@_xmp_add_packet_line:nnn{pdfaType}{type}{claim}
+            \@@_xmp_add_packet_line:nnn{pdfaType}{namespaceURI}
+               {http://pdfa.org/declarations/}
+            \@@_xmp_add_packet_line:nnn{pdfaType}{prefix}{pdfd}
+            \@@_xmp_add_packet_line:nnn{pdfaType}{description}
+              {A~structure~describing~properties~of~an~individual claim.}
+            \@@_xmp_add_packet_open:nn{pdfaType}{field}
+             \@@_xmp_add_packet_open:nn{rdf}{Seq}
+              \@@_xmp_add_packet_field:nnn{claimReport}{Text}
+                {A~URL~to~a~report~containing~details~of~the~specific~conformance~claim.}
+              \@@_xmp_add_packet_field:nnn{claimCredentials}{Text}
+                {The~claimant's~credentials.}
+              \@@_xmp_add_packet_field:nnn{claimDate}{Text}
+                {A~date~identifying~when~the~claim~was~made.}
+              \@@_xmp_add_packet_field:nnn{claimBy}{Text}
+                {The~name~of~the~organization~and/or~individual~and/or~software~making~the~claim.}
+             \@@_xmp_add_packet_close:nn{rdf}{Seq}
+           \@@_xmp_add_packet_close:nn{pdfaType}{field}
+          \@@_xmp_add_packet_close:nn{rdf}{li}
+          \@@_xmp_add_packet_open_attr:nnn{rdf}{li}{rdf:parseType="Resource"}
+            \@@_xmp_add_packet_line:nnn{pdfaType}{type}{declaration}
+            \@@_xmp_add_packet_line:nnn{pdfaType}{namespaceURI}
+               {http://pdfa.org/declarations/}
+            \@@_xmp_add_packet_line:nnn{pdfaType}{prefix}{pdfd}
+            \@@_xmp_add_packet_line:nnn{pdfaType}{description}
+              {A~structure~describing~a~single~PDF~ Declaration~asserting~conformance~with~ an~externally-identified~standard~or~ profile.}
+            \@@_xmp_add_packet_open:nn{pdfaType}{field}
+             \@@_xmp_add_packet_open:nn{rdf}{Seq}
+              \@@_xmp_add_packet_field:nnn{conformsTo}{Text}
+                {A~property~containing~a~URI~specifying~the~standard~or~profile~by~the~PDF~Declaration.~This~property~is~ intended~to~mirror~the~Dublin~Core~property~dc:conformsTo.}
+              \@@_xmp_add_packet_field:nnn{claimData}{Bag~claim}
+                {An~unordered~array~of~claim~data,~where~each~claim~identifies~the~nature~of~the~claim.}
+             \@@_xmp_add_packet_close:nn{rdf}{Seq}
+           \@@_xmp_add_packet_close:nn{pdfaType}{field}
+          \@@_xmp_add_packet_close:nn{rdf}{li}      
+        \@@_xmp_add_packet_close:nn{rdf}{Seq}
+      \@@_xmp_add_packet_close:nn{pdfaSchema}{valueType}
+    }  
+%    \end{macrocode}
+% the schema should be added only once so disable it after use:
+%    \begin{macrocode}
+   \cs_gset_eq:NN \@@_xmp_schema_enable_pdfd: \prg_do_nothing: 
+ }
+%    \end{macrocode}
+%
 % \end{description}
 % \subsection{The actual user / document data}
 
diff --git a/testfiles-pdftex/metadata-declaration-schema.pvt b/testfiles-pdftex/metadata-declaration-schema.pvt
new file mode 100644
index 0000000..4da69dc
--- /dev/null
+++ b/testfiles-pdftex/metadata-declaration-schema.pvt
@@ -0,0 +1,14 @@
+\ExplSyntaxOn
+\debug_on:n { check-declarations , deprecation }
+\msg_redirect_module:nnn { pdf } { none } { warning }
+\ExplSyntaxOff
+\DocumentMetadata{}
+\input{regression-test}
+\documentclass{article}
+\ExplSyntaxOn
+\__pdfmeta_xmp_schema_enable_pdfd:
+\ExplSyntaxOff
+\begin{document}
+\START 
+blabla
+\end{document}
diff --git a/testfiles-pdftex/metadata-declaration-schema.tpf b/testfiles-pdftex/metadata-declaration-schema.tpf
new file mode 100644
index 0000000..e4809bc
--- /dev/null
+++ b/testfiles-pdftex/metadata-declaration-schema.tpf
@@ -0,0 +1,541 @@
+%PDF-1.5
+%ÐÔÅØ
+5 0 obj
+<<
+/Type /Metadata /Subtype /XML
+/Length 15269     
+>>
+stream
+<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
+<x:xmpmeta xmlns:x="adobe:ns:meta/">
+ <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+  <rdf:Description rdf:about=""
+    xmlns:pdf="http://ns.adobe.com/pdf/1.3/"
+    xmlns:xmpRights="http://ns.adobe.com/xap/1.0/rights/"
+    xmlns:dc="http://purl.org/dc/elements/1.1/"
+    xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
+    xmlns:xmp="http://ns.adobe.com/xap/1.0/"
+    xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
+    xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
+    xmlns:pdfaid="http://www.aiim.org/pdfa/ns/id/"
+    xmlns:pdfuaid="http://www.aiim.org/pdfua/ns/id/"
+    xmlns:pdfx="http://ns.adobe.com/pdfx/1.3/"
+    xmlns:pdfxid="http://www.npes.org/pdfx/ns/id/"
+    xmlns:prism="http://prismstandard.org/namespaces/basic/3.0/"
+    xmlns:stFnt="http://ns.adobe.com/xap/1.0/sType/Font#"
+    xmlns:Iptc4xmpCore="http://iptc.org/std/Iptc4xmpCore/1.0/xmlns/"
+    xmlns:pdfaExtension="http://www.aiim.org/pdfa/ns/extension/"
+    xmlns:pdfaSchema="http://www.aiim.org/pdfa/ns/schema#"
+    xmlns:pdfaProperty="http://www.aiim.org/pdfa/ns/property#"
+    xmlns:pdfaType="http://www.aiim.org/pdfa/ns/type#"
+    xmlns:pdfaField="http://www.aiim.org/pdfa/ns/field#">
+   <pdfaExtension:schemas>
+    <rdf:Bag>
+     <rdf:li rdf:parseType="Resource">
+      <pdfaSchema:schema>XMP Media Management Schema</pdfaSchema:schema>
+      <pdfaSchema:prefix>xmpMM</pdfaSchema:prefix>
+      <pdfaSchema:namespaceURI>http://ns.adobe.com/xap/1.0/mm/</pdfaSchema:namespaceURI>
+      <pdfaSchema:property>
+       <rdf:Seq>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>OriginalDocumentID</pdfaProperty:name>
+         <pdfaProperty:valueType>URI</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>The common identifier for all versions and renditions of a document.</pdfaProperty:description>
+        </rdf:li>
+       </rdf:Seq>
+      </pdfaSchema:property>
+     </rdf:li>
+     <rdf:li rdf:parseType="Resource">
+      <pdfaSchema:schema>PDF/A Identification Schema</pdfaSchema:schema>
+      <pdfaSchema:prefix>pdfaid</pdfaSchema:prefix>
+      <pdfaSchema:namespaceURI>http://www.aiim.org/pdfa/ns/id/</pdfaSchema:namespaceURI>
+      <pdfaSchema:property>
+       <rdf:Seq>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>year</pdfaProperty:name>
+         <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>Year of standard</pdfaProperty:description>
+        </rdf:li>
+       </rdf:Seq>
+      </pdfaSchema:property>
+     </rdf:li>
+     <rdf:li rdf:parseType="Resource">
+      <pdfaSchema:schema>PDF/UA Universal Accessibility Schema</pdfaSchema:schema>
+      <pdfaSchema:prefix>pdfuaid</pdfaSchema:prefix>
+      <pdfaSchema:namespaceURI>http://www.aiim.org/pdfua/ns/id/</pdfaSchema:namespaceURI>
+      <pdfaSchema:property>
+       <rdf:Seq>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>part</pdfaProperty:name>
+         <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>Part of ISO 14289 standard</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>rev</pdfaProperty:name>
+         <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>Revision of ISO 14289 standard</pdfaProperty:description>
+        </rdf:li>
+       </rdf:Seq>
+      </pdfaSchema:property>
+     </rdf:li>
+     <rdf:li rdf:parseType="Resource">
+      <pdfaSchema:schema>PDF/X ID Schema</pdfaSchema:schema>
+      <pdfaSchema:prefix>pdfxid</pdfaSchema:prefix>
+      <pdfaSchema:namespaceURI>http://www.npes.org/pdfx/ns/id/</pdfaSchema:namespaceURI>
+      <pdfaSchema:property>
+       <rdf:Seq>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>GTS_PDFXVersion</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>ID of PDF/X standard</pdfaProperty:description>
+        </rdf:li>
+       </rdf:Seq>
+      </pdfaSchema:property>
+     </rdf:li>
+     <rdf:li rdf:parseType="Resource">
+      <pdfaSchema:schema>PRISM Basic Metadata</pdfaSchema:schema>
+      <pdfaSchema:prefix>prism</pdfaSchema:prefix>
+      <pdfaSchema:namespaceURI>http://prismstandard.org/namespaces/basic/3.0/</pdfaSchema:namespaceURI>
+      <pdfaSchema:property>
+       <rdf:Seq>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>complianceProfile</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>PRISM specification compliance profile to which this document adheres</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>publicationName</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Publication name</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>aggregationType</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Publication type</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>bookEdition</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Edition of the book in which the document was published</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>volume</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Publication volume number</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>number</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Publication issue number within a volume</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>pageRange</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Page range for the document within the print version of its publication</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>issn</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>ISSN for the printed publication in which the document was published</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>eIssn</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>ISSN for the electronic publication in which the document was published</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>isbn</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>ISBN for the publication in which the document was published</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>doi</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Digital Object Identifier for the document</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>url</pdfaProperty:name>
+         <pdfaProperty:valueType>URL</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>URL at which the document can be found</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>byteCount</pdfaProperty:name>
+         <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>Approximate file size in octets</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>pageCount</pdfaProperty:name>
+         <pdfaProperty:valueType>Integer</pdfaProperty:valueType>
+         <pdfaProperty:category>internal</pdfaProperty:category>
+         <pdfaProperty:description>Number of pages in the print version of the document</pdfaProperty:description>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>subtitle</pdfaProperty:name>
+         <pdfaProperty:valueType>Text</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>Document's subtitle</pdfaProperty:description>
+        </rdf:li>
+       </rdf:Seq>
+      </pdfaSchema:property>
+     </rdf:li>
+     <rdf:li rdf:parseType="Resource">
+      <pdfaSchema:schema>PDF Declarations Schema</pdfaSchema:schema>
+      <pdfaSchema:prefix>pdfd</pdfaSchema:prefix>
+      <pdfaSchema:namespaceURI>http://pdfa.org/declarations/</pdfaSchema:namespaceURI>
+      <pdfaSchema:property>
+       <rdf:Seq>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaProperty:name>declarations</pdfaProperty:name>
+         <pdfaProperty:valueType>Bag declaration</pdfaProperty:valueType>
+         <pdfaProperty:category>external</pdfaProperty:category>
+         <pdfaProperty:description>An unordered array of PDF Declaration entries, where each PDF Declaration representing a statement of conformance with an identified external standard or profile, along with optional information identifying the nature of the claim.</pdfaProperty:description>
+        </rdf:li>
+       </rdf:Seq>
+      </pdfaSchema:property>
+      <pdfaSchema:valueType>
+       <rdf:Seq>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaType:type>claim</pdfaType:type>
+         <pdfaType:namespaceURI>http://pdfa.org/declarations/</pdfaType:namespaceURI>
+         <pdfaType:prefix>pdfd</pdfaType:prefix>
+         <pdfaType:description>A structure describing properties of an individualclaim.</pdfaType:description>
+         <pdfaType:field>
+          <rdf:Seq>
+           <rdf:li rdf:parseType="Resource">
+            <pdfaField:name>claimReport</pdfaField:name>
+            <pdfaField:valueType>Text</pdfaField:valueType>
+            <pdfaField:description>A URL to a report containing details of the specific conformance claim.</pdfaField:description>
+           </rdf:li>
+           <rdf:li rdf:parseType="Resource">
+            <pdfaField:name>claimCredentials</pdfaField:name>
+            <pdfaField:valueType>Text</pdfaField:valueType>
+            <pdfaField:description>The claimant's credentials.</pdfaField:description>
+           </rdf:li>
+           <rdf:li rdf:parseType="Resource">
+            <pdfaField:name>claimDate</pdfaField:name>
+            <pdfaField:valueType>Text</pdfaField:valueType>
+            <pdfaField:description>A date identifying when the claim was made.</pdfaField:description>
+           </rdf:li>
+           <rdf:li rdf:parseType="Resource">
+            <pdfaField:name>claimBy</pdfaField:name>
+            <pdfaField:valueType>Text</pdfaField:valueType>
+            <pdfaField:description>The name of the organization and/or individual and/or software making the claim.</pdfaField:description>
+           </rdf:li>
+          </rdf:Seq>
+         </pdfaType:field>
+        </rdf:li>
+        <rdf:li rdf:parseType="Resource">
+         <pdfaType:type>declaration</pdfaType:type>
+         <pdfaType:namespaceURI>http://pdfa.org/declarations/</pdfaType:namespaceURI>
+         <pdfaType:prefix>pdfd</pdfaType:prefix>
+         <pdfaType:description>A structure describing a single PDF Declaration asserting conformance with an externally-identified standard or profile.</pdfaType:description>
+         <pdfaType:field>
+          <rdf:Seq>
+           <rdf:li rdf:parseType="Resource">
+            <pdfaField:name>conformsTo</pdfaField:name>
+            <pdfaField:valueType>Text</pdfaField:valueType>
+            <pdfaField:description>A property containing a URI specifying the standard or profile by the PDF Declaration. This property is intended to mirror the Dublin Core property dc:conformsTo.</pdfaField:description>
+           </rdf:li>
+           <rdf:li rdf:parseType="Resource">
+            <pdfaField:name>claimData</pdfaField:name>
+            <pdfaField:valueType>Bag claim</pdfaField:valueType>
+            <pdfaField:description>An unordered array of claim data, where each claim identifies the nature of the claim.</pdfaField:description>
+           </rdf:li>
+          </rdf:Seq>
+         </pdfaType:field>
+        </rdf:li>
+       </rdf:Seq>
+      </pdfaSchema:valueType>
+     </rdf:li>
+    </rdf:Bag>
+   </pdfaExtension:schemas>
+   <pdf:Producer>pdftex-NN.NN.NN</pdf:Producer>
+   <pdf:PDFVersion>1.5</pdf:PDFVersion>
+   <dc:type>
+    <rdf:Bag>
+     <rdf:li>Text</rdf:li>
+    </rdf:Bag>
+   </dc:type>
+   <dc:language>
+    <rdf:Bag>
+     <rdf:li>en-US</rdf:li>
+    </rdf:Bag>
+   </dc:language>
+   <dc:date>
+    <rdf:Seq>
+     <rdf:li>2016-05-20T09:00:00Z</rdf:li>
+    </rdf:Seq>
+   </dc:date>
+   <dc:format>application/pdf</dc:format>
+   <dc:source>metadata-declaration-schema.tex</dc:source>
+   <xmp:CreatorTool>LaTeX</xmp:CreatorTool>
+   <xmp:CreateDate>2016-05-20T09:00:00Z</xmp:CreateDate>
+   <xmp:ModifyDate>2016-05-20T09:00:00Z</xmp:ModifyDate>
+   <xmp:MetadataDate>2016-05-20T09:00:00Z</xmp:MetadataDate>
+   <xmpMM:DocumentID>uuid:7b55668c-2db3-4a23-8973-a41177f85a38</xmpMM:DocumentID>
+   <xmpMM:InstanceID>uuid:0a57c455-157a-4141-8c19-6237d832fc80</xmpMM:InstanceID>
+   <prism:complianceProfile>three</prism:complianceProfile>
+   <prism:pageCount>1</prism:pageCount>
+  </rdf:Description>
+ </rdf:RDF>
+</x:xmpmeta>
+<?xpacket end="w"?>
+endstream
+endobj
+8 0 obj
+<<
+/Length 93        
+>>
+stream
+/opacity1 gs
+BT
+/F28 9.9626 Tf 148.712 657.235 Td [(blabla)]TJ 154.421 -567.87 Td [(1)]TJ
+ET
+endstream
+endobj
+7 0 obj
+<<
+/Type /Page
+/Contents 8 0 R
+/Resources 6 0 R
+/MediaBox [0 0 612 792]
+/Parent 10 0 R
+>>
+endobj
+6 0 obj
+<<
+/ExtGState 1 0 R 
+/Font << /F28 9 0 R >>
+/ProcSet [ /PDF /Text ]
+>>
+endobj
+1 0 obj
+<< /opacity1 <</ca 1/CA 1>>  >>
+endobj
+11 0 obj
+[500 500 500 500 500 500 500 500 500 277.8 277.8 277.8 777.8 472.2 472.2 777.8 750 708.3 722.2 763.9 680.6 652.8 784.7 750 361.1 513.9 777.8 625 916.7 750 777.8 680.6 777.8 736.1 555.6 722.2 750 750 1027.8 750 750 611.1 277.8 500 277.8 500 277.8 277.8 500 555.6 444.4 555.6 444.4 305.6 500 555.6 277.8 305.6 527.8 277.8]
+endobj
+12 0 obj
+<<
+/Length1 1408
+/Length2 7712
+/Length3 0
+/Length 9120      
+>>
+[BINARY STREAM]
+endobj
+13 0 obj
+<<
+/Type /FontDescriptor
+/FontName /BLJFBW+CMR10
+/Flags 4
+/FontBBox [-40 -250 1009 750]
+/Ascent 694
+/CapHeight 683
+/Descent -194
+/ItalicAngle 0
+/StemV 69
+/XHeight 431
+/CharSet (/a/b/l/one)
+/FontFile 12 0 R
+>>
+endobj
+14 0 obj
+<<
+/Length 1724      
+>>
+stream
+%!PS-Adobe-3.0 Resource-CMap
+%%DocumentNeededResources: ProcSet (CIDInit)
+%%IncludeResource: ProcSet (CIDInit)
+%%BeginResource: CMap (TeX-cmr10-builtin-0)
+%%Title: (TeX-cmr10-builtin-0 TeX cmr10-builtin 0)
+%%Version: 1.000
+%%EndComments
+/CIDInit /ProcSet findresource begin
+12 dict begin
+begincmap
+/CIDSystemInfo
+<< /Registry (TeX)
+/Ordering (cmr10-builtin)
+/Supplement 0
+>> def
+/CMapName /TeX-cmr10-builtin-0 def
+/CMapType 2 def
+1 begincodespacerange
+<00> <FF>
+endcodespacerange
+7 beginbfrange
+<07> <08> <03A5>
+<23> <26> <0023>
+<28> <3B> <0028>
+<3F> <5B> <003F>
+<61> <7A> <0061>
+<7B> <7C> <2013>
+<A8> <A9> <03A5>
+endbfrange
+78 beginbfchar
+<00> <0393>
+<01> <2206>
+<02> <0398>
+<03> <039B>
+<04> <039E>
+<05> <03A0>
+<06> <03A3>
+<09> <03A8>
+<0A> <2126>
+<0B> <00660066>
+<0C> <00660069>
+<0D> <0066006C>
+<0E> <006600660069>
+<0F> <00660066006C>
+<10> <0131>
+<11> <0237>
+<12> <0060>
+<13> <00B4>
+<14> <02C7>
+<15> <02D8>
+<16> <00AF>
+<17> <02DA>
+<18> <00B8>
+<19> <00DF>
+<1A> <00E6>
+<1B> <0153>
+<1C> <00F8>
+<1D> <00C6>
+<1E> <0152>
+<1F> <00D8>
+<21> <0021>
+<22> <201D>
+<27> <2019>
+<3C> <00A1>
+<3D> <003D>
+<3E> <00BF>
+<5C> <201C>
+<5D> <005D>
+<5E> <02C6>
+<5F> <02D9>
+<60> <2018>
+<7D> <02DD>
+<7E> <02DC>
+<7F> <00A8>
+<A0> <0020>
+<A1> <0393>
+<A2> <2206>
+<A3> <0398>
+<A4> <039B>
+<A5> <039E>
+<A6> <03A0>
+<A7> <03A3>
+<AA> <03A8>
+<AB> <00AD>
+<AC> <00A0>
+<AD> <2126>
+<AE> <00660066>
+<AF> <00660069>
+<B0> <0066006C>
+<B1> <006600660069>
+<B2> <00660066006C>
+<B3> <0131>
+<B4> <0237>
+<B5> <0060>
+<B6> <00B4>
+<B7> <02C7>
+<B8> <02D8>
+<B9> <00AF>
+<BA> <02DA>
+<BB> <00B8>
+<BC> <00DF>
+<BD> <00E6>
+<BE> <0153>
+<BF> <00F8>
+<C0> <00C6>
+<C1> <0152>
+<C2> <00D8>
+<C4> <00A8>
+endbfchar
+endcmap
+CMapName currentdict /CMap defineresource pop
+end
+end
+%%EndResource
+%%EOF
+endstream
+endobj
+9 0 obj
+<<
+/Type /Font
+/Subtype /Type1
+/BaseFont /BLJFBW+CMR10
+/FontDescriptor 13 0 R
+/FirstChar 49
+/LastChar 108
+/Widths 11 0 R
+/ToUnicode 14 0 R
+>>
+endobj
+10 0 obj
+<<
+/Type /Pages
+/Count 1
+/Kids [7 0 R]
+>>
+endobj
+15 0 obj
+<<
+/Type /Catalog
+/Pages 10 0 R
+/Lang (en-US)/Metadata 5 0 R
+>>
+endobj
+16 0 obj
+<<
+/Producer (pdfTeX)/Creator (TeX)/CreationDate (D:20160520090000Z)/ModDate (D:20160520090000Z)
+/Trapped /False
+>>
+endobj
+xref
+0 17
+0000000002 65535 f 
+0000015714 00000 n 
+0000000003 00000 f 
+0000000004 00000 f 
+0000000000 00000 f 
+0000000015 00000 n 
+0000015628 00000 n 
+0000015523 00000 n 
+0000015372 00000 n 
+0000027324 00000 n 
+0000027481 00000 n 
+0000015761 00000 n 
+0000016098 00000 n 
+0000025316 00000 n 
+0000025541 00000 n 
+0000027539 00000 n 
+0000027619 00000 n 
+trailer
+<< /Size 17
+/Root 15 0 R
+/Info 16 0 R
+/ID [<9BD18DF3359C1216B83ADB4AA401CC9A> <9BD18DF3359C1216B83ADB4AA401CC9A>] >>
+startxref
+27751
+%%EOF





More information about the latex3-commits mailing list.