EbookValidationModel
dorsal.file.validators.ebook.EbookValidationModel
pydantic-model
Bases: BaseModel
Validation model for common ebook metadata.
Fields:
-
title(TString4096 | None) -
authors(list[TString4096]) -
contributors(list[TString4096]) -
publisher(TString4096 | None) -
subjects(list[TString4096]) -
description(TString4096 | None) -
language(LanguageName | None) -
language_code(str | None) -
locale_code(str | None) -
rights(TString4096 | None) -
isbn(str | None) -
other_identifiers(list[TString4096]) -
tools(list[TString4096]) -
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.).