chore: Add new schemas (no-changelog) (#13215)

This commit is contained in:
Jon
2025-02-13 09:40:35 +00:00
committed by GitHub
parent f001edb2a2
commit 0c6eb6eaef
38 changed files with 3095 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
}
},
"required": [
"success"
]
}

View File

@@ -0,0 +1,141 @@
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"sender": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"displayName": {
"type": "string"
},
"type": {
"type": "string"
},
"domainId": {
"type": "string"
}
},
"required": [
"name",
"displayName",
"type",
"domainId"
]
},
"createTime": {
"type": "string"
},
"thread": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"required": [
"name"
]
},
"space": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"type": {
"type": "string"
},
"singleUserBotDm": {
"type": "boolean"
},
"spaceThreadingState": {
"type": "string"
},
"spaceType": {
"type": "string"
},
"spaceHistoryState": {
"type": "string"
},
"lastActiveTime": {
"type": "string"
},
"membershipCount": {
"type": "object",
"properties": {
"joinedDirectHumanUserCount": {
"type": "integer"
}
},
"required": [
"joinedDirectHumanUserCount"
]
},
"spaceUri": {
"type": "string"
}
},
"required": [
"name",
"type",
"spaceThreadingState",
"spaceType",
"spaceHistoryState",
"lastActiveTime",
"membershipCount",
"spaceUri"
]
},
"attachment": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"contentName": {
"type": "string"
},
"contentType": {
"type": "string"
},
"attachmentDataRef": {
"type": "object",
"properties": {
"resourceName": {
"type": "string"
}
},
"required": [
"resourceName"
]
},
"thumbnailUri": {
"type": "string"
},
"downloadUri": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": [
"name",
"contentName",
"contentType",
"attachmentDataRef",
"thumbnailUri",
"downloadUri",
"source"
]
}
}
}
}

View File

@@ -0,0 +1,111 @@
{
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"selfLink": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"projectNumber": {
"type": "string"
},
"metageneration": {
"type": "string"
},
"location": {
"type": "string"
},
"storageClass": {
"type": "string"
},
"etag": {
"type": "string"
},
"timeCreated": {
"type": "string"
},
"updated": {
"type": "string"
},
"softDeletePolicy": {
"type": "object",
"properties": {
"retentionDurationSeconds": {
"type": "string"
},
"effectiveTime": {
"type": "string"
}
},
"required": [
"retentionDurationSeconds"
]
},
"iamConfiguration": {
"type": "object",
"properties": {
"bucketPolicyOnly": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"lockedTime": {
"type": "string"
}
},
"required": [
"enabled"
]
},
"uniformBucketLevelAccess": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"lockedTime": {
"type": "string"
}
},
"required": [
"enabled"
]
},
"publicAccessPrevention": {
"type": "string"
}
},
"required": [
"bucketPolicyOnly",
"uniformBucketLevelAccess",
"publicAccessPrevention"
]
},
"locationType": {
"type": "string"
}
},
"required": [
"kind",
"selfLink",
"id",
"name",
"projectNumber",
"metageneration",
"location",
"storageClass",
"etag",
"timeCreated",
"updated",
"softDeletePolicy",
"locationType"
]
}

View File

@@ -0,0 +1,14 @@
{
"type": "object",
"properties": {
"resourceName": {
"type": "string"
},
"etag": {
"type": "string"
},
"contactId": {
"type": "string"
}
}
}

View File

@@ -0,0 +1,39 @@
{
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"id": {
"type": "string"
},
"etag": {
"type": "string"
},
"email": {
"type": "string"
},
"name": {
"type": "string"
},
"directMembersCount": {
"type": "string"
},
"description": {
"type": "string"
},
"adminCreated": {
"type": "boolean"
}
},
"required": [
"kind",
"id",
"etag",
"email",
"name",
"directMembersCount",
"description",
"adminCreated"
]
}

View File

@@ -0,0 +1,163 @@
{
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"etag": {
"type": "string"
},
"id": {
"type": "string"
},
"snippet": {
"type": "object",
"properties": {
"publishedAt": {
"type": "string"
},
"channelId": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"thumbnails": {
"type": "object",
"properties": {
"default": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"url",
"width",
"height"
]
},
"medium": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"url",
"width",
"height"
]
},
"high": {
"type": "object",
"properties": {
"url": {
"type": "string"
},
"width": {
"type": "integer"
},
"height": {
"type": "integer"
}
},
"required": [
"url",
"width",
"height"
]
}
},
"required": [
"default",
"medium",
"high"
]
},
"channelTitle": {
"type": "string"
},
"playlistId": {
"type": "string"
},
"position": {
"type": "integer"
},
"resourceId": {
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"videoId": {
"type": "string"
}
},
"required": [
"kind",
"videoId"
]
},
"videoOwnerChannelTitle": {
"type": "string"
},
"videoOwnerChannelId": {
"type": "string"
}
},
"required": [
"publishedAt",
"channelId",
"title",
"description",
"thumbnails",
"channelTitle",
"playlistId",
"position",
"resourceId",
"videoOwnerChannelTitle",
"videoOwnerChannelId"
]
},
"contentDetails": {
"type": "object",
"properties": {
"videoId": {
"type": "string"
},
"videoPublishedAt": {
"type": "string"
}
},
"required": [
"videoId",
"videoPublishedAt"
]
}
},
"required": [
"kind",
"etag",
"id",
"snippet",
"contentDetails"
]
}

View File

@@ -0,0 +1,39 @@
{
"type": "object",
"properties": {
"kind": {
"type": "string"
},
"etag": {
"type": "string"
},
"id": {
"type": "string"
},
"snippet": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"assignable": {
"type": "boolean"
},
"channelId": {
"type": "string"
}
},
"required": [
"title",
"assignable",
"channelId"
]
}
},
"required": [
"kind",
"etag",
"id",
"snippet"
]
}