{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-reviewer/refs/heads/main/json-structure/amazon-codeguru-reviewer-event-info-structure.json",
"name": "EventInfo",
"description": "Information about an event. The event might be a push, pull request, scheduled request, or another type of event.",
"type": "object",
"properties": {
"Name": {
"allOf": [
{
"$ref": "#/components/schemas/EventName"
},
{
"description": "The name of the event. The possible names are pull_request, workflow_dispatch, schedule, and push "
}
]
},
"State": {
"allOf": [
{
"$ref": "#/components/schemas/EventState"
},
{
"description": "The state of an event. The state might be open, closed, or another state."
}
]
}
}
}