GitHub · Schema

organization-simple

A GitHub organization.

CodePipelinesPlatformSoftware DevelopmentSource ControlT1

Properties

Name Type Description
login string
id integer
node_id string
url string
repos_url string
events_url string
hooks_url string
issues_url string
members_url string
public_members_url string
avatar_url string
description string
View JSON Schema on GitHub

JSON Schema

github-openapi-organization-simple-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-openapi-organization-simple-schema.json",
  "title": "organization-simple",
  "description": "A GitHub organization.",
  "type": "object",
  "properties": {
    "login": {
      "type": "string",
      "example": "github"
    },
    "id": {
      "type": "integer",
      "example": 1
    },
    "node_id": {
      "type": "string",
      "example": "MDEyOk9yZ2FuaXphdGlvbjE="
    },
    "url": {
      "type": "string",
      "format": "uri",
      "example": "https://api.github.com/orgs/github"
    },
    "repos_url": {
      "type": "string",
      "format": "uri",
      "example": "https://api.github.com/orgs/github/repos"
    },
    "events_url": {
      "type": "string",
      "format": "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"
  ]
}