{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DialPlanPost",
  "title": "DialPlanPost",
  "type": "object",
  "required": [
    "name",
    "routeId",
    "routeType"
  ],
  "properties": {
    "name": {
      "type": "string",
      "example": "dialPlanName",
      "description": "A unique name for the dial plan."
    },
    "routeId": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL1JPVVRFX0dST1VQLzA1OWEyNzNlLWJiYjAtMTFlYy04NDIyLTAyNDJhYzEyMDAwMg",
      "description": "ID of route type associated with the dial plan."
    },
    "routeType": {
      "$ref": "#/components/schemas/RouteType",
      "description": "Route Type associated with the dial plan."
    },
    "dialPatterns": {
      "type": "array",
      "items": {
        "type": "string",
        "example": "+5555,+5556"
      },
      "description": "An Array of dial patterns."
    }
  }
}