-
Notifications
You must be signed in to change notification settings - Fork 1
/
fight.avsc
54 lines (54 loc) · 941 Bytes
/
fight.avsc
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
{
"namespace": "io.quarkus.sample.superheroes.fight.schema",
"doc": "Fight entity",
"type": "record",
"name": "Fight",
"fields": [
{
"name": "id",
"type": ["null", "string"],
"default": null
},
{
"name": "fightDate",
"type": {
"type": "long",
"logicalType": "timestamp-micros"
}
},
{
"name": "winnerName",
"type": "string"
},
{
"name": "winnerLevel",
"type": "int"
},
{
"name": "winnerPicture",
"type": ["null", "string"],
"default": null
},
{
"name": "loserName",
"type": "string"
},
{
"name": "loserLevel",
"type": "int"
},
{
"name": "loserPicture",
"type": ["null", "string"],
"default": null
},
{
"name": "winnerTeam",
"type": "string"
},
{
"name": "loserTeam",
"type": "string"
}
]
}