Package

A software package

APIs.ioEngineeringPlatform

Properties

Name Type Description
id integer Unique identifier of the package.
name string The name of the package.
package_type string
url string
html_url string
version_count integer The number of versions of the package.
visibility string
owner object
repository object
created_at string
updated_at string
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-package-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/package",
  "title": "Package",
  "description": "A software package",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique identifier of the package.",
      "type": "integer",
      "example": 1
    },
    "name": {
      "description": "The name of the package.",
      "type": "string",
      "example": "super-linter"
    },
    "package_type": {
      "type": "string",
      "example": "docker",
      "enum": [
        "npm",
        "maven",
        "rubygems",
        "docker",
        "nuget",
        "container"
      ]
    },
    "url": {
      "type": "string",
      "example": "https://api.github.com/orgs/github/packages/container/super-linter"
    },
    "html_url": {
      "type": "string",
      "example": "https://github.com/orgs/github/packages/container/package/super-linter"
    },
    "version_count": {
      "description": "The number of versions of the package.",
      "type": "integer",
      "example": 1
    },
    "visibility": {
      "type": "string",
      "example": "private",
      "enum": [
        "private",
        "public"
      ]
    },
    "owner": {
      "$ref": "#/components/schemas/nullable-simple-user"
    },
    "repository": {
      "$ref": "#/components/schemas/nullable-minimal-repository"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "name",
    "package_type",
    "visibility",
    "url",
    "html_url",
    "version_count",
    "created_at",
    "updated_at"
  ]
}