{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://nao1215.github.io/jsonize/schemas/rustup/check.json",
  "title": "rustup/check",
  "description": "rustup check, whether each toolchain and rustup itself has an update",
  "x-jsonize": {
    "definition": "rustup/check",
    "version": 1
  },
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "name": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "current": {
        "type": "string"
      },
      "current_hash": {
        "type": [
          "string",
          "null"
        ]
      },
      "current_date": {
        "type": [
          "string",
          "null"
        ]
      },
      "latest": {
        "type": [
          "string",
          "null"
        ]
      },
      "latest_hash": {
        "type": [
          "string",
          "null"
        ]
      },
      "latest_date": {
        "type": [
          "string",
          "null"
        ]
      }
    },
    "required": [
      "name",
      "status",
      "current",
      "current_hash",
      "current_date",
      "latest",
      "latest_hash",
      "latest_date"
    ]
  }
}
