Repository navigation
Expand file tree
/
Copy pathsinch-inbound-message-list-schema.json
More file actions
71 lines (71 loc) · 1.92 KB
/
Copy pathsinch-inbound-message-list-schema.json
File metadata and controls
71 lines (71 loc) · 1.92 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-inbound-message-list-schema.json",
"title": "InboundMessageList",
"x-generated": "2026-10-08",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/sinch-inbounds-api-openapi.yml#/components/schemas/InboundMessageList",
"type": "object",
"properties": {
"count": {
"type": "integer",
"description": "Total number of inbound messages"
},
"page": {
"type": "integer",
"description": "Current page number"
},
"page_size": {
"type": "integer",
"description": "Number of messages per page"
},
"inbounds": {
"type": "array",
"description": "List of inbound message objects",
"items": {
"$ref": "#/$defs/InboundMessage"
}
}
},
"$defs": {
"InboundMessage": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique inbound message identifier"
},
"from": {
"type": "string",
"description": "The sender phone number"
},
"to": {
"type": "string",
"description": "The destination number"
},
"body": {
"type": "string",
"description": "The message body"
},
"type": {
"type": "string",
"description": "The message type"
},
"received_at": {
"type": "string",
"format": "date-time",
"description": "When the message was received"
},
"operator_id": {
"type": "string",
"description": "The mobile operator identifier"
},
"client_reference": {
"type": "string",
"description": "Client reference from the original batch"
}
}
}
}
}