key: Recruiters
type: table
name: Recruiter
itemName: Recruiter
summary:
  title: "{{identificationDocumentType}} - Test {{identificationNumber}}"
  subtitle: "{{city}}"
fields:
  firstName:
    type: text
    label: First Name
  lastName:
    type: text
    label: Last Name
  email:
    type: email
    label: Email
  address:
    type: address
    label: Address
  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
  salary:
    type: money
    label: Salary
    required: false
  education:
    type: text
    label: Document Number
    required: false
  signature:
    type: signature
    label: Signature
    required: false
    readOnly: false
  upload:
    type: file
    label: Upload
    required: false
    readOnly: false
form:
  rows:
  - _title: Personal Information
  - ["firstName", "salary", "education"]
  - email:
      label: new Email
  - salary
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:
  fakeRole:
    create: true
    delete:
      own: true
      any: false
    view: true
    edit:
    - "*"
    - "!address"
  interviewer:
    create: false
    delete:
      own: true
    view:
      own:
      - "*"
      - "!salary"
    edit:
      own:
      - firstName
      - lastName
      - email
testData:
  '1':
    identificationDocumentType: cedula
    identificationNumber: 302493049
    fullName: Maria Martina Merida Mejias
    salary: 300
    education: Superior
  '2':
    identificationDocumentType: cedula
    identificationNumber: 292493049
    fullName: Jaime Vera
    salary: 310
    education: Superior
data:
    '1':
      identificationDocumentType: cedula
      identificationNumber: 302493049
      fullName: Maria Martina Merida Mejias
      salary: 300
      education: Superior
    '2':
      identificationDocumentType: cedula
      identificationNumber: 292493049
      fullName: Jaime Vera
      salary: 310
      education: Superior
