-
-
Notifications
You must be signed in to change notification settings - Fork 684
Expand file tree
/
Copy pathattachment.json
More file actions
54 lines (54 loc) · 1.05 KB
/
attachment.json
File metadata and controls
54 lines (54 loc) · 1.05 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
{
"id": "https://raw.github.com/cucumber/cucumber/master/event-protocol/schemas/attachment.json#",
"title": "attachment",
"description": "Event describing a specification document, containing executable examples",
"type": "object",
"properties": {
"type": {
"type": "string"
},
"source": {
"type": "object",
"properties": {
"uri": {
"type": "string"
},
"start": { "$ref": "defs.json#/ast-location" }
},
"required": [
"uri",
"start"
],
"additionalProperties": false
},
"data": {
"type": "string"
},
"media": {
"type": "object",
"properties": {
"encoding": {
"enum": [
"utf-8",
"base64"
]
},
"type": {
"type": "string"
}
},
"required": [
"encoding",
"type"
],
"additionalProperties": false
}
},
"required": [
"type",
"source",
"data",
"media"
],
"additionalProperties": false
}