GitHub · JSON Structure

Github Events Api Ldap Mapping User Structure

Ldap Private User

Type: object Properties: 42 Required: 37
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

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

Properties

ldap_dn 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 name company blog location email hireable bio twitter_username public_repos public_gists followers following created_at updated_at private_gists total_private_repos owned_private_repos disk_usage collaborators two_factor_authentication plan suspended_at business_plus

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-events-api-ldap-mapping-user-structure.json",
  "name": "ldap-mapping-user",
  "description": "Ldap Private User",
  "type": "object",
  "properties": {
    "ldap_dn": {
      "type": "string",
      "example": "example_value"
    },
    "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",
      "nullable": true
    },
    "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
    },
    "name": {
      "type": "string",
      "example": "monalisa octocat",
      "nullable": true
    },
    "company": {
      "type": "string",
      "example": "GitHub",
      "nullable": true
    },
    "blog": {
      "type": "string",
      "example": "https://github.com/blog",
      "nullable": true
    },
    "location": {
      "type": "string",
      "example": "San Francisco",
      "nullable": true
    },
    "email": {
      "type": "string",
      "format": "email",
      "example": "octocat@github.com",
      "nullable": true
    },
    "hireable": {
      "type": "boolean",
      "nullable": true
    },
    "bio": {
      "type": "string",
      "example": "There once was...",
      "nullable": true
    },
    "twitter_username": {
      "type": "string",
      "example": "monalisa",
      "nullable": true
    },
    "public_repos": {
      "type": "int32",
      "example": 2
    },
    "public_gists": {
      "type": "int32",
      "example": 1
    },
    "followers": {
      "type": "int32",
      "example": 20
    },
    "following": {
      "type": "int32",
      "example": 0
    },
    "created_at": {
      "type": "datetime",
      "example": "2008-01-14T04:33:35Z"
    },
    "updated_at": {
      "type": "datetime",
      "example": "2008-01-14T04:33:35Z"
    },
    "private_gists": {
      "type": "int32",
      "example": 81
    },
    "total_private_repos": {
      "type": "int32",
      "example": 100
    },
    "owned_private_repos": {
      "type": "int32",
      "example": 100
    },
    "disk_usage": {
      "type": "int32",
      "example": 10000
    },
    "collaborators": {
      "type": "int32",
      "example": 8
    },
    "two_factor_authentication": {
      "type": "boolean",
      "example": true
    },
    "plan": {
      "type": "object",
      "properties": {
        "collaborators": {
          "type": "int32"
        },
        "name": {
          "type": "string"
        },
        "space": {
          "type": "int32"
        },
        "private_repos": {
          "type": "int32"
        }
      },
      "required": [
        "collaborators",
        "name",
        "space",
        "private_repos"
      ]
    },
    "suspended_at": {
      "type": "datetime",
      "nullable": true
    },
    "business_plus": {
      "type": "boolean"
    }
  },
  "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",
    "collaborators",
    "disk_usage",
    "owned_private_repos",
    "private_gists",
    "total_private_repos",
    "two_factor_authentication"
  ]
}