Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion JSV: A Full JSON Schema Validator
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sky Sanders  
View profile  
 More options Oct 4 2010, 12:06 am
From: Sky Sanders <sky.sand...@gmail.com>
Date: Sun, 3 Oct 2010 21:06:19 -0700 (PDT)
Local: Mon, Oct 4 2010 12:06 am
Subject: Re: JSV: A Full JSON Schema Validator
Gary, my primary development environment is VS which marries me to IE
for JS debugging.

It seems that JSV leverages some JS features and behavior that is not
present in IE.

The most obvious issue is the lack of Array.indexOf.  I monkey patched
this and now the validation runs but finds no errors when it certainly
should.

Do you have any intentions to provide JSV in cross browser (term used
loosely) form?

b.t.w. validates just fine in FF, good work on that, but is not my
debugger.

Cheers

On Aug 16, 8:12 am, Gary Court <gary.co...@gmail.com> wrote:

> The card schema on json-schema.org is invalid. The problem is with how
> the "adr" and "geo" properties are using referencing. They should be:

>   "adr":{"$ref":"http://json-schema.org/address#"},
>   "geo":{"$ref":"http://json-schema.org/geo#"}

> -Gary

> On Aug 16, 3:49 am, Chris Miles <ch...@moonfruit.com> wrote:

> > I'm having difficulty validating the card example fromhttp://json-schema.org/card.
> > It seems to barf on the 'adr' $ref to address definition:

> >    [script] path: ./card
> >    [script] evalAndCheck: object
> >    [script] registerSchemahttp://json-schema/card:Invalid
> >    [script] 0:
> >    [script]   uri:http://json-schema/card#.properties.adr.properties.$ref
> > (string)
> >    [script]   schemaUri:http://json-schema.org/hyper-schema#(http%3A%2F%2Fjson-schema.org%2Fs...)
> > (string)
> >    [script]   attribute: type (string)
> >    [script]   message: Instance is not a required type (string)
> >    [script]   details: object (object)
> >    [script]     0: object (string)

> > I've tried all sorts to get this type of definition working but I must
> > be missing something.

> > Can someone confirm that they have 'card' validating usingJSV?

> > Thanks,
> >   Chris

> > On Jul 26, 5:15 am, Gary Court <gary.co...@gmail.com> wrote:

> > > I'm proud to announce that I have just releasedJSV: a JavaScript
> > > implementation of a extendable, fully compliant revision 2 JSON Schema
> > > validator!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.