File tree Expand file tree Collapse file tree 3 files changed +337
-2
lines changed
examples/events/EiffelArtifactCreatedEvent Expand file tree Collapse file tree 3 files changed +337
-2
lines changed Original file line number Diff line number Diff line change 55 "time" : 1234567890 ,
66 "id" : " aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee0" ,
77 "source" : {
8- "domainId" : " example.domain"
9- }
8+ "domainId" : " example.domain" ,
9+ "serializer" : {
10+ "groupId" : " com.mycompany.tools" ,
11+ "artifactId" : " eiffel-serializer" ,
12+ "version" : " 1.0.3"
13+ }
14+ },
15+ "id" : " aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeee0" ,
16+ "tags" : [
17+ " fast-track" ,
18+ " customer-a"
19+ ]
1020 },
1121 "data" : {
1222 "gav" : {
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
3+ "type" : " object" ,
4+ "properties" : {
5+ "meta" : {
6+ "type" : " object" ,
7+ "properties" : {
8+ "id" : {
9+ "type" : " string"
10+ },
11+ "type" : {
12+ "type" : " string"
13+ },
14+ "version" : {
15+ "type" : " string"
16+ },
17+ "time" : {
18+ "type" : " integer"
19+ },
20+ "tags" : {
21+ "type" : " array" ,
22+ "items" : {
23+ "type" : " string"
24+ }
25+ },
26+ "source" : {
27+ "type" : " object" ,
28+ "properties" : {
29+ "domainId" : {
30+ "type" : " string"
31+ },
32+ "host" : {
33+ "type" : " string"
34+ },
35+ "name" : {
36+ "type" : " string"
37+ },
38+ "serializer" : {
39+ "type" : " object" ,
40+ "properties" : {
41+ "groupId" : {
42+ "type" : " string"
43+ },
44+ "artifactId" : {
45+ "type" : " string"
46+ },
47+ "version" : {
48+ "type" : " string"
49+ }
50+ },
51+ "required" : [
52+ " groupId" ,
53+ " artifactId" ,
54+ " version"
55+ ],
56+ "additionalProperties" : false
57+ },
58+ "uri" : {
59+ "type" : " string"
60+ }
61+ },
62+ "required" : [
63+ " domainId"
64+ ],
65+ "additionalProperties" : false
66+ }
67+ },
68+ "required" : [
69+ " id" ,
70+ " type" ,
71+ " version" ,
72+ " time" ,
73+ " source"
74+ ],
75+ "additionalProperties" : false
76+ },
77+ "data" : {
78+ "type" : " object" ,
79+ "properties" : {
80+ "gav" : {
81+ "type" : " object" ,
82+ "properties" : {
83+ "groupId" : {
84+ "type" : " string"
85+ },
86+ "artifactId" : {
87+ "type" : " string"
88+ },
89+ "version" : {
90+ "type" : " string"
91+ }
92+ },
93+ "required" : [
94+ " groupId" ,
95+ " artifactId" ,
96+ " version"
97+ ],
98+ "additionalProperties" : false
99+ },
100+ "fileInformation" : {
101+ "type" : " array" ,
102+ "items" : {
103+ "type" : " object" ,
104+ "properties" : {
105+ "classifier" : {
106+ "type" : " string"
107+ },
108+ "extension" : {
109+ "type" : " string"
110+ }
111+ },
112+ "required" : [
113+ " classifier" ,
114+ " extension"
115+ ],
116+ "additionalProperties" : false
117+ }
118+ },
119+ "buildCommand" : {
120+ "type" : " string"
121+ },
122+ "customData" : {
123+ "type" : " array" ,
124+ "items" : {
125+ "type" : " object" ,
126+ "properties" : {
127+ "key" : {
128+ "type" : " string"
129+ },
130+ "value" : {
131+ }
132+ },
133+ "required" : [
134+ " key" ,
135+ " value"
136+ ],
137+ "additionalProperties" : false
138+ }
139+ }
140+ },
141+ "required" : [
142+ " gav"
143+ ],
144+ "additionalProperties" : false
145+ },
146+ "links" : {
147+ "type" : " array" ,
148+ "items" : {
149+ "type" : " object" ,
150+ "properties" : {
151+ "type" : {
152+ "type" : " string"
153+ },
154+ "target" : {
155+ "type" : " string"
156+ }
157+ },
158+ "required" : [
159+ " type" ,
160+ " target"
161+ ],
162+ "additionalProperties" : false
163+ }
164+ }
165+ },
166+ "required" : [
167+ " meta" ,
168+ " data" ,
169+ " links"
170+ ]
171+ }
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
3+ "type" : " object" ,
4+ "properties" : {
5+ "meta" : {
6+ "type" : " object" ,
7+ "properties" : {
8+ "id" : {
9+ "type" : " string"
10+ },
11+ "type" : {
12+ "type" : " string"
13+ },
14+ "version" : {
15+ "type" : " string"
16+ },
17+ "time" : {
18+ "type" : " integer"
19+ },
20+ "tags" : {
21+ "type" : " array" ,
22+ "items" : {
23+ "type" : " string"
24+ }
25+ },
26+ "source" : {
27+ "type" : " object" ,
28+ "properties" : {
29+ "domainId" : {
30+ "type" : " string"
31+ },
32+ "host" : {
33+ "type" : " string"
34+ },
35+ "name" : {
36+ "type" : " string"
37+ },
38+ "serializer" : {
39+ "type" : " object" ,
40+ "properties" : {
41+ "groupId" : {
42+ "type" : " string"
43+ },
44+ "artifactId" : {
45+ "type" : " string"
46+ },
47+ "version" : {
48+ "type" : " string"
49+ }
50+ },
51+ "required" : [
52+ " groupId" ,
53+ " artifactId" ,
54+ " version"
55+ ],
56+ "additionalProperties" : false
57+ },
58+ "uri" : {
59+ "type" : " string"
60+ }
61+ },
62+ "required" : [
63+ " domainId"
64+ ],
65+ "additionalProperties" : false
66+ }
67+ },
68+ "required" : [
69+ " id" ,
70+ " type" ,
71+ " version" ,
72+ " time" ,
73+ " source"
74+ ],
75+ "additionalProperties" : false
76+ },
77+ "data" : {
78+ "type" : " object" ,
79+ "properties" : {
80+ "locations" : {
81+ "type" : " array" ,
82+ "items" : {
83+ "type" : " object" ,
84+ "properties" : {
85+ "type" : {
86+ "type" : " string" ,
87+ "enum" : [
88+ " ARTIFACTORY" ,
89+ " NEXUS" ,
90+ " PLAIN" ,
91+ " OTHER"
92+ ]
93+ },
94+ "uri" : {
95+ "type" : " string"
96+ }
97+ },
98+ "required" : [
99+ " type" ,
100+ " uri"
101+ ],
102+ "additionalProperties" : false
103+ }
104+ },
105+ "customData" : {
106+ "type" : " array" ,
107+ "items" : {
108+ "type" : " object" ,
109+ "properties" : {
110+ "key" : {
111+ "type" : " string"
112+ },
113+ "value" : {
114+ }
115+ },
116+ "required" : [
117+ " key" ,
118+ " value"
119+ ],
120+ "additionalProperties" : false
121+ }
122+ }
123+ },
124+ "required" : [
125+ " locations"
126+ ],
127+ "additionalProperties" : false
128+ },
129+ "links" : {
130+ "type" : " array" ,
131+ "items" : {
132+ "type" : " object" ,
133+ "properties" : {
134+ "type" : {
135+ "type" : " string"
136+ },
137+ "target" : {
138+ "type" : " string"
139+ }
140+ },
141+ "required" : [
142+ " type" ,
143+ " target"
144+ ],
145+ "additionalProperties" : false
146+ }
147+ }
148+ },
149+ "required" : [
150+ " meta" ,
151+ " data" ,
152+ " links"
153+ ]
154+ }
You can’t perform that action at this time.
0 commit comments