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

Conversation

sldouglas-nist
Copy link

This patch series is adding an initial mapping of PDF properties based on govdocs sampling.

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]>
Signed-off-by: Sheldon Douglas <[email protected]>
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]>
Signed-off-by: Sheldon Douglas <[email protected]>
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]>
Signed-off-by: Sheldon Douglas <[email protected]>
@ajnelson-nist ajnelson-nist self-assigned this Jun 28, 2024
@ajnelson-nist ajnelson-nist added this to the 0.12.0 milestone Jun 28, 2024
@ajnelson-nist ajnelson-nist added enhancement New feature or request good first issue Good for newcomers labels Jun 28, 2024
@ajnelson-nist ajnelson-nist merged commit 7979044 into casework:develop Jun 28, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants