{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/jaxon-ai/json-schema/jaxon-ai-add-converter-request-schema.json",
  "title": "AddConverterRequest",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agents-jaxon-ai-openapi.json#/components/schemas/AddConverterRequest",
  "properties": {
    "from_unit": {
      "type": "string",
      "title": "From Unit",
      "description": "The unit being converted FROM."
    },
    "to_unit": {
      "type": "string",
      "title": "To Unit",
      "description": "The unit being converted TO."
    },
    "factor": {
      "type": "number",
      "title": "Factor",
      "description": "to = from * factor + offset. Required, and never inferred: a rate is a policy decision, so it is supplied by a person."
    },
    "offset": {
      "type": "number",
      "title": "Offset",
      "description": "Affine offset; 0 for every scale but temperature.",
      "default": 0.0
    },
    "attribution": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Attribution",
      "description": "Where this figure came from. Recorded alongside the edit; deliberately not part of the library hash."
    }
  },
  "type": "object",
  "required": [
    "from_unit",
    "to_unit",
    "factor"
  ]
}