MCPcopy Index your code
hub / github.com/Effect-TS/effect / getMetaSchemaUri

Function getMetaSchemaUri

packages/effect/src/JSONSchema.ts:297–307  ·  view source on GitHub ↗
(target: Target)

Source from the content-addressed store, hash-verified

295
296/** @internal */
297export function getMetaSchemaUri(target: Target) {
298 switch (target) {
299 case "jsonSchema7":
300 return "http://json-schema.org/draft-07/schema#"
301 case "jsonSchema2019-09":
302 return "https://json-schema.org/draft/2019-09/schema"
303 case "jsonSchema2020-12":
304 case "openApi3.1":
305 return "https://json-schema.org/draft/2020-12/schema"
306 }
307}
308
309/**
310 * Returns a JSON Schema with additional options and definitions.

Callers 1

makeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected