{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lots-business/json-schema/lots-business-put-api-v1-lotsbusiness-sites-siteid-content-request-schema.json",
  "title": "PutApiV1LotsbusinessSitesSiteidContentRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/lots-business-openapi-generated.yml#/components/schemas/PutApiV1LotsbusinessSitesSiteidContentRequest",
  "type": "object",
  "properties": {
    "content": {
      "type": "object",
      "description": "full site content as returned by get_site_content"
    },
    "edits": {
      "type": "array",
      "description": "list of edit operations"
    },
    "from_version": {
      "type": "string",
      "description": "restore from a published version"
    },
    "discard": {
      "type": "boolean",
      "description": "true to revert to live site"
    },
    "undo_edits": {
      "type": "boolean",
      "description": "true to undo all edits since last import or AI build"
    }
  },
  "required": [
    "content"
  ]
}