{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/smartipedia-com/json-schema/smartipedia-com-section-edit-request-schema.json",
  "title": "SectionEditRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/smartipedia-com-openapi.json#/components/schemas/SectionEditRequest",
  "properties": {
    "section": {
      "type": "string",
      "title": "Section",
      "description": "Heading text of the section to edit (case-insensitive)"
    },
    "content": {
      "type": "string",
      "title": "Content",
      "description": "New Markdown content for this section"
    },
    "edit_summary": {
      "type": "string",
      "title": "Edit Summary",
      "default": ""
    },
    "editor": {
      "type": "string",
      "title": "Editor",
      "default": "agent"
    },
    "expected_revision": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Expected Revision"
    }
  },
  "type": "object",
  "required": [
    "section",
    "content"
  ]
}