Amanda icon indicating copy to clipboard operation
Amanda copied to clipboard

JSON Schema validator

Results 20 Amanda issues
Sort by recently updated
recently updated
newest added

Bumps [uglify-js](https://github.com/mishoo/UglifyJS2) from 2.3.6 to 3.6.1. Release notes *Sourced from [uglify-js's releases](https://github.com/mishoo/UglifyJS2/releases).* > ## v3.6.1 >   > > ## v3.6.0 >   > > ## v3.5.15 >   >...

dependencies

Bumps [debug](https://github.com/visionmedia/debug) from 0.7.2 to 4.1.1. Release notes *Sourced from [debug's releases](https://github.com/visionmedia/debug/releases).* > ## 4.1.1 > This backport fixes a bug in coveralls configuration as well as the `.extend()` function....

dependencies

> This attribute defines a URI of a schema that contains the full representation of this schema. When a validator encounters this attribute, it SHOULD replace the current schema with...

I've reviewed some JSON Schema validation libraries and found this one solid, but the async-only validation bugs me a lot. I've noticed that most other similar libraries support synchronous calls,...

Amanda is not present at http://json-schema.org/implementations.html.

Following exception stack is printed: ``` Uncaught exception: TypeError: Object.keys called on non-object, stack: at Function.keys (native) at keys (/root/nef/node_modules/amanda/releases/latest/amanda.js:334:17) at Object.additionalProperties (/root/nef/node_modules/amanda/releases/latest/amanda.js:472:22) at Validation.validateProperty.iterator (/root/nef/node_modules/amanda/releases/latest/amanda.js:1821:26) at Array.addToQueue [as 0]...

Trying to validate the following ISO 8601 date-time: 2012-07-18T14:14Z ^\d{4}-(?:0[0-9]{1}|1[0-2]{1})-[0-9]{2}T\d{2}:\d{2}:\d{2}.\d{3}Z$ doesnt seem to match I tried one here: http://underground.infovark.com/2008/07/22/iso-date-validation-regex/ ^(\d{4})\D?(0[1-9]|1[0-2])\D?([12]\d|0[1-9]|3[01])(\D?([01]\d|2[0-3])\D?([0-5]\d)\D?([0-5]\d)?\D?(\d{3})?([zZ]|([+-])([01]\d|2[0-3])\D?([0-5]\d)?)?)?$ And it is able to match the date-time.

Both "Schema" and "Object" links from https://github.com/Baggz/Amanda/blob/master/docs/json/methods/validate.md end up with 404

I noticed that README.md links to draft3. Is this documentation old? Or does Amanda need work to be updated to draft4? Cheers!

``` var messageSchema = { type: 'object', properties: { Action: { required: true, type: 'string' }, Data: { required: true, type: 'object', } } }; ``` if I validate against...