betty.entities.citation module¶
Data types for citations.
- final class betty.entities.citation.Citation¶
Bases:
HasAnyDate,HasFileReferences,HasPrivacy,HasLinksThe
citationentityplugin.Plugin ID
citationClass
Configuration
not configurable
- __init__(*, source: ToOneAssociate[Source], id: str | None = None, facts: ToManyAssociates[HasCitations] = (), location: ResolvableLocalizable | None = None, date: AnyDate | None = None, file_references: ToManyAssociates[FileReference] = (), privacy: Privacy = Privacy.UNDETERMINED)¶
- facts¶
The other entities that reference these citations to back up their claims.
- property label: Localizable¶
The entity’s human-readable label.
- async classmethod linked_data_schema(project: Project, /) JsonLdObject¶
Define the JSON Schema for
betty.linked_data.LinkedDataDumpable.dump_linked_data().
- location¶
The location within the source this citation references.
- source¶
The source this citation references.