|
1 | 1 | <?xml version='1.0' encoding='utf-8'?> |
2 | 2 |
|
3 | | -<knora xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | | - xmlns="https://dasch.swiss/schema" |
5 | | - xsi:schemaLocation="https://dasch.swiss/schema https://raw.githubusercontent.com/dasch-swiss/dsp-tools/main/knora/dsplib/schemas/data.xsd" |
6 | | - shortcode="082E" |
7 | | - default-ontology="rosetta"> |
| 3 | +<knora xmlns="https://dasch.swiss/schema" |
| 4 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 | + xsi:schemaLocation="https://dasch.swiss/schema ../knora/dsplib/schemas/data.xsd" |
| 6 | + shortcode="4123" |
| 7 | + default-ontology="testonto"> |
8 | 8 |
|
9 | 9 | <!-- :permissions see https://docs.dasch.swiss/DSP-API/05-internals/design/api-admin/administration/#permissions --> |
10 | 10 | <permissions id="res-default"> |
11 | | - <allow group="UnknownUser">V</allow> |
| 11 | + <allow group="UnknownUser">RV</allow> |
12 | 12 | <allow group="KnownUser">V</allow> |
13 | 13 | <allow group="Creator">CR</allow> |
14 | 14 | <allow group="ProjectAdmin">CR</allow> |
15 | 15 | </permissions> |
16 | 16 | <permissions id="res-restricted"> |
17 | | - <allow group="UnknownUser">V</allow> |
18 | 17 | <allow group="KnownUser">V</allow> |
19 | 18 | <allow group="Creator">CR</allow> |
20 | 19 | <allow group="ProjectAdmin">CR</allow> |
|
26 | 25 | <allow group="ProjectAdmin">CR</allow> |
27 | 26 | </permissions> |
28 | 27 | <permissions id="prop-restricted"> |
29 | | - <allow group="UnknownUser">V</allow> |
30 | 28 | <allow group="KnownUser">V</allow> |
31 | 29 | <allow group="Creator">CR</allow> |
32 | 30 | <allow group="ProjectAdmin">CR</allow> |
33 | 31 | </permissions> |
34 | 32 |
|
35 | | - <!-- :Image2D --> |
36 | | - <resource label="Deluge2" restype=":Image2D" id="img_obj_1" permissions="res-default"> |
37 | | - <bitstream>Images/Danby-deluge.jpg</bitstream> |
38 | | - <text-prop name=":hasTitle"> |
39 | | - <text permissions="prop-default" encoding="utf8">The Deluge</text> |
| 33 | + <resource label="TestThing2Incremental" |
| 34 | + restype=":TestThing2" |
| 35 | + id="TestThing2Incremental"> |
| 36 | + <text-prop name=":hasText"> |
| 37 | + <text encoding="xml"> |
| 38 | + Text with XML standoff link to resource <a class="salsah-link" href="IRI:obj_0000:IRI">obj_0000</a> |
| 39 | + and <a class="salsah-link" href="IRI:obj_0011:IRI">obj_0011</a> |
| 40 | + </text> |
40 | 41 | </text-prop> |
41 | | - <resptr-prop name=":hasCreator"> |
42 | | - <resptr permissions="prop-default">person_2</resptr> |
| 42 | + <resptr-prop name=":hasTestThing"> |
| 43 | + <resptr permissions="prop-default">obj_0001</resptr> |
| 44 | + <resptr permissions="prop-default">obj_0011</resptr> |
43 | 45 | </resptr-prop> |
44 | | - <date-prop name=":hasDate"> |
45 | | - <date permissions="prop-default">GREGORIAN:CE:1877:CE:1879</date> |
46 | | - </date-prop> |
47 | | - <text-prop name=":hasDescription"> |
48 | | - <text permissions="prop-default" encoding="utf8">Oil paint on canvas.</text> |
49 | | - </text-prop> |
50 | | - <text-prop name=":hasCopyright"> |
51 | | - <text permissions="prop-default" encoding="utf8">The Deluge</text> |
52 | | - </text-prop> |
53 | | - <resptr-prop name=":inInstitution"> |
54 | | - <resptr permissions="prop-default">institution_2</resptr> |
55 | | - </resptr-prop> |
56 | | - <geoname-prop name=":hasLocation"> |
57 | | - <geoname permissions="prop-default" comment="London">6695209</geoname> |
58 | | - </geoname-prop> |
59 | | - <uri-prop name=":hasExternalLink"> |
60 | | - <uri permissions="prop-default">https://www.tate.org.uk/art/artworks/danby-the-deluge-t01337</uri> |
61 | | - </uri-prop> |
62 | 46 | </resource> |
63 | 47 |
|
| 48 | + |
64 | 49 | </knora> |
0 commit comments