EbookValidationModel
dorsal.file.validators.ebook.EbookValidationModel
pydantic-model
Bases: BaseModel
Validation model for common ebook metadata.
Fields:
-
title(TString4096 | None) -
authors(TStringList256) -
contributors(TStringList256) -
publisher(TString4096 | None) -
subjects(TStringList256) -
description(TString4096 | None) -
language(LanguageName | None) -
language_code(TString4096 | None) -
locale_code(TString4096 | None) -
rights(TString4096 | None) -
isbn(str | None) -
other_identifiers(TStringList256) -
tools(TStringList256) -
cover_path(TString4096 | None) -
publication_date(datetime | None) -
creation_date(datetime | None) -
modification_date(datetime | None)
contributors
pydantic-field
A list of other contributors (e.g., editors, illustrators).
cover_path
pydantic-field
An internal path to the cover image within the ebook's archive, if one exists.
creation_date
pydantic-field
The original creation date of the work, if specified.
language_code
pydantic-field
The ISO 639-3 alpha-3 language code (e.g., 'eng').
modification_date
pydantic-field
The last modification date of the ebook file.
other_identifiers
pydantic-field
A list of other unique identifiers (e.g., UUIDs, ASINs, etc.).