/
source.json
49 lines (49 loc) · 1003 Bytes
/
source.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
{
"id": "https://raw.github.com/cucumber/cucumber/master/event-protocol/schemas/source.json#",
"title": "source",
"description": "Describes a specification document that contains executable examples",
"type": "object",
"properties": {
"type": {
"type": "string"
},
"timestamp": { "$ref": "defs.json#/timestamp" },
"series": { "$ref": "defs.json#/series" },
"uri": {
"type": "string"
},
"data": {
"type": "string"
},
"media": {
"type": "object",
"properties": {
"encoding": {
"enum": [
"utf-8",
"base64"
]
},
"type": {
"enum": [
"text/vnd.cucumber.gherkin+plain"
]
}
},
"required": [
"encoding",
"type"
],
"additionalProperties": false
}
},
"required": [
"type",
"timestamp",
"series",
"uri",
"data",
"media"
],
"additionalProperties": false
}