{ "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":"PointSetExample.x3d"
          },
          {
            "@name":"description",
            "@content":"X3D encodings example: PointSet demonstration."
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman and Joe Williams"
          },
          {
            "@name":"created",
            "@content":"1 June 2002"
          },
          {
            "@name":"modified",
            "@content":"28 September 2025"
          },
          {
            "@name":"specificationSection",
            "@content":"X3D encodings, ISO/IEC 19776-1.3, Part 1: XML encoding, Annex C.10 PointSet"
          },
          {
            "@name":"specificationUrl",
            "@content":"https://www.web3d.org/specifications/X3Dv4Draft/ISO-IEC19776-1v4.0-CD/Part01/examples.html#PointSet"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Basic/X3dSpecifications/PointSetExample.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":[
          { "WorldInfo":
            {
              "@title":"PointSetExample.x3d"
            }
          },
          { "Shape":
            {
              "-geometry":
                { "PointSet":
                  {
                    "-color":
                      { "Color":
                        {
                          "@color":[1,0,0,0,1,0,0,0,1]
                        }
                      },
                    "-coord":
                      { "Coordinate":
                        {
                          "@DEF":"mypts",
                          "@point":[0.0,0.0,0.0,2.0,2.0,2.0,3.0,3.0,3.0]
                        }
                      }
                  }
                }
            }
          },
          { "Transform":
            {
              "@translation":[2.0,0.0,0.0],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "PointSet":
                        {
                          "-color":
                            { "Color":
                              {
                                "@color":[0.5,0.5,0,0.5,0,0.5,0,0.5,0.5]
                              }
                            },
                          "-coord":
                            { "Coordinate":
                              {
                                "@USE":"mypts"
                              }
                            }
                        }
                      }
                  }
                }
              ]
            }
          }
        ]
    }
  }
}