Sha256: f6c84e249052eaa491335aaa2d561f1e4d5e4c71ae4271602b321bc16187de64
Contents?: true
Size: 402 Bytes
Versions: 40
Compression:
Stored size: 402 Bytes
Contents
'use strict'; module.exports = { metaSchemaRef: metaSchemaRef }; var META_SCHEMA_ID = 'http://json-schema.org/draft-06/schema'; function metaSchemaRef(ajv) { var defaultMeta = ajv._opts.defaultMeta; if (typeof defaultMeta == 'string') return { $ref: defaultMeta }; if (ajv.getSchema(META_SCHEMA_ID)) return { $ref: META_SCHEMA_ID }; console.warn('meta schema not defined'); return {}; }
Version data entries
40 entries across 36 versions & 5 rubygems