Initial commit
This commit is contained in:
373 files changed
+16704
No files matched your search
@@ -0,0 +1,143 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://scient.ing/ns/schemas/policy.schema.json",
|
||||
"title": "Team rights policy",
|
||||
"description": "scienting-policy/1: a signed decision that resolves unknown uses; spec/14-rights.md.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"format": {
|
||||
"const": "scienting-policy/1"
|
||||
},
|
||||
"id": {
|
||||
"$ref": "common.schema.json#/$defs/recordId"
|
||||
},
|
||||
"project": {
|
||||
"$ref": "common.schema.json#/$defs/key"
|
||||
},
|
||||
"applies_to": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"basis": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "common.schema.json#/$defs/basis"
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"license": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "common.schema.json#/$defs/spdx"
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"doi_prefixes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"minItems": 1
|
||||
},
|
||||
"witnesses": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "common.schema.json#/$defs/hash"
|
||||
},
|
||||
"minItems": 1
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"additionalProperties": false,
|
||||
"minProperties": 1
|
||||
},
|
||||
"uses": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"read": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
},
|
||||
"tdm": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
},
|
||||
"redistribute": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
},
|
||||
"quote-public": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
},
|
||||
"accessible-copy": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
},
|
||||
"ai": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"internal/local": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
},
|
||||
"internal/tenancy": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
},
|
||||
"internal/outside-no-retention": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
},
|
||||
"internal/outside": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
},
|
||||
"external/local": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
},
|
||||
"external/tenancy": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
},
|
||||
"external/outside-no-retention": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
},
|
||||
"external/outside": {
|
||||
"$ref": "common.schema.json#/$defs/tri"
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"required": [],
|
||||
"additionalProperties": false
|
||||
},
|
||||
"statement": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"by": {
|
||||
"$ref": "common.schema.json#/$defs/key"
|
||||
},
|
||||
"at": {
|
||||
"$ref": "common.schema.json#/$defs/time"
|
||||
},
|
||||
"valid_until": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "common.schema.json#/$defs/time"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"signature": {
|
||||
"$ref": "common.schema.json#/$defs/signature"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"format",
|
||||
"id",
|
||||
"applies_to",
|
||||
"uses",
|
||||
"statement",
|
||||
"by",
|
||||
"at",
|
||||
"valid_until",
|
||||
"signature"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in new issue
Block a user