{ "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":"HelloWorldCommented.x3d"
          },
          {
            "@name":"description",
            "@content":"Developmental scene with numerous comments added to simple X3D scene example for testing JSON encoding alternatives."
          },
          {
            "@name":"created",
            "@content":"19 December 2015"
          },
          {
            "@name":"modified",
            "@content":"8 October 2023"
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"info",
            "@content":"HelloWorldCommented.json is most current, HelloWorldCommentedOriginalEncoding.json and HelloWorldCommentedAlternativeEncoding.json were experimental."
          },
          {
            "@name":"reference",
            "@content":"HelloWorldCommented.json"
          },
          {
            "@name":"reference",
            "@content":"HelloWorldCommentedOriginalEncoding.json"
          },
          {
            "@name":"reference",
            "@content":"HelloWorldCommentedAlternativeEncoding.json"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForAdvancedModeling/HelloWorldScenes/HelloWorldCommented.x3d"
          },
          {
            "@name":"license",
            "@content":"https://www.web3d.org/x3d/content/examples/license.html"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"translated",
            "@content":"31 August 2025"
          },
          {
            "@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":"Example scene to illustrate comments interspersed among X3D nodes and fields (XML elements and attributes)"
          },
          {
            "#comment":"WorldInfo begin"
          },
          { "WorldInfo":
            {
              "@title":"Hello world!"
            }
          },
          {
            "#comment":"WorldInfo complete, Group begin"
          },
          { "Group":
            {
              "-children":[
                {
                  "#comment":"Viewpoint begin"
                },
                { "Viewpoint":
                  {
                    "@DEF":"ViewUpClose",
                    "@centerOfRotation":[0,-1,0],
                    "@description":"Hello world!",
                    "@position":[0,-1,7]
                  }
                },
                {
                  "#comment":"Viewpoint complete, Transform begin"
                },
                { "Transform":
                  {
                    "@rotation":[0,1,0,3],
                    "-children":[
                      {
                        "#comment":"Shape begin"
                      },
                      { "Shape":
                        {
                          "-children":[
                            {
                              "#comment":"Sphere begin"
                            },
                            {
                              "#comment":"Sphere complete, Appearance begin"
                            },
                            {
                              "#comment":"Appearance complete"
                            }
                          ],
                          "-geometry":
                            { "Sphere":
                              {
                              }
                            },
                          "-appearance":
                            { "Appearance":
                              {
                                "-children":[
                                  {
                                    "#comment":"Material begin"
                                  },
                                  {
                                    "#comment":"Material complete, ImageTexture begin"
                                  },
                                  {
                                    "#comment":"ImageTexture complete"
                                  }
                                ],
                                "-material":
                                  { "Material":
                                    {
                                      "@DEF":"MaterialOffWhite",
                                      "@diffuseColor":[0.980392,0.976471,0.964706]
                                    }
                                  },
                                "-texture":
                                  { "ImageTexture":
                                    {
                                      "@DEF":"ImageCloudlessEarth",
                                      "@url":["earth-topo.png","earth-topo.jpg","earth-topo-small.gif","https://www.web3d.org/x3d/content/examples/Basic/earth-topo.png","https://www.web3d.org/x3d/content/examples/Basic/earth-topo.jpg","https://www.web3d.org/x3d/content/examples/Basic/earth-topo-small.gif"]
                                    }
                                  }
                              }
                            }
                        }
                      },
                      {
                        "#comment":"Shape complete"
                      }
                    ]
                  }
                },
                {
                  "#comment":"Transform complete, Transform begin"
                },
                { "Transform":
                  {
                    "@translation":[0,-2,0],
                    "-children":[
                      {
                        "#comment":"Shape begin"
                      },
                      { "Shape":
                        {
                          "-children":[
                            {
                              "#comment":"Text begin"
                            },
                            {
                              "#comment":"Text complete, Appearance begin"
                            },
                            {
                              "#comment":"Appearance complete"
                            }
                          ],
                          "-geometry":
                            { "Text":
                              {
                                "@DEF":"TextMessage",
                                "@string":["Hello","world!"],
                                "-children":[
                                  {
                                    "#comment":"FontStyle begin"
                                  },
                                  {
                                    "#comment":"FontStyle complete"
                                  }
                                ],
                                "-fontStyle":
                                  { "FontStyle":
                                    {
                                      "@justify":["MIDDLE","MIDDLE"]
                                    }
                                  }
                              }
                            },
                          "-appearance":
                            { "Appearance":
                              {
                                "-children":[
                                  {
                                    "#comment":"Material begin"
                                  },
                                  {
                                    "#comment":"Material complete"
                                  }
                                ],
                                "-material":
                                  { "Material":
                                    {
                                      "@USE":"MaterialOffWhite"
                                    }
                                  }
                              }
                            }
                        }
                      },
                      {
                        "#comment":"Shape complete"
                      }
                    ]
                  }
                },
                {
                  "#comment":"Transform complete"
                }
              ]
            }
          },
          {
            "#comment":"Group complete"
          }
        ]
    }
  }
}