Skip to content

Enum values

Robin Boutros edited this page May 9, 2019 · 1 revision
# Registrations 
enum intending_to_team_up: {
  "No, I'm working alone" => 0,
  "I'm looking for teammates" => 1,
  "Yes, I have a team" => 2
}

enum progress_status: {
  registered: 0,
  draft: 5,
  submitted: 10
}

# Challenge Check In
enum response: {
  no: 0,
  yes: 1
}

# Education
enum degree: {
  "Associate" => 2,
  "Bachelor" => 4,
  "Master" => 6,
  "Doctorate" => 8
}

# Registrant survey
enum source: {
  "Devpost" => 10,
  "The organizer" => 20,
  "Friend" => 30,
  "My college" => 40,
  "Other" => 50
}

enum source_medium: {
  Newsletter: 10,
  Twitter: 20,
  Facebook: 30,
  Email: 40,
  Website: 50,
  "Devpost.com" => 60,
  "Club or class" => 70,
  "Other email" => 80
}

enum intending_to_submit: {
  Yes: 10,
  Maybe: 20,
  "No, I'd just like to follow this hackathon" => 30
}

# School
enum ranking: {
  "Top 1 - 20" => 1,
  "Top 21 - 50" => 2,
  "Top 51 - 100" => 3
}

# User
enum career_status: {
  "College student" => 2,
  "Employed professional" => 4,
  "Unemployed professional" => 6,
  "High school student" => 8,
  "Other" => 10,
  "Student" => 20,
  "Professional" => 30
}

# User suspension

enum source: {
  manual: 0,
  bad_ip: 1,
  project_rate_limit: 2,
  text_detection: 3,
  the_brandon_software: 4,
  the_brandon_forum_topic: 5,
  forum_topic_rate_limit: 6,
  comment_rate_limit: 7
}
Clone this wiki locally