UNPKG

@hyperjump/json-schema

Version:

A JSON Schema validator with support for custom keywords, vocabularies, and dialects

11 lines (6 loc) 311 B
import { canonicalUri } from "../schema.js"; const id = "https://json-schema.org/keyword/contentSchema"; const compile = (contentSchema) => canonicalUri(contentSchema); const interpret = () => true; const annotation = (contentSchema) => contentSchema; export default { id, compile, interpret, annotation };