w3c / tdm-reservation-protocol

Repository of the Text and Data Mining Reservation Protocol Community Group
https://www.w3.org/community/tdmrep/
Other
10 stars 8 forks source link

Unclear example #44

Open robertmaier opened 5 months ago

robertmaier commented 5 months ago

When I read through some examples, I came across this one: image

In the description it mentions "the first group of files (PDF documents)", but in the actual example there is no reference to PDF files.

So I would propose to either change the example to only apply to PDF documents:

[
  {
  "location": "/directory-a/*.pdf",
  "tdm-reservation": 1
  },
  {
  "location": "/directory-b/html/",
  "tdm-reservation": 1,
  "tdm-policy":"https://provider.com/policies/policy.json"
  },
  {
  "location": "/directory-b/images/*.jpg",
  "tdm-reservation": 0
  }
]

Or remove the PDF reference from the description and only mention the directory there. I can create a PR to change this if needed, let me know how you want to proceed with this.