UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

12 lines (11 loc) • 779 B
/** * The JSON Schema keywords whose VALUE is a subschema position, and in which form — the one table every walk over a * schema reads to know where a subschema can sit (the MCP payload sanitizer, the tool-schema wire projection). A keyword * absent here holds data, never a schema: a walk leaves that subtree byte-exact. * * - `"properties"` — an object from a NAME (a parameter, a `$defs` id) to a subschema. * - `"schemaMap"` — an object from a key that is DATA (today `patternProperties`' regular expressions) to a subschema. * - `"schema"` — a subschema, or an array of subschemas. */ export type JsonSchemaSubschemaSeat = "properties" | "schemaMap" | "schema"; export declare const JSON_SCHEMA_SUBSCHEMA_SEATS: ReadonlyMap<string, JsonSchemaSubschemaSeat>;