Skip to content

Commit 2d7ca73

Browse files
author
Peter Amstutz
committed
Adjust Directory to also use a location field to identify it.
1 parent 45af7a3 commit 2d7ca73

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

draft-4/Process.yml

+12-3
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,19 @@ $graph:
203203
_id: "@type"
204204
_type: "@vocab"
205205
doc: Must be `Directory` to indicate this object describes a Directory.
206-
- name: id
206+
- name: location
207207
type: string
208-
doc: A URI used to identify the directory.
209-
jsonldPredicate: "@id"
208+
doc: |
209+
A URI that identifies the directory resource. This may be a relative
210+
reference, in which case it must be resolved using the base URI of the
211+
document. The location may refer to a local or remote resource. If
212+
the `listing` field is not set, the implementation must use the URI to
213+
retrieve directory listing. If an implementation is unable to retrieve
214+
the file content stored at a remote resource (due to unsupported
215+
protocol, access denied, or other issue) it must signal an error.
216+
jsonldPredicate:
217+
_id: "@id"
218+
_type: "@id"
210219
- name: path
211220
type: string?
212221
doc: The path to the directory.

0 commit comments

Comments
 (0)