-
Notifications
You must be signed in to change notification settings - Fork 845
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
Orders schema updates #266
Comments
…nges to avoid conflicts.
See pull request https://github.com/schemaorg/schemaorg/pull/325/files |
For orderItemId, should we rename that to orderItemNumber to be consistent with http://schema.org/orderNumber? How can you tell the product ordered for a given OrderItem? I see the property from Order -> orderedItem -> OrderItem, but I think we should also add OrderItem to the domain of orderedItem. Which then introduces the possibility of a loop. If we're worried about the loop, we could always separate out orderedItem (range Product) from a new property orderLine (range OrderItem, which could then be renamed to OrderLine). |
Or perhaps: schema:id On Mar 10, 2015, at 7:45 PM, tmarshbing <notifications@github.commailto:notifications@github.com> wrote: For orderItemId, should we rename that to orderItemNumber to be consistent with http://schema.org/orderNumber? How can you tell the product ordered for a given OrderItem? I see the property from Order -> orderedItem -> OrderItem, but I think we should also add OrderItem to the domain of orderedItem. Which then introduces the possibility of a loop. If we're worried about the loop, we could always separate out orderedItem (range Product) from a new property orderLine (range OrderItem, which could then be renamed to OrderLine). Reply to this email directly or view it on GitHubhttps://github.com//issues/266#issuecomment-78173190. |
I updated the pull request to add orderedItem to the list of properties. This allows one to link directly from the OrderItem to the Product. I also added an example of this. |
Looks good! |
Looks OK to me. |
Issue #266: Merged in proposed schema with minor name changes to avoid conflicts.
Merged into sdo-gozer. |
http://schema.org/Order
Wiki proposal: https://www.w3.org/wiki/WebSchemas/Orders_enhancement
The text was updated successfully, but these errors were encountered: