Skip to content

Schema: glossary_sense_updated_payload

Payload for GlossarySenseUpdated event.

Payload schema for GlossarySenseUpdated events.

Generated from src/spec_kitty_events/schemas/glossary_sense_updated_payload.schema.json by scripts/schema_pages.py; never hand-edit (C-001).

Family

Part of the Semantics and Analytics Events event family.

Diagram

GlossarySenseUpdatedPayloadStructure of the JSON Schema GlossarySenseUpdatedPayload.$defs   $idspec-kitty-events/glossary_sense_updated_payload$schemahttps://json-schema.org/draft/2020-12/schemaadditionalProperties☐ falsedescriptionPayload for GlossarySenseUpdated event.properties   required   titleGlossarySenseUpdatedPayloadtypeobjectGlossaryActor   GlossaryActorType   GlossaryNewSense   GlossaryProvenance   GlossaryScope   GlossarySenseStatus   GlossaryUpdateType   additionalProperties☐ falsedescriptionIdentity of the actor behind a glossary action.properties   required   titleGlossaryActortypeobjectactor_id   actor_type   display_name   descriptionStable actor identifierminLength1titleActor Idtypestring$ref#/$defs/GlossaryActorTypedescriptionKind of actordescriptionHuman-readable actor nameminLength1titleDisplay Nametypestringactor_idactor_typedisplay_namedescriptionKind of actor behind a glossary action.enum   titleGlossaryActorTypetypestringhumanllmserviceadditionalProperties☐ falsedescriptionA sense as written by a ``GlossarySenseUpdated`` event (adds ``status``).properties   required   titleGlossaryNewSensetypeobjectconfidence   definition   scope   status   surface   descriptionConfidence (0.0-1.0)maximum1minimum0titleConfidencetypenumberdescriptionDefinition of the senseminLength1titleDefinitiontypestring$ref#/$defs/GlossaryScopedescriptionScope that owns the sense$ref#/$defs/GlossarySenseStatusdescriptionLifecycle status of the sensedescriptionTerm surface textminLength1titleSurfacetypestringsurfacescopedefinitionconfidencestatusadditionalProperties☐ falsedescriptionWhere a clarification or sense update came from.properties   required   titleGlossaryProvenancetypeobjectactor_id   source   timestamp   descriptionActor who produced the recordminLength1titleActor IdtypestringdescriptionOrigin, e.g. user_clarificationminLength1titleSourcetypestringdescriptionISO-8601 time the action happenedminLength1titleTimestamptypestringsourcetimestampactor_iddescriptionGlossary scope levels.enum   titleGlossaryScopetypestringmission_localteam_domainaudience_domainspec_kitty_coredescriptionLifecycle status of a term sense.enum   titleGlossarySenseStatustypestringdraftactivedeprecateddescriptionWhether a sense update created or changed a sense.enum   titleGlossaryUpdateTypetypestringcreateupdateactor   new_sense   provenance   scope   term_surface   update_type   $ref#/$defs/GlossaryActordescriptionActor who made the change$ref#/$defs/GlossaryNewSensedescriptionThe sense after the update$ref#/$defs/GlossaryProvenancedescriptionWhere the change came from$ref#/$defs/GlossaryScopedescriptionScope of the sensedescriptionTerm being updatedminLength1titleTerm Surfacetypestring$ref#/$defs/GlossaryUpdateTypedescriptionCreated or updatedterm_surfacescopenew_senseactorupdate_typeprovenance
Structure of the JSON Schema GlossarySenseUpdatedPayload.

Properties

  • actor (GlossaryActor, required): Actor who made the change
  • new_sense (GlossaryNewSense, required): The sense after the update
  • provenance (GlossaryProvenance, required): Where the change came from
  • scope (enum: mission_local, team_domain, audience_domain, spec_kitty_core, required): Scope of the sense
  • term_surface (string, required): Term being updated
  • update_type (enum: create, update, required): Created or updated

GlossaryActor

Identity of the actor behind a glossary action.

  • actor_id (string, required): Stable actor identifier
  • actor_type (enum: human, llm, service, required): Kind of actor
  • display_name (string, required): Human-readable actor name

GlossaryNewSense

A sense as written by a ``GlossarySenseUpdated`` event (adds ``status``).

  • confidence (number, required): Confidence (0.0-1.0)
  • definition (string, required): Definition of the sense
  • scope (enum: mission_local, team_domain, audience_domain, spec_kitty_core, required): Scope that owns the sense
  • status (enum: draft, active, deprecated, required): Lifecycle status of the sense
  • surface (string, required): Term surface text

GlossaryProvenance

Where a clarification or sense update came from.

  • actor_id (string, required): Actor who produced the record
  • source (string, required): Origin, e.g. user_clarification
  • timestamp (string, required): ISO-8601 time the action happened

Source

Schema file: schemas/glossary_sense_updated_payload.schema.json