{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Immersive",
    "@version":"3.0",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-3.0.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"WrapperTagsExample.x3d"
          },
          {
            "@name":"description",
            "@content":"Demonstrate and test field-name wrapper tags. Links to document \"Wrapper Tags Considered Harmful.\" Scene includes 21 nodes, 34 open/close element tags, 44 wrapper tags, producing 78 scene-graph tags total if wrapper tags are required."
          },
          {
            "@name":"created",
            "@content":"21 April 2000"
          },
          {
            "@name":"modified",
            "@content":"4 February 2024"
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"reference",
            "@content":"WrapperTagsExampleWrapped.html"
          },
          {
            "@name":"reference",
            "@content":"WrapperTagsExampleUnwrapped.html"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Basic/development/WrapperTagsExample.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 4.0, 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":"<children> *** wrapper tag ***"
          },
          { "WorldInfo":
            {
              "@title":"WrapperTagsExample.x3d"
            }
          },
          { "Transform":
            {
              "@translation":[0,-3,0],
              "-children":[
                {
                  "#comment":"<children> *** wrapper tag ***"
                },
                { "Shape":
                  {
                    "-children":[
                      {
                        "#comment":"<geometry> *** wrapper tag ***"
                      },
                      {
                        "#comment":"</geometry> *** wrapper tag ***"
                      },
                      {
                        "#comment":"<appearance> *** wrapper tag ***"
                      },
                      {
                        "#comment":"</appearance> *** wrapper tag ***"
                      }
                    ],
                    "-geometry":
                      { "Cylinder":
                        {
                          "@height":1.5,
                          "@radius":0.75
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-children":[
                            {
                              "#comment":"<texture> *** wrapper tag ***"
                            },
                            {
                              "#comment":"</texture> *** wrapper tag ***"
                            },
                            {
                              "#comment":"<textureTransform> *** wrapper tag ***"
                            },
                            {
                              "#comment":"</textureTransform> *** wrapper tag ***"
                            }
                          ],
                          "-texture":
                            { "ImageTexture":
                              {
                                "@url":["earth-topo-small.png","earth-topo-small.gif","https://www.web3d.org/x3d/content/examples/Basic/development/earth-topo-small.png","https://www.web3d.org/x3d/content/examples/Basic/development/earth-topo-small.gif"]
                              }
                            },
                          "-textureTransform":
                            { "TextureTransform":
                              {
                                "@rotation":-2.356
                              }
                            }
                        }
                      }
                  }
                },
                {
                  "#comment":"</children> *** wrapper tag ***"
                }
              ]
            }
          },
          {
            "#comment":"</children> *** wrapper tag ***"
          },
          {
            "#comment":"<children> *** wrapper tag ***"
          },
          { "LOD":
            {
              "-children":[
                {
                  "#comment":"<children> *** wrapper tag ***"
                },
                { "Anchor":
                  {
                    "@description":"Click to read explanation page",
                    "@parameter":["target=_blank"],
                    "@url":["WrapperTagsConsideredHarmful.html","https://www.web3d.org/x3d/content/examples/Basic/development/WrapperTagsConsideredHarmful.html"],
                    "-children":[
                      {
                        "#comment":"<children> *** wrapper tag ***"
                      },
                      { "Shape":
                        {
                          "-children":[
                            {
                              "#comment":"<appearance> *** wrapper tag ***"
                            },
                            {
                              "#comment":"<appearance> *** wrapper tag ***"
                            },
                            {
                              "#comment":"<geometry> *** wrapper tag ***"
                            },
                            {
                              "#comment":"</geometry> *** wrapper tag ***"
                            }
                          ],
                          "-appearance":
                            { "Appearance":
                              {
                                "-children":[
                                  {
                                    "#comment":"<material> *** wrapper tag ***"
                                  },
                                  {
                                    "#comment":"</material> *** wrapper tag ***"
                                  }
                                ],
                                "-material":
                                  { "Material":
                                    {
                                      "@diffuseColor":[0.6,0.1,0.1]
                                    }
                                  }
                              }
                            },
                          "-geometry":
                            { "Text":
                              {
                                "@string":["wrapper tags are ","field container names","that hold nodes"],
                                "-children":[
                                  {
                                    "#comment":"<fontStyle> *** wrapper tag ***"
                                  },
                                  {
                                    "#comment":"</fontStyle> *** wrapper tag ***"
                                  }
                                ],
                                "-fontStyle":
                                  { "FontStyle":
                                    {
                                      "@justify":["MIDDLE","MIDDLE"]
                                    }
                                  }
                              }
                            }
                        }
                      },
                      {
                        "#comment":"</children> *** wrapper tag ***"
                      }
                    ]
                  }
                },
                {
                  "#comment":"</children> *** wrapper tag ***"
                },
                {
                  "#comment":"<children> *** wrapper tag ***"
                },
                { "Sound":
                  {
                    "-children":[
                      {
                        "#comment":"<source> *** wrapper tag ***"
                      },
                      {
                        "#comment":"</source> *** wrapper tag ***"
                      }
                    ],
                    "-source":
                      { "AudioClip":
                        {
                          "@description":"empty audio clip"
                        }
                      }
                  }
                },
                {
                  "#comment":"</children> *** wrapper tag ***"
                }
              ]
            }
          },
          {
            "#comment":"</children> *** wrapper tag ***"
          },
          {
            "#comment":"<children> *** wrapper tag ***"
          },
          { "Switch":
            {
              "@whichChoice":0,
              "-children":[
                {
                  "#comment":"<children> *** wrapper tag ***"
                },
                { "Shape":
                  {
                    "-children":[
                      {
                        "#comment":"<geometry> *** wrapper tag ***"
                      },
                      {
                        "#comment":"</geometry> *** wrapper tag ***"
                      }
                    ],
                    "-geometry":
                      { "IndexedFaceSet":
                        {
                          "@coordIndex":[0,1,2,3,-1],
                          "-children":[
                            {
                              "#comment":"<color> *** wrapper tag ***"
                            },
                            {
                              "#comment":"</color> *** wrapper tag ***"
                            },
                            {
                              "#comment":"<coord> *** wrapper tag ***"
                            },
                            {
                              "#comment":"</coord> *** wrapper tag ***"
                            },
                            {
                              "#comment":"<normal> *** wrapper tag ***"
                            },
                            {
                              "#comment":"</normal> *** wrapper tag ***"
                            },
                            {
                              "#comment":"<texCoord> *** wrapper tag ***"
                            },
                            {
                              "#comment":"</texCoord> *** wrapper tag ***"
                            }
                          ],
                          "-color":
                            { "Color":
                              {
                                "@color":[0,0,1,0,1,0,1,0,0,1,1,1]
                              }
                            },
                          "-coord":
                            { "Coordinate":
                              {
                                "@point":[-5,-3,-2,5,-3,-2,5,1,-2,-5,1,-2]
                              }
                            },
                          "-normal":
                            { "Normal":
                              {
                                "@vector":[0,0,-1,0,0,-1,0,0,-1,0,0,-1]
                              }
                            },
                          "-texCoord":
                            { "TextureCoordinate":
                              {
                                "@point":[-1,-1,-1,1,1,1,1,-1]
                              }
                            }
                        }
                      }
                  }
                },
                {
                  "#comment":"</children> *** wrapper tag ***"
                }
              ]
            }
          },
          {
            "#comment":"</children> *** wrapper tag ***"
          }
        ]
    }
  }
}