GitHub · JSON Structure

Github Repos Api Enterprise Structure

An enterprise on GitHub.

Type: object Properties: 10 Required: 8
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

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

Properties

description html_url website_url id node_id name slug created_at updated_at avatar_url

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-repos-api-enterprise-structure.json",
  "name": "enterprise",
  "description": "An enterprise on GitHub.",
  "type": "object",
  "properties": {
    "description": {
      "description": "short description of the enterprise.",
      "type": "string",
      "example": "This is an example repository"
    },
    "html_url": {
      "type": "uri",
      "example": "https://github.com/enterprises/octo-business"
    },
    "website_url": {
      "description": "The enterprise's website URL.",
      "type": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    },
    "id": {
      "description": "Unique identifier of the enterprise",
      "example": 42,
      "type": "int32"
    },
    "node_id": {
      "type": "string",
      "example": "MDEwOlJlcG9zaXRvcnkxMjk2MjY5"
    },
    "name": {
      "description": "The name of the enterprise.",
      "type": "string",
      "example": "Octo Business"
    },
    "slug": {
      "description": "The slug url identifier for the enterprise.",
      "type": "string",
      "example": "octo-business"
    },
    "created_at": {
      "type": "datetime",
      "example": "2019-01-26T19:01:12Z"
    },
    "updated_at": {
      "type": "datetime",
      "example": "2019-01-26T19:14:43Z"
    },
    "avatar_url": {
      "type": "uri",
      "example": "https://api.github.com/repos/octocat/Hello-World"
    }
  },
  "required": [
    "id",
    "node_id",
    "name",
    "slug",
    "html_url",
    "created_at",
    "updated_at",
    "avatar_url"
  ]
}