{ "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":"SavageObjectMetadataTemplate.x3d"
          },
          {
            "@name":"description",
            "@content":"This scene defines the exemplar template for Savage Static Model metadata, allowing further interoperability via SMAL constructs. Savage Modeling Analysis Language (SMAL) authoring capabilities for X3D assume proper metadata within a scene to identify an object properly. A corresponding native-XML .xsd schema for SMAL will also be developed to facilitate conversion and use of vehicle metadata."
          },
          {
            "@name":"creator",
            "@content":"Travis Rauch, Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"20 May 2005"
          },
          {
            "@name":"modified",
            "@content":"28 November 2019"
          },
          {
            "@name":"TODO",
            "@content":"add corresponding XML versions of metadata"
          },
          {
            "@name":"reference",
            "@content":"https://x3dgraphics.com/chapters/Chapter15-MetadataInformation.html"
          },
          {
            "@name":"subject",
            "@content":"SMAL object metadata"
          },
          {
            "@name":"reference",
            "@content":"SMAL.html"
          },
          {
            "@name":"reference",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Tools/SMAL/SMAL.html"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Tools/SMAL/SavageObjectMetadataTemplate.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.3, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"26 March 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":"SavageObjectMetadataTemplate.x3d"
            }
          },
          { "Background":
            {
              "@skyColor":[0,0.439216,0.760784]
            }
          },
          { "Viewpoint":
            {
              "@description":"View scene source to see metadata examples",
              "@position":[0,0,9]
            }
          },
          { "Anchor":
            {
              "@description":"View source in browser",
              "@parameter":["target=_blank"],
              "@url":["SavageObjectMetadataTemplate.html","https://www.web3d.org/x3d/content/examples/Savage/Tools/SMAL/SavageObjectMetadataTemplate.html"],
              "-children":[
                { "Shape":
                  {
                    "-geometry":
                      { "Text":
                        {
                          "@string":["View scene source","to see","metadata examples"],
                          "-fontStyle":
                            { "FontStyle":
                              {
                                "@justify":["MIDDLE","MIDDLE"],
                                "@style":"BOLD"
                              }
                            }
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@diffuseColor":[1,0.99,0.6]
                              }
                            }
                        }
                      }
                  }
                },
                { "Shape":
                  {
                    "-geometry":
                      { "Box":
                        {
                          "@size":[7,3,0.001]
                        }
                      },
                    "-appearance":
                      { "Appearance":
                        {
                          "-material":
                            { "Material":
                              {
                                "@transparency":1
                              }
                            }
                        }
                      }
                  }
                },
                { "TouchSensor":
                  {
                    "@description":"Select this text to view pretty-print documentation"
                  }
                }
              ]
            }
          },
          { "WorldInfo":
            {
              "@info":["https://www.web3d.org/x3d/content/examples/Savage/Tools/SMAL/SavageObjectMetadataTemplate.x3d"],
              "@title":"SavageObjectMetadataTemplate",
              "-children":[
                {
                  "#comment":"This initial MetadataSet is itself metadata for the parent WorldInfo, thus it has (omitted) default containerField='metadata'"
                }
              ],
              "-metadata":
                { "MetadataSet":
                  {
                    "@name":"SMAL",
                    "@reference":"https://www.web3d.org/x3d/content/examples/Savage/Tools/SMAL/SMAL.html",
                    "-children":[
                      {
                        "#comment":"All other SMAL Metadata nodes serve as values for their parent MetadataSet nodes, and thus have containerField='value'"
                      }
                    ],
                    "-value":[
                      { "MetadataString":
                        {
                          "@name":"version",
                          "@value":["1.0"],
                          "-metadata":
                            { "MetadataString":
                              {
                                "@name":"appinfo",
                                "@value":["This is the version of SMAL employed, not of the model."]
                              }
                            }
                        }
                      },
                      { "MetadataSet":
                        {
                          "@name":"StaticModelDefinition",
                          "-children":[
                            {
                              "#comment":"Identifying metadata for the current simulation of interest"
                            }
                          ],
                          "-value":[
                            { "MetadataSet":
                              {
                                "@name":"Classification",
                                "-value":[
                                  { "MetadataString":
                                    {
                                      "@name":"level",
                                      "@value":["UNCLASSIFIED"],
                                      "-metadata":
                                        { "MetadataString":
                                          {
                                            "@name":"appinfo",
                                            "@value":["UNCLASSIFIED","FOUO","CONFIDENTIAL","SECRET"]
                                          }
                                        }
                                    }
                                  },
                                  { "MetadataString":
                                    {
                                      "@name":"reference",
                                      "-metadata":
                                        { "MetadataString":
                                          {
                                            "@name":"appinfo",
                                            "@value":["The published source of classified information, if any, contained in the Metadata."]
                                          }
                                        }
                                    }
                                  },
                                  { "MetadataString":
                                    {
                                      "@name":"rationale",
                                      "-metadata":
                                        { "MetadataString":
                                          {
                                            "@name":"appinfo",
                                            "@value":["The specific element which contains the information classifying this document."]
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "MetadataSet":
                              {
                                "@name":"IdentificationParameters",
                                "-value":[
                                  { "MetadataString":
                                    {
                                      "@name":"name",
                                      "@value":["provideVehicleNameHere"],
                                      "-metadata":
                                        { "MetadataString":
                                          {
                                            "@name":"appinfo",
                                            "@value":["The plain language name of the object this model represents."]
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "MetadataSet":
                              {
                                "@name":"X3DArchiveModel",
                                "-value":[
                                  { "MetadataString":
                                    {
                                      "@name":"name",
                                      "@value":["provideX3DArchiveModelUrlHere"],
                                      "-metadata":
                                        { "MetadataString":
                                          {
                                            "@name":"appinfo",
                                            "@value":["This is a placeholder element which ensures the proper validation of autogenerated SMAL code."]
                                          }
                                        }
                                    }
                                  }
                                ]
                              }
                            },
                            { "MetadataSet":
                              {
                                "@name":"PhysicalParameters",
                                "-value":[
                                  { "MetadataSet":
                                    {
                                      "@name":"PhysicalConstraints",
                                      "-value":[
                                        { "MetadataFloat":
                                          {
                                            "@name":"height",
                                            "@value":[0],
                                            "-metadata":
                                              { "MetadataString":
                                                {
                                                  "@name":"appinfo",
                                                  "@value":["The maximum structural height of the object in meters. This may be used for clearance checking or other calculations."]
                                                }
                                              }
                                          }
                                        },
                                        { "MetadataFloat":
                                          {
                                            "@name":"width",
                                            "@value":[0],
                                            "-metadata":
                                              { "MetadataString":
                                                {
                                                  "@name":"appinfo",
                                                  "@value":["The maximum width of the object in meters. This may be used for clearance checking or other calculations."]
                                                }
                                              }
                                          }
                                        },
                                        { "MetadataFloat":
                                          {
                                            "@name":"length",
                                            "@value":[0],
                                            "-metadata":
                                              { "MetadataString":
                                                {
                                                  "@name":"appinfo",
                                                  "@value":["The maximum structural length of the object in meters. This may be used for clearance checking or other calculations."]
                                                }
                                              }
                                          }
                                        },
                                        { "MetadataFloat":
                                          {
                                            "@name":"draft",
                                            "@value":[0],
                                            "-metadata":
                                              { "MetadataString":
                                                {
                                                  "@name":"appinfo",
                                                  "@value":["The vertical distance in meters from the deepest point to the waterline of this object at its stated displacement or gross weight."]
                                                }
                                              }
                                          }
                                        },
                                        { "MetadataFloat":
                                          {
                                            "@name":"grossWeight",
                                            "@value":[0],
                                            "-metadata":
                                              { "MetadataString":
                                                {
                                                  "@name":"appinfo",
                                                  "@value":["The standard operational weight of the vehicle in pounds or kilograms. This may be used in physics calculations."]
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  },
                                  { "MetadataSet":
                                    {
                                      "@name":"DynamicResponseConstraints",
                                      "-value":[
                                        { "MetadataFloat":
                                          {
                                            "@name":"centerOfGravity",
                                            "@value":[0,0,0],
                                            "-metadata":
                                              { "MetadataString":
                                                {
                                                  "@name":"appinfo",
                                                  "@value":["Sets the Center of Gravity of the object as an (x, y, z) distance in meters from the physical center of the object, which is located at (0, 0, 0)."]
                                                }
                                              }
                                          }
                                        },
                                        { "MetadataFloat":
                                          {
                                            "@name":"aerodynamicCenter",
                                            "@value":[0,0,0],
                                            "-metadata":
                                              { "MetadataString":
                                                {
                                                  "@name":"appinfo",
                                                  "@value":["Sets the Aerodynamic Center of the object as an (x, y, z) distance in meters from the physical center of the object, which is located at (0, 0, 0)."]
                                                }
                                              }
                                          }
                                        },
                                        { "MetadataFloat":
                                          {
                                            "@name":"centerOfBuoyancy",
                                            "@value":[0,0,0],
                                            "-metadata":
                                              { "MetadataString":
                                                {
                                                  "@name":"appinfo",
                                                  "@value":["Sets the Center of Buoyancy of the object as an (x, y, z) distance in meters from the physical center of the object, which is located at (0, 0, 0)."]
                                                }
                                              }
                                          }
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            },
                            { "MetadataSet":
                              {
                                "@name":"LocationOrientation",
                                "-value":[
                                  { "MetadataSet":
                                    {
                                      "@name":"Location",
                                      "-children":[
                                        {
                                          "#comment":"Insert additional metadata, if appropriate"
                                        }
                                      ]
                                    }
                                  },
                                  { "MetadataSet":
                                    {
                                      "@name":"Orientation",
                                      "-children":[
                                        {
                                          "#comment":"Insert additional metadata, if appropriate"
                                        }
                                      ]
                                    }
                                  }
                                ]
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
            }
          }
        ]
    }
  }
}