status-go/tests-functional/schemas/wakuext_sendOneToOneMessage

412 lines
17 KiB
Plaintext
Raw Normal View History

{
"$schema": "http://json-schema.org/schema#",
"properties": {
"id": {
"type": "integer"
},
"jsonrpc": {
"type": "string"
},
"result": {
"properties": {
"chats": {
"items": {
"properties": {
"ReadMessagesAtClockValue": {
"type": "integer"
},
"active": {
"type": "boolean"
},
"alias": {
"type": "string"
},
"chatType": {
"type": "integer"
},
"color": {
"type": "string"
},
"deletedAtClockValue": {
"type": "integer"
},
"description": {
"type": "string"
},
"emoji": {
"type": "string"
},
"highlight": {
"type": "boolean"
},
"id": {
"type": "string"
},
"identicon": {
"type": "string"
},
"joined": {
"type": "integer"
},
"lastClockValue": {
"type": "integer"
},
"lastMessage": {
"properties": {
"alias": {
"type": "string"
},
"chatId": {
"type": "string"
},
"clock": {
"type": "integer"
},
"compressedKey": {
"type": "string"
},
"contentType": {
"type": "integer"
},
"displayName": {
"type": "string"
},
"emojiHash": {
"items": {
"type": "string"
},
"type": "array"
},
"ensName": {
"type": "string"
},
"from": {
"type": "string"
},
"id": {
"type": "string"
},
"identicon": {
"type": "string"
},
"lineCount": {
"type": "integer"
},
"localChatId": {
"type": "string"
},
"messageType": {
"type": "integer"
},
"outgoingStatus": {
"type": "string"
},
"parsedText": {
"items": {
"properties": {
"children": {
"items": {
"properties": {
"literal": {
"type": "string"
}
},
"required": [
"literal"
],
"type": "object"
},
"type": "array"
},
"type": {
"type": "string"
}
},
"required": [
"children",
"type"
],
"type": "object"
},
"type": "array"
},
"quotedMessage": {
"type": "null"
},
"replace": {
"type": "string"
},
"responseTo": {
"type": "string"
},
"rtl": {
"type": "boolean"
},
"seen": {
"type": "boolean"
},
"text": {
"type": "string"
},
"timestamp": {
"type": "integer"
},
"whisperTimestamp": {
"type": "integer"
}
},
"required": [
"alias",
"chatId",
"clock",
"compressedKey",
"contentType",
"displayName",
"emojiHash",
"ensName",
"from",
"id",
"identicon",
"lineCount",
"localChatId",
"messageType",
"outgoingStatus",
"parsedText",
"quotedMessage",
"replace",
"responseTo",
"rtl",
"seen",
"text",
"timestamp",
"whisperTimestamp"
],
"type": "object"
},
"members": {
"type": "null"
},
"membershipUpdateEvents": {
"type": "null"
},
"muteTill": {
"type": "string"
},
"muted": {
"type": "boolean"
},
"name": {
"type": "string"
},
"syncedFrom": {
"type": "integer"
},
"syncedTo": {
"type": "integer"
},
"timestamp": {
"type": "integer"
},
"unviewedMentionsCount": {
"type": "integer"
},
"unviewedMessagesCount": {
"type": "integer"
},
"viewersCanPostReactions": {
"type": "boolean"
}
},
"required": [
"ReadMessagesAtClockValue",
"active",
"alias",
"chatType",
"color",
"deletedAtClockValue",
"description",
"emoji",
"highlight",
"id",
"identicon",
"joined",
"lastClockValue",
"lastMessage",
"members",
"membershipUpdateEvents",
"muteTill",
"muted",
"name",
"syncedFrom",
"syncedTo",
"timestamp",
"unviewedMentionsCount",
"unviewedMessagesCount",
"viewersCanPostReactions"
],
"type": "object"
},
"type": "array"
},
"discordOldestMessageTimestamp": {
"type": "integer"
},
"messages": {
"items": {
"properties": {
"alias": {
"type": "string"
},
"chatId": {
"type": "string"
},
"clock": {
"type": "integer"
},
"compressedKey": {
"type": "string"
},
"contentType": {
"type": "integer"
},
"displayName": {
"type": "string"
},
"emojiHash": {
"items": {
"type": "string"
},
"type": "array"
},
"ensName": {
"type": "string"
},
"from": {
"type": "string"
},
"gapParameters": {
"type": "object"
},
"id": {
"type": "string"
},
"identicon": {
"type": "string"
},
"lineCount": {
"type": "integer"
},
"localChatId": {
"type": "string"
},
"messageType": {
"type": "integer"
},
"outgoingStatus": {
"type": "string"
},
"parsedText": {
"items": {
"properties": {
"children": {
"items": {
"properties": {
"literal": {
"type": "string"
}
},
"required": [
"literal"
],
"type": "object"
},
"type": "array"
},
"type": {
"type": "string"
}
},
"required": [
"children",
"type"
],
"type": "object"
},
"type": "array"
},
"quotedMessage": {
"type": "null"
},
"replace": {
"type": "string"
},
"responseTo": {
"type": "string"
},
"rtl": {
"type": "boolean"
},
"seen": {
"type": "boolean"
},
"text": {
"type": "string"
},
"timestamp": {
"type": "integer"
},
"whisperTimestamp": {
"type": "integer"
}
},
"required": [
"alias",
"chatId",
"clock",
"compressedKey",
"contentType",
"displayName",
"emojiHash",
"ensName",
"from",
"gapParameters",
"id",
"identicon",
"lineCount",
"localChatId",
"messageType",
"outgoingStatus",
"parsedText",
"quotedMessage",
"replace",
"responseTo",
"rtl",
"seen",
"text",
"timestamp",
"whisperTimestamp"
],
"type": "object"
},
"type": "array"
},
"notifications": {
"type": "null"
}
},
"required": [
"chats",
"discordOldestMessageTimestamp",
"messages",
"notifications"
],
"type": "object"
}
},
"required": [
"id",
"jsonrpc",
"result"
],
"type": "object"
}