-
Notifications
You must be signed in to change notification settings - Fork 0
/
DocsEvent.schema.json
executable file
·38 lines (38 loc) · 1.66 KB
/
DocsEvent.schema.json
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
{
"$id": "https://tandosid.dev/event-objects/docs.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"definitions": {
"docsEventObject": {
"$id": "/properties/docsEventObject",
"type": "object",
"description": "The Docs event object is the portion of the overall event object that carries information about a user's Google Docs document. It's only present in an event object if the host application is Google Docs.",
"properties": {
"id": {
"type": "string",
"description": "The ID of the document open in the Docs UI"
},
"title": {
"type": "string",
"description": "The title of the document open in the Docs UI"
},
"matchedUrl": {
"$id": "/properties/matchedUrlObject",
"type": "object",
"description": "Object that contains the URL that matches the pattern set in the link preview trigger.",
"properties": {
"url": {
"type": "string",
"description": "URL that matches the pattern set in the link preview trigger."
}
}
},
"addonHasFileScopePermission": {
"type": "boolean",
"description": " Whether or not the add-on has drive.file scope permission for this document."
}
}
}
},
"$ref": "#/definitions/docsEventObject"
}