Skip to content

EbookValidationModel

dorsal.file.validators.ebook.EbookValidationModel pydantic-model

Bases: BaseModel

Validation model for common ebook metadata.

Fields:

authors pydantic-field

authors

A list of the primary authors or creators of the work.

contributors pydantic-field

contributors

A list of other contributors (e.g., editors, illustrators).

cover_path pydantic-field

cover_path = None

An internal path to the cover image within the ebook's archive, if one exists.

creation_date pydantic-field

creation_date = None

The original creation date of the work, if specified.

description pydantic-field

description = None

A synopsis or description of the ebook's content.

isbn pydantic-field

isbn = None

The ISBN (10 or 13) of the ebook, if available.

language pydantic-field

language = None

The language of the ebook.

language_code pydantic-field

language_code = None

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

locale_code pydantic-field

locale_code = None

The locale of the ebook.

modification_date pydantic-field

modification_date = None

The last modification date of the ebook file.

other_identifiers pydantic-field

other_identifiers

A list of other unique identifiers (e.g., UUIDs, ASINs, etc.).

publication_date pydantic-field

publication_date = None

The primary publication date of the ebook.

publisher pydantic-field

publisher = None

The publisher of the ebook.

rights pydantic-field

rights = None

Copyright or rights information associated with the ebook.

subjects pydantic-field

subjects

A list of subjects, keywords, or tags associated with the ebook.

title pydantic-field

title = None

The primary title of the ebook.

tools pydantic-field

tools

A list of software tools or agents used to create or convert the ebook file.