-
Notifications
You must be signed in to change notification settings - Fork 0
/
add_gig_schema.json
51 lines (51 loc) · 1.52 KB
/
add_gig_schema.json
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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Zoot API - Add Gig Schema",
"description": "Adding gig information",
"type": "object",
"properties": {
"venue":{
"description": "The venue name",
"type": "string"
},
"title":{
"description": "Title of the gig",
"type": "string"
},
"music_starts":{
"description": "Time the playing is expected to commence",
"type": "string",
"format": "time"
},
"doors_open":{
"description": "Time the venue doors are expected to open",
"type": "string",
"format": "time"
},
"performance_date":{
"description": "Date of the gig",
"type": "string",
"format": "date"
},
"price":{
"description": "Price of the show",
"type": "number",
"minimum": 0
},
"description":{
"description": "Description of the gig from the list",
"type": "string"
},
"url":{
"description": "URL to the gig listing",
"type": "string",
"format": "uri"
},
"image_url":{
"description": "URL to the gig cover image",
"type": "string",
"format": "uri"
}
},
"required": ["venue", "title", "music_starts", "doors_open", "performance_date", "price", "description", "url", "image_url"]
}