Skip to content

@pcvl/schema / VENDOR

Variable: VENDOR ​

ts
const VENDOR: "@pcvl/schema";

Defined in: consts.ts:22

The vendor string every schema in this library reports through its Standard Schema properties. Compiled Schemas produced by @pcvl/compiler report the same value, so a consumer cannot tell the two apart by vendor.

Example ​

ts
import { pvl, VENDOR } from '@pcvl/schema';

const schema = pvl.string();
schema['~standard'].vendor === VENDOR; // true