ghes-version

APIs.ioEngineeringPlatform
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-ghes-version-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ghes-version",
  "title": "ghes-version",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "hostname": {
        "type": "string",
        "format": "hostname"
      },
      "version": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string",
            "pattern": "[0-9]\\.[0-9]{2}\\.[0-9]"
          },
          "platform": {
            "type": "string",
            "enum": [
              "ami",
              "azure",
              "esx",
              "gce",
              "hyperv",
              "kvm"
            ]
          },
          "build_id": {
            "type": "string",
            "pattern": "[0-9a-f]{8}"
          },
          "build_date": {
            "type": "string",
            "format": "date"
          }
        }
      }
    }
  }
}