{
 "openapi": "3.1.0",
 "info": {
  "title": "Board Alerts (Talent & Contingent Workforce)",
  "version": "20261030b",
  "description": "A saved search that watches the boards for work this desk could fill. The other direction from an advertisement: not \"advertise my job\" but \"tell me when somebody advertises a job I could fill\"."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {
   "board-alerts": {
    "type": "object",
    "required": [
     "code",
     "name"
    ],
    "properties": {
     "id": {
      "type": "string",
      "format": "uuid",
      "description": "Id",
      "readOnly": true
     },
     "org_id": {
      "type": "string",
      "format": "uuid",
      "description": "Org id",
      "readOnly": true
     },
     "org_unit_id": {
      "type": "string",
      "format": "uuid",
      "description": "Org unit id",
      "readOnly": true
     },
     "code": {
      "type": "string",
      "description": "Code"
     },
     "name": {
      "type": "string",
      "description": "Name"
     },
     "name_local": {
      "type": "string",
      "description": "Local name"
     },
     "description": {
      "type": "string",
      "description": "What it watches for"
     },
     "owner_user_id": {
      "type": "string",
      "format": "uuid",
      "description": "Owner"
     },
     "board_codes": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Board codes"
     },
     "keywords": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Words to look for"
     },
     "exclude_keywords": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Words to ignore"
     },
     "skills": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Skills"
     },
     "locations": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Places"
     },
     "countries": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Countries"
     },
     "remote_only": {
      "type": "boolean",
      "description": "Remote only"
     },
     "employment_types": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Employment types"
     },
     "min_rate": {
      "type": "string",
      "format": "decimal",
      "description": "Rate from"
     },
     "max_rate": {
      "type": "string",
      "format": "decimal",
      "description": "Rate to"
     },
     "rate_unit": {
      "type": "string",
      "description": "Rate unit"
     },
     "currency": {
      "type": "string",
      "description": "Currency"
     },
     "posted_within_hours": {
      "type": "integer",
      "description": "Posted within (hours)"
     },
     "check_every_minutes": {
      "type": "integer",
      "description": "Look every (minutes)"
     },
     "min_match_score": {
      "type": "integer",
      "description": "Only notify above"
     },
     "notify_kind": {
      "type": "string",
      "description": "Tell me by",
      "enum": [
       "console",
       "email",
       "both",
       "none"
      ]
     },
     "notify_user_ids": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Notify user ids",
      "readOnly": true
     },
     "max_per_day": {
      "type": "integer",
      "description": "Most a day"
     },
     "status": {
      "type": "string",
      "description": "Status"
     },
     "last_run_at": {
      "type": "string",
      "format": "date-time",
      "description": "Last run at",
      "readOnly": true
     },
     "next_due_at": {
      "type": "string",
      "format": "date-time",
      "description": "Next due at",
      "readOnly": true
     },
     "runs": {
      "type": "string",
      "format": "decimal",
      "description": "Runs",
      "readOnly": true
     },
     "hits": {
      "type": "string",
      "format": "decimal",
      "description": "Hits",
      "readOnly": true
     },
     "last_error": {
      "type": "string",
      "description": "Last error",
      "readOnly": true
     },
     "is_active": {
      "type": "boolean",
      "description": "Active"
     },
     "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Created at",
      "readOnly": true
     },
     "created_by": {
      "type": "string",
      "format": "uuid",
      "description": "Created by",
      "readOnly": true
     },
     "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Updated at",
      "readOnly": true
     },
     "updated_by": {
      "type": "string",
      "format": "uuid",
      "description": "Updated by",
      "readOnly": true
     },
     "xf_text_1": {
      "type": "string",
      "description": "Xf text 1",
      "readOnly": true
     },
     "xf_text_2": {
      "type": "string",
      "description": "Xf text 2",
      "readOnly": true
     },
     "xf_text_3": {
      "type": "string",
      "description": "Xf text 3",
      "readOnly": true
     },
     "xf_text_4": {
      "type": "string",
      "description": "Xf text 4",
      "readOnly": true
     },
     "xf_text_5": {
      "type": "string",
      "description": "Xf text 5",
      "readOnly": true
     },
     "xf_num_1": {
      "type": "string",
      "format": "decimal",
      "description": "Xf num 1",
      "readOnly": true
     },
     "xf_num_2": {
      "type": "string",
      "format": "decimal",
      "description": "Xf num 2",
      "readOnly": true
     },
     "xf_num_3": {
      "type": "string",
      "format": "decimal",
      "description": "Xf num 3",
      "readOnly": true
     },
     "xf_date_1": {
      "type": "string",
      "format": "date",
      "description": "Xf date 1",
      "readOnly": true
     },
     "xf_date_2": {
      "type": "string",
      "format": "date",
      "description": "Xf date 2",
      "readOnly": true
     }
    }
   }
  }
 },
 "security": [
  {
   "bearer": []
  }
 ],
 "paths": {
  "/api/ats/board-alerts": {
   "get": {
    "summary": "list board-alerts",
    "operationId": "list_board_alerts_0_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "post": {
    "summary": "create board-alerts",
    "operationId": "create_board_alerts_1_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/ats/board-alerts/{id}": {
   "get": {
    "summary": "get board-alerts",
    "operationId": "get_board_alerts_0_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "put": {
    "summary": "change board-alerts",
    "operationId": "change_board_alerts_1_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   },
   "delete": {
    "summary": "delete board-alerts",
    "operationId": "delete_board_alerts_2_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/ats/board-alerts/{id}/copy": {
   "post": {
    "summary": "Copy",
    "operationId": "action_board_alerts_0_6",
    "description": "Body keys: overrides, preview, withLines",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  }
 }
}