Skip to main content
Home

Built and signed on GitHub Actions

Works with
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score94%
Downloads70/wk
Publisheda month ago (1.1.0)

A standard interface for TypeScript schema validation libraries

namespace StandardJSONSchemaV1

Interfaces

I
StandardJSONSchemaV1.Converter

The Standard JSON Schema converter interface.

I
StandardJSONSchemaV1.Options

The options for the input/output methods.

I
StandardJSONSchemaV1.Props

The Standard JSON Schema properties interface.

I
StandardJSONSchemaV1.Types

The Standard types interface.

Type Aliases

T
StandardJSONSchemaV1.InferInput

Infers the input type of a Standard.

T
StandardJSONSchemaV1.InferOutput

Infers the output type of a Standard.

T
StandardJSONSchemaV1.Target

The target version of the generated JSON Schema.

Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@standard-schema/spec

Import symbol

import { StandardJSONSchemaV1 } from "@standard-schema/spec";
or

Import directly with a jsr specifier

import { StandardJSONSchemaV1 } from "jsr:@standard-schema/spec";

Add Package

pnpm i jsr:@standard-schema/spec
or (using pnpm 10.8 or older)
pnpm dlx jsr add @standard-schema/spec

Import symbol

import { StandardJSONSchemaV1 } from "@standard-schema/spec";

Add Package

yarn add jsr:@standard-schema/spec
or (using Yarn 4.8 or older)
yarn dlx jsr add @standard-schema/spec

Import symbol

import { StandardJSONSchemaV1 } from "@standard-schema/spec";

Add Package

vlt install jsr:@standard-schema/spec

Import symbol

import { StandardJSONSchemaV1 } from "@standard-schema/spec";

Add Package

npx jsr add @standard-schema/spec

Import symbol

import { StandardJSONSchemaV1 } from "@standard-schema/spec";

Add Package

bunx jsr add @standard-schema/spec

Import symbol

import { StandardJSONSchemaV1 } from "@standard-schema/spec";