Skip to content

Commit 80fbb98

Browse files
committed
changes to file types
1 parent b393498 commit 80fbb98

File tree

1 file changed

+10
-21
lines changed

1 file changed

+10
-21
lines changed

Diff for: scenarios/upload-student-thesis/index.md

+10-21
Original file line numberDiff line numberDiff line change
@@ -376,33 +376,26 @@ Example:
376376

377377
### Associated artifacts and licences
378378

379-
#### An administrative agreement
379+
#### An internal file uploaded for archival purposes only
380380
```json
381381
{
382-
"type": "UnpublishableFile",
382+
"type": "InternalFile",
383383
"identifier": "8dd58b7e-5a90-4cde-853b-adc3a4681abf",
384-
"name":"thesis.pdf",
384+
"name":"some-archived-file.pdf",
385385
"mimeType": "application/pdf",
386-
"size":"12356665",
387-
"license": "http://rightsstatements.org/vocab/InC/1.0/",
388-
"administrativeAgreement": true,
389-
"embargoDate": "2023-01-01T00:00:00Z",
390-
"rightsRetentionStrategy": {
391-
"type": "NullRightsRetentionStrategy"
392-
}
386+
"size":"12356665"
393387
}
394388
```
395389

396-
#### A published file
390+
#### A public file that everyone can see and access
397391
```json
398392
{
399-
"type": "PublishedFile",
393+
"type": "OpenFile",
400394
"identifier": "8dd58b7e-5a90-4cde-853b-adc3a4681abf",
401395
"name":"thesis.pdf",
402396
"mimeType": "application/pdf",
403397
"size":"12356665",
404398
"license": "http://rightsstatements.org/vocab/InC/1.0/",
405-
"administrativeAgreement": false,
406399
"embargoDate": "2023-01-01T00:00:00Z",
407400
"rightsRetentionStrategy": {
408401
"type": "NullRightsRetentionStrategy"
@@ -522,14 +515,12 @@ Authorization: Bearer ***
522515
],
523516
"associatedArtifacts": [
524517
{
525-
"type": "PublishedFile",
518+
"type": "OpenFile",
526519
"identifier": "59347ec1-57f8-4ab7-9bff-9a66ac9066af",
527520
"name": "my-thesis.pdf",
528521
"mimeType": "application/pdf",
529522
"license": "http://rightsstatements.org/vocab/InC/1.0/",
530-
"administrativeAgreement": false,
531-
"publisherAuthority": true,
532-
"visibleForNonOwner": true
523+
"publisherAuthority": true
533524
}
534525
]
535526
}
@@ -657,14 +648,12 @@ The response will then be something like this:
657648
"subjects": [],
658649
"associatedArtifacts": [
659650
{
660-
"type": "PublishedFile",
651+
"type": "OpenFile",
661652
"identifier": "59347ec1-57f8-4ab7-9bff-9a66ac9066af",
662653
"name": "my-thesis.pdf",
663654
"mimeType": "application/pdf",
664655
"license": "http://rightsstatements.org/vocab/InC/1.0/",
665-
"administrativeAgreement": false,
666-
"publisherAuthority": true,
667-
"visibleForNonOwner": true
656+
"publisherAuthority": true
668657
}
669658
],
670659
"additionalIdentifiers": [

0 commit comments

Comments
 (0)