GitHub · Schema

public-user

Public User

CodePipelinesPlatformSoftware DevelopmentSource ControlT1

Properties

Name Type Description
login string
id integer
node_id string
avatar_url string
gravatar_id string
url string
html_url string
followers_url string
following_url string
gists_url string
starred_url string
subscriptions_url string
organizations_url string
repos_url string
events_url string
received_events_url string
type string
site_admin boolean
name string
company string
blog string
location string
email string
hireable boolean
bio string
twitter_username string
public_repos integer
public_gists integer
followers integer
following integer
created_at string
updated_at string
plan object
suspended_at string
private_gists integer
total_private_repos integer
owned_private_repos integer
disk_usage integer
collaborators integer
View JSON Schema on GitHub

JSON Schema

github-gists-public-user-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-schema/github-gists-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"
  ]
}