Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PDF File Mapping #56

Merged
merged 6 commits into from
Jun 28, 2024

Commits on Jun 28, 2024

  1. Set up PDFFile test directory structure

    The patch provides a directory structure for testing changes made while
    mapping `ExifTool`'s RDF output to UCO.
    
    Signed-off-by: Sheldon Douglas <[email protected]>
    sldouglas-nist committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    f20c8a6 View commit details
    Browse the repository at this point in the history
  2. Regenerate Make-managed files

    Signed-off-by: Sheldon Douglas <[email protected]>
    sldouglas-nist committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    673f26b View commit details
    Browse the repository at this point in the history
  3. Add pdfCreationDate and pdfModDate to PDFFile mapping

    The patch adds designations for MIME types, `application/pdf` and
    `image/jpeg`, with UCO classes, `PDFFile` and `RasterPicture`.
    
    The patch maps two concepts that already exist in UCO,
    `pdfCreationDate` and `pdfModDate`.
    
    The patch adds IRI reference to the `ExifTool` PDF namespace and binds
    to graph model.
    
    The patch hardcodes `self._oo_slug` to be 'File-'. Representation as a
    file object encompasses accepted format types of `ExifTool`.
    
    The patch provides a test file, `test_000015.py`, which validates the
    presence of the `PDFFile` class.
    
    Reference
    * ucoProject/UCO#421
    
    Signed-off-by: Sheldon Douglas <[email protected]>
    sldouglas-nist committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    be7adb1 View commit details
    Browse the repository at this point in the history
  4. Regenerate Make-managed files

    Signed-off-by: Sheldon Douglas <[email protected]>
    sldouglas-nist committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    2b3d752 View commit details
    Browse the repository at this point in the history
  5. Map draft PDFFile properties to UCO

    The patch provides UCO with a representation of `ExifTool` metadata
    export for `PDFFile`.
    
    The patch adds IRI reference to the `drafting` namespace and binds to
    graph model.
    
    Issue 429 proposed the mapping of embedded Author metadata.
    
    Reference
    * ucoProject/UCO#429
    
    Signed-off-by: Sheldon Douglas <[email protected]>
    sldouglas-nist committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    649a59c View commit details
    Browse the repository at this point in the history
  6. Regenerate Make-managed files

    Signed-off-by: Sheldon Douglas <[email protected]>
    sldouglas-nist committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    d59cb21 View commit details
    Browse the repository at this point in the history