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

+81
View File
@@ -0,0 +1,81 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://paperspec.scient.ing/schemas/stages.schema.json",
"title": "Stage requirements",
"description": "scienting-stages/1: the uses each stage needs; configuration, not code; spec/14-rights.md.",
"type": "object",
"properties": {
"format": {
"const": "scienting-stages/1"
},
"id": {
"$ref": "common.schema.json#/$defs/key"
},
"note": {
"type": "string",
"minLength": 1
},
"stages": {
"type": "object",
"minProperties": 1,
"propertyNames": {
"$ref": "common.schema.json#/$defs/key"
},
"additionalProperties": {
"type": "object",
"properties": {
"uses": {
"type": "array",
"items": {
"enum": [
"read",
"tdm",
"redistribute",
"quote-public",
"accessible-copy"
]
},
"uniqueItems": true
},
"ai": {
"type": "object",
"properties": {
"purpose": {
"enum": [
"internal",
"external"
]
},
"processors": {
"type": "array",
"items": {
"$ref": "common.schema.json#/$defs/processor"
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [
"purpose"
],
"additionalProperties": false
},
"note": {
"type": "string",
"minLength": 1
}
},
"required": [
"uses"
],
"additionalProperties": false
}
}
},
"required": [
"format",
"id",
"stages"
],
"additionalProperties": false
}