@lincs.project/webannotation-schema 1.5.0 → 1.6.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.d.mts CHANGED
@@ -44,6 +44,7 @@ declare const schemaContext: {
44
44
  '@id': string;
45
45
  };
46
46
  title: string;
47
+ usedSpecificObject: string;
47
48
  approved: string;
48
49
  citing: string;
49
50
  correcting: string;
@@ -69,18 +70,21 @@ type User = z.infer<typeof User>;
69
70
  declare const creatorSchema: JSONSchemaType<User>;
70
71
  declare const Software: z.ZodObject<{
71
72
  id: z.ZodString;
72
- type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
73
+ type: z.ZodLiteral<"Software">;
74
+ usedSpecificObject: z.ZodOptional<z.ZodString>;
73
75
  label: z.ZodString;
74
76
  softwareVersion: z.ZodOptional<z.ZodString>;
75
77
  }, "strip", z.ZodTypeAny, {
76
78
  id: string;
77
- type: ["Software", "crm:P16_used_specific_object"];
79
+ type: "Software";
78
80
  label: string;
81
+ usedSpecificObject?: string | undefined;
79
82
  softwareVersion?: string | undefined;
80
83
  }, {
81
84
  id: string;
82
- type: ["Software", "crm:P16_used_specific_object"];
85
+ type: "Software";
83
86
  label: string;
87
+ usedSpecificObject?: string | undefined;
84
88
  softwareVersion?: string | undefined;
85
89
  }>;
86
90
  type Software = z.infer<typeof Software>;
@@ -1217,18 +1221,21 @@ declare const Target: z.ZodObject<{
1217
1221
  }>;
1218
1222
  renderedVia: z.ZodOptional<z.ZodObject<{
1219
1223
  id: z.ZodString;
1220
- type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
1224
+ type: z.ZodLiteral<"Software">;
1225
+ usedSpecificObject: z.ZodOptional<z.ZodString>;
1221
1226
  label: z.ZodString;
1222
1227
  softwareVersion: z.ZodOptional<z.ZodString>;
1223
1228
  }, "strip", z.ZodTypeAny, {
1224
1229
  id: string;
1225
- type: ["Software", "crm:P16_used_specific_object"];
1230
+ type: "Software";
1226
1231
  label: string;
1232
+ usedSpecificObject?: string | undefined;
1227
1233
  softwareVersion?: string | undefined;
1228
1234
  }, {
1229
1235
  id: string;
1230
- type: ["Software", "crm:P16_used_specific_object"];
1236
+ type: "Software";
1231
1237
  label: string;
1238
+ usedSpecificObject?: string | undefined;
1232
1239
  softwareVersion?: string | undefined;
1233
1240
  }>>;
1234
1241
  selector: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -1796,8 +1803,9 @@ declare const Target: z.ZodObject<{
1796
1803
  };
1797
1804
  renderedVia?: {
1798
1805
  id: string;
1799
- type: ["Software", "crm:P16_used_specific_object"];
1806
+ type: "Software";
1800
1807
  label: string;
1808
+ usedSpecificObject?: string | undefined;
1801
1809
  softwareVersion?: string | undefined;
1802
1810
  } | undefined;
1803
1811
  selector?: {
@@ -1945,8 +1953,9 @@ declare const Target: z.ZodObject<{
1945
1953
  };
1946
1954
  renderedVia?: {
1947
1955
  id: string;
1948
- type: ["Software", "crm:P16_used_specific_object"];
1956
+ type: "Software";
1949
1957
  label: string;
1958
+ usedSpecificObject?: string | undefined;
1950
1959
  softwareVersion?: string | undefined;
1951
1960
  } | undefined;
1952
1961
  selector?: {
@@ -2145,18 +2154,21 @@ declare const WebAnnotation: z.ZodObject<{
2145
2154
  }>, "atleastone">>;
2146
2155
  generator: z.ZodObject<{
2147
2156
  id: z.ZodString;
2148
- type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
2157
+ type: z.ZodLiteral<"Software">;
2158
+ usedSpecificObject: z.ZodOptional<z.ZodString>;
2149
2159
  label: z.ZodString;
2150
2160
  softwareVersion: z.ZodOptional<z.ZodString>;
2151
2161
  }, "strip", z.ZodTypeAny, {
2152
2162
  id: string;
2153
- type: ["Software", "crm:P16_used_specific_object"];
2163
+ type: "Software";
2154
2164
  label: string;
2165
+ usedSpecificObject?: string | undefined;
2155
2166
  softwareVersion?: string | undefined;
2156
2167
  }, {
2157
2168
  id: string;
2158
- type: ["Software", "crm:P16_used_specific_object"];
2169
+ type: "Software";
2159
2170
  label: string;
2171
+ usedSpecificObject?: string | undefined;
2160
2172
  softwareVersion?: string | undefined;
2161
2173
  }>;
2162
2174
  target: z.ZodObject<{
@@ -2203,18 +2215,21 @@ declare const WebAnnotation: z.ZodObject<{
2203
2215
  }>;
2204
2216
  renderedVia: z.ZodOptional<z.ZodObject<{
2205
2217
  id: z.ZodString;
2206
- type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
2218
+ type: z.ZodLiteral<"Software">;
2219
+ usedSpecificObject: z.ZodOptional<z.ZodString>;
2207
2220
  label: z.ZodString;
2208
2221
  softwareVersion: z.ZodOptional<z.ZodString>;
2209
2222
  }, "strip", z.ZodTypeAny, {
2210
2223
  id: string;
2211
- type: ["Software", "crm:P16_used_specific_object"];
2224
+ type: "Software";
2212
2225
  label: string;
2226
+ usedSpecificObject?: string | undefined;
2213
2227
  softwareVersion?: string | undefined;
2214
2228
  }, {
2215
2229
  id: string;
2216
- type: ["Software", "crm:P16_used_specific_object"];
2230
+ type: "Software";
2217
2231
  label: string;
2232
+ usedSpecificObject?: string | undefined;
2218
2233
  softwareVersion?: string | undefined;
2219
2234
  }>>;
2220
2235
  selector: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -2782,8 +2797,9 @@ declare const WebAnnotation: z.ZodObject<{
2782
2797
  };
2783
2798
  renderedVia?: {
2784
2799
  id: string;
2785
- type: ["Software", "crm:P16_used_specific_object"];
2800
+ type: "Software";
2786
2801
  label: string;
2802
+ usedSpecificObject?: string | undefined;
2787
2803
  softwareVersion?: string | undefined;
2788
2804
  } | undefined;
2789
2805
  selector?: {
@@ -2931,8 +2947,9 @@ declare const WebAnnotation: z.ZodObject<{
2931
2947
  };
2932
2948
  renderedVia?: {
2933
2949
  id: string;
2934
- type: ["Software", "crm:P16_used_specific_object"];
2950
+ type: "Software";
2935
2951
  label: string;
2952
+ usedSpecificObject?: string | undefined;
2936
2953
  softwareVersion?: string | undefined;
2937
2954
  } | undefined;
2938
2955
  selector?: {
@@ -3196,8 +3213,9 @@ declare const WebAnnotation: z.ZodObject<{
3196
3213
  };
3197
3214
  renderedVia?: {
3198
3215
  id: string;
3199
- type: ["Software", "crm:P16_used_specific_object"];
3216
+ type: "Software";
3200
3217
  label: string;
3218
+ usedSpecificObject?: string | undefined;
3201
3219
  softwareVersion?: string | undefined;
3202
3220
  } | undefined;
3203
3221
  selector?: {
@@ -3442,8 +3460,9 @@ declare const WebAnnotation: z.ZodObject<{
3442
3460
  created: string;
3443
3461
  generator: {
3444
3462
  id: string;
3445
- type: ["Software", "crm:P16_used_specific_object"];
3463
+ type: "Software";
3446
3464
  label: string;
3465
+ usedSpecificObject?: string | undefined;
3447
3466
  softwareVersion?: string | undefined;
3448
3467
  };
3449
3468
  modified?: string | undefined;
@@ -3484,8 +3503,9 @@ declare const WebAnnotation: z.ZodObject<{
3484
3503
  };
3485
3504
  renderedVia?: {
3486
3505
  id: string;
3487
- type: ["Software", "crm:P16_used_specific_object"];
3506
+ type: "Software";
3488
3507
  label: string;
3508
+ usedSpecificObject?: string | undefined;
3489
3509
  softwareVersion?: string | undefined;
3490
3510
  } | undefined;
3491
3511
  selector?: {
@@ -3730,8 +3750,9 @@ declare const WebAnnotation: z.ZodObject<{
3730
3750
  created: string;
3731
3751
  generator: {
3732
3752
  id: string;
3733
- type: ["Software", "crm:P16_used_specific_object"];
3753
+ type: "Software";
3734
3754
  label: string;
3755
+ usedSpecificObject?: string | undefined;
3735
3756
  softwareVersion?: string | undefined;
3736
3757
  };
3737
3758
  modified?: string | undefined;
@@ -3855,8 +3876,9 @@ declare const validator: _ajv.ValidateFunction<Required<{
3855
3876
  };
3856
3877
  renderedVia?: {
3857
3878
  id: string;
3858
- type: ["Software", "crm:P16_used_specific_object"];
3879
+ type: "Software";
3859
3880
  label: string;
3881
+ usedSpecificObject?: string | undefined;
3860
3882
  softwareVersion?: string | undefined;
3861
3883
  } | undefined;
3862
3884
  selector?: {
@@ -4101,8 +4123,9 @@ declare const validator: _ajv.ValidateFunction<Required<{
4101
4123
  created: string;
4102
4124
  generator: {
4103
4125
  id: string;
4104
- type: ["Software", "crm:P16_used_specific_object"];
4126
+ type: "Software";
4105
4127
  label: string;
4128
+ usedSpecificObject?: string | undefined;
4106
4129
  softwareVersion?: string | undefined;
4107
4130
  };
4108
4131
  modified?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -44,6 +44,7 @@ declare const schemaContext: {
44
44
  '@id': string;
45
45
  };
46
46
  title: string;
47
+ usedSpecificObject: string;
47
48
  approved: string;
48
49
  citing: string;
49
50
  correcting: string;
@@ -69,18 +70,21 @@ type User = z.infer<typeof User>;
69
70
  declare const creatorSchema: JSONSchemaType<User>;
70
71
  declare const Software: z.ZodObject<{
71
72
  id: z.ZodString;
72
- type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
73
+ type: z.ZodLiteral<"Software">;
74
+ usedSpecificObject: z.ZodOptional<z.ZodString>;
73
75
  label: z.ZodString;
74
76
  softwareVersion: z.ZodOptional<z.ZodString>;
75
77
  }, "strip", z.ZodTypeAny, {
76
78
  id: string;
77
- type: ["Software", "crm:P16_used_specific_object"];
79
+ type: "Software";
78
80
  label: string;
81
+ usedSpecificObject?: string | undefined;
79
82
  softwareVersion?: string | undefined;
80
83
  }, {
81
84
  id: string;
82
- type: ["Software", "crm:P16_used_specific_object"];
85
+ type: "Software";
83
86
  label: string;
87
+ usedSpecificObject?: string | undefined;
84
88
  softwareVersion?: string | undefined;
85
89
  }>;
86
90
  type Software = z.infer<typeof Software>;
@@ -1217,18 +1221,21 @@ declare const Target: z.ZodObject<{
1217
1221
  }>;
1218
1222
  renderedVia: z.ZodOptional<z.ZodObject<{
1219
1223
  id: z.ZodString;
1220
- type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
1224
+ type: z.ZodLiteral<"Software">;
1225
+ usedSpecificObject: z.ZodOptional<z.ZodString>;
1221
1226
  label: z.ZodString;
1222
1227
  softwareVersion: z.ZodOptional<z.ZodString>;
1223
1228
  }, "strip", z.ZodTypeAny, {
1224
1229
  id: string;
1225
- type: ["Software", "crm:P16_used_specific_object"];
1230
+ type: "Software";
1226
1231
  label: string;
1232
+ usedSpecificObject?: string | undefined;
1227
1233
  softwareVersion?: string | undefined;
1228
1234
  }, {
1229
1235
  id: string;
1230
- type: ["Software", "crm:P16_used_specific_object"];
1236
+ type: "Software";
1231
1237
  label: string;
1238
+ usedSpecificObject?: string | undefined;
1232
1239
  softwareVersion?: string | undefined;
1233
1240
  }>>;
1234
1241
  selector: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -1796,8 +1803,9 @@ declare const Target: z.ZodObject<{
1796
1803
  };
1797
1804
  renderedVia?: {
1798
1805
  id: string;
1799
- type: ["Software", "crm:P16_used_specific_object"];
1806
+ type: "Software";
1800
1807
  label: string;
1808
+ usedSpecificObject?: string | undefined;
1801
1809
  softwareVersion?: string | undefined;
1802
1810
  } | undefined;
1803
1811
  selector?: {
@@ -1945,8 +1953,9 @@ declare const Target: z.ZodObject<{
1945
1953
  };
1946
1954
  renderedVia?: {
1947
1955
  id: string;
1948
- type: ["Software", "crm:P16_used_specific_object"];
1956
+ type: "Software";
1949
1957
  label: string;
1958
+ usedSpecificObject?: string | undefined;
1950
1959
  softwareVersion?: string | undefined;
1951
1960
  } | undefined;
1952
1961
  selector?: {
@@ -2145,18 +2154,21 @@ declare const WebAnnotation: z.ZodObject<{
2145
2154
  }>, "atleastone">>;
2146
2155
  generator: z.ZodObject<{
2147
2156
  id: z.ZodString;
2148
- type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
2157
+ type: z.ZodLiteral<"Software">;
2158
+ usedSpecificObject: z.ZodOptional<z.ZodString>;
2149
2159
  label: z.ZodString;
2150
2160
  softwareVersion: z.ZodOptional<z.ZodString>;
2151
2161
  }, "strip", z.ZodTypeAny, {
2152
2162
  id: string;
2153
- type: ["Software", "crm:P16_used_specific_object"];
2163
+ type: "Software";
2154
2164
  label: string;
2165
+ usedSpecificObject?: string | undefined;
2155
2166
  softwareVersion?: string | undefined;
2156
2167
  }, {
2157
2168
  id: string;
2158
- type: ["Software", "crm:P16_used_specific_object"];
2169
+ type: "Software";
2159
2170
  label: string;
2171
+ usedSpecificObject?: string | undefined;
2160
2172
  softwareVersion?: string | undefined;
2161
2173
  }>;
2162
2174
  target: z.ZodObject<{
@@ -2203,18 +2215,21 @@ declare const WebAnnotation: z.ZodObject<{
2203
2215
  }>;
2204
2216
  renderedVia: z.ZodOptional<z.ZodObject<{
2205
2217
  id: z.ZodString;
2206
- type: z.ZodTuple<[z.ZodLiteral<"Software">, z.ZodLiteral<"crm:P16_used_specific_object">], null>;
2218
+ type: z.ZodLiteral<"Software">;
2219
+ usedSpecificObject: z.ZodOptional<z.ZodString>;
2207
2220
  label: z.ZodString;
2208
2221
  softwareVersion: z.ZodOptional<z.ZodString>;
2209
2222
  }, "strip", z.ZodTypeAny, {
2210
2223
  id: string;
2211
- type: ["Software", "crm:P16_used_specific_object"];
2224
+ type: "Software";
2212
2225
  label: string;
2226
+ usedSpecificObject?: string | undefined;
2213
2227
  softwareVersion?: string | undefined;
2214
2228
  }, {
2215
2229
  id: string;
2216
- type: ["Software", "crm:P16_used_specific_object"];
2230
+ type: "Software";
2217
2231
  label: string;
2232
+ usedSpecificObject?: string | undefined;
2218
2233
  softwareVersion?: string | undefined;
2219
2234
  }>>;
2220
2235
  selector: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
@@ -2782,8 +2797,9 @@ declare const WebAnnotation: z.ZodObject<{
2782
2797
  };
2783
2798
  renderedVia?: {
2784
2799
  id: string;
2785
- type: ["Software", "crm:P16_used_specific_object"];
2800
+ type: "Software";
2786
2801
  label: string;
2802
+ usedSpecificObject?: string | undefined;
2787
2803
  softwareVersion?: string | undefined;
2788
2804
  } | undefined;
2789
2805
  selector?: {
@@ -2931,8 +2947,9 @@ declare const WebAnnotation: z.ZodObject<{
2931
2947
  };
2932
2948
  renderedVia?: {
2933
2949
  id: string;
2934
- type: ["Software", "crm:P16_used_specific_object"];
2950
+ type: "Software";
2935
2951
  label: string;
2952
+ usedSpecificObject?: string | undefined;
2936
2953
  softwareVersion?: string | undefined;
2937
2954
  } | undefined;
2938
2955
  selector?: {
@@ -3196,8 +3213,9 @@ declare const WebAnnotation: z.ZodObject<{
3196
3213
  };
3197
3214
  renderedVia?: {
3198
3215
  id: string;
3199
- type: ["Software", "crm:P16_used_specific_object"];
3216
+ type: "Software";
3200
3217
  label: string;
3218
+ usedSpecificObject?: string | undefined;
3201
3219
  softwareVersion?: string | undefined;
3202
3220
  } | undefined;
3203
3221
  selector?: {
@@ -3442,8 +3460,9 @@ declare const WebAnnotation: z.ZodObject<{
3442
3460
  created: string;
3443
3461
  generator: {
3444
3462
  id: string;
3445
- type: ["Software", "crm:P16_used_specific_object"];
3463
+ type: "Software";
3446
3464
  label: string;
3465
+ usedSpecificObject?: string | undefined;
3447
3466
  softwareVersion?: string | undefined;
3448
3467
  };
3449
3468
  modified?: string | undefined;
@@ -3484,8 +3503,9 @@ declare const WebAnnotation: z.ZodObject<{
3484
3503
  };
3485
3504
  renderedVia?: {
3486
3505
  id: string;
3487
- type: ["Software", "crm:P16_used_specific_object"];
3506
+ type: "Software";
3488
3507
  label: string;
3508
+ usedSpecificObject?: string | undefined;
3489
3509
  softwareVersion?: string | undefined;
3490
3510
  } | undefined;
3491
3511
  selector?: {
@@ -3730,8 +3750,9 @@ declare const WebAnnotation: z.ZodObject<{
3730
3750
  created: string;
3731
3751
  generator: {
3732
3752
  id: string;
3733
- type: ["Software", "crm:P16_used_specific_object"];
3753
+ type: "Software";
3734
3754
  label: string;
3755
+ usedSpecificObject?: string | undefined;
3735
3756
  softwareVersion?: string | undefined;
3736
3757
  };
3737
3758
  modified?: string | undefined;
@@ -3855,8 +3876,9 @@ declare const validator: _ajv.ValidateFunction<Required<{
3855
3876
  };
3856
3877
  renderedVia?: {
3857
3878
  id: string;
3858
- type: ["Software", "crm:P16_used_specific_object"];
3879
+ type: "Software";
3859
3880
  label: string;
3881
+ usedSpecificObject?: string | undefined;
3860
3882
  softwareVersion?: string | undefined;
3861
3883
  } | undefined;
3862
3884
  selector?: {
@@ -4101,8 +4123,9 @@ declare const validator: _ajv.ValidateFunction<Required<{
4101
4123
  created: string;
4102
4124
  generator: {
4103
4125
  id: string;
4104
- type: ["Software", "crm:P16_used_specific_object"];
4126
+ type: "Software";
4105
4127
  label: string;
4128
+ usedSpecificObject?: string | undefined;
4106
4129
  softwareVersion?: string | undefined;
4107
4130
  };
4108
4131
  modified?: string | undefined;
package/dist/index.js CHANGED
@@ -191,6 +191,7 @@ var schemaContext = {
191
191
  "@id": "crm:P2_has_type"
192
192
  },
193
193
  title: "crm:P190_has_symbolic_content",
194
+ usedSpecificObject: "crm:P16_used_specific_object",
194
195
  approved: "edit:statusApproved",
195
196
  citing: "edit:citing",
196
197
  correcting: "edit:correcting",
@@ -228,7 +229,8 @@ var creatorSchema = {
228
229
  var softwareIdDescription = "The IRI that identifies the agent (software).";
229
230
  var Software = import_zod.z.object({
230
231
  id: import_zod.z.string().url().describe(softwareIdDescription),
231
- type: import_zod.z.tuple([import_zod.z.literal("Software"), import_zod.z.literal("crm:P16_used_specific_object")]).describe("The type of the Agent."),
232
+ type: import_zod.z.literal("Software").describe("The type of the Agent."),
233
+ usedSpecificObject: import_zod.z.string().url().optional(),
232
234
  label: import_zod.z.string().min(1).describe("The name of the software."),
233
235
  softwareVersion: import_zod.z.string().optional().describe("The software version.")
234
236
  }).describe("Software Agent");
@@ -237,16 +239,8 @@ var softwareSchema = {
237
239
  description: "Software Agent",
238
240
  properties: {
239
241
  id: { type: "string", format: "uri", description: softwareIdDescription },
240
- type: {
241
- type: "array",
242
- minItems: 2,
243
- maxItems: 2,
244
- items: [
245
- { type: "string", const: "Software" },
246
- { type: "string", const: "crm:P16_used_specific_object" }
247
- ],
248
- description: "The type of the Agent."
249
- },
242
+ type: { type: "string", const: "Software" },
243
+ usedSpecificObject: { type: "string", format: "uri" },
250
244
  label: { type: "string", minLength: 1, description: "The name of the software." },
251
245
  softwareVersion: { type: "string", description: "The software version." }
252
246
  },
package/dist/index.mjs CHANGED
@@ -47,6 +47,7 @@ var schemaContext = {
47
47
  "@id": "crm:P2_has_type"
48
48
  },
49
49
  title: "crm:P190_has_symbolic_content",
50
+ usedSpecificObject: "crm:P16_used_specific_object",
50
51
  approved: "edit:statusApproved",
51
52
  citing: "edit:citing",
52
53
  correcting: "edit:correcting",
@@ -84,7 +85,8 @@ var creatorSchema = {
84
85
  var softwareIdDescription = "The IRI that identifies the agent (software).";
85
86
  var Software = z.object({
86
87
  id: z.string().url().describe(softwareIdDescription),
87
- type: z.tuple([z.literal("Software"), z.literal("crm:P16_used_specific_object")]).describe("The type of the Agent."),
88
+ type: z.literal("Software").describe("The type of the Agent."),
89
+ usedSpecificObject: z.string().url().optional(),
88
90
  label: z.string().min(1).describe("The name of the software."),
89
91
  softwareVersion: z.string().optional().describe("The software version.")
90
92
  }).describe("Software Agent");
@@ -93,16 +95,8 @@ var softwareSchema = {
93
95
  description: "Software Agent",
94
96
  properties: {
95
97
  id: { type: "string", format: "uri", description: softwareIdDescription },
96
- type: {
97
- type: "array",
98
- minItems: 2,
99
- maxItems: 2,
100
- items: [
101
- { type: "string", const: "Software" },
102
- { type: "string", const: "crm:P16_used_specific_object" }
103
- ],
104
- description: "The type of the Agent."
105
- },
98
+ type: { type: "string", const: "Software" },
99
+ usedSpecificObject: { type: "string", format: "uri" },
106
100
  label: { type: "string", minLength: 1, description: "The name of the software." },
107
101
  softwareVersion: { type: "string", description: "The software version." }
108
102
  },
@@ -34,6 +34,7 @@
34
34
  "@id": "crm:P2_has_type"
35
35
  },
36
36
  "title": "crm:P190_has_symbolic_content",
37
+ "usedSpecificObject": "crm:P16_used_specific_object",
37
38
  "approved": "edit:statusApproved",
38
39
  "citing": "edit:citing",
39
40
  "correcting": "edit:correcting",
@@ -48,20 +48,12 @@
48
48
  "description": "The IRI that identifies the agent (software)."
49
49
  },
50
50
  "type": {
51
- "type": "array",
52
- "minItems": 2,
53
- "maxItems": 2,
54
- "items": [
55
- {
56
- "type": "string",
57
- "const": "Software"
58
- },
59
- {
60
- "type": "string",
61
- "const": "crm:P16_used_specific_object"
62
- }
63
- ],
64
- "description": "The type of the Agent."
51
+ "type": "string",
52
+ "const": "Software"
53
+ },
54
+ "usedSpecificObject": {
55
+ "type": "string",
56
+ "format": "uri"
65
57
  },
66
58
  "label": {
67
59
  "type": "string",