{
  "title": "pointGeometry",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "description": "Defines the JSON formats of the point and spatial reference objects.",
  "properties": {
    "m": {
      "type": "number",
      "description": "M coordinate which contains measures used for linear referencing."
    },
    "spatialReference": {
      "type": "object",
      "description": "The spatial reference can be defined using a well-known ID (WKID) or well-known text (WKT).",
      "$ref": "spatialReference_schema.json"
    },
    "x": {
      "description": "X coordinate which is measured along the east/west axis.",
      "oneOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        },
        {
          "type": "string",
          "enum": [
            "NaN"
          ]
        }
      ]
    },
    "y": {
      "type": "number",
      "description": "Y coordinate which is measured along the north/south axis."
    },
    "z": {
      "type": "number",
      "description": "Z coordinate which measures height or elevation."
    }
  },
  "required": [
    "x"
  ],
  "additionalProperties": false,
  "esriDocumentation": {
    "examples": [
      {
        "title": "pointGeometry",
        "code": {
          "geometry": {
            "x": -118.15,
            "y": 33.8,
            "spatialReference": {
              "wkid": 4326
            }
          }
        }
      }
    ]
  }
}
