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

Add explicit relationship between location, homeLocation and workLocation #823

Closed
scor opened this issue Oct 1, 2015 · 7 comments
Closed

Add explicit relationship between location, homeLocation and workLocation #823

scor opened this issue Oct 1, 2015 · 7 comments

Comments

@scor
Copy link
Contributor

@scor scor commented Oct 1, 2015

The 'location' property is used on http://schema.org/Event. homeLocation and workLocation are properties of http://schema.org/Person. I would think all those properties are related, and in particular, homeLocation and workLocation should be sub-properties of location.

As a result, the description of 'location' should be generalized:

The location of the event, organization or action.

@danbri
Copy link
Contributor

@danbri danbri commented Oct 1, 2015

Make sense to me. You also mentioned being explicit about 'location' often having textual values...? I think we should do that too.

@danbri
Copy link
Contributor

@danbri danbri commented Oct 2, 2015

Implemented and merged to sdo-phobos, thanks for the suggestion @scor!

http://sdo-phobos.appspot.com/location

@scor
Copy link
Contributor Author

@scor scor commented Oct 2, 2015

Great, thanks, looking better. Should we also generalize the description a little bit, right now it says "The location of the event, organization or action."

Something like: The location of for example where the event is happening, an organization is located, or where an action takes place.

@danbri
Copy link
Contributor

@danbri danbri commented Oct 2, 2015

Thanks @scor - done! /cc #827 as we're in final review now.

@danbri
Copy link
Contributor

@danbri danbri commented Nov 6, 2015

@danbri danbri closed this Nov 6, 2015
@dsimmons
Copy link

@dsimmons dsimmons commented Mar 22, 2016

@scor @danbri: I realize this is an older issue, but because it's relevant to the context of this dialogue....

In the same way that the gist of this PR was to unify location, workLocation, and homeLocation, is there any way that we could unify the expected types?

Specifically, if nothing else, Text is expected for location, whereas it's not for homeLocation and workLocation.

location also supports PostalAddress, whereas homeLocation and workLocation don't (and instead support ContactPoint).

I guess, in the spirit of these being related fields, is there any reason that they couldn't be even more uniform? 😄

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.