{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "acceptedDatasetDigest": {
      "type": "string",
      "allOf": [
        {
          "pattern": "^[a-f0-9]{64}$"
        }
      ]
    },
    "slug": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "enum": [
        "whole",
        "file",
        "container"
      ]
    },
    "path": {
      "type": "string"
    },
    "membership": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "canonicalPath": {
            "type": "string"
          },
          "sha256": {
            "type": "string",
            "allOf": [
              {
                "pattern": "^[a-f0-9]{64}$"
              }
            ]
          }
        },
        "required": [
          "canonicalPath",
          "sha256"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "acceptedDatasetDigest",
    "slug",
    "kind",
    "path",
    "membership"
  ],
  "additionalProperties": false,
  "$defs": {}
}
