pod-browser icon indicating copy to clipboard operation
pod-browser copied to clipboard

Should person.shex limit the number of WebID's to just one?

Open pmcb55 opened this issue 4 years ago • 4 comments

As pointed out by @matthieubosquet here, shouldn't a Person be able to maintain any number WebID's?

Currently the ShEx (in shapes/contact/person.shex) says:

vcard:Individual {
    vcard:fn xsd:string {1} ;

    # vcard:WebId is a custom term
    vcard:url vcard:WebId {1};
:
:

pmcb55 avatar Feb 10 '21 21:02 pmcb55

Ah, yes, I think that should be changed to + (meaning 1 or more).

megoth avatar Feb 11 '21 18:02 megoth

Pinging @timbl who might want to weigh in on this

megoth avatar Feb 11 '21 18:02 megoth

Ideally * that is 0 to many.

Not everyone is going to have a WebID from the get go and it would be a shame to be able to import close to 0 of your contacts because of that. I'm not sure what the point of this restriction is?

matthieubosquet avatar Feb 11 '21 23:02 matthieubosquet

Ideally * that is 0 to many.

Not everyone is going to have a WebID from the get go and it would be a shame to be able to import close to 0 of your contacts because of that. I'm not sure what the point of this restriction is?

You're correct, for an address book in general it doesn't make sense to limit it to one WebId or more. This was written in the context of PodBrowser, so it has been influenced because of that. In general I think it makes sense to have * yes, 0 to many.

I'm perfectly fine with changing it to *.

megoth avatar Feb 12 '21 10:02 megoth