linked-rolls 0.24.0 → 0.25.1

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.
@@ -84,6 +84,7 @@
84
84
  "@type": "xsd:date"
85
85
  },
86
86
  "collationTolerance": null,
87
+ "annotation": null,
87
88
  "roll": "lrmoo:R3i_realises",
88
89
  "catalogueNumber": "dcterms:identifier",
89
90
  "system": "crm:P2_has_type",
@@ -117,7 +118,12 @@
117
118
  "role": {
118
119
  "@id": "crm:P2_has_type",
119
120
  "@type": "@vocab",
120
- "@context": { "@vocab": "https://w3id.org/reo/type/" }
121
+ "@context": {
122
+ "@vocab": "https://w3id.org/reo/type/",
123
+ "pianist": "https://w3id.org/reo/type/pianist",
124
+ "publisher": "https://w3id.org/reo/type/publisher",
125
+ "transcription": "https://w3id.org/reo/type/transcription"
126
+ }
121
127
  },
122
128
  "ops": null,
123
129
  "measurements": {
@@ -173,7 +179,11 @@
173
179
  "kind": {
174
180
  "@id": "crm:P2_has_type",
175
181
  "@type": "@vocab",
176
- "@context": { "@vocab": "https://w3id.org/reo/type/" }
182
+ "@context": {
183
+ "@vocab": "https://w3id.org/reo/type/",
184
+ "roll": "https://w3id.org/reo/type/roll",
185
+ "scan": "https://w3id.org/reo/type/scan"
186
+ }
177
187
  },
178
188
  "output": {
179
189
  "@id": "crmdig:L11_had_output",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linked-rolls",
3
- "version": "0.24.0",
3
+ "version": "0.25.1",
4
4
  "description": "Digital editions of piano rolls: import, collation, editorial assumptions, JSON-LD export, and emulation through a reproducing system",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -40,10 +40,13 @@
40
40
  "build": "npm run build:schema && rm -rf lib && tsc",
41
41
  "prepublishOnly": "npm run build && vitest run",
42
42
  "test": "vitest",
43
- "build:schema": "npx ts-json-schema-generator --additional-properties --validation-keywords see --path 'src/**/*.ts' --type 'Edition' > schema_.json && node schema/postprocess.js && rm schema_.json && mv schema.json src/schema.json"
43
+ "build:schema": "npx ts-json-schema-generator --additional-properties --validation-keywords see --path 'src/**/*.ts' --type 'Edition' > schema_.json && node schema/postprocess.js && rm schema_.json && mv schema.json src/schema.json",
44
+ "build:docs": "node schema/docs/generate.ts src/schema.json docs/index.html"
44
45
  },
45
46
  "devDependencies": {
47
+ "@types/jsonld": "^1.5.15",
46
48
  "@types/node": "^24.13.3",
49
+ "jsonld": "^9.0.0",
47
50
  "ts-json-schema-generator": "^2.9.0",
48
51
  "typescript": "^7.0.2",
49
52
  "vite": "^8.2.2",