[x3d-public] Here are my changes to JSON schema for version 3.0 -- so far. More work is needed.
John Carlson
yottzumm at gmail.com
Sun Apr 3 22:52:19 PDT 2016
$ diff x3d-3.4-JSONSchema.json x3d-3.0-JSONSchema.json
4687a4688,4708
> "@navType": {
> "type": "array",
> "minItems": 1,
> "items": [
> {
> "type": "string",
> "default": "EXAMINE"
> },
> {
> "type": "string",
> "default": "ANY"
> }
> ],
> "additionalItems": {
> "type": "string"
> }
> },
> "@headlight": {
> "type": "boolean",
> "default": true
> },
11186a11208,11303
> "XvlShell": {
> "type": "object",
> "properties": {
> "@DEF": {
> "type": "string"
> },
> "@USE": {
> "type": "string"
> },
> "IS": {
> "$ref": "#/definitions/IS"
> },
> "@shellType": {
> "type": "string",
> "enum": [
> "POLYGON_MESH",
> "LATTICE_MESH"
> ]
> },
> "@numberOfDivisions": {
> "type": "integer"
> },
> "@vertexRound": {
> "type": "array",
> "items": {
> "type": "number"
> }
> },
> "@edgeBeginCoordIndex": {
> "type": "array",
> "items": {
> "type": "integer"
> }
> },
> "@edgeEndCoordIndex": {
> "type": "array",
> "items": {
> "type": "integer"
> }
> },
> "@edgeRound": {
> "type": "array",
> "items": {
> "type": "number"
> }
> },
> "@edgeBeginVector": {
> "type": "array",
> "minItems": 3,
> "items": {
> "type": "number"
> }
> },
> "@edgeEndVector": {
> "type": "array",
> "minItems": 3,
> "items": {
> "type": "number"
> }
> },
> "@faceCoordIndex": {
> "type": "array",
> "items": {
> "type": "integer"
> }
> },
> "@faceTexCoordIndex": {
> "type": "array",
> "items": {
> "type": "integer"
> }
> },
> "@faceEmpty": {
> "type": "array",
> "items": {
> "type": "boolean"
> }
> },
> "@faceHidden": {
> "type": "array",
> "items": {
> "type": "boolean"
> }
> },
> "-coord": {
> "$ref": "#/definitions/-coord"
> },
> "-texCoord": {
> "$ref": "#/definitions/-texCoord"
> },
> "-metadata": {
> "$ref": "#/definitions/-metadata"
> }
> },
> "additionalProperties": false
> },
14409a14527
> "N",
16510a16629,16631
> "XvlShell": {
> "$ref": "#/definitions/XvlShell"
> },
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20160404/5fe518a8/attachment-0001.html>
More information about the x3d-public
mailing list