feat: comment categories; emend, relink and resolve corrections
scienting-layer/1: an optional, fixed category on comment, caveat and question bodies (comment, context, critique, question, correction, feedback, resource). Corrections: emend fixes the authors' own slip and keeps what was printed (a run's printed), never lowering fidelity or a witness match; relink sets or removes what a citation names; resolve sets a reference's resolution. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017R7sgDNvUGWY2zFPCq2JH6
This commit is contained in:
33 files changed
+726
-80
No files matched your search
@@ -3,6 +3,13 @@
|
||||
"$id": "https://paperspec.scient.ing/schemas/runs.schema.json",
|
||||
"title": "Inline runs",
|
||||
"description": "The runs of a sentence, cell, reference, authors or keywords node; spec/03-nodes.md.",
|
||||
"$defs": {
|
||||
"printed": {
|
||||
"description": "The run's text as the paper prints it, kept by an emend correction (spec/03 §3.5, spec/11 §11.1).",
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
},
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
@@ -31,6 +38,9 @@
|
||||
},
|
||||
"minItems": 1,
|
||||
"uniqueItems": true
|
||||
},
|
||||
"printed": {
|
||||
"$ref": "#/$defs/printed"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -79,6 +89,9 @@
|
||||
"text": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"printed": {
|
||||
"$ref": "#/$defs/printed"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -110,6 +123,9 @@
|
||||
"text": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"printed": {
|
||||
"$ref": "#/$defs/printed"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -138,6 +154,9 @@
|
||||
"text": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"printed": {
|
||||
"$ref": "#/$defs/printed"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -159,6 +178,9 @@
|
||||
"text": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
},
|
||||
"printed": {
|
||||
"$ref": "#/$defs/printed"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
||||
Reference in new issue
Block a user