Skip to content

[V] $lib

const $lib: TypeSpecLibrary<object, JSONSchemaEmitterOptions,
| "JsonSchema"
| "JsonSchema.baseURI"
| "JsonSchema.multipleOf"
| "JsonSchema.id"
| "JsonSchema.oneOf"
| "JsonSchema.contains"
| "JsonSchema.minContains"
| "JsonSchema.maxContains"
| "JsonSchema.uniqueItems"
| "JsonSchema.minProperties"
| "JsonSchema.maxProperties"
| "JsonSchema.contentEncoding"
| "JsonSchema.contentSchema"
| "JsonSchema.contentMediaType"
| "JsonSchema.prefixItems"
| "JsonSchema.extension">;

Internal: TypeSpec library definition

Type declaration

NameType
duplicate-idobject
duplicate-id.defaultCallableMessage<["id"]>
invalid-defaultobject
invalid-default.defaultCallableMessage<["type"]>
unknown-scalarobject
unknown-scalar.defaultCallableMessage<["name"]>