{ "X3D": {
    "encoding":"UTF-8",
    "@profile":"Interchange",
    "@version":"4.0",
    "@xsd:noNamespaceSchemaLocation":"https://www.web3d.org/specifications/x3d-4.0.xsd",
    "JSON schema":"https://www.web3d.org/specifications/x3d-4.0-JSONSchema.autogenerated.json",
    "head": {
        "meta": [
          {
            "@name":"title",
            "@content":"WorldInfoExampleMetadataSetX3D4.x3d"
          },
          {
            "@name":"description",
            "@content":"Test target for python x3d package development. Can x3d.py package generate this valid X3D file? This scene contains MetadataSet with a non-null metadata field."
          },
          {
            "@name":"warning",
            "@content":"Metadata nodes are not allowed at top level of scene in X3D3, but one is allowed as field within WorldInfo"
          },
          {
            "@name":"reference",
            "@content":"WorldInfoExampleMetadataSetX3D3.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":"revised",
            "@content":"2 February 2022"
          },
          {
            "@name":"identifier",
            "@content":"https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter15Metadata/WorldInfoExampleMetadataSetX3D4.x3d"
          },
          {
            "@name":"license",
            "@content":"https://creativecommons.org/licenses/by/4.0"
          },
          {
            "@name":"translated",
            "@content":"25 April 2023"
          },
          {
            "@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":"WorldInfoExampleMetadataSetX3D4.x3d Example Scene",
              "-children":[
                {
                  "#comment":"WorldInfo single available child field of interest is 'metadata' so contained MetadataSet must have containerField='metadata' which IS NOT default in X3D4"
                }
              ],
              "-metadata":
                { "MetadataSet":
                  {
                    "@name":"birthday",
                    "@reference":"http://www.americaslibrary.gov/jb/colonial/jb_colonial_washingtn_2.html",
                    "-metadata":
                      { "MetadataString":
                        {
                          "@name":"calendar",
                          "@reference":"this node describes nature of parent node, and is not intended as a data value",
                          "@value":["Julian"]
                        }
                      },
                    "-children":[
                      {
                        "#comment":"MetadataSet next field of interest is 'value' and so contained Metadata nodes must have containerField='value' which IS the default in X3D4'"
                      }
                    ],
                    "-value":[
                      { "MetadataInteger":
                        {
                          "@name":"day",
                          "@value":[11]
                        }
                      },
                      { "MetadataInteger":
                        {
                          "@name":"month",
                          "@value":[2]
                        }
                      },
                      { "MetadataInteger":
                        {
                          "@name":"year",
                          "@value":[1731]
                        }
                      }
                    ]
                  }
                }
            }
          },
          { "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":["WorldInfoExampleMetadataSetX3D4.html","https://X3dGraphics.com/examples/X3dForWebAuthors/Chapter15Metadata/WorldInfoExampleMetadataSetX3D4.html"],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "Text":
                        {
                          "@string":["View scene source","to see","WorldInfoExampleMetadataSetX3D4"],
                          "-fontStyle":
                            { "FontStyle":
                              {
                                "@justify":["MIDDLE","MIDDLE"]
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[1,0.039216,0.992157]
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}