betty.ancestry.has_notes module

Data types for entities that have notes.

class betty.ancestry.has_notes.HasNotes[source]

Bases: Entity

An entity that has notes associated with it.

__init__(*args: Any, notes: Iterable[Note] | None = None, **kwargs: Any)[source]
async dump_linked_data(project: Project) DumpMapping[Dump][source]

Dump this instance to JSON-LD.

async classmethod linked_data_schema(project: Project) Object[source]

Define the JSON Schema for betty.json.linked_data.LinkedDataDumpable.dump_linked_data().

notes

A bidirectional one-to-many entity type association.