Package Version

A version of a software package

APIs.ioEngineeringPlatform

Properties

Name Type Description
id integer Unique identifier of the package version.
name string The name of the package version.
url string
package_html_url string
html_url string
license string
description string
created_at string
updated_at string
deleted_at string
metadata object
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-package-version-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/package-version",
  "title": "Package Version",
  "description": "A version of a software package",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique identifier of the package version.",
      "type": "integer",
      "example": 1
    },
    "name": {
      "description": "The name of the package version.",
      "type": "string",
      "example": "latest"
    },
    "url": {
      "type": "string",
      "example": "https://api.github.com/orgs/github/packages/container/super-linter/versions/786068"
    },
    "package_html_url": {
      "type": "string",
      "example": "https://github.com/orgs/github/packages/container/package/super-linter"
    },
    "html_url": {
      "type": "string",
      "example": "https://github.com/orgs/github/packages/container/super-linter/786068"
    },
    "license": {
      "type": "string",
      "example": "MIT"
    },
    "description": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "example": "2011-04-10T20:09:31Z"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "example": "2014-03-03T18:58:10Z"
    },
    "deleted_at": {
      "type": "string",
      "format": "date-time",
      "example": "2014-03-03T18:58:10Z"
    },
    "metadata": {
      "type": "object",
      "title": "Package Version Metadata",
      "properties": {
        "package_type": {
          "type": "string",
          "example": "docker",
          "enum": [
            "npm",
            "maven",
            "rubygems",
            "docker",
            "nuget",
            "container"
          ]
        },
        "container": {
          "type": "object",
          "title": "Container Metadata",
          "properties": {
            "tags": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "tags"
          ]
        },
        "docker": {
          "type": "object",
          "title": "Docker Metadata",
          "properties": {
            "tag": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "tags"
          ]
        }
      },
      "required": [
        "package_type"
      ]
    }
  },
  "required": [
    "id",
    "name",
    "url",
    "package_html_url",
    "created_at",
    "updated_at"
  ]
}