[x3d-public] Help? With Ajv 8.6.3 supporting JSON schema
    John Carlson 
    yottzumm at gmail.com
       
    Wed Oct 13 16:14:15 PDT 2021
    
    
  
Here is particular issue I Ajv repository:
https://github.com/ajv-validator/ajv/issues/1765
Thanks!
On Wed, Oct 13, 2021 at 6:04 PM John Carlson <yottzumm at gmail.com> wrote:
> X3DJSONLD requires a JavaScript expert in order to get Ajv 8.6.3 working
> in a browser with JSON Schema 2020-12.  We have gotten Ajv 8 working on
> server side code.   The particular problem seem to stem from removing
> requires from the code to support the web, but I think somehow that the
> traverse$1 function is undefined, there may be an issue with typescript.
> There is a month old issue in Ajv-validator repository.   A simplistic view
> says that only the rollup config file needs to be changed, but the issue is
> deeper than that.   One needs a way to export Ajv2020 as well.   I used the
> window variable for that.
>
> I’ve mostly modified the loadValidation JavaScript code.
>
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20211013/1dbc1070/attachment.html>
    
    
More information about the x3d-public
mailing list