key: Recruiters
type: table
name: Recruiter
itemName: Recruiter
summary:
  title: "${id} - ${Recruiter} ${lastName}"
  subtitle: "${Recruiter}"
fields:
  identificationDocumentType:
    type: select
    label: Document Type
    required: false
    options:
      passport: Passport
      driversLicense: Driver's License
      other: Other
  identificationNumber:
    type: text
    label: Document Number
    required: true
  fullName:
    type: text
    label: Full Name
    required: true
    description: It is the first name of the candidate
form:
  rows:
  - _title: Personal Information
  - ["fullName"]
stages:
  new:
    name: New
    description: It is a new candidate, hasn't gone through any tests
  inProcess:
    name: In Process
    description: It has entered the process, but no outcome yet defined
  approved:
    name: Approved
    description: Candidate has been approved
    done: true
    successful: true
  rejected:
    name: Rejected
    description: Candidate has been rejected definitively
    done: true
    successful: false
  shortTermPool:
    name: Short Term Pool
    description: Candidate is not a fit now, but probably in the near future
    parked: true
  longTermPool:
    name: Long Term Pool
    description: Candidate is not a fit now, and doesn't seem to be a fit
      in the near future
    parked: true
initialStage: new
permissions:
  recruiter:
    create: true
    delete:
      own: true
      any: false
    view: true
    edit:
    - "*"
    - "!identificationDocumentType"
  interviewer:
    create: false
    delete:
      own: true
    view:
      own:
      - "*"
      - "!identificationDocumentType"
    edit:
      own:
      - identificationDocumentType
      - fullName
testData:
  '1':
    identificationDocumentType: cedula
    identificationNumber: 302493049
    fullName: Maria Martina Merida Mejias
  '2':
    identificationDocumentType: cedula
    identificationNumber: 292493049
    fullName: Jaime Vera
data:
    '1':
      identificationDocumentType: cedula
      identificationNumber: 302493049
      fullName: Maria Martina Merida Mejias
    '2':
      identificationDocumentType: cedula
      identificationNumber: 292493049
      fullName: Jaime Vera
