Commit Search Result Item

Commit Search Result Item

APIs.ioEngineeringPlatform

Properties

Name Type Description
url string
sha string
html_url string
comments_url string
commit object
author object
committer object
parents array
repository object
score number
node_id string
text_matches object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-commit-search-result-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/commit-search-result-item",
  "title": "Commit Search Result Item",
  "description": "Commit Search Result Item",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri"
    },
    "sha": {
      "type": "string"
    },
    "html_url": {
      "type": "string",
      "format": "uri"
    },
    "comments_url": {
      "type": "string",
      "format": "uri"
    },
    "commit": {
      "type": "object",
      "properties": {
        "author": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "email": {
              "type": "string"
            },
            "date": {
              "type": "string",
              "format": "date-time"
            }
          },
          "required": [
            "name",
            "email",
            "date"
          ]
        },
        "committer": {
          "$ref": "#/components/schemas/nullable-git-user"
        },
        "comment_count": {
          "type": "integer"
        },
        "message": {
          "type": "string"
        },
        "tree": {
          "type": "object",
          "properties": {
            "sha": {
              "type": "string"
            },
            "url": {
              "type": "string",
              "format": "uri"
            }
          },
          "required": [
            "sha",
            "url"
          ]
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "verification": {
          "$ref": "#/components/schemas/verification"
        }
      },
      "required": [
        "author",
        "committer",
        "comment_count",
        "message",
        "tree",
        "url"
      ]
    },
    "author": {
      "$ref": "#/components/schemas/nullable-simple-user"
    },
    "committer": {
      "$ref": "#/components/schemas/nullable-git-user"
    },
    "parents": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "html_url": {
            "type": "string"
          },
          "sha": {
            "type": "string"
          }
        }
      }
    },
    "repository": {
      "$ref": "#/components/schemas/minimal-repository"
    },
    "score": {
      "type": "number"
    },
    "node_id": {
      "type": "string"
    },
    "text_matches": {
      "$ref": "#/components/schemas/search-result-text-matches"
    }
  },
  "required": [
    "sha",
    "node_id",
    "url",
    "html_url",
    "author",
    "committer",
    "parents",
    "comments_url",
    "commit",
    "repository",
    "score"
  ]
}