Initial commit
check / check (macos-latest) (push) Canceled after 0s
check / check (ubuntu-latest) (push) Canceled after 0s

This commit is contained in:
alexm committed 2026-10-11 23:45:29 -04:00
commit 62f54ed869
373 files changed
+16704

No files matched your search

+59
View File
@@ -0,0 +1,59 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://scient.ing/ns/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/key"
},
"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
}