{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google/json-schema/google-gmail-users-threads-get-response1-schema.json",
  "title": "GmailUsersThreadsGetResponse1",
  "description": "GmailUsersThreadsGetResponse1 schema",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-lists-api-openapi.yml#/components/schemas/GmailUsersThreadsGetResponse1",
  "type": "object",
  "properties": {
    "threads": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "snippet": {
            "type": "string"
          },
          "historyId": {
            "type": "string"
          },
          "messages": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "threadId": {
                  "type": "string"
                },
                "labelIds": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "snippet": {
                  "type": "string"
                },
                "historyId": {
                  "type": "string"
                },
                "internalDate": {
                  "type": "string"
                },
                "payload": {
                  "type": "object",
                  "properties": {
                    "partId": {
                      "type": "string"
                    },
                    "mimeType": {
                      "type": "string"
                    },
                    "filename": {
                      "type": "string"
                    },
                    "headers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string"
                          },
                          "value": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "body": {
                      "type": "object",
                      "properties": {
                        "attachmentId": {
                          "type": "string"
                        },
                        "size": {
                          "type": "integer"
                        },
                        "data": {
                          "type": "string"
                        }
                      }
                    },
                    "parts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "value": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                },
                "sizeEstimate": {
                  "type": "integer"
                },
                "raw": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "nextPageToken": {
      "type": "string"
    },
    "resultSizeEstimate": {
      "type": "integer"
    }
  }
}