{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Criteria",
  "title": "Criteria",
  "type": "object",
  "required": [
    "source",
    "rejectEnabled"
  ],
  "properties": {
    "id": {
      "type": "string",
      "example": "Y2lzY29zcGFyazovL3VzL0NSSVRFUklBL1oxNzI5NzA4NzUwMTY4MDI",
      "description": "Criteria ID."
    },
    "scheduleName": {
      "type": "string",
      "example": "CFS-Criteria-F-2",
      "description": "Name of the schedule to which the criteria is created."
    },
    "source": {
      "$ref": "#/components/schemas/Source",
      "description": "Indicates the sources for which selective call rejection is applied."
    },
    "rejectEnabled": {
      "type": "boolean",
      "example": true,
      "description": "Boolean field to indicate whether selective reject is enabled or not"
    }
  }
}