Literature schema¶
TCKDB backend app schemas literature module
- class tckdb.backend.app.schemas.literature.Literature(*, type: tckdb.backend.app.schemas.literature.LiteratureTypeEnum, authors: str, title: str, year: int, journal: str = None, publisher: str = None, volume: int = None, issue: int = None, page_start: int = None, page_end: int = None, editors: str = None, edition: str = None, chapter_title: str = None, publication_place: str = None, advisor: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, doi: str = None, isbn: str = None, url: str = None, reviewer_flags: Dict[str, str] = None, id: int)[source]¶
Properties to return to client
- class tckdb.backend.app.schemas.literature.LiteratureBase(*, type: tckdb.backend.app.schemas.literature.LiteratureTypeEnum, authors: tckdb.backend.app.schemas.literature.ConstrainedStrValue, title: tckdb.backend.app.schemas.literature.ConstrainedStrValue, year: tckdb.backend.app.schemas.literature.ConstrainedIntValue, journal: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, publisher: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, volume: tckdb.backend.app.schemas.literature.ConstrainedIntValue = None, issue: tckdb.backend.app.schemas.literature.ConstrainedIntValue = None, page_start: tckdb.backend.app.schemas.literature.ConstrainedIntValue = None, page_end: tckdb.backend.app.schemas.literature.ConstrainedIntValue = None, editors: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, edition: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, chapter_title: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, publication_place: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, advisor: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, doi: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, isbn: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, url: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, reviewer_flags: Dict[str, str] = None)[source]¶
A LiteratureBase class (shared properties)
- class tckdb.backend.app.schemas.literature.LiteratureCreate(*, type: str, authors: str, title: str, year: int, journal: str = None, publisher: str = None, volume: int = None, issue: int = None, page_start: int = None, page_end: int = None, editors: str = None, edition: str = None, chapter_title: str = None, publication_place: str = None, advisor: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, doi: str = None, isbn: str = None, url: str = None, reviewer_flags: Dict[str, str] = None)[source]¶
Create a Literature item: Properties to receive on item creation
- class tckdb.backend.app.schemas.literature.LiteratureInDB(*, type: tckdb.backend.app.schemas.literature.LiteratureTypeEnum, authors: str, title: str, year: int, journal: str = None, publisher: str = None, volume: int = None, issue: int = None, page_start: int = None, page_end: int = None, editors: str = None, edition: str = None, chapter_title: str = None, publication_place: str = None, advisor: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, doi: str = None, isbn: str = None, url: str = None, reviewer_flags: Dict[str, str] = None, id: int)[source]¶
Properties stored in DB
- class tckdb.backend.app.schemas.literature.LiteratureInDBBase(*, type: tckdb.backend.app.schemas.literature.LiteratureTypeEnum, authors: str, title: str, year: int, journal: str = None, publisher: str = None, volume: int = None, issue: int = None, page_start: int = None, page_end: int = None, editors: str = None, edition: str = None, chapter_title: str = None, publication_place: str = None, advisor: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, doi: str = None, isbn: str = None, url: str = None, reviewer_flags: Dict[str, str] = None, id: int)[source]¶
Properties shared by models stored in DB
- class tckdb.backend.app.schemas.literature.LiteratureTypeEnum(value)[source]¶
The supported literature reference types
- class tckdb.backend.app.schemas.literature.LiteratureUpdate(*, type: tckdb.backend.app.schemas.literature.LiteratureTypeEnum, authors: str, title: str, year: int, journal: str = None, publisher: str = None, volume: int = None, issue: int = None, page_start: int = None, page_end: int = None, editors: str = None, edition: str = None, chapter_title: str = None, publication_place: str = None, advisor: tckdb.backend.app.schemas.literature.ConstrainedStrValue = None, doi: str = None, isbn: str = None, url: str = None, reviewer_flags: Dict[str, str] = None)[source]¶
Update a Literature item: Properties to receive on item update