{ "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":"WorldInfoExample.x3d"
          },
          {
            "@name":"description",
            "@content":"Simple examples of meta statements, comments, a WorldInfo node and a MetadataString node."
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"3 March 2018"
          },
          {
            "@name":"modified",
            "@content":"7 December 2024"
          },
          {
            "@name":"info",
            "@content":"Information in head and meta elements is retained after a scene is parsed and loaded, and can be referenced via the Scene Access Interface (SAI) or Document Object Model (DOM)"
          },
          {
            "@name":"reference",
            "@content":"The following referenced chapter is published online but was not included in the printed book."
          },
          {
            "@name":"reference",
            "@content":"Chapter15MetadataInformation.html"
          },
          {
            "@name":"reference",
            "@content":"https://x3dgraphics.com/chapters/Chapter15MetadataInformation.html"
          },
          {
            "@name":"reference",
            "@content":"https://X3dGraphics.com"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dResources.html"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dSceneAuthoringHints.html#Metadata"
          },
          {
            "@name":"rights",
            "@content":"Copyright 2018, Daly Realism and Don Brutzman"
          },
          {
            "@name":"subject",
            "@content":"X3D book, X3D graphics, X3D-Edit, http://www.x3dGraphics.com"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/WorldInfoExample.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../license.html"
          },
          {
            "@name":"translated",
            "@content":"17 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":"Comments can appear between nodes (XML elements) but are not retained after a scene is parsed, loaded and playing"
          },
          { "WorldInfo":
            {
              "@DEF":"MyWorldInfo",
              "@info":["Metadata strings","can go here","as string array values"],
              "@title":"WorldInfo.x3d Example Scene",
              "-children":[
                {
                  "#comment":"WorldInfo can contain Metadata nodes in X3D but not in VRML97."
                },
                {
                  "#comment":"WorldInfo single available child field of interest is 'metadata' and so contained MetadataString must have containerField='metadata' which IS the default in X3D3'"
                }
              ],
              "-metadata":
                { "MetadataString":
                  {
                    "@name":"TestNode",
                    "@DEF":"MyMetadataStringNode",
                    "@reference":"X3D",
                    "@value":["Hello","WorldInfo"]
                  }
                }
            }
          },
          { "Background":
            {
              "@skyColor":[0,0.439216,0.760784]
            }
          },
          { "Viewpoint":
            {
              "@description":"View scene source to see metadata examples",
              "@position":[0,0,9]
            }
          },
          { "Anchor":
            {
              "@description":"Load scene index page",
              "@parameter":["target=_blank"],
              "@url":["WorldInfoExampleIndex.html","https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/WorldInfoExampleIndex.html"],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "Text":
                        {
                          "@string":["View scene source","to see","WorldInfoExample"],
                          "-fontStyle":
                            { "FontStyle":
                              {
                                "@justify":["MIDDLE","MIDDLE"]
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[1,0.992157,0.039216]
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}