40 lines
854 B
JSON
40 lines
854 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "https://scient.ing/ns/schemas/draft-ids.schema.json",
|
|
"title": "Draft sentence IDs",
|
|
"description": "One line of a Typst project's ids.jsonl: scienting-draft-ids/1; spec/21-drafts.md.",
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"$ref": "common.schema.json#/$defs/nodeId"
|
|
},
|
|
"text_hash": {
|
|
"$ref": "common.schema.json#/$defs/hash"
|
|
},
|
|
"section": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "common.schema.json#/$defs/nodeId"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"ord": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"pinned": {
|
|
"$ref": "common.schema.json#/$defs/key"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"text_hash",
|
|
"section",
|
|
"ord"
|
|
],
|
|
"additionalProperties": false
|
|
}
|