# id: It represents the id of the process
# string, required
# allows letters, numbers and underscores only (should start with a letter)
key: processExample1

# type: Should be "process" for processes
# required, string
type: process

startsFromExistingData: true

# name: Describes the name of the process
# string, required
name: Start Recruitment

# icon: font-awesome icon
# string, optional
icon: person

# mainTable: Describes the table that will affect this process
# string, required
mainTable: Recruiters

summary:
  title: Process

# permissions: Defines the permissions for this process. Probably it should be moved to its own schema.
# object, optional
permissions:
  fakeProcessRole:
    start: true # can start a process
    pause:
      own: true # can pause only own cases
    archive: false # cannot archive any case

  recruiter:
    start: true # can start cases
    pause: true # can pause any case

# Defines the forms used by this process
# object, optional
forms:

  # The form has an id, which should follow the identification pattern
  fillOutInvitationInformation:

    # name: Determines the name of the form, string, optional. It should follow the guidelines of a name.
    # string, required
    name: Start application

    # rows: Determines the rows to be displayed in the form
    # each element can be an string, an array or an object (use the form schema to validate)
    rows: []

  fillOutScores:
    name: Fill out scores
    rows: []

  manualApproval1:
    name: Manual Approval 1
    rows: []
