{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/webex/json-schema/webex-desktop-layout-dto-schema.json",
  "title": "DesktopLayoutDTO",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-desktop-layout-api-openapi.yml#/components/schemas/DesktopLayoutDTO",
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the contact center organization. This field is required for all bulk save operations.",
      "maxLength": 36,
      "minLength": 32,
      "pattern": "^[0-9a-fA-F]{8}-?[0-9a-fA-F]{4}-?[0-9a-fA-F]{4}-?[0-9a-fA-F]{4}-?[0-9a-fA-F]{12}$"
    },
    "id": {
      "type": "string",
      "description": "ID of this contact center resource. It should not be specified when creating a new resource. However, it is mandatory when updating a resource."
    },
    "version": {
      "type": "integer",
      "format": "int32",
      "description": "The version of this resource. For a newly created resource, it will be 0 unless specified otherwise."
    },
    "name": {
      "type": "string",
      "description": "A name for the Desktop Layout.",
      "maxLength": 255,
      "minLength": 0
    },
    "description": {
      "type": "string",
      "description": "A short description indicating the context of the Desktop Layout.",
      "maxLength": 255,
      "minLength": 0
    },
    "editedBy": {
      "type": "string",
      "description": "Indicates who modified the Desktop Layout.",
      "maxLength": 255,
      "minLength": 0
    },
    "jsonFileName": {
      "type": "string",
      "description": "Enter the name of the file.",
      "maxLength": 255,
      "minLength": 0
    },
    "jsonFileContent": {
      "type": "string",
      "description": "Enter the Desktop Layout json.",
      "minLength": 1
    },
    "global": {
      "type": "boolean",
      "description": "Indicates if the Desktop Layout is a global layout or a custom layout."
    },
    "status": {
      "type": "boolean",
      "description": "Indicates if the Desktop Layout is in active state or inactive."
    },
    "defaultJsonModified": {
      "type": "boolean",
      "description": "Indicates if the default Desktop Layout is modified."
    },
    "validated": {
      "type": "boolean",
      "description": "Indicates if the Desktop Layout is validated."
    },
    "validatedTime": {
      "type": "integer",
      "format": "int64",
      "description": "Validated time(in epoch milliseconds) of this resource."
    },
    "defaultJsonModifiedTime": {
      "type": "integer",
      "format": "int64",
      "description": "Default Json Modified time(in epoch milliseconds) of this resource."
    },
    "modifiedTime": {
      "type": "integer",
      "format": "int64",
      "description": "Modified time(in epoch milliseconds) of this resource."
    },
    "teamIds": {
      "type": "array",
      "description": "Specify the teams id to assign to this Desktop Layout.",
      "items": {
        "type": "string",
        "description": "Specify the teams id to assign to this Desktop Layout."
      },
      "uniqueItems": true
    },
    "systemDefault": {
      "type": "boolean",
      "description": "Indicates whether the created resource is system created or not"
    },
    "createdTime": {
      "type": "integer",
      "format": "int64",
      "description": "This is the created time of the entity."
    },
    "lastUpdatedTime": {
      "type": "integer",
      "format": "int64",
      "description": "This is the updated time of the entity."
    }
  },
  "required": [
    "defaultJsonModified",
    "editedBy",
    "global",
    "jsonFileContent",
    "jsonFileName",
    "name",
    "status",
    "validated"
  ]
}