Skip to content

@codesoul-co/hypha-memory / integration-json-schema

Using this module

Use the Integration JSON schema module for declaring and runtime-validating contracts. It exports 21 constants.

Import from the package entrypoint

ts
import {
  domainMemoryDependencySnapshotExample,
  domainMemoryDependencySnapshotJsonSchema,
  domainMemoryDependencySnapshotSpecDefinition,
  memoryCacheInvalidationExample,
  memoryCacheInvalidationJsonSchema,
  memoryCacheInvalidationSpecDefinition,
  memoryCacheValidityInputJsonSchema,
  memoryCacheValidityInputSpecDefinition,
} from '@codesoul-co/hypha-memory';

// The complete export list is documented below.

Usage patterns

  • The 21 constant/enum exports provide stable values, schemas, definitions, or defaults. Reuse these exports instead of copying internal values into an application.

Public exports

SymbolKindSignatureDescription
domainMemoryDependencySnapshotExampleconstantconst domainMemoryDependencySnapshotExample: DomainMemoryDependencySnapshotValid example value for Domain Memory Dependency Snapshot.
domainMemoryDependencySnapshotJsonSchemaconstantconst domainMemoryDependencySnapshotJsonSchema: JsonSchemaJSON Schema for Domain Memory Dependency Snapshot.
domainMemoryDependencySnapshotSpecDefinitionconstantconst domainMemoryDependencySnapshotSpecDefinition: SpecSchemaDefinition<DomainMemoryDependencySnapshot>Runtime validation entrypoint for the Domain Memory Dependency Snapshot spec, combining its parser, example and JSON Schema.
memoryCacheInvalidationExampleconstantconst memoryCacheInvalidationExample: MemoryCacheInvalidationValid example value for Memory Cache Invalidation.
memoryCacheInvalidationJsonSchemaconstantconst memoryCacheInvalidationJsonSchema: JsonSchemaJSON Schema for Memory Cache Invalidation.
memoryCacheInvalidationSpecDefinitionconstantconst memoryCacheInvalidationSpecDefinition: SpecSchemaDefinition<MemoryCacheInvalidation>Runtime validation entrypoint for the Memory Cache Invalidation spec, combining its parser, example and JSON Schema.
memoryCacheValidityInputJsonSchemaconstantconst memoryCacheValidityInputJsonSchema: JsonSchemaJSON Schema for Memory Cache Validity Input.
memoryCacheValidityInputSpecDefinitionconstantconst memoryCacheValidityInputSpecDefinition: SpecSchemaDefinition<MemoryCacheValidityInput>Runtime validation entrypoint for the Memory Cache Validity Input spec, combining its parser, example and JSON Schema.
memoryEvaluationCaseJsonSchemaconstantconst memoryEvaluationCaseJsonSchema: JsonSchemaJSON Schema for Memory Evaluation Case.
memoryEvaluationCaseSpecDefinitionconstantconst memoryEvaluationCaseSpecDefinition: SpecSchemaDefinition<MemoryEvaluationCase>Runtime validation entrypoint for the Memory Evaluation Case spec, combining its parser, example and JSON Schema.
memoryEvaluationObservationExampleconstantconst memoryEvaluationObservationExample: MemoryEvaluationObservationValid example value for Memory Evaluation Observation.
memoryEvaluationObservationJsonSchemaconstantconst memoryEvaluationObservationJsonSchema: JsonSchemaJSON Schema for Memory Evaluation Observation.
memoryEvaluationObservationSpecDefinitionconstantconst memoryEvaluationObservationSpecDefinition: SpecSchemaDefinition<MemoryEvaluationObservation>Runtime validation entrypoint for the Memory Evaluation Observation spec, combining its parser, example and JSON Schema.
memoryIntegrationJsonSchemasconstantconst memoryIntegrationJsonSchemas: Record<string, JsonSchema>Memory Integration JSON Schemas constant exported by the integration-json-schema module.
memoryIntegrationSpecDefinitionsconstantconst memoryIntegrationSpecDefinitions: readonly [SpecSchemaDefinition<WorkflowStateMemoryBinding>, SpecSchemaDefinition<SessionMemoryBinding>, SpecSchemaDefinition<DomainMemoryDependencySnapshot>, SpecSchemaDefinition<MemoryCacheValidityInput>, SpecSchemaDefinition<MemoryCacheInvalidation>, SpecSchemaDefinition<MemoryReplayReference>, SpecSchemaDefinition<MemoryEvaluationCase>, SpecSchemaDefinition<MemoryEvaluati...Memory Integration Spec Definitions constant exported by the integration-json-schema module.
memoryReplayReferenceJsonSchemaconstantconst memoryReplayReferenceJsonSchema: JsonSchemaJSON Schema for Memory Replay Reference.
memoryReplayReferenceSpecDefinitionconstantconst memoryReplayReferenceSpecDefinition: SpecSchemaDefinition<MemoryReplayReference>Runtime validation entrypoint for the Memory Replay Reference spec, combining its parser, example and JSON Schema.
sessionMemoryBindingJsonSchemaconstantconst sessionMemoryBindingJsonSchema: JsonSchemaJSON Schema for Session Memory Binding.
sessionMemoryBindingSpecDefinitionconstantconst sessionMemoryBindingSpecDefinition: SpecSchemaDefinition<SessionMemoryBinding>Runtime validation entrypoint for the Session Memory Binding spec, combining its parser, example and JSON Schema.
workflowStateMemoryBindingJsonSchemaconstantconst workflowStateMemoryBindingJsonSchema: JsonSchemaJSON Schema for Workflow State Memory Binding.
workflowStateMemoryBindingSpecDefinitionconstantconst workflowStateMemoryBindingSpecDefinition: SpecSchemaDefinition<WorkflowStateMemoryBinding>Runtime validation entrypoint for the Workflow State Memory Binding spec, combining its parser, example and JSON Schema.

domainMemoryDependencySnapshotExample

Valid example value for Domain Memory Dependency Snapshot.

  • Kind: constant
  • Import: import { domainMemoryDependencySnapshotExample } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const domainMemoryDependencySnapshotExample: DomainMemoryDependencySnapshot;

domainMemoryDependencySnapshotJsonSchema

JSON Schema for Domain Memory Dependency Snapshot.

  • Kind: constant
  • Import: import { domainMemoryDependencySnapshotJsonSchema } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const domainMemoryDependencySnapshotJsonSchema: JsonSchema;

domainMemoryDependencySnapshotSpecDefinition

Runtime validation entrypoint for the Domain Memory Dependency Snapshot spec, combining its parser, example and JSON Schema.

  • Kind: constant
  • Import: import { domainMemoryDependencySnapshotSpecDefinition } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const domainMemoryDependencySnapshotSpecDefinition: SpecSchemaDefinition<DomainMemoryDependencySnapshot>;

memoryCacheInvalidationExample

Valid example value for Memory Cache Invalidation.

  • Kind: constant
  • Import: import { memoryCacheInvalidationExample } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryCacheInvalidationExample: MemoryCacheInvalidation;

memoryCacheInvalidationJsonSchema

JSON Schema for Memory Cache Invalidation.

  • Kind: constant
  • Import: import { memoryCacheInvalidationJsonSchema } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryCacheInvalidationJsonSchema: JsonSchema;

memoryCacheInvalidationSpecDefinition

Runtime validation entrypoint for the Memory Cache Invalidation spec, combining its parser, example and JSON Schema.

  • Kind: constant
  • Import: import { memoryCacheInvalidationSpecDefinition } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryCacheInvalidationSpecDefinition: SpecSchemaDefinition<MemoryCacheInvalidation>;

memoryCacheValidityInputJsonSchema

JSON Schema for Memory Cache Validity Input.

  • Kind: constant
  • Import: import { memoryCacheValidityInputJsonSchema } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryCacheValidityInputJsonSchema: JsonSchema;

memoryCacheValidityInputSpecDefinition

Runtime validation entrypoint for the Memory Cache Validity Input spec, combining its parser, example and JSON Schema.

  • Kind: constant
  • Import: import { memoryCacheValidityInputSpecDefinition } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryCacheValidityInputSpecDefinition: SpecSchemaDefinition<MemoryCacheValidityInput>;

memoryEvaluationCaseJsonSchema

JSON Schema for Memory Evaluation Case.

  • Kind: constant
  • Import: import { memoryEvaluationCaseJsonSchema } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryEvaluationCaseJsonSchema: JsonSchema;

memoryEvaluationCaseSpecDefinition

Runtime validation entrypoint for the Memory Evaluation Case spec, combining its parser, example and JSON Schema.

  • Kind: constant
  • Import: import { memoryEvaluationCaseSpecDefinition } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryEvaluationCaseSpecDefinition: SpecSchemaDefinition<MemoryEvaluationCase>;

memoryEvaluationObservationExample

Valid example value for Memory Evaluation Observation.

  • Kind: constant
  • Import: import { memoryEvaluationObservationExample } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryEvaluationObservationExample: MemoryEvaluationObservation;

memoryEvaluationObservationJsonSchema

JSON Schema for Memory Evaluation Observation.

  • Kind: constant
  • Import: import { memoryEvaluationObservationJsonSchema } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryEvaluationObservationJsonSchema: JsonSchema;

memoryEvaluationObservationSpecDefinition

Runtime validation entrypoint for the Memory Evaluation Observation spec, combining its parser, example and JSON Schema.

  • Kind: constant
  • Import: import { memoryEvaluationObservationSpecDefinition } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryEvaluationObservationSpecDefinition: SpecSchemaDefinition<MemoryEvaluationObservation>;

memoryIntegrationJsonSchemas

Memory Integration JSON Schemas constant exported by the integration-json-schema module.

  • Kind: constant
  • Import: import { memoryIntegrationJsonSchemas } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryIntegrationJsonSchemas: Record<string, JsonSchema>;

memoryIntegrationSpecDefinitions

Memory Integration Spec Definitions constant exported by the integration-json-schema module.

  • Kind: constant
  • Import: import { memoryIntegrationSpecDefinitions } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryIntegrationSpecDefinitions: readonly [SpecSchemaDefinition<WorkflowStateMemoryBinding>, SpecSchemaDefinition<SessionMemoryBinding>, SpecSchemaDefinition<DomainMemoryDependencySnapshot>, SpecSchemaDefinition<MemoryCacheValidityInput>, SpecSchemaDefinition<MemoryCacheInvalidation>, SpecSchemaDefinition<MemoryReplayReference>, SpecSchemaDefinition<MemoryEvaluationCase>, SpecSchemaDefinition<MemoryEvaluationObservation>];

memoryReplayReferenceJsonSchema

JSON Schema for Memory Replay Reference.

  • Kind: constant
  • Import: import { memoryReplayReferenceJsonSchema } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryReplayReferenceJsonSchema: JsonSchema;

memoryReplayReferenceSpecDefinition

Runtime validation entrypoint for the Memory Replay Reference spec, combining its parser, example and JSON Schema.

  • Kind: constant
  • Import: import { memoryReplayReferenceSpecDefinition } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const memoryReplayReferenceSpecDefinition: SpecSchemaDefinition<MemoryReplayReference>;

sessionMemoryBindingJsonSchema

JSON Schema for Session Memory Binding.

  • Kind: constant
  • Import: import { sessionMemoryBindingJsonSchema } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const sessionMemoryBindingJsonSchema: JsonSchema;

sessionMemoryBindingSpecDefinition

Runtime validation entrypoint for the Session Memory Binding spec, combining its parser, example and JSON Schema.

  • Kind: constant
  • Import: import { sessionMemoryBindingSpecDefinition } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const sessionMemoryBindingSpecDefinition: SpecSchemaDefinition<SessionMemoryBinding>;

workflowStateMemoryBindingJsonSchema

JSON Schema for Workflow State Memory Binding.

  • Kind: constant
  • Import: import { workflowStateMemoryBindingJsonSchema } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const workflowStateMemoryBindingJsonSchema: JsonSchema;

workflowStateMemoryBindingSpecDefinition

Runtime validation entrypoint for the Workflow State Memory Binding spec, combining its parser, example and JSON Schema.

  • Kind: constant
  • Import: import { workflowStateMemoryBindingSpecDefinition } from '@codesoul-co/hypha-memory';
  • Source module: integration-json-schema

Declaration

text
export declare const workflowStateMemoryBindingSpecDefinition: SpecSchemaDefinition<WorkflowStateMemoryBinding>;