{ "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":"WorldInfoExampleMetadataSetX3D3.x3d"
          },
          {
            "@name":"description",
            "@content":"This X3D3 scene contains MetadataSet with a non-null metadata field and multiple value nodes. Also provides a test target for python x3d package development, can x3d.py package generate this valid X3D file?"
          },
          {
            "@name":"info",
            "@content":"Metadata nodes at root level of scene are not allowed in VRML97 or X3D3, but are allowed in X3D4."
          },
          {
            "@name":"info",
            "@content":"Metadata node as WorldInfo metadata field are not allowed in VRML97, but are allowed in X3D3 or X3D4."
          },
          {
            "@name":"reference",
            "@content":"WorldInfoExampleMetadataSetX3D4.x3d"
          },
          {
            "@name":"info",
            "@content":"Original name MetadataSetWithMetadata.x3d"
          },
          {
            "@name":"creator",
            "@content":"Vincent Marchetti"
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"16 November 2021"
          },
          {
            "@name":"modified",
            "@content":"7 April 2024"
          },
          {
            "@name":"specificationSection",
            "@content":"X3D encodings, ISO/IEC 19776-1, Part 1: XML encoding, Annex B.6.1 x3d-4.0.xsd"
          },
          {
            "@name":"specificationUrl",
            "@content":"https://web3d.org/specifications/X3Dv4Draft/ISO-IEC19776-1v4.0-WD1/Part01/Schema.html#Version4.0Schema"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 4.0, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/WorldInfoExampleMetadataSetX3D3.x3d"
          },
          {
            "@name":"license",
            "@content":"https://creativecommons.org/licenses/by/4.0"
          },
          {
            "@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":[
          { "WorldInfo":
            {
              "@title":"WorldInfoExampleMetadataSetX3D3.x3d Example Scene",
              "-children":[
                {
                  "#comment":"WorldInfo single available child field of interest is 'metadata' and so contained MetadataSet must have containerField='metadata' which IS the default in X3D3"
                }
              ],
              "-metadata":
                { "MetadataSet":
                  {
                    "@name":"birthday",
                    "@reference":"https://www.archives.gov/legislative/features/washington",
                    "-children":[
                      {
                        "#comment":"Next field is 'metadata' and so contained MetadataString node must have containerField='metadata' which is default in X3D3, but not the default in X3D4"
                      },
                      {
                        "#comment":"MetadataSet next fields of interest are 'value' and so contained Metadata nodes must have containerField='value' which is not the default in X3D3 but is the default in X3D4"
                      }
                    ],
                    "-metadata":
                      { "MetadataString":
                        {
                          "@name":"calendar",
                          "@reference":"this node describes nature of parent node, and is not intended as a data value",
                          "@value":["Julian"]
                        }
                      },
                    "-value":[
                      { "MetadataString":
                        {
                          "@name":"name",
                          "@value":["George","Washington"]
                        }
                      },
                      { "MetadataInteger":
                        {
                          "@name":"day",
                          "@value":[11]
                        }
                      },
                      { "MetadataInteger":
                        {
                          "@name":"month",
                          "@value":[2]
                        }
                      },
                      { "MetadataInteger":
                        {
                          "@name":"year",
                          "@value":[1731]
                        }
                      },
                      { "MetadataString":
                        {
                          "@name":"birthplace",
                          "@value":["Popes Creek","Virginia"]
                        }
                      }
                    ]
                  }
                }
            }
          },
          { "Background":
            {
              "@skyColor":[0,0.439216,0.760784]
            }
          },
          { "Viewpoint":
            {
              "@description":"View scene source to see metadata examples",
              "@position":[0,0,12]
            }
          },
          { "Anchor":
            {
              "@description":"Load scene index page",
              "@parameter":["target=_blank"],
              "@url":["WorldInfoExampleMetadataSetX3D3.html","https://www.web3d.org/x3d/content/examples/X3dForWebAuthors/Chapter15Metadata/WorldInfoExampleMetadataSetX3D3.html"],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "Text":
                        {
                          "@string":["View scene source","to see","WorldInfoExampleMetadataSetX3D3"],
                          "-fontStyle":
                            { "FontStyle":
                              {
                                "@justify":["MIDDLE","MIDDLE"],
                                "@size":0.9,
                                "@spacing":1.5
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[1,0.39216,0.992157]
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}