betty.entities.citation module#
Data types for citations.
- final class betty.entities.citation.Citation#
Bases:
HasAnyDate,HasFileReferences,HasLinksThe
citationentityplugin.Plugin ID
citationClass
Configuration
not configurable
- __init__(*, source: ToOneAssociate[Self, Source], facts: ToManyAssociates[Self, HasCitations] = (), id: ResolvableMachineName | None = None, location: ResolvableLocalizable | None = None, date: AnyDate | None = None, files: ToManyAssociates[Self, FileReference] = (), links: ToManyAssociates[Self, Link] = (), 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.