Skip to content

Commit b0ab112

Browse files
Pablo Paneroppanero
authored andcommitted
add descriptions, identifiers and communities to avoid breaking ui
1 parent 51f7089 commit b0ab112

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/develop/make_it_your_own.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,14 @@ curl -k -XPOST -H "Content-Type: application/json" https://localhost:5000/api/re
270270
"_owners": [1],
271271
"_created_by": 1,
272272
"access_right": "open",
273+
"community": {
274+
"primary": "Maincom",
275+
"secondary": ["Subcom One", "Subcom Two"]
276+
},
273277
"creators": [],
278+
"identifiers": {
279+
"DOI": "10.9999/rdm.9999999"
280+
},
274281
"resource_type": {
275282
"type": "image",
276283
"subtype": "image-photo"
@@ -280,6 +287,13 @@ curl -k -XPOST -H "Content-Type: application/json" https://localhost:5000/api/re
280287
"type": "Other",
281288
"lang": "eng"
282289
}],
290+
"descriptions": [
291+
{
292+
"description": "A story on how Julio Cesar relates to Gladiator.",
293+
"type": "Abstract",
294+
"lang": "eng"
295+
}
296+
],
283297
"extensions": {
284298
"dwc:family": "Felidae",
285299
"dwc:behavior": "Plays with yarn, sleeps in cardboard box.",

0 commit comments

Comments
 (0)