Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groups #38

Open
agmrezz opened this issue Apr 13, 2020 · 4 comments
Open

Groups #38

agmrezz opened this issue Apr 13, 2020 · 4 comments

Comments

@agmrezz
Copy link

agmrezz commented Apr 13, 2020

This is or proposal for group management in viade:

Since solid's address books lacks documentation and we really don't know how to use them we have decided to use or own approach.

Currently we follow the following structure, locating the groups inside /viade/groups

{
  "@context": {
    "@version": 1.1,
    "users": {
      "@container": "@list",
      "@id": "schema:Person"
    },
    "name": {
      "@id": "schema:name",
      "@type": "xs:string"
    },
"url": {
      "@id": "schema:url",
      "@type": "xs:string"
    },
    "schema": "http://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#"
  },
  "name": "Group name",
  "users": [
    {
      "name": "contactName",
      "url": "https://hellothere.inrupt.net/profile/card#me"
    },
    {
      "name": "contactName",
      "url": "https://generalkenobi.inrupt.net/profile/card#me"
    }
  ]
}
@UO264345
Copy link

UO264345 commented Apr 14, 2020

Is the name in the users list needed? What is the difference between that name and the profile's one, or what is its purpose?

@InigoGutierrez
Copy link
Contributor

I agree, this looks good but we probably don't need the names stored there.

@agmrezz
Copy link
Author

agmrezz commented Apr 18, 2020

Yeah you are right

@guillefun
Copy link

Following that format, two or more groups could have the same name? If so, each archive in the pod whic contains information of a group should be named with a unique id?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants