GitHub · JSON Structure

Github Repo Issues Api Simple User Structure

GitHub user.

Type: object Properties: 21 Required: 18
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

simple-user is a JSON Structure definition published by GitHub, describing 21 properties, of which 18 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

name email login id node_id avatar_url gravatar_id url html_url followers_url following_url gists_url starred_url subscriptions_url organizations_url repos_url events_url received_events_url type site_admin starred_at

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-repo-issues-api-simple-user-structure.json",
  "name": "simple-user",
  "description": "GitHub user.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "example": "octocat"
    },
    "email": {
      "type": "string",
      "example": "octocat@github.com"
    },
    "login": {
      "type": "string",
      "example": "octocat"
    },
    "id": {
      "type": "int64",
      "example": 1
    },
    "node_id": {
      "type": "string",
      "example": "MDQ6VXNlcjE="
    },
    "avatar_url": {
      "type": "uri",
      "example": "https://github.com/images/error/octocat_happy.gif"
    },
    "gravatar_id": {
      "type": "string",
      "example": "41d064eb2195891e12d0413f63227ea7"
    },
    "url": {
      "type": "uri",
      "example": "https://api.github.com/users/octocat"
    },
    "html_url": {
      "type": "uri",
      "example": "https://github.com/octocat"
    },
    "followers_url": {
      "type": "uri",
      "example": "https://api.github.com/users/octocat/followers"
    },
    "following_url": {
      "type": "string",
      "example": "https://api.github.com/users/octocat/following{/other_user}"
    },
    "gists_url": {
      "type": "string",
      "example": "https://api.github.com/users/octocat/gists{/gist_id}"
    },
    "starred_url": {
      "type": "string",
      "example": "https://api.github.com/users/octocat/starred{/owner}{/repo}"
    },
    "subscriptions_url": {
      "type": "uri",
      "example": "https://api.github.com/users/octocat/subscriptions"
    },
    "organizations_url": {
      "type": "uri",
      "example": "https://api.github.com/users/octocat/orgs"
    },
    "repos_url": {
      "type": "uri",
      "example": "https://api.github.com/users/octocat/repos"
    },
    "events_url": {
      "type": "string",
      "example": "https://api.github.com/users/octocat/events{/privacy}"
    },
    "received_events_url": {
      "type": "uri",
      "example": "https://api.github.com/users/octocat/received_events"
    },
    "type": {
      "type": "string",
      "example": "User"
    },
    "site_admin": {
      "type": "boolean",
      "example": true
    },
    "starred_at": {
      "type": "string",
      "example": "\"2020-07-09T00:17:55Z\""
    }
  },
  "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"
  ]
}