{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OutgoingCallingPlanPermissionsByDigitPattern",
  "title": "OutgoingCallingPlanPermissionsByDigitPattern",
  "type": "object",
  "required": [
    "name",
    "transferNumber",
    "pattern",
    "number"
  ],
  "properties": {
    "configurationLevel": {
      "$ref": "#/components/schemas/ConfigurationLevelType",
      "description": "The level from which the configuration is applied."
    },
    "name": {
      "type": "string",
      "example": "DPattern",
      "description": "Name given to a digit pattern."
    },
    "permission": {
      "$ref": "#/components/schemas/CallingPermissionAction",
      "description": "Action to be performed on the input number that matches with the digit pattern."
    },
    "transferNumber": {
      "type": "string",
      "example": "+14157279300"
    },
    "pattern": {
      "type": "string",
      "example": "+91!",
      "description": "Pattern for the digit pattern."
    },
    "reason": {
      "$ref": "#/components/schemas/CallingPlanReason",
      "description": "The reason for the result reported for a non-standard OCP service."
    },
    "number": {
      "type": "string",
      "example": "+14157279300",
      "description": "A transfer number is present in case of a transfer to another number."
    }
  }
}