@lincs.project/webannotation-schema 1.2.3 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,8 +12,19 @@
12
12
  "description": "The IRI that identifies the agent (Creator or Contributor)."
13
13
  },
14
14
  "type": {
15
- "type": "string",
16
- "const": "crm:E21_Person"
15
+ "type": "array",
16
+ "minItems": 2,
17
+ "maxItems": 2,
18
+ "items": [
19
+ {
20
+ "type": "string",
21
+ "const": "foaf:Person"
22
+ },
23
+ {
24
+ "type": "string",
25
+ "const": "crm:E21_Person"
26
+ }
27
+ ]
17
28
  },
18
29
  "name": {
19
30
  "type": "string",
@@ -585,8 +596,7 @@
585
596
  "required": [
586
597
  "id",
587
598
  "type",
588
- "source",
589
- "selector"
599
+ "source"
590
600
  ],
591
601
  "allOf": [
592
602
  {
@@ -934,7 +944,7 @@
934
944
  "items": [
935
945
  {
936
946
  "type": "string",
937
- "const": "Person"
947
+ "const": "foaf:Person"
938
948
  },
939
949
  {
940
950
  "oneOf": [
@@ -1200,26 +1210,6 @@
1200
1210
  "value": {
1201
1211
  "type": "string"
1202
1212
  },
1203
- "certainty": {
1204
- "type": "string",
1205
- "enum": [
1206
- "edit:qualityLow",
1207
- "edit:qualityMedium",
1208
- "edit:qualityHigh",
1209
- "edit:qualityUnknown"
1210
- ],
1211
- "description": "Indicates the degree of certainty associated with some aspect of an assertion, description, identification, or entity linked to the annotation body."
1212
- },
1213
- "precision": {
1214
- "type": "string",
1215
- "enum": [
1216
- "edit:qualityLow",
1217
- "edit:qualityMedium",
1218
- "edit:qualityHigh",
1219
- "edit:qualityUnknown"
1220
- ],
1221
- "description": "Indicates the degree of precision associated with the location of the entity linked to the annotation body."
1222
- },
1223
1213
  "label": {
1224
1214
  "type": "string",
1225
1215
  "minLength": 1,
@@ -1361,7 +1351,7 @@
1361
1351
  "items": [
1362
1352
  {
1363
1353
  "type": "string",
1364
- "const": "Person"
1354
+ "const": "foaf:Person"
1365
1355
  },
1366
1356
  {
1367
1357
  "oneOf": [
@@ -107,12 +107,35 @@
107
107
  }
108
108
  ]
109
109
  },
110
+ "certainty": {
111
+ "type": "string",
112
+ "enum": [
113
+ "edit:qualityLow",
114
+ "edit:qualityMedium",
115
+ "edit:qualityHigh",
116
+ "edit:qualityUnknown"
117
+ ],
118
+ "description": "Indicates the degree of certainty associated with some aspect of an assertion, description, identification, or entity linked to the annotation body."
119
+ },
120
+ "precision": {
121
+ "type": "string",
122
+ "enum": [
123
+ "edit:qualityLow",
124
+ "edit:qualityMedium",
125
+ "edit:qualityHigh",
126
+ "edit:qualityUnknown"
127
+ ],
128
+ "description": "Indicates the degree of precision associated with the location of the entity linked to the annotation body."
129
+ },
130
+ "label": {
131
+ "type": "string"
132
+ },
110
133
  "status": {
111
134
  "type": "string",
112
135
  "enum": [
113
- "draft",
114
- "approved",
115
- "published"
136
+ "edit:statusDraft",
137
+ "edit:statusApproved",
138
+ "edit:statusPublished"
116
139
  ]
117
140
  }
118
141
  },
@@ -144,7 +167,7 @@
144
167
  "items": [
145
168
  {
146
169
  "type": "string",
147
- "const": "Person"
170
+ "const": "foaf:Person"
148
171
  },
149
172
  {
150
173
  "oneOf": [