{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/docupanda/json-schema/docupanda-edit-class-request-schema.json",
  "title": "EditClassRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/docupanda-classification-api-openapi.yml#/components/schemas/EditClassRequest",
  "properties": {
    "classId": {
      "type": "string",
      "title": "Class ID",
      "description": "Unique identifier of the class to edit."
    },
    "className": {
      "type": "string",
      "title": "Class Name",
      "description": "New name to assign to the class. Omit or send null to leave unchanged. Cannot be empty."
    },
    "description": {
      "type": "string",
      "title": "Description",
      "description": "New description to assign to the class. Omit or send null to leave unchanged. Send an empty string to clear. Used by the classifier when deciding which class fits a document."
    }
  },
  "type": "object",
  "required": [
    "classId"
  ]
}