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

+53
View File
@@ -0,0 +1,53 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://scient.ing/ns/schemas/value-anchor.schema.json",
"title": "Value anchor",
"description": "One line of a dataset's anchors.jsonl: where one value came from; spec/15-datasets.md.",
"type": "object",
"properties": {
"resource": {
"$ref": "common.schema.json#/$defs/key"
},
"row": {
"$ref": "common.schema.json#/$defs/key"
},
"field": {
"type": "string",
"minLength": 1
},
"anchor": {
"$ref": "anchor.schema.json"
},
"digitization": {
"$ref": "common.schema.json#/$defs/recordId"
},
"series": {
"type": "string",
"minLength": 1
},
"point": {
"type": "integer",
"minimum": 0
}
},
"required": [
"resource",
"row",
"field"
],
"additionalProperties": false,
"oneOf": [
{
"required": [
"anchor"
]
},
{
"required": [
"digitization",
"series",
"point"
]
}
]
}