{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "https://schema.hagicode.com/schemas/manifest-files/v1.schema.json",
  "title": "Files Manifest",
  "type": "object",
  "description": "Hagicode \u5E73\u53F0\u6587\u4EF6\u6E05\u5355\uFF0C\u5305\u542B\u6240\u6709\u90E8\u7F72\u6587\u4EF6\u7684\u5B8C\u6574\u5217\u8868\u548C\u5143\u6570\u636E",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "type": [
        "null",
        "string"
      ]
    },
    "version": {
      "type": "string"
    },
    "manifestVersion": {
      "type": "string"
    },
    "generatedAt": {
      "type": "string"
    },
    "files": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/ManifestFile"
      }
    }
  },
  "definitions": {
    "ManifestFile": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "path": {
          "type": "string"
        },
        "size": {
          "type": "integer",
          "format": "int64"
        },
        "checksum": {
          "type": "string"
        },
        "checksumAlgorithm": {
          "type": "string"
        }
      }
    }
  }
}