glx add assertion
Create an assertion entity
Synopsis
Create an Assertion entity in the archive.
Exactly one of --subject-person, --subject-event, --subject-relationship, --subject-place is required. The payload is either --property + --value (for fact assertions) or --participant person-id:role (for participant assertions); the two payload forms are mutually exclusive.
--confidence is validated against the confidence_levels vocabulary. --source, --citation, and --media are each repeatable and must reference existing entities.
glx add assertion [flags]Examples
# Birth-date assertion on an event
glx add assertion --subject-event event-birth-johann \
--property date --value 1725-02-18 \
--citation citation-fs-jungk \
--confidence medium \
--archive ./archive
# Participant assertion (a person played a role in an event)
glx add assertion --subject-event event-christening-johann \
--participant person-anna:godparent \
--citation citation-fs-jungk \
--archive ./archiveOptions
-a, --archive string Archive path (directory) (default ".")
--citation stringArray Citation ID supporting the assertion (repeatable)
--confidence string Confidence level (vocabulary key in confidence_levels)
--date string Date the property value applies to (temporal properties)
--dry-run Print what would be created without writing files
--force Overwrite an existing entity with the chosen ID
-h, --help help for assertion
--id string Override the derived entity ID
--media stringArray Media ID supporting the assertion (repeatable)
--note stringArray Free-text note (repeatable)
--participant string Participant assertion in the form person-id:role (mutually exclusive with --property/--value)
--property string Property name (e.g. date, place, name)
--skip-validate Skip whole-archive validation after adding (vocab and reference checks still run)
--source stringArray Source ID supporting the assertion (repeatable)
--status string Assertion status (e.g. accepted, disputed)
--subject-event string Event ID this assertion is about
--subject-person string Person ID this assertion is about
--subject-place string Place ID this assertion is about
--subject-relationship string Relationship ID this assertion is about
--value string Property valueOptions inherited from parent commands
-q, --quiet Suppress non-error output (where supported)SEE ALSO
- glx add - Create entities (person, place, event, …) from CLI flags