0
  gps: {
    type: "object",
    properties: {
      lat: {
        type: "number",
        minimum: -90,
        maximum: 90,
      },
      lng: {
        type: "number",
        minimum: -180,
        maximum: 180,
      },
    },
  }

The gps field specified above is of type object but is also allowed to be null. How do I specify that?

0 Answers0