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

+120
View File
@@ -0,0 +1,120 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://scient.ing/ns/schemas/snapshot.schema.json",
"title": "Draft snapshot",
"description": "scienting-snapshot/1: the pinned claims, quotations and datasets a draft cites; spec/21-drafts.md.",
"type": "object",
"properties": {
"format": {
"const": "scienting-snapshot/1"
},
"store": {
"$ref": "common.schema.json#/$defs/key"
},
"made_at": {
"$ref": "common.schema.json#/$defs/time"
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"address": {
"$ref": "common.schema.json#/$defs/address"
},
"anchor": {
"$ref": "anchor.schema.json"
},
"text": {
"type": "string",
"minLength": 1
},
"fidelity": {
"$ref": "common.schema.json#/$defs/level"
},
"result": {
"enum": [
"current",
"changed-below",
"moved",
"reattached"
]
}
},
"required": [
"address",
"anchor",
"text",
"fidelity",
"result"
],
"additionalProperties": false
}
},
"claims": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ref": {
"type": "string",
"minLength": 1
},
"pin": {
"type": "string",
"minLength": 1
},
"level": {
"type": "string",
"minLength": 1
},
"standing": {
"type": "string",
"minLength": 1
},
"rendering": {
"type": "string",
"minLength": 1
},
"typst": {
"type": "string",
"minLength": 1
}
},
"required": [
"ref",
"pin"
],
"additionalProperties": false
}
},
"datasets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"$ref": "common.schema.json#/$defs/datasetId"
},
"hash": {
"$ref": "common.schema.json#/$defs/hash"
}
},
"required": [
"id",
"hash"
],
"additionalProperties": false
}
}
},
"required": [
"format",
"store",
"made_at",
"quotes",
"claims",
"datasets"
],
"additionalProperties": false
}