core.js (362B)
1 // Standard YAML's Core schema. 2 // http://www.yaml.org/spec/1.2/spec.html#id2804923 3 // 4 // NOTE: JS-YAML does not support schema-specific tag resolution restrictions. 5 // So, Core schema has no distinctions from JSON schema is JS-YAML. 6 7 8 'use strict'; 9 10 11 var Schema = require('../schema'); 12 13 14 module.exports = new Schema({ 15 include: [ 16 require('./json') 17 ] 18 });