{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-schema/github-users-api-public-user-schema.json",
"title": "public-user",
"description": "Public User",
"type": "object",
"properties": {
"login": {
"type": "string",
"example": "octocat"
},
"id": {
"type": "integer",
"example": 42
},
"node_id": {
"type": "string",
"example": "12345678"
},
"avatar_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"gravatar_id": {
"type": "string",
"nullable": true,
"example": "12345678"
},
"url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"html_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"followers_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"following_url": {
"type": "string",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"gists_url": {
"type": "string",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"starred_url": {
"type": "string",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"subscriptions_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"organizations_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"repos_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"events_url": {
"type": "string",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"received_events_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/Hello-World"
},
"type": {
"type": "string",
"example": "User"
},
"site_admin": {
"type": "boolean",
"example": true
},
"name": {
"type": "string",
"nullable": true,
"example": "octocat"
},
"company": {
"type": "string",
"nullable": true,
"example": "example_value"
},
"blog": {
"type": "string",
"nullable": true
},
"location": {
"type": "string",
"nullable": true
},
"email": {
"type": "string",
"format": "email",
"nullable": true
},
"hireable": {
"type": "boolean",
"nullable": true
},
"bio": {
"type": "string",
"nullable": true
},
"twitter_username": {
"type": "string",
"nullable": true
},
"public_repos": {
"type": "integer"
},
"public_gists": {
"type": "integer"
},
"followers": {
"type": "integer"
},
"following": {
"type": "integer"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"plan": {
"type": "object",
"properties": {
"collaborators": {
"type": "integer"
},
"name": {
"type": "string"
},
"space": {
"type": "integer"
},
"private_repos": {
"type": "integer"
}
},
"required": [
"collaborators",
"name",
"space",
"private_repos"
]
},
"suspended_at": {
"type": "string",
"format": "date-time",
"nullable": true
},
"private_gists": {
"type": "integer",
"example": 1
},
"total_private_repos": {
"type": "integer",
"example": 2
},
"owned_private_repos": {
"type": "integer",
"example": 2
},
"disk_usage": {
"type": "integer",
"example": 1
},
"collaborators": {
"type": "integer",
"example": 3
}
},
"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",
"bio",
"blog",
"company",
"email",
"followers",
"following",
"hireable",
"location",
"name",
"public_gists",
"public_repos",
"created_at",
"updated_at"
]
}