GitHub · JSON Structure

Github Auth Api Organization Simple Structure

A GitHub organization.

Type: object Properties: 12 Required: 12
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

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

Properties

login id node_id url repos_url events_url hooks_url issues_url members_url public_members_url avatar_url description

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-auth-api-organization-simple-structure.json",
  "name": "organization-simple",
  "description": "A GitHub organization.",
  "type": "object",
  "properties": {
    "login": {
      "type": "string",
      "example": "github"
    },
    "id": {
      "type": "int32",
      "example": 1
    },
    "node_id": {
      "type": "string",
      "example": "MDEyOk9yZ2FuaXphdGlvbjE="
    },
    "url": {
      "type": "uri",
      "example": "https://api.github.com/orgs/github"
    },
    "repos_url": {
      "type": "uri",
      "example": "https://api.github.com/orgs/github/repos"
    },
    "events_url": {
      "type": "uri",
      "example": "https://api.github.com/orgs/github/events"
    },
    "hooks_url": {
      "type": "string",
      "example": "https://api.github.com/orgs/github/hooks"
    },
    "issues_url": {
      "type": "string",
      "example": "https://api.github.com/orgs/github/issues"
    },
    "members_url": {
      "type": "string",
      "example": "https://api.github.com/orgs/github/members{/member}"
    },
    "public_members_url": {
      "type": "string",
      "example": "https://api.github.com/orgs/github/public_members{/member}"
    },
    "avatar_url": {
      "type": "string",
      "example": "https://github.com/images/error/octocat_happy.gif"
    },
    "description": {
      "type": "string",
      "example": "A great organization",
      "nullable": true
    }
  },
  "required": [
    "login",
    "url",
    "id",
    "node_id",
    "repos_url",
    "events_url",
    "hooks_url",
    "issues_url",
    "members_url",
    "public_members_url",
    "avatar_url",
    "description"
  ]
}