# Schema

## Data Submission Schema

```
 UserContributionInformation {
  walletAddress: string;
  claimDate: string;
  contributions: Contribution[];
};

Schema Contribution {
  type: EContributionType;
  claimedDate: string;
  witnesses: string;
  walletAddress: string;
  AccountUsername: string;
  securedSharedData: PlatformSpecificData
}
```

We've got you covered on your favorite platforms! We support Reddit, X (Twitter), Uber, Netflix, LinkedIn, Twitch, Amazon Prime, Steam, Zomato, and Spotify.

## Platform Specific Data Schemas

#### Uber Contribution Data

```
User Information:

User ID: Unique identifier for the user
Username: Display name of the user Trips

Each trip includes:

Begin Trip Time: The timestamp when the trip started
Drop-off Time: The timestamp when the trip ended
Pickup Address: The location where the user was picked up
Drop-off Address: The destination of the trip
Fare: The total amount charged for the trip
Vehicle Type: The type of vehicle used for the trip
```

#### Zomato Contribution Data

```
User Information:

User ID: Unique identifier for the user orders

Each order includes:

 Order ID: Unique identifier for the order
 Total Cost: The total amount paid for the order
 Dish Details: Names of the dishes ordered
 Restaurant Link: URL to the restaurant's page

Delivery Info:

 Address: The delivery destination
 Status: The current status of the order (Delivered, On the Way, or Cancelled)
 Message: Any update from the restaurant or delivery partner
```

#### Amazon Prime Video Contribution Data

```
User Information:

 Profile Name: The name associated with the user's profile
 User ID: Unique identifier for the user

Watch History:

 Date-wise Listing: A record of content watched on specific dates
```

#### Twitch Contribution Data

```
User Information:

 Username: The user's display name on Twitch
 Followers: The number of followers the user has
 Profile Picture URL: The URL of the user's profile picture
 Bio: A short description of the user
 
Socials:

 Connected Accounts: A list of social media accounts linked to Twitch
```

#### Twitter Contribution Data

```
User Information:

 Username: The display name of the user on Twitter
 Followers: The number of users following this account
 Following: The number of accounts the user follows
 Total Posts: The total number of tweets made by the user
 
Description:

 User Bio: A brief description provided by the user
```

#### Netflix Contribution Data

```
User Information:

 Profile Name: The name associated with the user's profile
 User ID: Unique identifier for the user
 
Favorite Watch List:

 Shows & Movies: A list of favorite titles saved by the user
```

#### Reddit Contribution Data

```
User Information:

 Username: The display name of the user on Reddit
 Profile Picture: The user's profile image
 User ID: Unique identifier for the user
 Bio: A short description of the user
 
Social Links:

 Connected Accounts: A list of linked social media profiles
 Reputation (Karma Points)
 Post Karma: Points earned from upvotes on posts
 Comment Karma: Points earned from upvotes on comments

Posts:

 Titles & IDs: A list of shared post titles and their unique IDs
```

#### Steam Contribution Data

```
User Information:

 User ID: Unique identifier for the user
 
Owned Games:
 
 Game List: A catalog of games owned by the user
```

#### Spotify Contribution Data

<pre><code>User Information:

 Username: The display name of the user on Spotify
 
User Playlists

Each playlist includes:
 Playlist ID: Unique identifier for the playlist
 Playlist Name: The name given to the playlist
 Playlist Owner: The creator of the playlist

Recently Played:
<strong> Track List: A record of songs recently listened to
</strong></code></pre>

#### LinkedIn Contribution Data

```
User Information:

 Profile URL: The URL to the user's LinkedIn profile
 Full Name: The user's complete name
 Headline (Job Title): The current job title of the user
 Location: The user's current geographical location
 Connections: The total number of LinkedIn connections
 
Work Experience:

 Companies, Job Titles, Duration: Details of the user's past and current employment

Education:

 Schools & Degrees: Institutions attended and degrees earned
 
Certifications:

 List of Certifications: Any professional certifications obtained
 
About Section:

 Summary: A short bio or personal description provided by the user
 
Connections:

 Linked Contacts: Names and profile links of LinkedIn connections
```

#### GitHub Contribution Data

```
 
User Information:

 Username: The publicly visible name associated with the user's GitHub profile.
 Edit Profile Link: A direct link to the settings page where the user can modify 
                    their GitHub profile.
                    
Engagement & Activity:

 Followers Count: The number of people following the user on GitHub.
 Account Creation Year: The year when the user first joined GitHub.
 Contributions in the Last Year: The total number of contributions 
                                 (such as commits, pull requests, and issue activity) 
                                 made by the user in the past year.
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zlayer.gitbook.io/zlayer/tech/schema.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
