[x3d-public] ChatGPT versus X3D3 JSON Schema

John Carlson yottzumm at gmail.com
Tue Jan 17 14:41:14 PST 2023


Enjoy!

Continue with more detail.

{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "X3D
version 3.3 JSON schema", "description": "A JSON schema for X3D version
3.3", "type": "object", "properties": { "header": { "type": "object",
"properties": { "meta": { "type": "array", "items": { "type": "object",
"properties": { "name": { "type": "string" }, "content": { "type": "string"
} }, "required": [ "name", "content" ] } }, "profile": { "type": "object",
"properties": { "name": { "type": "string" }, "level": { "type": "string" }
}, "required": [ "name", "level" ] } }, "required": [ "meta" ] }, "scene":
{ "type": "object", "properties": { "nodes": { "type": "array", "items": {
"type": "object", "properties": { "type": { "type": "string" },
"attributes": { "type": "object", "properties": { "DEF": { "type": "string"
}, "USE": { "type": "string" }, "name": { "type": "string" }, "value": {
"type": "string" } } }, "children": { "type": "array", "items": { "type":
"object", "properties": { "type": { "type": "string" }, "attributes": {
"type": "object", "properties": { "DEF": { "type": "string" }, "USE": {
"type": "string" }, "name": { "type": "string" }, "value": { "type":
"string" } } }, "children": { "type": "array", "items": { "type": "object",
"properties": { "type": { "type": "string" }, "attributes": { "type":
"object", "properties": { "DEF": { "type": "string" }, "USE": { "type":
"string" }, "name": { "type": "string" }, "value": { "type": "string" } } },
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20230117/462a3483/attachment-0001.html>


More information about the x3d-public mailing list