forked from OpenWorksGroup/Open-BadgeBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbadge-participate-community.js
More file actions
59 lines (57 loc) · 2.37 KB
/
badge-participate-community.js
File metadata and controls
59 lines (57 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
module.exports = {
badge_name: "Find Your Community", //temp name
type: "accretion",
svg_file: "testbadge-svg.svg",
hashtag_id: "#testbadge",
description: "Earn an Open Badge at the 2018 BadgeSummit & ISTE Conference",
//expires_date: //maybe use this to turn it off?
criteria_description: "This is a longer description that gets displayed with the criteria",
criteria:[
{
hashtag_id: "#photo",
description: "Post a photo with someone you follow on social media who you met at this event.",
evidence_required: "describe image types allowed through twitter",
logic: "code regex for image type",
not_met_message: "I don't see a photo here. Try again!",
success_message: "Great shot!",
svg: ""
},
{
hashtag_id:"#resource",
description: "Share a link to your favorite tool or resource that you’ve learned about at this event",
evidence_required: "valid url",
logic: "code regex for url; ping url",
not_met_message: "I can't get to that resource. Try again!",
success_message: "Thanks for sharing!",
svg: ""
},
{
hashtag_id:"#learned",
description: "Choose a gif that encapsulates something you've learned at this event.",
evidence_required: "gif or other imagetype?", //need to test what this arrives as via twitter
logic: "code regex for ....",
not_met_message: "I don't see a gif.",
success_message: "Rad. Thanks for sharing!",
svg: ""
},
{
hashtag_id:"#oh",
description: "Tweet something you heard or read at this event that changed your thinking. If you know it, include the twitter account of who said it.",
evidence_required: "text", //need to test what this arrives as via twitter
logic: "text", //
not_met_message: "What'd you hear? Try again!",
success_message: "Rad. Thanks for sharing!",
svg: ""
}
],
faqs: [
{
question: "When will this badge be available?",
answer: "During Badge Summit & ISTE 2018"
},
{
question: "Another questionestion?",
answer: "Another Answer!"
},
]
}