@lincs.project/webannotation-schema 1.8.0 → 1.10.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.
package/dist/index.mjs CHANGED
@@ -22,38 +22,44 @@ var schemaContext = {
22
22
  wikidata: "http://www.wikidata.org/entity/",
23
23
  crm: "http://www.cidoc-crm.org/cidoc-crm/",
24
24
  crmdig: "http://www.ics.forth.gr/isl/CRMdig/",
25
- additionalType: {
26
- "@type": "@id",
27
- "@id": "crm:P2_has_type"
25
+ citing: "edit:citing",
26
+ correcting: "edit:correcting",
27
+ "oa:identifying": {
28
+ type: "crm:E55_Type"
29
+ },
30
+ "oa:describing": {
31
+ type: "crm:E55_Type"
32
+ },
33
+ "oa:tagging": {
34
+ type: "crm:E55_Type"
35
+ },
36
+ "oa:classifying": {
37
+ type: "crm:E55_Type"
38
+ },
39
+ "oa:linking": {
40
+ type: "crm:E55_Type"
28
41
  },
29
42
  certainty: {
30
43
  "@type": "@id",
31
- "@id": "crm:P2_has_type"
44
+ "@id": "http://temp.lincsproject.ca/certainty"
45
+ },
46
+ precision: {
47
+ "@type": "@id",
48
+ "@id": "http://temp.lincsproject.ca/precision"
32
49
  },
33
50
  contributor: "dcterms:contributor",
34
- description: "rdfs:comment",
35
51
  entityType: {
36
52
  "@type": "@id",
37
53
  "@id": "rdf:type"
38
54
  },
39
- identifiedBy: "crm:P1_is_identified_by",
40
- modeExistence: "edit:ModeExistence",
41
- precision: {
42
- "@type": "@id",
43
- "@id": "crm:P2_has_type"
44
- },
45
- softwareVersion: "schema:softwareVersion",
46
- status: {
55
+ additionalType: {
47
56
  "@type": "@id",
48
57
  "@id": "crm:P2_has_type"
49
58
  },
59
+ modeExistence: "edit:ModeExistence",
60
+ description: "rdfs:comment",
50
61
  title: "crm:P190_has_symbolic_content",
51
- usedSpecificObject: "crm:P16_used_specific_object",
52
- approved: "edit:statusApproved",
53
- citing: "edit:citing",
54
- correcting: "edit:correcting",
55
- draft: "edit:statusDraft",
56
- published: "edit:statusPublished"
62
+ softwareVersion: "schema:softwareVersion"
57
63
  }
58
64
  };
59
65
 
@@ -79,7 +85,7 @@ var softwareIdDescription = "The IRI that identifies the agent (software).";
79
85
  var Software = z.object({
80
86
  id: z.string().url().describe(softwareIdDescription),
81
87
  type: z.literal("Software").describe("The type of the Agent."),
82
- usedSpecificObject: z.string().url().optional(),
88
+ P16_used_specific_object: z.string().url().optional(),
83
89
  label: z.string().min(1).describe("The name of the software."),
84
90
  softwareVersion: z.string().optional().describe("The software version.")
85
91
  }).describe("Software Agent");
@@ -89,7 +95,7 @@ var softwareSchema = {
89
95
  properties: {
90
96
  id: { type: "string", format: "uri", description: softwareIdDescription },
91
97
  type: { type: "string", const: "Software" },
92
- usedSpecificObject: { type: "string", format: "uri" },
98
+ P16_used_specific_object: { type: "string", format: "uri" },
93
99
  label: { type: "string", minLength: 1, description: "The name of the software." },
94
100
  softwareVersion: { type: "string", description: "The software version." }
95
101
  },
@@ -1242,7 +1248,7 @@ var languageSchema = {
1242
1248
  maxLength: 3
1243
1249
  };
1244
1250
  var sourceIdDescription = "The IRI that identifies the Target source.";
1245
- var IdentifiedBy = z23.object({
1251
+ var isIdentifiedBy = z23.object({
1246
1252
  id: z23.string().url(),
1247
1253
  type: z23.literal("crm:E33_E41_Linguistic_Appellation"),
1248
1254
  title: z23.string().min(1, { message: "The title cannot be empty" }).describe("The title of the document being annotated.")
@@ -1253,12 +1259,12 @@ var Source = z23.object({
1253
1259
  format: z23.union([Format, z23.array(Format).min(1)]).optional().describe(
1254
1260
  "The formats of the Web Resource's content. The value of the property should and array of media-types of the format, following the [rfc6838] specification."
1255
1261
  ),
1256
- identifiedBy: IdentifiedBy.optional(),
1262
+ P1_is_identified_by: isIdentifiedBy.optional(),
1257
1263
  language: z23.union([Language, z23.array(Language).min(1)]).optional().describe(
1258
1264
  "The languages of the Web Resource's content. The value of the property should be an array of language code following the [bcp47] specification."
1259
1265
  )
1260
1266
  }).describe("Web Annotation Target");
1261
- var indentifyBySchema = {
1267
+ var isIndentifyBySchema = {
1262
1268
  type: "object",
1263
1269
  description: "indentifyBy",
1264
1270
  properties: {
@@ -1291,7 +1297,7 @@ var sourceSchema = {
1291
1297
  }
1292
1298
  ]
1293
1299
  },
1294
- identifiedBy: { ...indentifyBySchema, nullable: true },
1300
+ P1_is_identified_by: { ...isIndentifyBySchema, nullable: true },
1295
1301
  language: {
1296
1302
  type: ["string", "array"],
1297
1303
  nullable: true,
@@ -1512,69 +1518,40 @@ var definitionSchema = {
1512
1518
  };
1513
1519
 
1514
1520
  // src/v1/schema/root.ts
1515
- import { z as z27 } from "zod";
1516
-
1517
- // src/v1/schema/definitions/motivation.ts
1518
1521
  import { z as z26 } from "zod";
1519
- var MotivationInstance = z26.union([
1520
- z26.literal("identifying"),
1521
- z26.literal("describing"),
1522
- z26.literal("correcting"),
1523
- z26.literal("tagging"),
1524
- z26.literal("classifying"),
1525
- z26.literal("linking"),
1526
- z26.literal("citing")
1527
- ]);
1528
- var MotivationType = z26.object({
1529
- type: z26.literal("crm:E55_Type")
1530
- });
1531
- var Motivation = z26.record(MotivationInstance, MotivationType).describe("The relationship between an Annotation and a Motivation.");
1532
- var motivationType = {
1533
- type: "object",
1534
- properties: {
1535
- type: { type: "string", const: "crm:E55_Type" }
1536
- },
1537
- required: ["type"]
1538
- };
1539
- var motivationSchema = {
1540
- type: "object",
1541
- description: "The relationship between an Annotation and a Motivation.",
1542
- properties: {
1543
- identifying: { ...motivationType, nullable: true },
1544
- describing: { ...motivationType, nullable: true },
1545
- correcting: { ...motivationType, nullable: true },
1546
- tagging: { ...motivationType, nullable: true },
1547
- classifying: { ...motivationType, nullable: true },
1548
- linking: { ...motivationType, nullable: true },
1549
- citing: { ...motivationType, nullable: true }
1550
- }
1551
- };
1552
-
1553
- // src/v1/schema/root.ts
1554
- var Status = ["edit:statusDraft", "edit:statusApproved", "edit:statusPublished"];
1555
- var WebAnnotation = z27.object({
1556
- "@context": z27.tuple([
1557
- z27.literal("http://www.w3.org/ns/anno.jsonld").describe("W3C Web Annotation Context."),
1558
- z27.literal(contextUri).describe("LINCS Web Annotation Context.")
1522
+ var Motivation = [
1523
+ "oa:identifying",
1524
+ "oa:describing",
1525
+ "correcting",
1526
+ "oa:tagging",
1527
+ "oa:classifying",
1528
+ "oa:linking",
1529
+ "citing"
1530
+ ];
1531
+ var WebAnnotation = z26.object({
1532
+ "@context": z26.tuple([
1533
+ z26.literal("http://www.w3.org/ns/anno.jsonld").describe("W3C Web Annotation Context."),
1534
+ z26.literal("https://www.cidoc-crm.org/cidoc-crm/json-ld_context.jsonld").describe("CIDOC Web Annotation Context."),
1535
+ z26.literal(contextUri).describe("LINCS Web Annotation Context.")
1559
1536
  ]).describe(
1560
1537
  "The context that determines the meaning of the JSON as an Annotation. The itens should point to a URI containing the defiintion used in this schema."
1561
1538
  ),
1562
- id: z27.string().url().describe("The identity of the Annotation."),
1563
- type: z27.tuple([z27.literal("Annotation"), z27.literal("crm:E33_Linguistic_Object")]).describe("The type of the Annotation."),
1564
- motivation: Motivation,
1565
- created: z27.string().datetime().describe("The time at which the resource was created."),
1566
- modified: z27.string().datetime().optional().describe("The time at which the resource was modified, after creation."),
1539
+ id: z26.string().url().describe("The identity of the Annotation."),
1540
+ type: z26.tuple([z26.literal("Annotation"), z26.literal("crm:E33_Linguistic_Object")]).describe("The type of the Annotation."),
1541
+ motivation: z26.enum(Motivation).describe("The relationship between an Annotation and a Motivation."),
1542
+ created: z26.string().datetime().describe("The time at which the resource was created."),
1543
+ modified: z26.string().datetime().optional().describe("The time at which the resource was modified, after creation."),
1567
1544
  creator: User.describe("The agent responsible for creating the resource.").optional(),
1568
- contributor: z27.array(User.describe("The agents responsible for modifying the resource.")).nonempty().optional().describe("The agents responsible for modifying the resource."),
1545
+ contributor: z26.array(User.describe("The agents responsible for modifying the resource.")).nonempty().optional().describe("The agents responsible for modifying the resource."),
1569
1546
  generator: Software.describe(
1570
1547
  "The agent responsible for generating the serialization of the Annotation. "
1571
1548
  ),
1572
1549
  target: Target.describe("The relationship between an Annotation and its Target."),
1573
- body: z27.union([BodyChoice, Body, z27.array(Body)]).describe("The relationship between an Annotation and its Body."),
1550
+ body: z26.union([BodyChoice, Body, z26.array(Body)]).describe("The relationship between an Annotation and its Body."),
1574
1551
  certainty: Certainty.optional(),
1575
1552
  precision: Precision.optional(),
1576
- label: z27.string().min(1, { message: "The label cannot be empty" }).optional().describe("The descriptive label for the annotation"),
1577
- status: z27.enum(Status).describe("The status of this annotation in a workflow.")
1553
+ label: z26.string().min(1, { message: "The label cannot be empty" }).optional().describe("The descriptive label for the annotation"),
1554
+ P2_has_type: z26.union([z26.string().min(3), z26.array(z26.string().min(3)).min(1)]).optional()
1578
1555
  }).describe("Web Annotation Root");
1579
1556
  var webAnnotationSchema = {
1580
1557
  $id: schemaId,
@@ -1583,10 +1560,11 @@ var webAnnotationSchema = {
1583
1560
  properties: {
1584
1561
  "@context": {
1585
1562
  type: "array",
1586
- minItems: 2,
1587
- maxItems: 2,
1563
+ minItems: 3,
1564
+ maxItems: 3,
1588
1565
  items: [
1589
1566
  { type: "string", const: "http://www.w3.org/ns/anno.jsonld" },
1567
+ { type: "string", const: "https://www.cidoc-crm.org/cidoc-crm/json-ld_context.jsonld" },
1590
1568
  { type: "string", const: contextUri }
1591
1569
  ],
1592
1570
  description: "The context that determines the meaning of the JSON as an Annotation. The itens should point to a URI containing the defiintion used in this schema."
@@ -1606,7 +1584,11 @@ var webAnnotationSchema = {
1606
1584
  ],
1607
1585
  description: "The type of the Annotation."
1608
1586
  },
1609
- motivation: motivationSchema,
1587
+ motivation: {
1588
+ type: "string",
1589
+ enum: Motivation,
1590
+ description: "The relationship between an Annotation and a Motivation."
1591
+ },
1610
1592
  created: {
1611
1593
  type: "string",
1612
1594
  format: "date-time",
@@ -1642,19 +1624,22 @@ var webAnnotationSchema = {
1642
1624
  certainty: certaintySchema,
1643
1625
  precision: precisionSchema,
1644
1626
  label: { type: "string" },
1645
- status: { type: "string", enum: Status }
1627
+ P2_has_type: {
1628
+ oneOf: [
1629
+ { type: "string", minLength: 3 },
1630
+ {
1631
+ type: "array",
1632
+ minItems: 1,
1633
+ items: {
1634
+ type: "string",
1635
+ minLength: 3
1636
+ },
1637
+ uniqueItems: true
1638
+ }
1639
+ ]
1640
+ }
1646
1641
  },
1647
- required: [
1648
- "@context",
1649
- "id",
1650
- "type",
1651
- "motivation",
1652
- "created",
1653
- "generator",
1654
- "target",
1655
- "body",
1656
- "status"
1657
- ],
1642
+ required: ["@context", "id", "type", "motivation", "created", "generator", "target", "body"],
1658
1643
  additionalProperties: false,
1659
1644
  allOf: [
1660
1645
  {
@@ -1683,17 +1668,7 @@ var webAnnotationSchema = {
1683
1668
  then: {
1684
1669
  type: "object",
1685
1670
  properties: {
1686
- motivation: {
1687
- type: "object",
1688
- properties: {
1689
- identifying: {
1690
- type: "object",
1691
- properties: {
1692
- type: { type: "string", const: "crm:E55_Type" }
1693
- }
1694
- }
1695
- }
1696
- }
1671
+ motivation: { type: "string", const: "oa:identifying" }
1697
1672
  }
1698
1673
  },
1699
1674
  else: {
@@ -1711,17 +1686,7 @@ var webAnnotationSchema = {
1711
1686
  then: {
1712
1687
  type: "object",
1713
1688
  properties: {
1714
- motivation: {
1715
- type: "object",
1716
- properties: {
1717
- describing: {
1718
- type: "object",
1719
- properties: {
1720
- type: { type: "string", const: "crm:E55_Type" }
1721
- }
1722
- }
1723
- }
1724
- }
1689
+ motivation: { type: "string", const: "oa:describing" }
1725
1690
  }
1726
1691
  },
1727
1692
  else: {
@@ -1739,17 +1704,7 @@ var webAnnotationSchema = {
1739
1704
  then: {
1740
1705
  type: "object",
1741
1706
  properties: {
1742
- motivation: {
1743
- type: "object",
1744
- properties: {
1745
- correcting: {
1746
- type: "object",
1747
- properties: {
1748
- type: { type: "string", const: "crm:E55_Type" }
1749
- }
1750
- }
1751
- }
1752
- }
1707
+ motivation: { type: "string", const: "correcting" }
1753
1708
  }
1754
1709
  },
1755
1710
  else: {
@@ -1767,17 +1722,7 @@ var webAnnotationSchema = {
1767
1722
  then: {
1768
1723
  type: "object",
1769
1724
  properties: {
1770
- motivation: {
1771
- type: "object",
1772
- properties: {
1773
- tagging: {
1774
- type: "object",
1775
- properties: {
1776
- type: { type: "string", const: "crm:E55_Type" }
1777
- }
1778
- }
1779
- }
1780
- }
1725
+ motivation: { type: "string", const: "oa:tagging" }
1781
1726
  }
1782
1727
  },
1783
1728
  else: {
@@ -1795,17 +1740,7 @@ var webAnnotationSchema = {
1795
1740
  then: {
1796
1741
  type: "object",
1797
1742
  properties: {
1798
- motivation: {
1799
- type: "object",
1800
- properties: {
1801
- classifying: {
1802
- type: "object",
1803
- properties: {
1804
- type: { type: "string", const: "crm:E55_Type" }
1805
- }
1806
- }
1807
- }
1808
- }
1743
+ motivation: { type: "string", const: "oa:classifying" }
1809
1744
  }
1810
1745
  },
1811
1746
  else: {
@@ -1823,17 +1758,7 @@ var webAnnotationSchema = {
1823
1758
  then: {
1824
1759
  type: "object",
1825
1760
  properties: {
1826
- motivation: {
1827
- type: "object",
1828
- properties: {
1829
- linking: {
1830
- type: "object",
1831
- properties: {
1832
- type: { type: "string", const: "crm:E55_Type" }
1833
- }
1834
- }
1835
- }
1836
- }
1761
+ motivation: { type: "string", const: "oa:linking" }
1837
1762
  }
1838
1763
  },
1839
1764
  else: {
@@ -1851,17 +1776,7 @@ var webAnnotationSchema = {
1851
1776
  then: {
1852
1777
  type: "object",
1853
1778
  properties: {
1854
- motivation: {
1855
- type: "object",
1856
- properties: {
1857
- citing: {
1858
- type: "object",
1859
- properties: {
1860
- type: { type: "string", const: "crm:E55_Type" }
1861
- }
1862
- }
1863
- }
1864
- }
1779
+ motivation: { type: "string", const: "citing" }
1865
1780
  }
1866
1781
  }
1867
1782
  }
@@ -1880,18 +1795,18 @@ import Ajv from "ajv";
1880
1795
  import addFormats from "ajv-formats";
1881
1796
 
1882
1797
  // src/v1/validator/types.ts
1883
- import { z as z28 } from "zod";
1884
- var ValidationError = z28.object({
1885
- message: z28.string(),
1886
- path: z28.string(),
1887
- suggestion: z28.string().optional(),
1888
- context: z28.object({
1889
- errorType: z28.string()
1890
- }).and(z28.unknown())
1798
+ import { z as z27 } from "zod";
1799
+ var ValidationError = z27.object({
1800
+ message: z27.string(),
1801
+ path: z27.string(),
1802
+ suggestion: z27.string().optional(),
1803
+ context: z27.object({
1804
+ errorType: z27.string()
1805
+ }).and(z27.unknown())
1891
1806
  });
1892
- var ValidateResult = z28.object({
1893
- valid: z28.boolean(),
1894
- errors: z28.array(ValidationError).optional()
1807
+ var ValidateResult = z27.object({
1808
+ valid: z27.boolean(),
1809
+ errors: z27.array(ValidationError).optional()
1895
1810
  });
1896
1811
 
1897
1812
  // src/v1/validator/index.ts
@@ -1937,15 +1852,18 @@ __export(v1_exports, {
1937
1852
  DATE_RANGE_PATTERN: () => DATE_RANGE_PATTERN,
1938
1853
  Date: () => Date,
1939
1854
  DateEntityType: () => DateEntityType,
1855
+ Description: () => Description,
1940
1856
  Event: () => Event,
1941
1857
  EventEntityType: () => EventEntityType,
1942
- IdentifiedBy: () => IdentifiedBy,
1943
1858
  Keyword: () => Keyword,
1944
1859
  KeywordEntityType: () => KeywordEntityType,
1945
1860
  KeywordFolksnomy: () => KeywordFolksnomy,
1946
1861
  KeywordFolksnomyEntityType: () => KeywordFolksnomyEntityType,
1862
+ Label: () => Label,
1947
1863
  Link: () => Link,
1948
1864
  LinkEntityType: () => LinkEntityType,
1865
+ ModeExistence: () => ModeExistence,
1866
+ Motivation: () => Motivation,
1949
1867
  Note: () => Note,
1950
1868
  NoteEntityType: () => NoteEntityType,
1951
1869
  Organization: () => Organization,
@@ -1962,7 +1880,6 @@ __export(v1_exports, {
1962
1880
  Selector: () => Selector,
1963
1881
  Software: () => Software,
1964
1882
  Source: () => Source,
1965
- Status: () => Status,
1966
1883
  Target: () => Target,
1967
1884
  TextPositionSelector: () => TextPositionSelector,
1968
1885
  TextPositionSelectorExtended: () => TextPositionSelectorExtended,
@@ -1995,17 +1912,21 @@ __export(v1_exports, {
1995
1912
  dateSchema: () => dateSchema,
1996
1913
  definitionSchema: () => definitionSchema,
1997
1914
  defsId: () => defsId,
1915
+ descriptionSchema: () => descriptionSchema,
1998
1916
  eventEntityTypeSchema: () => eventEntityTypeSchema,
1999
1917
  eventSchema: () => eventSchema,
2000
1918
  formatSchema: () => formatSchema,
2001
- indentifyBySchema: () => indentifyBySchema,
1919
+ isIdentifiedBy: () => isIdentifiedBy,
1920
+ isIndentifyBySchema: () => isIndentifyBySchema,
2002
1921
  keywordEntityTypeSchema: () => keywordEntityTypeSchema,
2003
1922
  keywordFolksnomyEntityTypeSchema: () => keywordFolksnomyEntityTypeSchema,
2004
1923
  keywordFolksnomySchema: () => keywordFolksnomySchema,
2005
1924
  keywordSchema: () => keywordSchema,
1925
+ labelSchema: () => labelSchema,
2006
1926
  languageSchema: () => languageSchema,
2007
1927
  linkEntityTypeSchema: () => linkEntityTypeSchema,
2008
1928
  linkSchema: () => linkSchema,
1929
+ modeExistenceSchema: () => modeExistenceSchema,
2009
1930
  noteEntityTypeSchema: () => noteEntityTypeSchema,
2010
1931
  noteSchema: () => noteSchema,
2011
1932
  organizationEntityTypeSchema: () => organizationEntityTypeSchema,
@@ -2052,15 +1973,18 @@ export {
2052
1973
  DATE_RANGE_PATTERN,
2053
1974
  Date,
2054
1975
  DateEntityType,
1976
+ Description,
2055
1977
  Event,
2056
1978
  EventEntityType,
2057
- IdentifiedBy,
2058
1979
  Keyword,
2059
1980
  KeywordEntityType,
2060
1981
  KeywordFolksnomy,
2061
1982
  KeywordFolksnomyEntityType,
1983
+ Label,
2062
1984
  Link,
2063
1985
  LinkEntityType,
1986
+ ModeExistence,
1987
+ Motivation,
2064
1988
  Note,
2065
1989
  NoteEntityType,
2066
1990
  Organization,
@@ -2077,7 +2001,6 @@ export {
2077
2001
  Selector,
2078
2002
  Software,
2079
2003
  Source,
2080
- Status,
2081
2004
  Target,
2082
2005
  TextPositionSelector,
2083
2006
  TextPositionSelectorExtended,
@@ -2110,17 +2033,21 @@ export {
2110
2033
  dateSchema,
2111
2034
  definitionSchema,
2112
2035
  defsId,
2036
+ descriptionSchema,
2113
2037
  eventEntityTypeSchema,
2114
2038
  eventSchema,
2115
2039
  formatSchema,
2116
- indentifyBySchema,
2040
+ isIdentifiedBy,
2041
+ isIndentifyBySchema,
2117
2042
  keywordEntityTypeSchema,
2118
2043
  keywordFolksnomyEntityTypeSchema,
2119
2044
  keywordFolksnomySchema,
2120
2045
  keywordSchema,
2046
+ labelSchema,
2121
2047
  languageSchema,
2122
2048
  linkEntityTypeSchema,
2123
2049
  linkSchema,
2050
+ modeExistenceSchema,
2124
2051
  noteEntityTypeSchema,
2125
2052
  noteSchema,
2126
2053
  organizationEntityTypeSchema,
@@ -9,37 +9,43 @@
9
9
  "wikidata": "http://www.wikidata.org/entity/",
10
10
  "crm": "http://www.cidoc-crm.org/cidoc-crm/",
11
11
  "crmdig": "http://www.ics.forth.gr/isl/CRMdig/",
12
- "additionalType": {
13
- "@type": "@id",
14
- "@id": "crm:P2_has_type"
12
+ "citing": "edit:citing",
13
+ "correcting": "edit:correcting",
14
+ "oa:identifying": {
15
+ "type": "crm:E55_Type"
16
+ },
17
+ "oa:describing": {
18
+ "type": "crm:E55_Type"
19
+ },
20
+ "oa:tagging": {
21
+ "type": "crm:E55_Type"
22
+ },
23
+ "oa:classifying": {
24
+ "type": "crm:E55_Type"
25
+ },
26
+ "oa:linking": {
27
+ "type": "crm:E55_Type"
15
28
  },
16
29
  "certainty": {
17
30
  "@type": "@id",
18
- "@id": "crm:P2_has_type"
31
+ "@id": "http://temp.lincsproject.ca/certainty"
32
+ },
33
+ "precision": {
34
+ "@type": "@id",
35
+ "@id": "http://temp.lincsproject.ca/precision"
19
36
  },
20
37
  "contributor": "dcterms:contributor",
21
- "description": "rdfs:comment",
22
38
  "entityType": {
23
39
  "@type": "@id",
24
40
  "@id": "rdf:type"
25
41
  },
26
- "identifiedBy": "crm:P1_is_identified_by",
27
- "modeExistence": "edit:ModeExistence",
28
- "precision": {
29
- "@type": "@id",
30
- "@id": "crm:P2_has_type"
31
- },
32
- "softwareVersion": "schema:softwareVersion",
33
- "status": {
42
+ "additionalType": {
34
43
  "@type": "@id",
35
44
  "@id": "crm:P2_has_type"
36
45
  },
46
+ "modeExistence": "edit:ModeExistence",
47
+ "description": "rdfs:comment",
37
48
  "title": "crm:P190_has_symbolic_content",
38
- "usedSpecificObject": "crm:P16_used_specific_object",
39
- "approved": "edit:statusApproved",
40
- "citing": "edit:citing",
41
- "correcting": "edit:correcting",
42
- "draft": "edit:statusDraft",
43
- "published": "edit:statusPublished"
49
+ "softwareVersion": "schema:softwareVersion"
44
50
  }
45
51
  }
@@ -40,7 +40,7 @@
40
40
  "type": "string",
41
41
  "const": "Software"
42
42
  },
43
- "usedSpecificObject": {
43
+ "P16_used_specific_object": {
44
44
  "type": "string",
45
45
  "format": "uri"
46
46
  },
@@ -123,7 +123,7 @@
123
123
  }
124
124
  ]
125
125
  },
126
- "identifiedBy": {
126
+ "P1_is_identified_by": {
127
127
  "type": "object",
128
128
  "description": "indentifyBy",
129
129
  "properties": {