{
  "$id": "https://opendatafabric.org/schemas/legacy/v0/Manifest",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "An object that wraps the metadata resources providing versioning and type identification. All root-level resources are wrapped with a manifest when serialized to disk.",
  "type": "object",
  "required": [
    "kind",
    "version",
    "content"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "format": "multicodec",
      "description": "Type of the resource."
    },
    "version": {
      "type": "integer",
      "format": "int32",
      "description": "Major version number of the resource contained in this manifest. It provides the mechanism for introducing compatibility breaking changes."
    },
    "content": {
      "type": "object",
      "format": "fragment",
      "description": "Resource data."
    }
  }
}
