@arpproject/recrate 0.1.7 → 0.1.8

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.
Files changed (188) hide show
  1. package/dist/index.d.ts +3 -2
  2. package/dist/recrate.css +4 -4
  3. package/dist/recrate.es.js +34674 -114061
  4. package/package.json +41 -32
  5. package/.eslintrc.json +0 -37
  6. package/.storybook/main.ts +0 -40
  7. package/.storybook/preview.tsx +0 -46
  8. package/babel.config.json +0 -5
  9. package/docker-compose.yml +0 -30
  10. package/docs/.nojekyll +0 -1
  11. package/docs/assets/highlight.css +0 -99
  12. package/docs/assets/icons.js +0 -18
  13. package/docs/assets/icons.svg +0 -1
  14. package/docs/assets/main.js +0 -60
  15. package/docs/assets/navigation.js +0 -1
  16. package/docs/assets/search.js +0 -1
  17. package/docs/assets/style.css +0 -1448
  18. package/docs/classes/src_crate_builder_CrateManager_crate_manager.CrateManager.html +0 -240
  19. package/docs/classes/src_crate_builder_CrateManager_profile_manager.ProfileManager.html +0 -42
  20. package/docs/classes/src_crate_builder_editor_state.EditorState.html +0 -28
  21. package/docs/classes/src_crate_builder_types.CrateManagerType.html +0 -57
  22. package/docs/classes/src_crate_builder_types.ProfileManagerType.html +0 -13
  23. package/docs/functions/src_crate_builder_CrateManager_lib.isURL.html +0 -2
  24. package/docs/functions/src_crate_builder_CrateManager_lib.mintNewCrate.html +0 -3
  25. package/docs/functions/src_crate_builder_CrateManager_lib.normalise.html +0 -5
  26. package/docs/functions/src_crate_builder_CrateManager_lib.normaliseEntityType.html +0 -1
  27. package/docs/index.html +0 -58
  28. package/docs/interfaces/src_crate_builder_types.NormalisedCrate.html +0 -3
  29. package/docs/interfaces/src_crate_builder_types.NormalisedEntityDefinition.html +0 -4
  30. package/docs/interfaces/src_crate_builder_types.NormalisedProfile.html +0 -9
  31. package/docs/interfaces/src_crate_builder_types.ProfileLayout.html +0 -2
  32. package/docs/interfaces/src_crate_builder_types.ProfileLayoutGroup.html +0 -9
  33. package/docs/interfaces/src_crate_builder_types.UnverifiedCrate.html +0 -3
  34. package/docs/interfaces/src_crate_builder_types.UnverifiedEntityDefinition.html +0 -4
  35. package/docs/modules/src_crate_builder_CrateManager_crate_manager.html +0 -2
  36. package/docs/modules/src_crate_builder_CrateManager_lib.html +0 -6
  37. package/docs/modules/src_crate_builder_CrateManager_profile_manager.html +0 -2
  38. package/docs/modules/src_crate_builder_editor_state.html +0 -2
  39. package/docs/modules/src_crate_builder_types.html +0 -16
  40. package/docs/types/src_crate_builder_types.EntityReference.html +0 -1
  41. package/docs/types/src_crate_builder_types.NormalisedContext.html +0 -1
  42. package/docs/types/src_crate_builder_types.PrimitiveType.html +0 -1
  43. package/docs/types/src_crate_builder_types.ProfileAssociation.html +0 -1
  44. package/docs/types/src_crate_builder_types.ProfileInput.html +0 -1
  45. package/docs/types/src_crate_builder_types.UnverifiedContext.html +0 -1
  46. package/docs/variables/src_crate_builder_CrateManager_lib.urlProtocols.html +0 -1
  47. package/index.html +0 -13
  48. package/load-data-packs.cjs +0 -38
  49. package/postcss.config.cjs +0 -6
  50. package/public/favicon.ico +0 -0
  51. package/public/index.html +0 -43
  52. package/public/logo192.png +0 -0
  53. package/public/logo512.png +0 -0
  54. package/public/manifest.json +0 -25
  55. package/public/marker-icon.png +0 -0
  56. package/public/marker-shadow.png +0 -0
  57. package/public/robots.txt +0 -3
  58. package/react-app-env.d.ts +0 -1
  59. package/rollup.config.js +0 -26
  60. package/src/app/App.tsx +0 -13
  61. package/src/app/EmbeddedComponent.tsx +0 -432
  62. package/src/app/index.html +0 -20
  63. package/src/app/index.tsx +0 -19
  64. package/src/app/lookup.ts +0 -141
  65. package/src/app/override-styles.css +0 -96
  66. package/src/crate-builder/CrateManager/contexts/1.1-context.jsonld +0 -2660
  67. package/src/crate-builder/CrateManager/contexts/1.2-DRAFT-context.jsonld +0 -2918
  68. package/src/crate-builder/CrateManager/contexts.ts +0 -42
  69. package/src/crate-builder/CrateManager/crate-manager-benchmarking.spec.ts +0 -31
  70. package/src/crate-builder/CrateManager/crate-manager-loading-exporting.spec.ts +0 -431
  71. package/src/crate-builder/CrateManager/crate-manager-operations.spec.ts +0 -298
  72. package/src/crate-builder/CrateManager/crate-manager.spec.ts +0 -2336
  73. package/src/crate-builder/CrateManager/crate-manager.ts +0 -2111
  74. package/src/crate-builder/CrateManager/lib.spec.ts +0 -133
  75. package/src/crate-builder/CrateManager/lib.ts +0 -170
  76. package/src/crate-builder/CrateManager/profile-manager.spec.ts +0 -593
  77. package/src/crate-builder/CrateManager/profile-manager.ts +0 -367
  78. package/src/crate-builder/CrateManager/schema-type-definitions.json +0 -35122
  79. package/src/crate-builder/CrateManager/validate-identifier.spec.ts +0 -82
  80. package/src/crate-builder/CrateManager/validate-identifier.ts +0 -65
  81. package/src/crate-builder/RenderEntity/Add.tsx +0 -249
  82. package/src/crate-builder/RenderEntity/AddControl.stories.tsx +0 -126
  83. package/src/crate-builder/RenderEntity/AddControl.tsx +0 -84
  84. package/src/crate-builder/RenderEntity/AutoComplete.tsx +0 -215
  85. package/src/crate-builder/RenderEntity/BulkAdd.tsx +0 -136
  86. package/src/crate-builder/RenderEntity/DeleteProperty.tsx +0 -33
  87. package/src/crate-builder/RenderEntity/DialogAddProperty.tsx +0 -83
  88. package/src/crate-builder/RenderEntity/DialogBrowseEntities.tsx +0 -136
  89. package/src/crate-builder/RenderEntity/DialogEditContext.tsx +0 -107
  90. package/src/crate-builder/RenderEntity/DialogPreviewCrate.tsx +0 -54
  91. package/src/crate-builder/RenderEntity/DialogSaveCrateAsTemplate.tsx +0 -65
  92. package/src/crate-builder/RenderEntity/DialogSaveEntityTemplate.tsx +0 -87
  93. package/src/crate-builder/RenderEntity/DisplayPropertyName.stories.tsx +0 -30
  94. package/src/crate-builder/RenderEntity/DisplayPropertyName.tsx +0 -21
  95. package/src/crate-builder/RenderEntity/EntityId.tsx +0 -75
  96. package/src/crate-builder/RenderEntity/EntityName.tsx +0 -49
  97. package/src/crate-builder/RenderEntity/EntityProperty.tsx +0 -188
  98. package/src/crate-builder/RenderEntity/EntityPropertyInstance.tsx +0 -255
  99. package/src/crate-builder/RenderEntity/EntityType.tsx +0 -95
  100. package/src/crate-builder/RenderEntity/ItemLink.tsx +0 -37
  101. package/src/crate-builder/RenderEntity/PaginateLinkedEntities.stories.tsx +0 -43
  102. package/src/crate-builder/RenderEntity/PaginateLinkedEntities.tsx +0 -141
  103. package/src/crate-builder/RenderEntity/PropertyHelp.tsx +0 -39
  104. package/src/crate-builder/RenderEntity/RenderControls.tsx +0 -278
  105. package/src/crate-builder/RenderEntity/RenderLinkedItem.tsx +0 -139
  106. package/src/crate-builder/RenderEntity/RenderPropertyHelp.tsx +0 -41
  107. package/src/crate-builder/RenderEntity/RenderReverseConnections.tsx +0 -150
  108. package/src/crate-builder/RenderEntity/RenderTypes.tsx +0 -102
  109. package/src/crate-builder/RenderEntity/Shell2.tsx +0 -576
  110. package/src/crate-builder/RenderEntity/UnlinkEntity.tsx +0 -30
  111. package/src/crate-builder/RenderEntity/auto-complete.lib.ts +0 -184
  112. package/src/crate-builder/RenderEntity/keys.ts +0 -4
  113. package/src/crate-builder/RenderEntity/layout.spec.js +0 -593
  114. package/src/crate-builder/RenderEntity/layout.ts +0 -220
  115. package/src/crate-builder/Shell.tsx +0 -337
  116. package/src/crate-builder/component.css +0 -65
  117. package/src/crate-builder/editor-state.ts +0 -114
  118. package/src/crate-builder/emotionCache.ts +0 -8
  119. package/src/crate-builder/helpers.ts +0 -16
  120. package/src/crate-builder/i18n.ts +0 -22
  121. package/src/crate-builder/lib/validate-iri.js +0 -69
  122. package/src/crate-builder/lib/validate-iri.ts +0 -57
  123. package/src/crate-builder/locales/en.js +0 -149
  124. package/src/crate-builder/locales/hu.js +0 -147
  125. package/src/crate-builder/primitives/Boolean.stories.tsx +0 -33
  126. package/src/crate-builder/primitives/Boolean.tsx +0 -67
  127. package/src/crate-builder/primitives/Date.stories.tsx +0 -32
  128. package/src/crate-builder/primitives/Date.tsx +0 -58
  129. package/src/crate-builder/primitives/DateTime.stories.tsx +0 -32
  130. package/src/crate-builder/primitives/DateTime.tsx +0 -64
  131. package/src/crate-builder/primitives/Geo.stories.tsx +0 -57
  132. package/src/crate-builder/primitives/Geo.tsx +0 -225
  133. package/src/crate-builder/primitives/Map.SelectArea.js +0 -359
  134. package/src/crate-builder/primitives/Map.stories.tsx +0 -61
  135. package/src/crate-builder/primitives/Map.tsx +0 -124
  136. package/src/crate-builder/primitives/Number.stories.tsx +0 -74
  137. package/src/crate-builder/primitives/Number.tsx +0 -166
  138. package/src/crate-builder/primitives/Select.stories.tsx +0 -66
  139. package/src/crate-builder/primitives/Select.tsx +0 -121
  140. package/src/crate-builder/primitives/SelectObject.stories.tsx +0 -29
  141. package/src/crate-builder/primitives/SelectObject.tsx +0 -105
  142. package/src/crate-builder/primitives/SelectUrl.stories.tsx +0 -42
  143. package/src/crate-builder/primitives/SelectUrl.tsx +0 -110
  144. package/src/crate-builder/primitives/Text.stories.tsx +0 -106
  145. package/src/crate-builder/primitives/Text.tsx +0 -197
  146. package/src/crate-builder/primitives/Time.stories.tsx +0 -38
  147. package/src/crate-builder/primitives/Time.tsx +0 -71
  148. package/src/crate-builder/primitives/Url.stories.tsx +0 -43
  149. package/src/crate-builder/primitives/Url.tsx +0 -75
  150. package/src/crate-builder/primitives/Value.stories.tsx +0 -37
  151. package/src/crate-builder/primitives/Value.tsx +0 -30
  152. package/src/crate-builder/primitives/date-libs.ts +0 -12
  153. package/src/crate-builder/profile-schema.json +0 -145
  154. package/src/crate-builder/property-definitions.ts +0 -78
  155. package/src/crate-builder/recrate.css +0 -3
  156. package/src/crate-builder/store.ts +0 -14
  157. package/src/crate-builder/tailwind.css +0 -5
  158. package/src/crate-builder/types.d.ts +0 -318
  159. package/src/examples/collection/collections-entity-example.json +0 -131
  160. package/src/examples/collection/crate-builder-entity-example.json +0 -33
  161. package/src/examples/item/complex-collection/ro-crate-metadata.json +0 -174
  162. package/src/examples/item/complex-item/ro-crate-metadata.json +0 -769
  163. package/src/examples/item/crate-with-language.json +0 -38
  164. package/src/examples/item/empty/ro-crate-metadata.json +0 -20
  165. package/src/examples/item/item-with-relationship-and-action/ro-crate-metadata.json +0 -66
  166. package/src/examples/item/large-crate/ro-crate-metadata.json +0 -5762
  167. package/src/examples/item/multiple-types/ro-crate-metadata.json +0 -20
  168. package/src/examples/item/ridiculously-big-collection/ro-crate-metadata.json +0 -162977
  169. package/src/examples/profile/aroma.complex.profile.json +0 -11098
  170. package/src/examples/profile/aroma.profile.json +0 -9158
  171. package/src/examples/profile/nyingarn-item-profile.json +0 -426
  172. package/src/examples/profile/profile-to-test-inverse-associations.json +0 -73
  173. package/src/examples/profile/profile-to-test-multiple-types.json +0 -31
  174. package/src/examples/profile/profile-with-all-primitives-and-groups.json +0 -207
  175. package/src/examples/profile/profile-with-all-primitives.json +0 -244
  176. package/src/examples/profile/profile-with-constraints.json +0 -446
  177. package/src/examples/profile/profile-with-resolve.json +0 -57
  178. package/src/examples/profile/vocabulary-creation-profile.json +0 -231
  179. package/src/images.d.ts +0 -5
  180. package/src/index.ts +0 -12
  181. package/src/types.ts +0 -104
  182. package/tailwind.config.js +0 -21
  183. package/tsconfig.app.json +0 -31
  184. package/tsconfig.json +0 -26
  185. package/typedoc.json +0 -11
  186. package/update-deps.sh +0 -4
  187. package/vite-env.d.ts +0 -1
  188. package/vite.config.ts +0 -46
@@ -1,426 +0,0 @@
1
- {
2
- "metadata": {
3
- "name": "Nyingarn Item Profile w/ groups",
4
- "description": "",
5
- "version": 0.1,
6
- "warnMissingProperty": true,
7
- "keywords": ["languages", "Australian Languages", "Item Metadata"]
8
- },
9
- "layouts": [
10
- {
11
- "appliesTo": ["Dataset"],
12
- "about": { "label": "About", "description": "" },
13
- "source": { "label": "Original Source Information", "description": "" },
14
- "who": { "label": "Who", "description": "" },
15
- "permissions": {
16
- "label": "Permissions",
17
- "description": ""
18
- },
19
- "overflow": {
20
- "label": "Other"
21
- }
22
- }
23
- ],
24
- "classes": {
25
- "Dataset": {
26
- "definition": "override",
27
- "subClassOf": [],
28
- "inputs": [
29
- {
30
- "id": "http://schema.org/description",
31
- "name": "description",
32
- "help": "Free notes",
33
- "type": ["TextArea"],
34
- "multiple": true,
35
- "group": "about"
36
- },
37
- {
38
- "id": "https://w3id.org/ro/terms/text-commons#annotator",
39
- "name": "annotator",
40
- "help": "The participant produced an annotation of this or a related resource.",
41
- "multiple": true,
42
- "type": ["Person", "Organization"],
43
- "group": "who"
44
- },
45
- {
46
- "id": "https://w3id.org/ro/terms/text-commons#author",
47
- "name": "author",
48
- "help": "The participant contributed original writings to the resource.",
49
- "multiple": true,
50
- "type": ["Person", "Organization"],
51
- "group": "who"
52
- },
53
- {
54
- "id": "https://w3id.org/ro/terms/text-commons#compiler",
55
- "name": "compiler",
56
- "help": "The participant is responsible for collecting the sub-parts of the resource together.",
57
- "multiple": true,
58
- "type": ["Person", "Organization"],
59
- "group": "who"
60
- },
61
- {
62
- "id": "https://w3id.org/ro/terms/text-commons#consultant",
63
- "name": "consultant",
64
- "help": "The participant contributes expertise to the creation of a work.",
65
- "multiple": true,
66
- "type": ["Person", "Organization"],
67
- "group": "who"
68
- },
69
- {
70
- "id": "https://w3id.org/ro/terms/text-commons#data_inputter",
71
- "name": "data_inputter",
72
- "help": "The participant was responsible for entering, re-typing, and/or structuring the data contained in the resource.",
73
- "multiple": true,
74
- "type": ["Person", "Organization"],
75
- "group": "who"
76
- },
77
- {
78
- "id": "https://w3id.org/ro/terms/text-commons#depositor",
79
- "name": "depositor",
80
- "help": "The participant was responsible for depositing the resource in an archive.",
81
- "multiple": true,
82
- "type": ["Person", "Organization"],
83
- "group": "who"
84
- },
85
- {
86
- "id": "https://w3id.org/ro/terms/text-commons#developer",
87
- "name": "developer",
88
- "help": "The participant developed the methodology or tools that constitute the resource, or that were used to create the resource.",
89
- "multiple": true,
90
- "type": ["Person", "Organization"],
91
- "group": "who"
92
- },
93
- {
94
- "id": "https://w3id.org/ro/terms/text-commons#editor",
95
- "name": "editor",
96
- "help": "The participant reviewed, corrected, and/or tested the resource.",
97
- "multiple": true,
98
- "type": ["Person", "Organization"],
99
- "group": "who"
100
- },
101
- {
102
- "id": "https://w3id.org/ro/terms/text-commons#illustrator",
103
- "name": "illustrator",
104
- "help": "The participant contributed drawings or other illustrations to the resource.",
105
- "multiple": true,
106
- "type": ["Person", "Organization"],
107
- "group": "who"
108
- },
109
- {
110
- "id": "https://w3id.org/ro/terms/text-commons#interpreter",
111
- "name": "interpreter",
112
- "help": "The participant translates in real-time or explains the discourse recorded in the resource.",
113
- "multiple": true,
114
- "type": ["Person", "Organization"],
115
- "group": "who"
116
- },
117
- {
118
- "id": "https://w3id.org/ro/terms/text-commons#interviewer",
119
- "name": "interviewer",
120
- "help": "The participant conducted an interview that forms part of the resource.",
121
- "multiple": true,
122
- "type": ["Person", "Organization"],
123
- "group": "who"
124
- },
125
- {
126
- "id": "https://w3id.org/ro/terms/text-commons#participant",
127
- "name": "participant",
128
- "help": "The participant was present during the creation of the resource, but did not contribute substantially to its content.",
129
- "multiple": true,
130
- "type": ["Person", "Organization"],
131
- "group": "who"
132
- },
133
- {
134
- "id": "https://w3id.org/ro/terms/text-commons#performer",
135
- "name": "performer",
136
- "help": "The participant performed some portion of a recorded, filmed, or transcribed resource.",
137
- "multiple": true,
138
- "type": ["Person", "Organization"],
139
- "group": "who"
140
- },
141
- {
142
- "id": "https://w3id.org/ro/terms/text-commons#photographer",
143
- "name": "photographer",
144
- "help": "The participant took the photograph, or shot the film, that appears in or constitutes the resource.",
145
- "multiple": true,
146
- "type": ["Person", "Organization"],
147
- "group": "who"
148
- },
149
- {
150
- "id": "https://w3id.org/ro/terms/text-commons#recorder",
151
- "name": "recorder",
152
- "help": "The participant operated the recording machinery used to create the resource.",
153
- "bundlePropertyAs": "contributor",
154
- "multiple": true,
155
- "type": ["Person", "Organization"],
156
- "group": "who"
157
- },
158
- {
159
- "id": "https://w3id.org/ro/terms/text-commons#register",
160
- "name": "register",
161
- "help": "Specifies the type of register (any of the varieties of a language that a speaker uses in a particular social context [Merriam-Webster]) of the contents of a language resource\n",
162
- "multiple": true,
163
- "type": ["Person", "Organization"],
164
- "group": "who"
165
- },
166
- {
167
- "id": "https://w3id.org/ro/terms/text-commons#research_participant",
168
- "name": "research_participant",
169
- "help": "The participant acted as a research subject or responded to a questionnaire, the results of which study form the basis of the resource.",
170
- "multiple": true,
171
- "type": ["Person", "Organization"],
172
- "group": "who"
173
- },
174
- {
175
- "id": "https://w3id.org/ro/terms/text-commons#researcher",
176
- "name": "researcher",
177
- "help": "The resource was created as part of the participant’s research, or the research presents interim or final results from the participant’s research.",
178
- "multiple": true,
179
- "type": ["Person", "Organization"],
180
- "group": "who"
181
- },
182
- {
183
- "id": "https://w3id.org/ro/terms/text-commons#responder",
184
- "name": "responder",
185
- "help": "The participant was an interlocutor in some sort of discourse event.",
186
- "multiple": true,
187
- "type": ["Person", "Organization"],
188
- "group": "who"
189
- },
190
- {
191
- "id": "https://w3id.org/ro/terms/text-commons#signer",
192
- "name": "signer",
193
- "help": "The participant was a principal signer in a resource that consists of a recording, a film, or a transcription of a recorded resource.",
194
- "multiple": true,
195
- "type": ["Person", "Organization"],
196
- "group": "who"
197
- },
198
- {
199
- "id": "https://w3id.org/ro/terms/text-commons#singer",
200
- "name": "singer",
201
- "help": "The participant sang, either individually or as part of a group, in a resource that consists of a recording, a film, or a transcription of a recorded resource.",
202
- "multiple": true,
203
- "type": ["Person", "Organization"],
204
- "group": "who"
205
- },
206
- {
207
- "id": "https://w3id.org/ro/terms/text-commons#speaker",
208
- "name": "speaker",
209
- "help": "The participant was a principal speaker in a resource that consists of a recording, a film, or a transcription of a recorded resource.",
210
- "multiple": true,
211
- "type": ["Person", "Organization"],
212
- "group": "who"
213
- },
214
- {
215
- "id": "https://w3id.org/ro/terms/text-commons#sponsor",
216
- "name": "sponsor",
217
- "help": "The participant contributed financial support to the creation of the resource.",
218
- "multiple": true,
219
- "type": ["Person", "Organization"],
220
- "group": "who"
221
- },
222
- {
223
- "id": "https://w3id.org/ro/terms/text-commons#transcriber",
224
- "name": "transcriber",
225
- "help": "The participant produced a transcription of this or a related resource.",
226
- "multiple": true,
227
- "type": ["Person", "Organization"],
228
- "group": "who"
229
- },
230
- {
231
- "id": "https://w3id.org/ro/terms/text-commons#translator",
232
- "name": "translator",
233
- "help": "The participant produced a translation of this or a related resource.",
234
- "multiple": true,
235
- "type": ["Person", "Organization"],
236
- "group": "who"
237
- },
238
- {
239
- "id": "https://nyingarn.net/source",
240
- "name": "source",
241
- "label": "Publication Title",
242
- "help": "Publication Title (if published) of work from which the document is derived",
243
- "multiple": false,
244
- "type": ["Text"],
245
- "group": "source"
246
- },
247
- {
248
- "id": "http://schema.org/contentLanguage",
249
- "name": "contentLanguage",
250
- "label": "Content Language",
251
- "help": "The language(s) that are in the document. If unknown - select unknown.",
252
- "multiple": true,
253
- "type": ["Language"],
254
- "group": "about"
255
- },
256
- {
257
- "id": "http://schema.org/subjectLanguage",
258
- "name": "subjectLanguage",
259
- "label": "Subject Language",
260
- "help": "The language(s) that the document is about. If unknown - select unknown.",
261
- "multiple": true,
262
- "type": ["Language"],
263
- "group": "about"
264
- },
265
- {
266
- "id": "http://schema.org/languageName",
267
- "name": "languageName",
268
- "help": "Language name as written in the document; also known as.",
269
- "type": ["Text"],
270
- "multiple": true,
271
- "group": "about"
272
- },
273
- {
274
- "id": "http://schema.org/holdingInstitution",
275
- "name": "holdingInstitution",
276
- "help": "Holding Institution",
277
- "type": ["Organization"],
278
- "group": "source"
279
- },
280
- {
281
- "id": "http://schema.org/catalogLinkAtRelevantInstitution",
282
- "name": "catalogLinkAtRelevantInstitution",
283
- "help": "Provide a link (URL) to the item in the relevant institution",
284
- "type": ["URL"],
285
- "multiple": true,
286
- "group": "source"
287
- },
288
- {
289
- "id": "https://www.dublincore.org/specifications/dublin-core/dcmi-terms/terms/rightsHolder",
290
- "name": "rightsHolder",
291
- "help": "Rights holder",
292
- "type": ["Person", "Organization", "Text"],
293
- "group": "permissions"
294
- },
295
- {
296
- "id": "http://schema.org/licence",
297
- "name": "copyrightStatus",
298
- "help": "Copyright Status",
299
- "type": ["Select"],
300
- "values": [
301
- "Yes = in copyright",
302
- "No - out of copyright",
303
- "Public Domain",
304
- "Copyright conditions may apply",
305
- "Copyright holder(s) authority"
306
- ],
307
- "group": "source"
308
- },
309
- {
310
- "id": "http://schema.org/languageAuthorityPermissions",
311
- "name": "languageAuthorityPermissions",
312
- "help": "Permissions required from the relevant language authority",
313
- "type": ["Select"],
314
- "values": ["Yes", "No"],
315
- "group": "permissions"
316
- },
317
- {
318
- "id": "http://schema.org/extent",
319
- "name": "extent",
320
- "help": "Number of pages",
321
- "multiple": false,
322
- "type": ["Number"],
323
- "group": "source"
324
- },
325
- {
326
- "id": "http://schema.org/publisher",
327
- "name": "publisher",
328
- "help": "Publisher. Can be people and / or organisations",
329
- "type": ["Person", "Organization"],
330
- "group": "who"
331
- },
332
- {
333
- "id": "http://schema.org/publicationDate",
334
- "name": "publicationDate",
335
- "help": "Date of publication. If you don't know the full date then set the first of January of the year.",
336
- "type": ["Date"],
337
- "multiple": false,
338
- "group": "about"
339
- },
340
- {
341
- "id": "http://schema.org/dateCreated",
342
- "name": "dateCreated",
343
- "help": "Date created. If you don't know the full date then set the first of January of the year.",
344
- "type": ["Date"],
345
- "multiple": false,
346
- "group": "about"
347
- },
348
- {
349
- "id": "http://nyingarn.net/metadata/dateFreetext",
350
- "name": "dateFreeText",
351
- "label": "Date (free text)",
352
- "help": "Used for unknown or estimated dates or for date ranges",
353
- "type": ["Text"],
354
- "multiple": false,
355
- "group": "about"
356
- },
357
- {
358
- "id": "http://nyingarn.net/metadata/originalForm",
359
- "name": "originalForm",
360
- "help": "Original in typed of handwritten form",
361
- "type": ["Select"],
362
- "values": ["Hand", "Type", "Both"],
363
- "multiple": true,
364
- "group": "source"
365
- },
366
-
367
- {
368
- "id": "http://schema.org/contentLocation",
369
- "name": "location",
370
- "help": "Location [min/max lat/long]. Given by bounding box on map.",
371
- "type": ["Geo"],
372
- "multiple": true,
373
- "group": "source"
374
- },
375
- {
376
- "id": "http://schema.org/recordedAt",
377
- "name": "recordedAt",
378
- "help": "The location at which this item was recorded",
379
- "type": ["Geo"],
380
- "multiple": true,
381
- "group": "source"
382
- }
383
- ]
384
- },
385
- "Person": {
386
- "definition": "override",
387
- "subClassOf": [],
388
- "inputs": []
389
- },
390
- "Organization": {
391
- "definition": "override",
392
- "subClassOf": [],
393
- "inputs": []
394
- },
395
- "Language": {
396
- "definition": "override",
397
- "subClassOf": [],
398
- "inputs": [
399
- {
400
- "id": "https://schema.org/geoJson",
401
- "name": "geojson",
402
- "required": true,
403
- "multiple": true,
404
- "type": ["GeoCoordinates", "GeoShape"]
405
- }
406
- ]
407
- }
408
- },
409
- "lookup": {
410
- "Language": {
411
- "fields": [
412
- "@id",
413
- "name",
414
- "alternateName",
415
- "iso639-3",
416
- "austlangCode",
417
- "glottologCode",
418
- "languageCode"
419
- ],
420
- "datapacks": [
421
- "https://raw.githubusercontent.com/describo/data-packs/master/data-packs/languages/glottolog-language-data-pack.json",
422
- "https://raw.githubusercontent.com/describo/data-packs/master/data-packs/languages/austlang-language-data-pack.json"
423
- ]
424
- }
425
- }
426
- }
@@ -1,73 +0,0 @@
1
- {
2
- "metadata": {
3
- "name": "A profile to test creating inverse associations",
4
- "description": "",
5
- "version": 0.1,
6
- "warnMissingProperty": true
7
- },
8
- "propertyAssociations": [
9
- {
10
- "property": "keywords",
11
- "propertyId": "https://schema.org/keywords",
12
- "inverse": { "property": "isKeywordOf", "propertyId": "https://schema.org/isKeywordOf" }
13
- },
14
- {
15
- "property": "hasMember",
16
- "propertyId": "https://schema.org/hasMember",
17
- "inverse": {
18
- "property": "isMemberOf",
19
- "propertyId": "https://schema.org/isMemberOf"
20
- }
21
- }
22
- ],
23
- "classes": {
24
- "Dataset": {
25
- "definition": "inherit",
26
- "subClassOf": [],
27
- "inputs": [
28
- {
29
- "id": "https://schema.org/keywords",
30
- "name": "keywords",
31
- "help": "This entity has these keywords",
32
- "multiple": true,
33
- "type": ["DefinedTerm", "Text"]
34
- },
35
- {
36
- "id": "https://schema.org/isKeywordOf",
37
- "name": "isKeywordOf",
38
- "help": "This keyword is a keyword of the linked entity",
39
- "multiple": true,
40
- "type": ["Dataset", "Person"]
41
- },
42
- {
43
- "id": "https://schema.org/isMemberOf",
44
- "name": "isMemberOf",
45
- "help": "This entity is a member of the linked entity",
46
- "multiple": true,
47
- "type": ["Dataset"]
48
- },
49
- {
50
- "id": "https://schema.org/hasMember",
51
- "name": "hasMember",
52
- "help": "This entity has these members",
53
- "multiple": true,
54
- "type": ["Person", "Dataset"]
55
- }
56
- ]
57
- }
58
- },
59
- "lookup": {
60
- "Language": {
61
- "fields": [
62
- "@id",
63
- "name",
64
- "alternateName",
65
- "iso639-3",
66
- "austlangCode",
67
- "glottologCode",
68
- "languageCode"
69
- ],
70
- "datapacks": []
71
- }
72
- }
73
- }
@@ -1,31 +0,0 @@
1
- {
2
- "metadata": {
3
- "name": "Multiple Types, mixed inherit and override definition",
4
- "description": "",
5
- "version": 0.1,
6
- "warnMissingProperty": true
7
- },
8
- "classes": {
9
- "Dataset": {
10
- "definition": "inherit",
11
- "subClassOf": [],
12
- "inputs": []
13
- },
14
- "RepositoryCollection": {
15
- "definition": "override",
16
- "subClassOf": [],
17
- "inputs": [
18
- {
19
- "id": "https://schema.org/text",
20
- "name": "text",
21
- "label": "text",
22
- "help": "help message",
23
- "required": true,
24
- "multiple": true,
25
- "type": ["Text"]
26
- }
27
- ]
28
- }
29
- },
30
- "lookup": {}
31
- }