{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.3",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.3.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"TestFieldChecks.x3d"
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"7 September 2000"
          },
          {
            "@name":"modified",
            "@content":"20 October 2019"
          },
          {
            "@name":"description",
            "@content":"Helps to check that X3dToVrml97 xsl translator properly diagnoses content errors with field elements."
          },
          {
            "@name":"warning",
            "@content":"This model does not produce a viewable scene."
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Basic/development/TestFieldChecks.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"20 April 2026"
          },
          {
            "@name":"generator",
            "@content":"X3dToJson.xslt, https://www.web3d.org/x3d/stylesheets/X3dToJson.html"
          },
          {
            "@name":"reference",
            "@content":"X3D JSON encoding: https://www.web3d.org/wiki/index.php/X3D_JSON_Encoding"
          }
        ]
    },
    "Scene": {
        "-children":[
          {
            "#comment":"Scene nodes are added here"
          },
          { "Script":
            {
              "@DEF":"SELF",
              "@directOutput":true,
              "field": [
                {
                  "@name":"aa",
                  "@accessType":"initializeOnly",
                  "@type":"SFNode",
                  "-children":[
                    { "Script":
                      {
                        "@USE":"SELF"
                      }
                    }
                  ]
                },
                {
                  "@name":"bb",
                  "@accessType":"initializeOnly",
                  "@appinfo":"using value attribute for nodes will provoke an error",
                  "@type":"SFNode",
                  "-children":[
                    {
                      "#comment":"initializing node goes here, comment silences warning"
                    }
                  ]
                },
                {
                  "@name":"cc",
                  "@accessType":"initializeOnly",
                  "@type":"SFNode",
                  "-children":[
                    { "Script":
                      {
                        "@USE":"SELF"
                      }
                    },
                    {
                      "#comment":"ensure contained comments under Node are checked OK"
                    }
                  ]
                },
                {
                  "@name":"dd",
                  "@accessType":"inputOnly",
                  "@type":"SFString"
                },
                {
                  "@name":"ee",
                  "@accessType":"initializeOnly",
                  "@type":"SFNode",
                  "-children":[
                    { "WorldInfo":
                      {
                      }
                    },
                    {
                      "#comment":"ensure contained comments under Node are checked OK"
                    }
                  ]
                }
              ],
              "#sourceCode":[
"",
"",
"ecmascript:",
"",
"// no functionality provided for this test scene",
"",
"function dd (value, timestamp)",
"{",
"\t// references to silence warnings",
"\t// aa bb cc ee",
"}",
"",
""
]
            }
          }
        ]
    }
  }
}