json_schema: {
    "properties": {
      "measurements": {
        "properties": {
          "base": {
            "description": "The base of a triangle",
            "type": "number"
          },
          "height": {
            "description": "The height of a triangle",
            "type": "number"
          },
          "length": {
            "description": "The length of a rectangle",
            "type": "number"
          },
          "radius": {
            "description": "The radius of a circle",
            "type": "number"
          },
          "width": {
            "description": "The width of a rectangle",
            "type": "number"
          }
        },
        "type": "object"
      },
      "shape": {
        "description": "The shape for which area needs to be calculated",
        "type": "string"
      }
    },
    "required": [
      "shape",
      "measurements"
    ],
    "type": "object"
  }