Skip to content

Commit 6db5c9b

Browse files
committed
Add draughsmen and copyright statement to example data
See #131.
1 parent b56e542 commit 6db5c9b

File tree

1 file changed

+38
-20
lines changed

1 file changed

+38
-20
lines changed

core/src/datastore/sampledata/sample-data.ts

+38-20
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@ export const getSampleDocuments = (locale: string): NewDocument[] => [
4848
'identifier': sampleDataLabels[locale]['trenchShort'] + '2',
4949
'shortDescription': getI18nString('trench', ' 2'),
5050
'relations': {},
51-
'geometry' : {
51+
'geometry': {
5252
'type': 'Polygon',
53-
'coordinates' : [[
53+
'coordinates': [[
5454
[27.18933606147766, 39.14117097854614],
5555
[27.189400672912598, 39.14119362831116],
5656
[27.189414739608765, 39.14115810394287],
@@ -70,9 +70,9 @@ export const getSampleDocuments = (locale: string): NewDocument[] => [
7070
'isRecordedIn': ['t2'],
7171
'isAbove': ['si2', 'si5'],
7272
},
73-
'geometry' : {
73+
'geometry': {
7474
'type': 'Polygon',
75-
'coordinates' : [
75+
'coordinates': [
7676
[
7777
[
7878
27.18934252858162,
@@ -107,9 +107,9 @@ export const getSampleDocuments = (locale: string): NewDocument[] => [
107107
'isBelow': ['si1'],
108108
'isAbove': ['si3']
109109
},
110-
'geometry' : {
110+
'geometry': {
111111
'type': 'Polygon',
112-
'coordinates' : [
112+
'coordinates': [
113113
[
114114
[
115115
27.18934056162834,
@@ -145,9 +145,9 @@ export const getSampleDocuments = (locale: string): NewDocument[] => [
145145
'isAbove': ['si4'],
146146
'bondsWith': ['si5']
147147
},
148-
'geometry' : {
148+
'geometry': {
149149
'type': 'Polygon',
150-
'coordinates' : [
150+
'coordinates': [
151151
[
152152
[
153153
27.18934252858162,
@@ -193,9 +193,9 @@ export const getSampleDocuments = (locale: string): NewDocument[] => [
193193
'isRecordedIn': ['t2'],
194194
'isBelow': ['si3'],
195195
},
196-
'geometry' : {
196+
'geometry': {
197197
'type': 'Polygon',
198-
'coordinates' : [
198+
'coordinates': [
199199
[
200200
[
201201
27.18934690952301,
@@ -256,9 +256,9 @@ export const getSampleDocuments = (locale: string): NewDocument[] => [
256256
'isBelow': ['si1'],
257257
'bondsWith': ['si3']
258258
},
259-
'geometry' : {
259+
'geometry': {
260260
'type': 'Polygon',
261-
'coordinates' : [
261+
'coordinates': [
262262
[
263263
[
264264
27.189364075660706,
@@ -323,7 +323,7 @@ export const getSampleDocuments = (locale: string): NewDocument[] => [
323323
'id': 'si0',
324324
'identifier': sampleDataLabels[locale]['stratigraphicalUnitShort'] + '0',
325325
'shortDescription': getI18nString('stratigraphicalUnit'),
326-
'relations': {
326+
'relations': {
327327
'isRecordedIn': ['t1']
328328
},
329329
'geometry': {
@@ -350,7 +350,7 @@ export const getSampleDocuments = (locale: string): NewDocument[] => [
350350
},
351351
'geometry': {
352352
'type': 'Point',
353-
'coordinates': [ 27.189335972070694, 39.14122423529625]
353+
'coordinates': [27.189335972070694, 39.14122423529625]
354354
},
355355
'category': 'Find'
356356
}
@@ -361,16 +361,25 @@ export const getSampleDocuments = (locale: string): NewDocument[] => [
361361
'identifier': 'PE07-So-07_Z001.jpg',
362362
'shortDescription': getI18nString('mapLayer', ' 1'),
363363
'category': 'Drawing',
364-
'originalFilename' : 'PE07-So-07_Z001.jpg',
365-
'height' : 2423,
366-
'width' : 3513,
364+
'originalFilename': 'PE07-So-07_Z001.jpg',
365+
'height': 2423,
366+
'width': 3513,
367367
'relations': {
368368
'isMapLayerOf': ['project']
369369
},
370370
'georeference': {
371371
'bottomLeftCoordinates': [39.1411810096, 27.1892609283],
372372
'topLeftCoordinates': [39.1412672328, 27.1892609283],
373373
'topRightCoordinates': [39.1412672328, 27.1893859555]
374+
},
375+
"draughtsmen": [
376+
"Person 1"
377+
],
378+
"imageRights": {
379+
"en": "© Archaeological Example Association",
380+
"de": "© Archaeological Example Association",
381+
"it": "© Archaeological Example Association",
382+
"uk": "© Archaeological Example Association"
374383
}
375384
}
376385
},
@@ -380,16 +389,25 @@ export const getSampleDocuments = (locale: string): NewDocument[] => [
380389
'identifier': 'mapLayerTest2.png',
381390
'shortDescription': getI18nString('mapLayer', ' 2'),
382391
'category': 'Image',
383-
'originalFilename' : 'mapLayerTest2.png',
384-
'height' : 782,
385-
'width' : 748,
392+
'originalFilename': 'mapLayerTest2.png',
393+
'height': 782,
394+
'width': 748,
386395
'relations': {
387396
'isMapLayerOf': ['project']
388397
},
389398
'georeference': {
390399
'bottomLeftCoordinates': [39.1412810096, 27.1893609283],
391400
'topLeftCoordinates': [39.1413672328, 27.1893609283],
392401
'topRightCoordinates': [39.1413672328, 27.1894859555]
402+
},
403+
"draughtsmen": [
404+
"Person 2"
405+
],
406+
"imageRights": {
407+
"en": "© Archaeological Example Association",
408+
"de": "© Archaeological Example Association",
409+
"it": "© Archaeological Example Association",
410+
"uk": "© Archaeological Example Association"
393411
}
394412
}
395413
},

0 commit comments

Comments
 (0)