{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "packages": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "ecosystem": {
            "enum": [
              "npm"
            ],
            "type": "string"
          },
          "lockfile": {
            "minLength": 1,
            "pattern": "^(?!\\/)(?![A-Za-z]:)(?!.*\\\\)(?!.*(?:^|\\/)\\.\\.(?:\\/|$)).+$",
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "version": {
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "ecosystem",
          "name",
          "version",
          "lockfile"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "schema": {
      "const": "belld.package-list",
      "type": "string"
    },
    "version": {
      "const": "1.0.0",
      "type": "string"
    }
  },
  "required": [
    "schema",
    "version",
    "packages"
  ],
  "type": "object"
}
