Initial commit
This commit is contained in:
373 files changed
+16704
No files matched your search
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user