-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Meta.json
108 lines (108 loc) · 2.73 KB
/
Meta.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "Meta.json",
"additionalProperties": false,
"definitions": {
"Ci": {
"additionalProperties": false,
"description": "CI environment",
"required": [
"name"
],
"properties": {
"name": {
"description": "Name of the CI product, e.g. \"Jenkins\", \"CircleCI\" etc.",
"type": "string"
},
"url": {
"description": "Link to the build",
"type": "string"
},
"buildNumber": {
"description": "The build number. Some CI servers use non-numeric build numbers, which is why this is a string",
"type": "string"
},
"git": {
"$ref": "#/definitions/Git"
}
},
"type": "object"
},
"Git": {
"additionalProperties": false,
"description": "Information about Git, provided by the Build/CI server as environment\n variables.",
"required": [
"remote",
"revision"
],
"properties": {
"remote": {
"type": "string"
},
"revision": {
"type": "string"
},
"branch": {
"type": "string"
},
"tag": {
"type": "string"
}
},
"type": "object"
},
"Product": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false,
"description": "Used to describe various properties of Meta",
"required": [
"name"
],
"properties": {
"name": {
"description": "The product name",
"type": "string"
},
"version": {
"description": "The product version",
"type": "string"
}
},
"type": "object"
}
},
"description": "*\n This message contains meta information about the environment. Consumers can use\n this for various purposes.",
"required": [
"protocolVersion",
"implementation",
"runtime",
"os",
"cpu"
],
"properties": {
"protocolVersion": {
"description": "*\n The [SEMVER](https://semver.org/) version number of the protocol",
"type": "string"
},
"implementation": {
"$ref": "#/definitions/Product",
"description": "SpecFlow, Cucumber-JVM, Cucumber.js, Cucumber-Ruby, Behat etc."
},
"runtime": {
"$ref": "#/definitions/Product",
"description": "Java, Ruby, Node.js etc"
},
"os": {
"$ref": "#/definitions/Product",
"description": "Windows, Linux, MacOS etc"
},
"cpu": {
"$ref": "#/definitions/Product",
"description": "386, arm, amd64 etc"
},
"ci": {
"$ref": "#/definitions/Ci"
}
},
"type": "object"
}