File size: 2,784 Bytes
193be2c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 | {
"$id": "doxa-context-packet-v1",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Focal and adjacent text are preserved exactly. Packet source_text_sha256 hashes the full upstream document; annotation review source_text_sha256 hashes the reviewed record's focal text. This revision contains nominations only, not training gold.",
"properties": {
"annotation_status": {
"const": "unannotated"
},
"authors": {
"items": {
"type": "string"
},
"type": "array"
},
"context_after": {
"type": "string"
},
"context_after_end": {
"minimum": 1,
"type": "integer"
},
"context_before": {
"type": "string"
},
"context_before_start": {
"minimum": 0,
"type": "integer"
},
"document_group": {
"type": "string"
},
"evaluation_eligible": {
"const": false
},
"gold_label": {
"type": "null"
},
"human_review_count": {
"const": 0
},
"id": {
"minLength": 1,
"type": "string"
},
"license": {
"required": [
"identifier",
"source_url"
],
"type": "object"
},
"offset_unit": {
"const": "unicode_code_points"
},
"reserved_split": {
"enum": [
"train",
"validation",
"test"
]
},
"schema_version": {
"const": "doxa-context-packet-v1"
},
"source_document_id": {
"minLength": 1,
"type": "string"
},
"source_text_end": {
"minimum": 1,
"type": "integer"
},
"source_text_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"source_text_start": {
"minimum": 0,
"type": "integer"
},
"source_xml_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"source_xpath": {
"minLength": 1,
"type": "string"
},
"text": {
"minLength": 1,
"type": "string"
},
"text_sha256": {
"pattern": "^[0-9a-f]{64}$",
"type": "string"
},
"training_eligible": {
"const": false
}
},
"required": [
"id",
"schema_version",
"text",
"text_sha256",
"context_before",
"context_after",
"source_document_id",
"source_text_start",
"source_text_end",
"context_before_start",
"context_after_end",
"source_text_sha256",
"source_xml_sha256",
"source_xpath",
"offset_unit",
"authors",
"license",
"document_group",
"reserved_split",
"annotation_status",
"gold_label",
"human_review_count",
"training_eligible",
"evaluation_eligible"
],
"title": "DOXA exact research paragraph and source context nomination",
"type": "object"
}
|