{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/math.geometry.plane.input.json",
  "title": "Plane geometry — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "rectangle",
        "square",
        "regular_polygon",
        "annulus",
        "parallelogram",
        "trapezoid",
        "irregular_polygon"
      ]
    },
    "a": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "b": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "s": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "n": {
      "type": "integer",
      "minimum": 3
    },
    "r": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "R": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "theta": {
      "type": "number",
      "exclusiveMinimum": 0,
      "exclusiveMaximum": 180
    },
    "angle": {
      "type": "number",
      "exclusiveMinimum": 0,
      "exclusiveMaximum": 180
    },
    "h": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "vertices": {
      "type": "string"
    }
  },
  "description": "Rectangle, square, regular n-gon, annulus, parallelogram, isosceles trapezoid, and irregular polygon (shoelace). Discovery /rectangle, /regular-polygon, /parallelogram, /trapezoid, /irregular-polygon. Not the circle-only page, not a triangle solver, not solid geometry, not the fluid trapezoid, not /trapezoidal-rule, not CAS. (calculation_version 1.3.0) Provide at least 1 of: a, b, s, n, r, R, theta, h, vertices."
}
