{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://www.calculatorx.com/schemas/math.geometry.conic.input.json",
  "title": "Conic section — input",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "mode": {
      "type": "string",
      "enum": [
        "ellipse",
        "parabola",
        "hyperbola"
      ]
    },
    "a": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "b": {
      "type": "number",
      "exclusiveMinimum": 0
    },
    "p": {
      "type": "number"
    },
    "orientation": {
      "type": "string",
      "enum": [
        "vertical",
        "horizontal"
      ]
    }
  },
  "description": "Axis-aligned ellipse, parabola, and hyperbola. Discovery /ellipse, /parabola, /hyperbola. Not the circle-only page, not coordinate geometry, not CAS. (calculation_version 1.0.0) Provide at least 1 of: a, b, p."
}
