Position

{
  "_id": String,
  "type": {
    "id": String,
    "name": String
  },
  "state": "draft | closed | published | archived | pending",
  "name": String,
  "friendly_id": String,
  "experience": {
    "id": String,
    "name": String
  },
  "location": {
    "country": {
      "name": String,
      "id": String
    },
    "state": {
      "id": String,
      "name": String
    },
    "city": String,                    
    "name": String,
    "is_remote": Boolean
  },
  "education": String,
  "department": String,
  "requisition_id": String,
  "description": String,
  "category": {
    "id": String,
    "name": String
  },
  "application_form": {
    "name": "required | optional | disabled",
    "headline": "required | optional | disabled",
    "summary": "required | optional | disabled",
    "profile_photo": "required | optional | disabled",
    "address": "required | optional | disabled",
    "email_address": "required | optional | disabled",
    "phone_number": "required | optional | disabled",
    "resume": "required | optional | disabled",
    "work_history": "required | optional | disabled",
    "education": "required | optional | disabled",
    "cover_letter": "required | optional | disabled"
  },
  "creator_id": User._id,
  "creation_date": Date,
  "updated_date": Date,
  "questionnaire_id": Questionnaire._id,
  "scorecard_id": Scorecard._id,
  "all_users": [ // all team member user ids
    User._id,
  	...
  ],
  "all_admins": [ // all hiring manager user ids
    User._id,
  	...
  ],
  "pipeline_id": Pipeline._id,
  "candidate_type": "all | none | unlisted | internal",
  "org_type": "position | pool",
	"custom_attributes": [
    {
      "name": String,
      "id": String,
      "secure": Boolean,
      "value": String
    },
    ...
  ],
  "tags": [ String ],
  "pending_approval": {
  	"status": String,
    "type": String,
    "note": String,
    "attachments": [],
    "approvers": [ User ],
    "approved_count": Integer,
    "total_approver_count": Integer    
  }
}