Initial commit
This commit is contained in:
373 files changed
+16704
No files matched your search
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://scient.ing/ns/schemas/reference.schema.json",
|
||||
"title": "Reference record",
|
||||
"description": "One line of references.jsonl; spec/10-references.md.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"node": {
|
||||
"$ref": "common.schema.json#/$defs/nodeId"
|
||||
},
|
||||
"label": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"csl": {
|
||||
"type": "object"
|
||||
},
|
||||
"resolution": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "doi"
|
||||
},
|
||||
"doi": {
|
||||
"type": "string",
|
||||
"pattern": "^10\\.[0-9]{4,9}/[^ ]+$"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"doi"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "document"
|
||||
},
|
||||
"doc": {
|
||||
"$ref": "common.schema.json#/$defs/qualifiedKey"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"doc"
|
||||
],
|
||||
"additionalProperties": false
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"const": "none"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"node",
|
||||
"resolution"
|
||||
],
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in new issue
Block a user