(in reply to #35 (comment) by @mgh128)
Props gpcCategoryCode, gpcCategoryDescription have these shortcomings:
- Denormalization. What if two products associate the same "Code" with two drastically different "Descriptions"?
- You can't use a LOD rendering of GPC by URL, but have to copy its fields
- It doesn't capture all GPC details:
AdditionalProductClassificationDetails is better because it allows you to use someone else's classification URLs without duplicating info locally. In fact I'm tempted to use it for GPC ;-)
But:
- The name should be just
ProductClassification
- "Additional" is parasitic: what GS1 considers "additional" compared to GPC may be very primary to some classification provider
- "Details" is parasitic (just like in
CertificationDetails)
- It doesn't permit reuse of classifications in other representations (eg skos:Concept or schema:Enumeration) that are used more widely
- https://schema.org/category is more inclusive: it can be Text, URL (someone else's classification in any representation), or Thing (presumably Enumeration)
- The prop
additionalProductClassificationCode, when compared to gpcCategoryCode, is confusing because it designates the scheme not the value.
- Thus
additionalProductClassificationValue parallels gpcCategoryCode but notice the suffix is different
- The prop
additionalProductClassificationCodeDescription "A description related to the additional product classification code value" is wrongly named, should be additionalProductClassificationValueDescription
(in reply to #35 (comment) by @mgh128)
Props
gpcCategoryCode, gpcCategoryDescriptionhave these shortcomings:propertyIDshould be "global" (identify the scheme) but we need it to identify an attribute within the schemeAdditionalProductClassificationDetails is better because it allows you to use someone else's classification URLs without duplicating info locally. In fact I'm tempted to use it for GPC ;-)
But:
ProductClassificationCertificationDetails)additionalProductClassificationCode, when compared togpcCategoryCode, is confusing because it designates the scheme not the value.additionalProductClassificationValueparallelsgpcCategoryCodebut notice the suffix is differentadditionalProductClassificationCodeDescription"A description related to the additional product classification code value" is wrongly named, should beadditionalProductClassificationValueDescription