jskemator icon indicating copy to clipboard operation
jskemator copied to clipboard

generating schema from thousands of examples. No go. Suggestions

Open coderextreme opened this issue 10 years ago • 1 comments

I generated JSON schema from these examples in this zip. https://github.com/coderextreme/x3djson/blob/master/X3DJSON.zip The schema is horrible. Suggestions?

coderextreme avatar Nov 04 '15 23:11 coderextreme

Here's the script I run. Perhaps there is an issue with it?

#!/bin/sh find ~/Downloads/www.web3d.org/x3d/content/examples -name '_json' -print| head -1 | xargs node goodJSON.js | xargs -L1 -t python jskemator.py -f > x3d.json find ~/Downloads/www.web3d.org/x3d/content/examples -name '_json' -print| xargs node goodJSON.js | xargs -L1 -t python jskemator.py -s x3d.json -f > /dev/null

coderextreme avatar Nov 07 '15 07:11 coderextreme