{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CriteriaAccept",
  "title": "CriteriaAccept",
  "type": "object",
  "required": [
    "source",
    "acceptEnabled"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL0NSSVRFUklBL1oxNzI5NzA4NzUwMTY4MDI",
      "description": "Criteria ID."
    },
    "scheduleName": {
      "type": "string",
      "example": "Criteria-Accept-all",
      "description": "Name of the schedule to which the criteria is created."
    },
    "source": {
      "$ref": "#/components/schemas/SourceSelectiveAccept",
      "description": "Denotes if the criteria is set for `ALL_NUMBERS`, or `SELECT_PHONE_NUMBERS`."
    },
    "acceptEnabled": {
      "type": "boolean",
      "example": true,
      "description": "Boolean field to indicate whether selective call accept is enabled or not."
    }
  }
}