main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
523 bytes
|
Line | |
---|
1 | // Standard YAML's JSON schema.
|
---|
2 | // http://www.yaml.org/spec/1.2/spec.html#id2803231
|
---|
3 | //
|
---|
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.
|
---|
7 |
|
---|
8 |
|
---|
9 | 'use strict';
|
---|
10 |
|
---|
11 |
|
---|
12 | module.exports = require('./failsafe').extend({
|
---|
13 | implicit: [
|
---|
14 | require('../type/null'),
|
---|
15 | require('../type/bool'),
|
---|
16 | require('../type/int'),
|
---|
17 | require('../type/float')
|
---|
18 | ]
|
---|
19 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.