Created
December 8, 2018 01:33
-
-
Save kinlane/4f97d2976623fa22c59174b07ab8d13f to your computer and use it in GitHub Desktop.
GitHub Search Code Schema
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "object", | |
"definitions": {}, | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"$id": "http://example.com/root.json", | |
"title": "GitHub Search Code Schema", | |
"properties": { | |
"total_count": { | |
"type": "integer", | |
"title": "The Total_count Schema" | |
}, | |
"incomplete_results": { | |
"type": "boolean", | |
"title": "The Incomplete_results Schema" | |
}, | |
"items": { | |
"type": "array", | |
"title": "The Items Schema", | |
"items": { | |
"type": "object", | |
"title": "The Items Schema", | |
"properties": { | |
"name": { | |
"type": "string", | |
"title": "The Name Schema" | |
}, | |
"path": { | |
"type": "string", | |
"title": "The Path Schema" | |
}, | |
"sha": { | |
"type": "string", | |
"title": "The Sha Schema" | |
}, | |
"url": { | |
"type": "string", | |
"title": "The Url Schema" | |
}, | |
"git_url": { | |
"type": "string", | |
"title": "The Git_url Schema" | |
}, | |
"html_url": { | |
"type": "string", | |
"title": "The Html_url Schema" | |
}, | |
"repository": { | |
"type": "object", | |
"title": "The Repository Schema", | |
"properties": { | |
"id": { | |
"type": "integer", | |
"title": "The Id Schema" | |
}, | |
"node_id": { | |
"type": "string", | |
"title": "The Node_id Schema" | |
}, | |
"name": { | |
"type": "string", | |
"title": "The Name Schema" | |
}, | |
"full_name": { | |
"type": "string", | |
"title": "The Full_name Schema" | |
}, | |
"private": { | |
"type": "boolean", | |
"title": "The Private Schema" | |
}, | |
"owner": { | |
"type": "object", | |
"title": "The Owner Schema", | |
"properties": { | |
"login": { | |
"type": "string", | |
"title": "The Login Schema" | |
}, | |
"id": { | |
"type": "integer", | |
"title": "The Id Schema" | |
}, | |
"node_id": { | |
"type": "string", | |
"title": "The Node_id Schema" | |
}, | |
"avatar_url": { | |
"type": "string", | |
"title": "The Avatar_url Schema" | |
}, | |
"gravatar_id": { | |
"type": "string", | |
"title": "The Gravatar_id Schema" | |
}, | |
"url": { | |
"type": "string", | |
"title": "The Url Schema" | |
}, | |
"html_url": { | |
"type": "string", | |
"title": "The Html_url Schema" | |
}, | |
"followers_url": { | |
"type": "string", | |
"title": "The Followers_url Schema" | |
}, | |
"following_url": { | |
"type": "string", | |
"title": "The Following_url Schema", | |
"pattern": "^(.*)$" | |
}, | |
"gists_url": { | |
"type": "string", | |
"title": "The Gists_url Schema", | |
"pattern": "^(.*)$" | |
}, | |
"starred_url": { | |
"type": "string", | |
"title": "The Starred_url Schema" | |
}, | |
"subscriptions_url": { | |
"type": "string", | |
"title": "The Subscriptions_url Schema" | |
}, | |
"organizations_url": { | |
"type": "string", | |
"title": "The Organizations_url Schema" | |
}, | |
"repos_url": { | |
"type": "string", | |
"title": "The Repos_url Schema" | |
}, | |
"events_url": { | |
"type": "string", | |
"title": "The Events_url Schema" | |
}, | |
"received_events_url": { | |
"type": "string", | |
"title": "The Received_events_url Schema" | |
}, | |
"type": { | |
"type": "string", | |
"title": "The Type Schema" | |
}, | |
"site_admin": { | |
"type": "boolean", | |
"title": "The Site_admin Schema" | |
} | |
} | |
}, | |
"html_url": { | |
"type": "string", | |
"title": "The Html_url Schema" | |
}, | |
"description": { | |
"type": "string", | |
"title": "The Description Schema" | |
}, | |
"fork": { | |
"type": "boolean", | |
"title": "The Fork Schema" | |
}, | |
"url": { | |
"type": "string", | |
"title": "The Url Schema" | |
}, | |
"forks_url": { | |
"type": "string", | |
"title": "The Forks_url Schema" | |
}, | |
"keys_url": { | |
"type": "string", | |
"title": "The Keys_url Schema" | |
}, | |
"collaborators_url": { | |
"type": "string", | |
"title": "The Collaborators_url Schema" | |
}, | |
"teams_url": { | |
"type": "string", | |
"title": "The Teams_url Schema" | |
}, | |
"hooks_url": { | |
"type": "string", | |
"title": "The Hooks_url Schema" | |
}, | |
"issue_events_url": { | |
"type": "string", | |
"title": "The Issue_events_url Schema" | |
}, | |
"events_url": { | |
"type": "string", | |
"title": "The Events_url Schema" | |
}, | |
"assignees_url": { | |
"type": "string", | |
"title": "The Assignees_url Schema" | |
}, | |
"branches_url": { | |
"type": "string", | |
"title": "The Branches_url Schema" | |
}, | |
"tags_url": { | |
"type": "string", | |
"title": "The Tags_url Schema" | |
}, | |
"blobs_url": { | |
"type": "string", | |
"title": "The Blobs_url Schema" | |
}, | |
"git_tags_url": { | |
"type": "string", | |
"title": "The Git_tags_url Schema" | |
}, | |
"git_refs_url": { | |
"type": "string", | |
"title": "The Git_refs_url Schema" | |
}, | |
"trees_url": { | |
"type": "string", | |
"title": "The Trees_url Schema" | |
}, | |
"statuses_url": { | |
"type": "string", | |
"title": "The Statuses_url Schema" | |
}, | |
"languages_url": { | |
"type": "string", | |
"title": "The Languages_url Schema" | |
}, | |
"stargazers_url": { | |
"type": "string", | |
"title": "The Stargazers_url Schema" | |
}, | |
"contributors_url": { | |
"type": "string", | |
"title": "The Contributors_url Schema" | |
}, | |
"subscribers_url": { | |
"type": "string", | |
"title": "The Subscribers_url Schema" | |
}, | |
"subscription_url": { | |
"type": "string", | |
"title": "The Subscription_url Schema" | |
}, | |
"commits_url": { | |
"type": "string", | |
"title": "The Commits_url Schema" | |
}, | |
"git_commits_url": { | |
"type": "string", | |
"title": "The Git_commits_url Schema" | |
}, | |
"comments_url": { | |
"type": "string", | |
"title": "The Comments_url Schema" | |
}, | |
"issue_comment_url": { | |
"type": "string", | |
"title": "The Issue_comment_url Schema" | |
}, | |
"contents_url": { | |
"type": "string", | |
"title": "The Contents_url Schema" | |
}, | |
"compare_url": { | |
"type": "string", | |
"title": "The Compare_url Schema" | |
}, | |
"merges_url": { | |
"type": "string", | |
"title": "The Merges_url Schema" | |
}, | |
"archive_url": { | |
"type": "string", | |
"title": "The Archive_url Schema" | |
}, | |
"downloads_url": { | |
"type": "string", | |
"title": "The Downloads_url Schema" | |
}, | |
"issues_url": { | |
"type": "string", | |
"title": "The Issues_url Schema" | |
}, | |
"pulls_url": { | |
"type": "string", | |
"title": "The Pulls_url Schema" | |
}, | |
"milestones_url": { | |
"type": "string", | |
"title": "The Milestones_url Schema" | |
}, | |
"notifications_url": { | |
"type": "string", | |
"title": "The Notifications_url Schema" | |
}, | |
"labels_url": { | |
"type": "string", | |
"title": "The Labels_url Schema" | |
}, | |
"releases_url": { | |
"type": "string", | |
"title": "The Releases_url Schema" | |
}, | |
"deployments_url": { | |
"type": "string", | |
"title": "The Deployments_url Schema" | |
} | |
} | |
}, | |
"score": { | |
"type": "number", | |
"title": "The Score Schema" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment