Sha256: 03abe51bc21e44a0777929925f32db989e4d641c8882c3642e5582e2227940de

Contents?: true

Size: 586 Bytes

Versions: 229

Compression:

Stored size: 586 Bytes

Contents

// Standard YAML's JSON schema.
// http://www.yaml.org/spec/1.2/spec.html#id2803231
//
// NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
// So, this schema is not such strict as defined in the YAML specification.
// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.


'use strict';


var Schema = require('../schema');


module.exports = new Schema({
  include: [
    require('./failsafe')
  ],
  implicit: [
    require('../type/null'),
    require('../type/bool'),
    require('../type/int'),
    require('../type/float')
  ]
});

Version data entries

229 entries across 207 versions & 23 rubygems

Version Path
govuk_publishing_components-17.20.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.19.1 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.19.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.18.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.17.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.16.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.15.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.14.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.13.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.12.2 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.12.1 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.12.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.11.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.10.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.9.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.8.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.7.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.6.1 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.6.0 node_modules/js-yaml/lib/js-yaml/schema/json.js
govuk_publishing_components-17.5.0 node_modules/js-yaml/lib/js-yaml/schema/json.js