{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-schema/github-feeds-feed-schema.json", "title": "feed", "description": "Feed", "type": "object", "properties": { "timeline_url": { "type": "string", "example": "https://github.com/timeline" }, "user_url": { "type": "string", "example": "https://github.com/{user}" }, "current_user_public_url": { "type": "string", "example": "https://github.com/octocat" }, "current_user_url": { "type": "string", "example": "https://github.com/octocat.private?token=abc123" }, "current_user_actor_url": { "type": "string", "example": "https://github.com/octocat.private.actor?token=abc123" }, "current_user_organization_url": { "type": "string", "example": "https://github.com/octocat-org" }, "current_user_organization_urls": { "type": "array", "example": [ "https://github.com/organizations/github/octocat.private.atom?token=abc123" ], "items": { "type": "string", "format": "uri" } }, "security_advisories_url": { "type": "string", "example": "https://github.com/security-advisories" }, "repository_discussions_url": { "type": "string", "example": "https://github.com/{user}/{repo}/discussions", "description": "A feed of discussions for a given repository." }, "repository_discussions_category_url": { "type": "string", "example": "https://github.com/{user}/{repo}/discussions/categories/{category}", "description": "A feed of discussions for a given repository and category." }, "_links": { "type": "object", "properties": { "timeline": { "$ref": "#/components/schemas/link-with-type" }, "user": { "$ref": "#/components/schemas/link-with-type" }, "security_advisories": { "$ref": "#/components/schemas/link-with-type" }, "current_user": { "$ref": "#/components/schemas/link-with-type" }, "current_user_public": { "$ref": "#/components/schemas/link-with-type" }, "current_user_actor": { "$ref": "#/components/schemas/link-with-type" }, "current_user_organization": { "$ref": "#/components/schemas/link-with-type" }, "current_user_organizations": { "type": "array", "items": { "$ref": "#/components/schemas/link-with-type" } }, "repository_discussions": { "$ref": "#/components/schemas/link-with-type" }, "repository_discussions_category": { "$ref": "#/components/schemas/link-with-type" } }, "required": [ "timeline", "user" ] } }, "required": [ "_links", "timeline_url", "user_url" ] }