Skip to main content

SchemaId

Enum SchemaId 

Source
pub enum SchemaId {
Show 76 variants AgentSurface, Backup, CleanupOrphans, ConfigList, DebugSchema, DeepResearch, DeepResearchOutputAck, DeleteEntity, Edit, EmbeddingList, EmbeddingStatus, EnrichItemEvent, EnrichPhase, EnrichStatus, EnrichSummary, EntitiesInput, ErrorEnvelope, ExportMemoryLine, ExportSummary, Forget, FtsCheck, FtsRebuild, FtsStats, Graph, GraphEntities, GraphEntityTypes, GraphInput, GraphRecomputeDegree, GraphStats, GraphTraverse, Health, History, HybridSearch, IngestClaudeFileEvent, IngestClaudePhase, IngestClaudeSummary, IngestFileEvent, IngestSummary, Init, Link, List, MemoryEntities, MemoryEntitiesReverse, MergeEntities, Migrate, MigrateRehash, MigrateToLlmOnly, NamespaceDetect, NormalizeEntities, Optimize, PruneNer, PruneRelations, Purge, Read, Recall, Reclassify, ReclassifyRelation, Related, RelationshipsInput, Remember, RememberBatch, RememberBatchSummary, RememberDryRun, Rename, RenameEntity, Restore, ShutdownEnvelope, SlotsStatus, SplitBody, Stats, SyncSafeCopy, Unlink, Vacuum, VecOrphanList, VecPurgeOrphan, VecStats,
}
Expand description

Identifiers for every JSON Schema shipped under docs/schemas/.

Variants§

§

AgentSurface

agent-surfacedocs/schemas/agent-surface.schema.json

§

Backup

backupdocs/schemas/backup.schema.json

§

CleanupOrphans

cleanup-orphansdocs/schemas/cleanup-orphans.schema.json

§

ConfigList

config-listdocs/schemas/config-list.schema.json

§

DebugSchema

debug-schemadocs/schemas/debug-schema.schema.json

§

DeepResearch

deep-researchdocs/schemas/deep-research.schema.json

§

DeepResearchOutputAck

deep-research-output-ackdocs/schemas/deep-research-output-ack.schema.json

§

DeleteEntity

delete-entitydocs/schemas/delete-entity.schema.json

§

Edit

editdocs/schemas/edit.schema.json

§

EmbeddingList

embedding-listdocs/schemas/embedding-list.schema.json

§

EmbeddingStatus

embedding-statusdocs/schemas/embedding-status.schema.json

§

EnrichItemEvent

enrich-item-eventdocs/schemas/enrich-item-event.schema.json

§

EnrichPhase

enrich-phasedocs/schemas/enrich-phase.schema.json

§

EnrichStatus

enrich-statusdocs/schemas/enrich-status.schema.json

§

EnrichSummary

enrich-summarydocs/schemas/enrich-summary.schema.json

§

EntitiesInput

entities-inputdocs/schemas/entities-input.schema.json

§

ErrorEnvelope

error-envelopedocs/schemas/error-envelope.schema.json

§

ExportMemoryLine

export-memory-linedocs/schemas/export-memory-line.schema.json

§

ExportSummary

export-summarydocs/schemas/export-summary.schema.json

§

Forget

forgetdocs/schemas/forget.schema.json

§

FtsCheck

fts-checkdocs/schemas/fts-check.schema.json

§

FtsRebuild

fts-rebuilddocs/schemas/fts-rebuild.schema.json

§

FtsStats

fts-statsdocs/schemas/fts-stats.schema.json

§

Graph

graphdocs/schemas/graph.schema.json

§

GraphEntities

graph-entitiesdocs/schemas/graph-entities.schema.json

§

GraphEntityTypes

graph-entity-typesdocs/schemas/graph-entity-types.schema.json

§

GraphInput

graph-inputdocs/schemas/graph-input.schema.json

§

GraphRecomputeDegree

graph-recompute-degreedocs/schemas/graph-recompute-degree.schema.json

§

GraphStats

graph-statsdocs/schemas/graph-stats.schema.json

§

GraphTraverse

graph-traversedocs/schemas/graph-traverse.schema.json

§

Health

healthdocs/schemas/health.schema.json

§

History

historydocs/schemas/history.schema.json

§

HybridSearch

hybrid-searchdocs/schemas/hybrid-search.schema.json

§

IngestClaudeFileEvent

ingest-claude-file-eventdocs/schemas/ingest-claude-file-event.schema.json

§

IngestClaudePhase

ingest-claude-phasedocs/schemas/ingest-claude-phase.schema.json

§

IngestClaudeSummary

ingest-claude-summarydocs/schemas/ingest-claude-summary.schema.json

§

IngestFileEvent

ingest-file-eventdocs/schemas/ingest-file-event.schema.json

§

IngestSummary

ingest-summarydocs/schemas/ingest-summary.schema.json

§

Init

initdocs/schemas/init.schema.json

linkdocs/schemas/link.schema.json

§

List

listdocs/schemas/list.schema.json

§

MemoryEntities

memory-entitiesdocs/schemas/memory-entities.schema.json

§

MemoryEntitiesReverse

memory-entities-reversedocs/schemas/memory-entities-reverse.schema.json

§

MergeEntities

merge-entitiesdocs/schemas/merge-entities.schema.json

§

Migrate

migratedocs/schemas/migrate.schema.json

§

MigrateRehash

migrate-rehashdocs/schemas/migrate-rehash.schema.json

§

MigrateToLlmOnly

migrate-to-llm-onlydocs/schemas/migrate-to-llm-only.schema.json

§

NamespaceDetect

namespace-detectdocs/schemas/namespace-detect.schema.json

§

NormalizeEntities

normalize-entitiesdocs/schemas/normalize-entities.schema.json

§

Optimize

optimizedocs/schemas/optimize.schema.json

§

PruneNer

prune-nerdocs/schemas/prune-ner.schema.json

§

PruneRelations

prune-relationsdocs/schemas/prune-relations.schema.json

§

Purge

purgedocs/schemas/purge.schema.json

§

Read

readdocs/schemas/read.schema.json

§

Recall

recalldocs/schemas/recall.schema.json

§

Reclassify

reclassifydocs/schemas/reclassify.schema.json

§

ReclassifyRelation

reclassify-relationdocs/schemas/reclassify-relation.schema.json

§

Related

relateddocs/schemas/related.schema.json

§

RelationshipsInput

relationships-inputdocs/schemas/relationships-input.schema.json

§

Remember

rememberdocs/schemas/remember.schema.json

§

RememberBatch

remember-batchdocs/schemas/remember-batch.schema.json

§

RememberBatchSummary

remember-batch-summarydocs/schemas/remember-batch-summary.schema.json

§

RememberDryRun

remember-dry-rundocs/schemas/remember-dry-run.schema.json

§

Rename

renamedocs/schemas/rename.schema.json

§

RenameEntity

rename-entitydocs/schemas/rename-entity.schema.json

§

Restore

restoredocs/schemas/restore.schema.json

§

ShutdownEnvelope

shutdown-envelopedocs/schemas/shutdown-envelope.schema.json

§

SlotsStatus

slots-statusdocs/schemas/slots-status.schema.json

§

SplitBody

split-bodydocs/schemas/split-body.schema.json

§

Stats

statsdocs/schemas/stats.schema.json

§

SyncSafeCopy

sync-safe-copydocs/schemas/sync-safe-copy.schema.json

unlinkdocs/schemas/unlink.schema.json

§

Vacuum

vacuumdocs/schemas/vacuum.schema.json

§

VecOrphanList

vec-orphan-listdocs/schemas/vec-orphan-list.schema.json

§

VecPurgeOrphan

vec-purge-orphandocs/schemas/vec-purge-orphan.schema.json

§

VecStats

vec-statsdocs/schemas/vec-stats.schema.json

Implementations§

Source§

impl SchemaId

Source

pub const ALL: &'static [Self]

Every declared schema id, in the order written above.

Source

pub const fn name(self) -> &'static str

Canonical id, identical to the file stem under docs/schemas/.

Source

pub fn from_id(id: &str) -> Option<Self>

Resolves a canonical id to its variant, or None when unknown.

Source§

impl SchemaId

Source

pub fn nearest(id: &str) -> Option<&'static str>

Returns the closest known id to id, when one is similar enough.

Reuses the rapidfuzz Jaro-Winkler scorer already used for setting keys and entity names rather than introducing a third similarity metric.

Trait Implementations§

Source§

impl Clone for SchemaId

Source§

fn clone(&self) -> SchemaId

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for SchemaId

Source§

impl Debug for SchemaId

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for SchemaId

Source§

impl PartialEq for SchemaId

Source§

fn eq(&self, other: &SchemaId) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for SchemaId

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
Source§

impl<T> ErasedDestructor for T
where T: 'static,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more