1 // Standard YAML's JSON schema.
2 // http://www.yaml.org/spec/1.2/spec.html#id2803231
4 // NOTE: JS-YAML does not support schema-specific tag resolution restrictions.
5 // So, this schema is not such strict as defined in the YAML specification.
6 // It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.
12 var Schema = require('../schema');
15 module.exports = new Schema({
20 require('../type/null'),
21 require('../type/bool'),
22 require('../type/int'),
23 require('../type/float')