-
Notifications
You must be signed in to change notification settings - Fork 0
/
events-mqtt-message.yaml
93 lines (87 loc) · 1.77 KB
/
events-mqtt-message.yaml
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
# DNS TAPIR Event schema version 1
$schema: http://json-schema.org/schema#
type: object
additionalProperties: True
required:
- version
- timestamp
- type
properties:
version:
type: integer
minimum: 0
timestamp:
type: string
format: date-time
anyOf:
- $ref: '#/$defs/new_qname'
- $ref: '#/$defs/new_aggregate'
$defs:
new_qname:
description: New QNAME seen
type: object
required:
- type
- qname
properties:
type:
type: string
const: "new_qname"
initiator:
type: string
enum:
- client
- resolver
qname:
description: Query Name
$ref: '#/$defs/domain_name'
qtype:
description: Query Type
type: integer
minimum: 0
qclass:
description: Query Class
type: integer
minimum: 0
flags:
description: Flag Field (QR/Opcode/AA/TC/RD/TA/Z/RCODE)
type: integer
rdlength:
type: integer
minimum: 0
new_aggregate:
description: New aggregate created
type: object
required:
- type
- metadata_location
- content_payload_location
properties:
type:
type: string
const: "new_aggregate"
creator:
type: string
metadata_location:
type: string
format: uri
content_location:
type: string
format: uri
aggregate_id:
type: string
aggregate_type:
type: string
aggregate_interval_start:
type: string
format: date-time
aggregate_interval_duration:
type: integer
format: int64
minimum: 0
s3_bucket:
type: string
s3_object_key:
type: string
domain_name:
type: string