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
Assignees
Labels
schema.org vocab General top level tag for issues on the vocabulary type:cleanup + clarity Addresses wording fixes, ambiguities, confusion, bad examples etc

Comments

@scor
Copy link
Contributor

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 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 danbri added type:enhancement schema.org vocab General top level tag for issues on the vocabulary type:cleanup + clarity Addresses wording fixes, ambiguities, confusion, bad examples etc labels Oct 1, 2015
@danbri danbri added this to the sdo-phobos release milestone Oct 1, 2015
@danbri danbri self-assigned this Oct 1, 2015
danbri added a commit that referenced this issue Oct 2, 2015
@danbri
Copy link
Contributor

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 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 commented Oct 2, 2015

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

@danbri
Copy link
Contributor

danbri commented Oct 2, 2015

@danbri
Copy link
Contributor

danbri commented Nov 6, 2015

Fixed in http://schema.org/docs/releases.html#v2.2 - thanks all

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

@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
Labels
schema.org vocab General top level tag for issues on the vocabulary type:cleanup + clarity Addresses wording fixes, ambiguities, confusion, bad examples etc
Projects
None yet
Development

No branches or pull requests

3 participants