GitHub · Schema

gist-commit

Gist Commit

CodePipelinesPlatformSoftware DevelopmentSource ControlT1

Properties

Name Type Description
url string
version string
user object
change_status object
committed_at string
View JSON Schema on GitHub

JSON Schema

github-gists-gist-commit-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-gist-commit-schema.json",
  "title": "gist-commit",
  "description": "Gist Commit",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "example": "https://api.github.com/gists/aa5a315d61ae9438b18d/57a7f021a713b1c5a6a199b54cc514735d2d462f"
    },
    "version": {
      "type": "string",
      "example": "57a7f021a713b1c5a6a199b54cc514735d2d462f"
    },
    "user": {
      "$ref": "#/components/schemas/nullable-simple-user"
    },
    "change_status": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer"
        },
        "additions": {
          "type": "integer"
        },
        "deletions": {
          "type": "integer"
        }
      }
    },
    "committed_at": {
      "type": "string",
      "format": "date-time",
      "example": "2010-04-14T02:15:15Z"
    }
  },
  "required": [
    "url",
    "user",
    "version",
    "committed_at",
    "change_status"
  ]
}