{ "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":"ReportedContactExample.x3d"
          },
          {
            "@name":"description",
            "@content":"Example instance of prototype for a reported contact."
          },
          {
            "@name":"creator",
            "@content":"Don Brutzman"
          },
          {
            "@name":"created",
            "@content":"15 October 2001"
          },
          {
            "@name":"modified",
            "@content":"28 November 2019"
          },
          {
            "@name":"identifier",
            "@content":"https://www.web3d.org/x3d/content/examples/Savage/Weapons/UnderwaterMines/ReportedContactExample.x3d"
          },
          {
            "@name":"generator",
            "@content":"X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit"
          },
          {
            "@name":"license",
            "@content":"../../license.html"
          },
          {
            "@name":"translated",
            "@content":"30 August 2025"
          },
          {
            "@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":"ReportedContactExample.x3d"
            }
          },
          { "ExternProtoDeclare":
            {
              "@name":"ReportedContact",
              "@appinfo":"Provide icon and contact information for a reported contact. Position ProtoInstances using the depth and location where found.",
              "@url":["ReportedContactPrototype.x3d#ReportedContact","../../Weapons/UnderwaterMines/ReportedContactPrototype.x3d#ReportedContact","https://www.web3d.org/x3d/content/examples/Savage/Weapons/UnderwaterMines/ReportedContactPrototype.x3d#ReportedContact","ReportedContactPrototype.wrl#ReportedContact","../../Weapons/UnderwaterMines/ReportedContactPrototype.wrl#ReportedContact","https://www.web3d.org/x3d/content/examples/Savage/Weapons/UnderwaterMines/ReportedContactPrototype.wrl#ReportedContact"],
              "field": [
                {
                  "@name":"name",
                  "@accessType":"initializeOnly",
                  "@type":"MFString"
                },
                {
                  "@name":"aboveViewpointLabel",
                  "@accessType":"initializeOnly",
                  "@type":"SFString"
                },
                {
                  "@name":"closeViewpointLabel",
                  "@accessType":"initializeOnly",
                  "@type":"SFString"
                },
                {
                  "@name":"description",
                  "@accessType":"inputOutput",
                  "@type":"MFString"
                },
                {
                  "@name":"reportedPosition",
                  "@accessType":"inputOutput",
                  "@appinfo":"Latitude and longitude (or local coordinates) for display purposes.",
                  "@type":"MFString"
                },
                {
                  "@name":"classificationCode",
                  "@accessType":"initializeOnly",
                  "@type":"SFInt32"
                },
                {
                  "@name":"imageUrl",
                  "@accessType":"inputOutput",
                  "@appinfo":"provide filename and url of contact image as separate quoted strings",
                  "@type":"MFString"
                },
                {
                  "@name":"imageScale",
                  "@accessType":"inputOutput",
                  "@appinfo":"Aspect-ratio x-y scale of image icon (keep z=1)",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"imageOffset",
                  "@accessType":"inputOutput",
                  "@appinfo":"Relative position of image icon",
                  "@type":"SFVec3f"
                },
                {
                  "@name":"textColor",
                  "@accessType":"inputOutput",
                  "@type":"SFColor"
                },
                {
                  "@name":"textOffset",
                  "@accessType":"inputOutput",
                  "@appinfo":"Relative position of image icon",
                  "@type":"SFVec3f"
                }
              ]
            }
          },
          { "Background":
            {
              "@groundAngle":[1.309,1.570796],
              "@groundColor":[0,0.2,0.4,0.05,0.25,0.6,0.1,0.2,0.4],
              "@skyAngle":[1.309,1.571],
              "@skyColor":[0.1,0.1,0.4,0.1,0.125,0.4,0.1,0.1,0.3]
            }
          },
          { "ProtoInstance":
            {
              "@name":"ReportedContact",
              "fieldValue": [
                {
                  "@name":"name",
                  "@value":["ContactName"]
                },
                {
                  "@name":"aboveViewpointLabel",
                  "@value":"Hello Reported Contact (100m above)"
                },
                {
                  "@name":"closeViewpointLabel",
                  "@value":"Closeup: Reported Contact (10m away)"
                },
                {
                  "@name":"description",
                  "@value":["classification: Manta","confidence: 4","remarks: example"]
                },
                {
                  "@name":"reportedPosition",
                  "@value":["00.0 N 000.0 W"]
                },
                {
                  "@name":"classificationCode",
                  "@value":1
                },
                {
                  "@name":"imageUrl",
                  "@value":["minelocator.jpg","https://www.web3d.org/x3d/content/examples/Savage/Weapons/UnderwaterMines/minelocator.jpg"]
                },
                {
                  "@name":"imageScale",
                  "@value":[1.6,1.0,1]
                }
              ],
              "-children":[
                {
                  "#comment":"additional available fieldValues: imageOffset, textColor, textOffset"
                }
              ]
            }
          }
        ]
    }
  }
}