{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/webex/json-schema/webex-dial-plan-dto-schema.json",
  "title": "DialPlanDTO",
  "description": "Dial Plan schema.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-dial-plan-api-openapi.yml#/components/schemas/DialPlanDTO",
  "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": "Enter the name for the dial plan.",
      "maxLength": 80,
      "minLength": 0,
      "pattern": "^[a-zA-Z0-9,_\\-\\s]*$"
    },
    "description": {
      "type": "string",
      "description": "A short description of the dial plan.",
      "maxLength": 255,
      "minLength": 0
    },
    "regularExpression": {
      "type": "string",
      "description": "A regular expression specifies the format of the phone number and the characters that you can use while dialing a number.",
      "maxLength": 255,
      "minLength": 0
    },
    "prefix": {
      "type": "string",
      "description": "(Optional) Enter a prefix that the system automatically adds to the phone number that the agent enters. For example, digit 1 for long-distance calls within the United States.",
      "maxLength": 50,
      "minLength": 0
    },
    "strippedChars": {
      "type": "string",
      "description": "Enter the characters that system removes from the phone number that the agent dials.For example, left and right parentheses, space, and hyphen.",
      "maxLength": 128,
      "minLength": 0
    },
    "active": {
      "type": "boolean",
      "description": "Specify whether the dial plan is active or not"
    },
    "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": [
    "active",
    "name",
    "regularExpression"
  ]
}