MCPcopy Create free account
hub / github.com/arktypeio/arktype / jsonSchemaRoot

Function jsonSchemaRoot

ark/sets/fromJsonSchema.ts:123–124  ·  view source on GitHub ↗
(schema: RootSchema)

Source from the content-addressed store, hash-verified

121})
122
123const jsonSchemaRoot = (schema: RootSchema): BaseRoot =>
124 jsonSchemaScope().schema(schema)
125
126const jsonSchemaNode: BaseScope["node"] = (kind, schema, opts) =>
127 jsonSchemaScope().node(kind, schema, opts)

Callers 5

constrainOwnTypeFunction · 0.85
fromJsonSchema.tsFile · 0.85
constObjectRootFunction · 0.85
constRootFunction · 0.85
opaqueRootFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected