Created
December 8, 2018 01:37
-
-
Save kinlane/52c68043e2f608f27e560b096247c4ae to your computer and use it in GitHub Desktop.
GitHub API EventGitHub API Event SchemaSchema
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": "array", | |
"definitions": {}, | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"title": "GitHub API Event Schema", | |
"items": { | |
"$id": "#/items", | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "string" | |
}, | |
"type": { | |
"type": "string" | |
}, | |
"actor": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer" | |
}, | |
"login": { | |
"type": "string" | |
}, | |
"display_login": { | |
"type": "string" | |
}, | |
"gravatar_id": { | |
"type": "string" | |
}, | |
"url": { | |
"type": "string" | |
}, | |
"avatar_url": { | |
"type": "string" | |
} | |
} | |
}, | |
"repo": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer" | |
}, | |
"name": { | |
"type": "string" | |
}, | |
"url": { | |
"type": "string" | |
} | |
} | |
}, | |
"payload": { | |
"type": "object", | |
"properties": { | |
"action": { | |
"type": "string" | |
} | |
} | |
}, | |
"public": { | |
"type": "boolean" | |
}, | |
"created_at": { | |
"type": "string" | |
}, | |
"org": { | |
"type": "object", | |
"properties": { | |
"id": { | |
"type": "integer" | |
}, | |
"login": { | |
"type": "string" | |
}, | |
"gravatar_id": { | |
"type": "string" | |
}, | |
"url": { | |
"type": "string" | |
}, | |
"avatar_url": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment