{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-update-view-content-request-schema.json",
  "title": "UpdateViewContentRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-views-api-openapi.yml#/components/schemas/UpdateViewContentRequest",
  "type": "object",
  "properties": {
    "InstanceId": {
      "type": "string",
      "description": "The identifier of the Connect Customer instance. You can find the instanceId in the ARN of the instance."
    },
    "ViewId": {
      "type": "string",
      "description": "The identifier of the view. Both ViewArn and ViewId can be used."
    },
    "Status": {
      "type": "string",
      "enum": [
        "PUBLISHED",
        "SAVED"
      ],
      "description": "Indicates the view status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content."
    },
    "Content": {
      "$ref": "#/$defs/ViewInputContent"
    }
  },
  "required": [
    "InstanceId",
    "ViewId",
    "Status",
    "Content"
  ],
  "$defs": {
    "ViewInputContent": {
      "type": "object",
      "properties": {
        "Template": {
          "type": "string",
          "description": "The view template representing the structure of the view."
        },
        "Actions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of possible actions from the view."
        }
      }
    }
  }
}