|
1 | 1 | [{ |
2 | | - "field-name": "cvocDemo", |
3 | | - "term-uri-field": "cvocDemoTermURI", |
| 2 | + "field-name": "compoundDemo", |
| 3 | + "term-uri-field": "compoundDemoTermURI", |
4 | 4 | "cvoc-url": "https://skosmos.dev.finto.fi/", |
5 | | - "js-url": "/resources/js/skosmos.js", |
| 5 | + "js-url": "https://gdcc.github.io/dataverse-external-vocab-support/scripts/skosmos.js", |
6 | 6 | "protocol": "skosmos", |
7 | 7 | "retrieval-uri": "https://skosmos.dev.finto.fi/rest/v1/data?uri={0}", |
8 | 8 | "term-parent-uri": "", |
9 | 9 | "languages":"en, fr, es, ru", |
10 | 10 | "vocabs": { |
11 | | - "unesco": "http://skos.um.es/unescothes/CS000" |
| 11 | + "unesco": { |
| 12 | + "vocabularyUri": "http://skos.um.es/unescothes/CS000", |
| 13 | + "uriSpace": "http://skos.um.es/unescothes/" |
| 14 | + } |
12 | 15 | }, |
13 | 16 | "managed-fields": { |
14 | | - "vocabularyName": "cvocDemoVocabulary", |
15 | | - "termName": "cvocDemoTerm", |
16 | | - "vocabularyUri": "cvocDemoVocabularyURI" |
| 17 | + "vocabularyName": "compoundDemoVocabulary", |
| 18 | + "termName": "compoundDemoTerm", |
| 19 | + "vocabularyUri": "compoundDemoVocabularyURI" |
17 | 20 | }, |
18 | 21 | "retrieval-filtering": { |
19 | 22 | "@context": { |
|
44 | 47 | { |
45 | 48 | "field-name": "creator", |
46 | 49 | "term-uri-field": "creator", |
47 | | - "js-url": "/resources/js/people.js", |
| 50 | + "js-url": "https://gdcc.github.io/dataverse-external-vocab-support/scripts/people.js", |
48 | 51 | "protocol": "orcid", |
49 | 52 | "retrieval-uri": "https://pub.orcid.org/v3.0/{0}/person", |
| 53 | + "allow-free-text": true, |
50 | 54 | "prefix": "https://orcid.org/", |
51 | 55 | "managed-fields": {}, |
52 | 56 | "languages":"", |
| 57 | + "vocabs": { |
| 58 | + "orcid": { |
| 59 | + "uriSpace": "https://orcid.org/" |
| 60 | + } |
| 61 | + }, |
53 | 62 | "retrieval-filtering": { |
54 | 63 | "@context": { |
55 | 64 | "personName": "https://schema.org/name", |
56 | | - "scheme": "https://schema.org/identifier" |
| 65 | + "scheme": "http://www.w3.org/2004/02/skos/core#inScheme" |
57 | 66 | }, |
58 | 67 | "personName": { |
59 | 68 | "pattern": "{0}, {1}", |
|
66 | 75 | "scheme": { |
67 | 76 | "pattern": "ORCID" |
68 | 77 | }, |
69 | | - "@type": "https://schema.org/Person" |
| 78 | + "@type": { |
| 79 | + "pattern": "https://schema.org/Person" |
| 80 | + } |
70 | 81 | } |
71 | 82 | }, |
72 | 83 | { |
73 | 84 | "field-name": "skosterm", |
74 | 85 | "term-uri-field": "skosterm", |
75 | 86 | "cvoc-url": "https://skosmos.dev.finto.fi/", |
76 | | - "js-url": "/resources/js/skosmos.js", |
| 87 | + "js-url": "https://gdcc.github.io/dataverse-external-vocab-support/scripts/skosmos.js", |
77 | 88 | "protocol": "skosmos", |
78 | 89 | "retrieval-uri": "https://skosmos.dev.finto.fi/rest/v1/data?uri={0}", |
79 | | - "vocabs":{"unesco": "http://skos.um.es/unescothes/CS000"}, |
80 | | - "languages":"en, fr, es, ru", |
| 90 | + "languages":"en, uk, fr, ru", |
| 91 | + "vocabs":{ |
| 92 | + "unesco": { |
| 93 | + "vocabularyUri": "http://skos.um.es/unescothes/CS000", |
| 94 | + "uriSpace": "http://skos.um.es/unescothes/" |
| 95 | + } |
| 96 | + }, |
81 | 97 | "managed-fields": {}, |
82 | 98 | "retrieval-filtering": { |
83 | 99 | "@context": { |
|
0 commit comments