Skip to content

Instantly share code, notes, and snippets.

@kinlane
Created December 8, 2018 01:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kinlane/52c68043e2f608f27e560b096247c4ae to your computer and use it in GitHub Desktop.
Save kinlane/52c68043e2f608f27e560b096247c4ae to your computer and use it in GitHub Desktop.
GitHub API EventGitHub API Event SchemaSchema
{
"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