PDFValidationModel
dorsal.file.validators.pdf.PDFValidationModel
pydantic-model
Bases: BaseModel
Validation model for core PDF metadata.
Fields:
-
author(TString4096 | None) -
title(TString4096 | None) -
creator(TString4096 | None) -
producer(TString4096 | None) -
subject(TString4096 | None) -
keywords(TString4096 | None) -
version(str | None) -
page_count(int | None) -
creation_date(datetime | None) -
modified_date(datetime | None)
author
pydantic-field
The primary author of the document, from the 'Author' metadata field.
creation_date
pydantic-field
The date and time the document was created, from the 'CreationDate' field.
creator
pydantic-field
The software tool used to create the original document (e.g., 'Word'), from the 'Creator' field.
keywords
pydantic-field
A string of keywords associated with the document, from the 'Keywords' field.
modified_date
pydantic-field
The date and time the document was last modified, from the 'ModDate' field.
producer
pydantic-field
The software tool used to convert or produce the final PDF (e.g., 'Acrobat PDF Library'), from the 'Producer' field.
subject
pydantic-field
The subject or topic of the document, from the 'Subject' field.