First implementation (#1)
check / check (push) Successful in 42s
site / site (push) Successful in 3m4s

Reviewed-on: #1
This commit was merged in pull request #1.
This commit is contained in:
alexm committed 2026-10-15 05:47:05 -04:00
1 parent 34c0abb26a
commit 4fa326dc76
534 files changed
+28280 -37

No files matched your search

+59
View File
@@ -0,0 +1,59 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://paperspec.scient.ing/schemas/manifest.schema.json",
"title": "Package manifest",
"description": "MANIFEST.json, scienting-package/1; spec/12-package.md.",
"type": "object",
"properties": {
"format": {
"const": "scienting-package/1"
},
"doc": {
"const": "scienting-doc/1"
},
"key": {
"$ref": "common.schema.json#/$defs/documentKey"
},
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string",
"minLength": 1,
"maxLength": 512
},
"sha256": {
"$ref": "common.schema.json#/$defs/hash"
},
"size": {
"type": "integer",
"minimum": 0
},
"present": {
"const": false
},
"media_type": {
"type": "string",
"minLength": 1
}
},
"required": [
"path",
"sha256",
"size"
],
"additionalProperties": false
},
"minItems": 1
}
},
"required": [
"format",
"doc",
"key",
"files"
],
"additionalProperties": false
}