Skip to content

OfficeDocumentValidationModel

dorsal.file.validators.office_document.OfficeDocumentValidationModel pydantic-model

Bases: BaseModel

Main validation model for the OfficeDocumentAnnotationModel. This structure combines all common and format-specific metadata.

Fields:

all_fonts pydantic-field

all_fonts

A list of all fonts declared in the font table.

application_name pydantic-field

application_name = None

The name of the application that created the file.

application_version pydantic-field

application_version = None

The version of the application that created the file.

author pydantic-field

author = None

The document author.

creation_date pydantic-field

creation_date = None

The document creation timestamp.

custom_properties pydantic-field

custom_properties

A key-value map of custom document properties.

default_font pydantic-field

default_font = None

The default font defined in the document styles.

excel pydantic-field

excel = None

Contains metadata specific to Excel workbooks.

has_comments pydantic-field

has_comments = None

True if the document package contains a comments part.

is_password_protected pydantic-field

is_password_protected = False

True if the file is zip-encrypted (password protected).

keywords pydantic-field

keywords

A list of keywords.

language pydantic-field

language = None

The normalized, human-readable language name (e.g., 'English').

language_code pydantic-field

language_code = None

The ISO 639-3 alpha-3 language code (e.g., 'eng').

last_modified_by pydantic-field

last_modified_by = None

The user who last saved the document.

locale_code pydantic-field

locale_code = None

The language/locale code (e.g., 'en-US').

modified_date pydantic-field

modified_date = None

The document modification timestamp.

powerpoint pydantic-field

powerpoint = None

Contains metadata specific to PowerPoint presentations.

revision pydantic-field

revision = None

The document revision number.

structural_parts pydantic-field

structural_parts

A list of all content types defined in the package.

subject pydantic-field

subject = None

The document subject.

template pydantic-field

template = None

The name of the template file (e.g., 'Normal.dotm').

title pydantic-field

title = None

The document title.

word pydantic-field

word = None

Contains metadata specific to Word documents.