{
 "openapi": "3.1.0",
 "info": {
  "title": "Board Applications (Talent & Contingent Workforce)",
  "version": "20261030b",
  "description": "What came back. Deliberately not a candidate: an application is what arrived, and a candidate is what somebody decided to keep. Most applications never become candidates."
 },
 "servers": [
  {
   "url": "https://{tenant}.tranxact.ai",
   "variables": {
    "tenant": {
     "default": "demo"
    }
   }
  }
 ],
 "components": {
  "securitySchemes": {
   "bearer": {
    "type": "http",
    "scheme": "bearer"
   }
  },
  "schemas": {
   "board-applications": {
    "type": "object",
    "required": [],
    "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
     },
     "posting_id": {
      "type": "string",
      "format": "uuid",
      "description": "Posting it answers"
     },
     "job_order_id": {
      "type": "string",
      "format": "uuid",
      "description": "Job order"
     },
     "board_code": {
      "type": "string",
      "description": "Board"
     },
     "external_id": {
      "type": "string",
      "description": "The board’s own reference"
     },
     "first_name": {
      "type": "string",
      "description": "First name"
     },
     "last_name": {
      "type": "string",
      "description": "Last name"
     },
     "email": {
      "type": "string",
      "description": "Email"
     },
     "phone": {
      "type": "string",
      "description": "Phone"
     },
     "location_text": {
      "type": "string",
      "description": "Where they are"
     },
     "headline": {
      "type": "string",
      "description": "Headline"
     },
     "cover_letter": {
      "type": "string",
      "description": "Cover letter"
     },
     "resume_url": {
      "type": "string",
      "description": "Résumé link"
     },
     "resume_text": {
      "type": "string",
      "description": "Resume text"
     },
     "document_id": {
      "type": "string",
      "format": "uuid",
      "description": "Document id",
      "readOnly": true
     },
     "profile_url": {
      "type": "string",
      "description": "Profile link"
     },
     "answers": {
      "type": "object",
      "description": "Answers"
     },
     "screen_score": {
      "type": "string",
      "format": "decimal",
      "description": "Screen score",
      "readOnly": true
     },
     "screen_summary": {
      "type": "string",
      "description": "Screen summary",
      "readOnly": true
     },
     "screen_summary_local": {
      "type": "string",
      "description": "Screen summary local",
      "readOnly": true
     },
     "screen_concerns": {
      "type": "array",
      "items": {
       "type": "string"
      },
      "description": "Screen concerns",
      "readOnly": true
     },
     "screened_at": {
      "type": "string",
      "format": "date-time",
      "description": "Screened at",
      "readOnly": true
     },
     "status": {
      "type": "string",
      "description": "Status"
     },
     "candidate_id": {
      "type": "string",
      "format": "uuid",
      "description": "Candidate id",
      "readOnly": true
     },
     "submission_id": {
      "type": "string",
      "format": "uuid",
      "description": "Submission id",
      "readOnly": true
     },
     "rejected_reason": {
      "type": "string",
      "description": "Rejected because"
     },
     "reviewed_by": {
      "type": "string",
      "format": "uuid",
      "description": "Reviewed by",
      "readOnly": true
     },
     "reviewed_at": {
      "type": "string",
      "format": "date-time",
      "description": "Reviewed at",
      "readOnly": true
     },
     "applied_at": {
      "type": "string",
      "format": "date-time",
      "description": "Applied"
     },
     "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
     },
     "resume_parsed": {
      "type": "object",
      "description": "Resume parsed",
      "readOnly": true
     },
     "screen_detail": {
      "type": "object",
      "description": "Screen detail",
      "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-applications": {
   "get": {
    "summary": "list board-applications",
    "operationId": "list_board_applications_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-applications",
    "operationId": "create_board_applications_1_4",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/ats/board-applications/{id}": {
   "get": {
    "summary": "get board-applications",
    "operationId": "get_board_applications_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-applications",
    "operationId": "change_board_applications_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-applications",
    "operationId": "delete_board_applications_2_5",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/ats/board-applications/{id}/resume": {
   "post": {
    "summary": "Resume",
    "operationId": "action_board_applications_0_6",
    "description": "Body keys: file",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/ats/board-applications/{id}/score-resume": {
   "post": {
    "summary": "Score resume",
    "operationId": "action_board_applications_0_6",
    "responses": {
     "200": {
      "description": "OK"
     },
     "401": {
      "description": "No or bad credential"
     },
     "403": {
      "description": "Not granted"
     },
     "422": {
      "description": "Refused by validation"
     }
    }
   }
  },
  "/api/ats/board-applications/{id}/copy": {
   "post": {
    "summary": "Copy",
    "operationId": "action_board_applications_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"
     }
    }
   }
  }
 }
}