[x3d-public] Latest X3DV4 JSON schema (check date)
John Carlson
yottzumm at gmail.com
Mon Apr 26 20:25:40 PDT 2021
Lots of validations are coming through now, with latest draft 07, latest
everit. I don't know if I'll get any errors, because the everit run
takes so long, and there's a StackOverflowError, but I am getting
passing JSON files, so it looks okay.
Check out:
https://github.com/coderextreme/x3dschema
The latest logs have not been checked in yet. TBD.
I don't see anything significant that changed, except I don't version
control everit. I assert that the version I have seems to work except
for StackOverflowErrors.
With the valid reports, I think it's likely we can track down the
StackOverflow errors. Probably we should print out the file before
validating it.
Forks and pull requests welcome!
John
On 4/26/21 10:14 PM, John Carlson wrote:
>
> I backed out the change to the draft 07 schema, and put a printout for
> when the X3D JSON example passed, and got confirmation that the files
> were validated. I did get one stack overflow, which in my case, might
> have dropped a lot of files, since I process them in batches.
>
> Hmm. I don't think I can catch a Stack Overflow Exception?
>
> I will put the change to draft 07 schema back in and retest with the
> "valid" log in place.
>
> John
>
> On 4/26/21 9:54 PM, John Carlson wrote:
>>
>> Indeed, there was a change!!!! to draft 07 JSON schema!
>>
>> Here's the diff:
>>
>> $ git diff -w json*
>> diff --git a/json-schema-draft-07.json b/json-schema-draft-07.json
>> index 5bee90e..fb92c7f 100644
>> --- a/json-schema-draft-07.json
>> +++ b/json-schema-draft-07.json
>> @@ -64,6 +64,10 @@
>> "type": "boolean",
>> "default": false
>> },
>> + "writeOnly": {
>> + "type": "boolean",
>> + "default": false
>> + },
>> "examples": {
>> "type": "array",
>> "items": true
>>
>> I don't think this will affect X3D JSON schema, but it may affect
>> everit and Ajv.
>>
>> Good catch!
>>
>> Retesting...
>>
>> John
>>
>> On 4/26/21 9:32 PM, John Carlson wrote:
>>> Classpath which contains jars to download found in validate.sh in
>>> x3dschema repository under my coderextreme account on GitHub.com
>>>
>>> John
>>>
>>> On Mon, Apr 26, 2021 at 7:32 PM John Carlson <yottzumm at gmail.com
>>> <mailto:yottzumm at gmail.com>> wrote:
>>>
>>> https://github.com/coderextreme/x3dschema/blob/master/validate.sh
>>> <https://github.com/coderextreme/x3dschema/blob/master/validate.sh>
>>>
>>> (Check CLASSPATH above, and location to download everit if
>>> building everit from source.
>>>
>>> There are additional jars for running everit, to verify my
>>> classpath, check everit’s pom.xml files.
>>>
>>> Next I will look into everit releases.
>>>
>>> John
>>>
>>> On Mon, Apr 26, 2021 at 7:24 PM John Carlson <yottzumm at gmail.com
>>> <mailto:yottzumm at gmail.com>> wrote:
>>>
>>> https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/schema/x3d-4.0-JSONSchema.json
>>> <https://github.com/coderextreme/X3DJSONLD/blob/master/src/main/schema/x3d-4.0-JSONSchema.json>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20210426/ad820063/attachment.html>
More information about the x3d-public
mailing list