GitHub · Schema
Campaign summary
The campaign metadata and alert stats.
CodeDeveloper ToolsPipelinesPlatformSoftware DevelopmentVersion ControlT1GitHub
Properties
| Name | Type | Description |
|---|---|---|
| number | integer | The number of the newly created campaign |
| created_at | string | The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. |
| updated_at | string | The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. |
| name | string | The campaign name |
| description | string | The campaign description |
| managers | array | The campaign managers |
| team_managers | array | The campaign team managers |
| published_at | string | The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. |
| ends_at | string | The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. |
| closed_at | stringnull | The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open. |
| state | object | |
| contact_link | stringnull | The contact link of the campaign. |
| alert_stats | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/github/json-schema/github-campaign-summary-schema.json",
"title": "Campaign summary",
"description": "The campaign metadata and alert stats.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/github-campaigns-api-openapi.yml#/components/schemas/campaign-summary",
"type": "object",
"properties": {
"number": {
"type": "integer",
"description": "The number of the newly created campaign"
},
"created_at": {
"type": "string",
"format": "date-time",
"description": "The date and time the campaign was created, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ."
},
"updated_at": {
"type": "string",
"format": "date-time",
"description": "The date and time the campaign was last updated, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ."
},
"name": {
"type": "string",
"description": "The campaign name"
},
"description": {
"type": "string",
"description": "The campaign description"
},
"managers": {
"description": "The campaign managers",
"type": "array",
"items": {
"$ref": "#/$defs/simple-user"
}
},
"team_managers": {
"description": "The campaign team managers",
"type": "array",
"items": {
"$ref": "#/$defs/team"
}
},
"published_at": {
"description": "The date and time the campaign was published, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.",
"type": "string",
"format": "date-time"
},
"ends_at": {
"description": "The date and time the campaign has ended, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ.",
"type": "string",
"format": "date-time"
},
"closed_at": {
"description": "The date and time the campaign was closed, in ISO 8601 format':' YYYY-MM-DDTHH:MM:SSZ. Will be null if the campaign is still open.",
"type": [
"string",
"null"
],
"format": "date-time"
},
"state": {
"$ref": "#/$defs/campaign-state"
},
"contact_link": {
"description": "The contact link of the campaign.",
"type": [
"string",
"null"
],
"format": "uri"
},
"alert_stats": {
"type": "object",
"additionalProperties": false,
"properties": {
"open_count": {
"type": "integer",
"description": "The number of open alerts"
},
"closed_count": {
"type": "integer",
"description": "The number of closed alerts"
},
"in_progress_count": {
"type": "integer",
"description": "The number of in-progress alerts"
}
},
"required": [
"open_count",
"closed_count",
"in_progress_count"
]
}
},
"required": [
"number",
"created_at",
"updated_at",
"description",
"managers",
"ends_at",
"state",
"contact_link"
],
"$defs": {
"campaign-state": {
"title": "Campaign state",
"description": "Indicates whether a campaign is open or closed",
"type": "string",
"enum": [
"open",
"closed"
]
},
"nullable-team-simple": {
"title": "Team Simple",
"description": "Groups of organization members that gives permissions on specified repositories.",
"type": [
"object",
"null"
],
"properties": {
"id": {
"description": "Unique identifier of the team",
"type": "integer"
},
"node_id": {
"type": "string"
},
"url": {
"description": "URL for the team",
"type": "string",
"format": "uri"
},
"members_url": {
"type": "string"
},
"name": {
"description": "Name of the team",
"type": "string"
},
"description": {
"description": "Description of the team",
"type": [
"string",
"null"
]
},
"permission": {
"description": "Permission that the team will have for its repositories",
"type": "string"
},
"privacy": {
"description": "The level of privacy this team should have",
"type": "string"
},
"notification_setting": {
"description": "The notification setting the team has set",
"type": "string"
},
"html_url": {
"type": "string",
"format": "uri"
},
"repositories_url": {
"type": "string",
"format": "uri"
},
"slug": {
"type": "string"
},
"ldap_dn": {
"description": "Distinguished Name (DN) that team maps to within LDAP environment",
"type": "string"
},
"type": {
"description": "The ownership type of the team",
"type": "string",
"enum": [
"enterprise",
"organization"
]
},
"organization_id": {
"type": "integer",
"description": "Unique identifier of the organization to which this team belongs"
},
"enterprise_id": {
"type": "integer",
"description": "Unique identifier of the enterprise to which this team belongs"
}
},
"required": [
"id",
"node_id",
"url",
"members_url",
"name",
"description",
"permission",
"html_url",
"repositories_url",
"slug",
"type"
]
},
"simple-user": {
"title": "Simple User",
"description": "A GitHub user.",
"type": "object",
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"email": {
"type": [
"string",
"null"
]
},
"login": {
"type": "string"
},
"id": {
"type": "integer",
"format": "int64"
},
"node_id": {
"type": "string"
},
"avatar_url": {
"type": "string",
"format": "uri"
},
"gravatar_id": {
"type": [
"string",
"null"
]
},
"url": {
"type": "string",
"format": "uri"
},
"html_url": {
"type": "string",
"format": "uri"
},
"followers_url": {
"type": "string",
"format": "uri"
},
"following_url": {
"type": "string"
},
"gists_url": {
"type": "string"
},
"starred_url": {
"type": "string"
},
"subscriptions_url": {
"type": "string",
"format": "uri"
},
"organizations_url": {
"type": "string",
"format": "uri"
},
"repos_url": {
"type": "string",
"format": "uri"
},
"events_url": {
"type": "string"
},
"received_events_url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string"
},
"site_admin": {
"type": "boolean"
},
"starred_at": {
"type": "string"
},
"user_view_type": {
"type": "string"
}
},
"required": [
"avatar_url",
"events_url",
"followers_url",
"following_url",
"gists_url",
"gravatar_id",
"html_url",
"id",
"node_id",
"login",
"organizations_url",
"received_events_url",
"repos_url",
"site_admin",
"starred_url",
"subscriptions_url",
"type",
"url"
]
},
"team": {
"title": "Team",
"description": "Groups of organization members that gives permissions on specified repositories.",
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"node_id": {
"type": "string"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"privacy": {
"type": "string"
},
"notification_setting": {
"type": "string"
},
"permission": {
"type": "string"
},
"permissions": {
"type": "object",
"properties": {
"pull": {
"type": "boolean"
},
"triage": {
"type": "boolean"
},
"push": {
"type": "boolean"
},
"maintain": {
"type": "boolean"
},
"admin": {
"type": "boolean"
}
},
"required": [
"pull",
"triage",
"push",
"maintain",
"admin"
]
},
"url": {
"type": "string",
"format": "uri"
},
"html_url": {
"type": "string",
"format": "uri"
},
"members_url": {
"type": "string"
},
"repositories_url": {
"type": "string",
"format": "uri"
},
"type": {
"description": "The ownership type of the team",
"type": "string",
"enum": [
"enterprise",
"organization"
]
},
"access_source": {
"description": "How the team's access to the repository was granted. This property is only\npresent when the team is returned in a repository context, such as\n`GET /repos/{owner}/{repo}/teams`.",
"type": "string",
"enum": [
"direct",
"organization",
"enterprise"
]
},
"organization_id": {
"type": "integer",
"description": "Unique identifier of the organization to which this team belongs"
},
"enterprise_id": {
"type": "integer",
"description": "Unique identifier of the enterprise to which this team belongs"
},
"parent": {
"$ref": "#/$defs/nullable-team-simple"
}
},
"required": [
"id",
"node_id",
"url",
"members_url",
"name",
"description",
"permission",
"html_url",
"repositories_url",
"slug",
"parent",
"type"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/github-campaign-summary"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.