{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://nao1215.github.io/jsonize/schemas/go/list-modules.json",
  "title": "go/list-modules",
  "description": "go list -m all build list of modules",
  "x-jsonize": {
    "definition": "go/list-modules",
    "version": 2
  },
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "path": {
        "type": "string"
      },
      "version": {
        "type": [
          "string",
          "null"
        ]
      },
      "retracted": {
        "type": [
          "boolean",
          "null"
        ]
      },
      "update": {
        "type": [
          "string",
          "null"
        ]
      },
      "deprecated": {
        "type": "boolean"
      },
      "replacement": {
        "type": [
          "string",
          "null"
        ]
      },
      "replacement_version": {
        "type": [
          "string",
          "null"
        ]
      },
      "replacement_retracted": {
        "type": [
          "boolean",
          "null"
        ]
      },
      "replacement_update": {
        "type": [
          "string",
          "null"
        ]
      },
      "replacement_deprecated": {
        "type": [
          "boolean",
          "null"
        ]
      }
    },
    "required": [
      "path",
      "version",
      "retracted",
      "update",
      "deprecated",
      "replacement",
      "replacement_version",
      "replacement_retracted",
      "replacement_update",
      "replacement_deprecated"
    ]
  }
}
