{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-schema/github-installation-installation-token-schema.json", "title": "installation-token", "description": "Authentication token for a GitHub App installed on a user or org.", "type": "object", "properties": { "token": { "type": "string", "example": "example_value" }, "expires_at": { "type": "string", "example": "2026-04-17T12:00:00Z" }, "permissions": { "$ref": "#/components/schemas/app-permissions" }, "repository_selection": { "type": "string", "enum": [ "all", "selected" ], "example": "all" }, "repositories": { "type": "array", "items": { "$ref": "#/components/schemas/repository" } }, "single_file": { "type": "string", "example": "README.md" }, "has_multiple_single_files": { "type": "boolean", "example": true }, "single_file_paths": { "type": "array", "items": { "type": "string" }, "example": [ "config.yml", ".github/issue_TEMPLATE.md" ] } }, "required": [ "token", "expires_at" ] }