Skip to content

Commit ecf80af

Browse files
committed
Schema changes for schemaorg#3617 on Shipping Details representation.
This changes the representation of shipping information accordoing to issue schemaorg#3617, with some properties moved to the attic.
1 parent 1ad08f1 commit ecf80af

File tree

1 file changed

+193
-0
lines changed

1 file changed

+193
-0
lines changed

data/ext/pending/issue-3617.ttl

Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
@prefix : <https://schema.org/> .
2+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
4+
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
5+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
6+
@prefix dct: <http://purl.org/dc/terms/> .
7+
8+
# ╔════════════════════════════════════════════════════════╗
9+
# ║ Amend OfferShippingDetails ║
10+
# ╚════════════════════════════════════════════════════════╝
11+
:weight a rdf:Property ;
12+
:domainIncludes :OfferShippingDetails ;
13+
:rangeIncludes :Mass .
14+
15+
:shippingService a rdf::Property ;
16+
:domainIncludes :OfferShippingDetails ;
17+
:rangeIncludes :ShippingService .
18+
19+
:shippingSettingsLink a rdf:Property ;
20+
:isPartOf <https://attic.schema.org> .
21+
22+
:shippingLabel a rdf:Property ;
23+
:isPartOf <https://attic.schema.org> .
24+
25+
:transitTimeLabel a rdf:Property ;
26+
:isPartOf <https://attic.schema.org> .
27+
28+
# ╔════════════════════════════════════════════════════════╗
29+
# ║ Amending Organization ║
30+
# ╚════════════════════════════════════════════════════════╝
31+
:shippingService a rdf:Property ;
32+
rdfs:label "shippingService" ;
33+
:domainIncludes :Organization ;
34+
:rangeIncludes :ShippingService ;
35+
:isPartOf <https://pending.schema.org> ;
36+
:source <https://github.com/schemaorg/schemaorg/issues/3617> ;
37+
rdfs:comment "Specification of a shipping services offered by the organization." .
38+
39+
# ╔════════════════════════════════════════════════════════╗
40+
# ║ Delete DeliveryTimeSettings ║
41+
# ╚════════════════════════════════════════════════════════╝
42+
:DeliveryTimeSettings a rdfs:Class ;
43+
:supersededBy :ShippingService .
44+
45+
# ╔════════════════════════════════════════════════════════╗
46+
# ║ Amend ShippingDeliveryTime ║
47+
# ╚════════════════════════════════════════════════════════╝
48+
:transitDays a rdf:Property ;
49+
rdfs:label "transitDays" ;
50+
:domainIncludes :ShippingDeliveryTime ;
51+
:isPartOf <https://pending.schema.org> ;
52+
:rangeIncludes :OpeningHoursSpecification ;
53+
:source <https://github.com/schemaorg/schemaorg/issues/3617> ;
54+
rdfs:comment "Days of the week when transporters typically operate, indicated via opening hours markup." .
55+
56+
# ╔════════════════════════════════════════════════════════╗
57+
# ║ Amending ShippingRateSettings ║
58+
# ╚════════════════════════════════════════════════════════╝
59+
:orderPercentage a rdf:Property ;
60+
rdfs:label "orderPercentage" ;
61+
:domainIncludes :ShippingRateSettings ;
62+
:rangeIncludes :Number ;
63+
:source <https://github.com/schemaorg/schemaorg/issues/3617> ;
64+
:isPartOf <https://pending.schema.org> ;
65+
rdfs:comment "Fraction of the value of the order that is charged as shipping cost." .
66+
67+
:weightPercentage a rdf:Property ;
68+
rdfs:label "weightPercentage" ;
69+
:domainIncludes :ShippingRateSettings ;
70+
:rangeIncludes :Number ;
71+
:source <https://github.com/schemaorg/schemaorg/issues/3617> ;
72+
:isPartOf <https://pending.schema.org> ;
73+
rdfs:comment "Fraction of the weight that is used to compute the shipping price." .
74+
75+
:orderValue a rdf:Property ;
76+
rdfs:label "orderValue" ;
77+
:domainIncludes :ShippingRateSettings ;
78+
:rangeIncludes :MonetaryAmount ;
79+
:source <https://github.com/schemaorg/schemaorg/issues/3617> ;
80+
:isPartOf <https://pending.schema.org> ;
81+
rdfs:comment "Minimum and maximum order value for which these shipping rates are valid." .
82+
83+
# ╔════════════════════════════════════════════════════════╗
84+
# ║ Adding ValidityPeriod ║
85+
# ╚════════════════════════════════════════════════════════╝
86+
:ValidityPeriod a rdfs:Class ;
87+
rdfs:label "ValidityPeriod" ;
88+
rdfs:subClassOf :StructuredValue ;
89+
:isPartOf <https://pending.schema.org> ;
90+
:source <https://github.com/schemaorg/schemaorg/issues/3617> ;
91+
rdfs:comment "A ValidityPeriod represents a date-specified duration during which the valididty holds." .
92+
93+
:periodStart a rdf:Property ;
94+
rdfs:label "periodStart" ;
95+
:domainIncludes :ValidityPeriod ;
96+
:rangeIncludes :Date, :DateTime ;
97+
:isPartOf <https://pending.schema.org> ;
98+
:source <https://github.com/schemaorg/schemaorg/issues/3617> ;
99+
rdfs:comment "Start point in time of the validity period." .
100+
101+
:periodEnd a rdf:Property ;
102+
rdfs:label "periodEnd" ;
103+
:domainIncludes :ValidityPeriod ;
104+
:rangeIncludes :Date, :DateTime ;
105+
:isPartOf <https://pending.schema.org> ;
106+
:source <https://github.com/schemaorg/schemaorg/issues/3617> ;
107+
rdfs:comment "End point in time of the validity period." .
108+
109+
# ╔════════════════════════════════════════════════════════╗
110+
# ║ Adding ShippingService ║
111+
# ╚════════════════════════════════════════════════════════╝
112+
:ShippingService a rdfs:Class ;
113+
rdfs:label "ShippingService" ;
114+
rdfs:subClassOf :StructuredValue ;
115+
:isPartOf <https://pending.schema.org> ;
116+
:source <https://github.com/schemaorg/schemaorg/issues/3617> ;
117+
rdfs:comment "A ShippingService represents a set of contraints and information about the conditions of shipping a product. Such a service may apply to only a subset of the products being shipped, depending on aspects of the product like weight, size, price, destination, and others." .
118+
119+
:shippingOrigin a rdf:Property ;
120+
rdfs:label "shippingOrigin" ;
121+
:domainIncludes :ShippingService;
122+
:rangeIncludes :DefinedRegion ;
123+
:source <htps://github.com/schemaorg/schemaorg/issues/3617> .
124+
125+
:shippingDestination a rdf:Property ;
126+
rdfs:label "shippingDestination" ;
127+
:domainIncludes :ShippingService;
128+
:rangeIncludes :DefinedRegion ;
129+
:source <htps://github.com/schemaorg/schemaorg/issues/3617> .
130+
131+
:deliveryTime a rdf:Property ;
132+
rdfs:label "deliveryTime" ;
133+
:domainIncludes :ShippingService;
134+
:rangeIncludes :ShippingDeliveryTime ;
135+
:source <htps://github.com/schemaorg/schemaorg/issues/3617> .
136+
137+
:height a rdf:Property ;
138+
rdfs:label "height" ;
139+
:domainIncludes :ShippingService;
140+
:rangeIncludes :QuantitativeValue ;
141+
:isPartOf <https://pending.schema.org> ;
142+
:source <htps://github.com/schemaorg/schemaorg/issues/3617> .
143+
144+
:width a rdf:Property ;
145+
rdfs:label "width" ;
146+
:domainIncludes :ShippingService;
147+
:rangeIncludes :QuantitativeValue ;
148+
:isPartOf <https://pending.schema.org> ;
149+
:source <htps://github.com/schemaorg/schemaorg/issues/3617> .
150+
151+
:depth a rdf:Property ;
152+
rdfs:label "depth" ;
153+
:domainIncludes :ShippingService;
154+
:rangeIncludes :QuantitativeValue ;
155+
:isPartOf <https://pending.schema.org> ;
156+
:source <htps://github.com/schemaorg/schemaorg/issues/3617> .
157+
158+
:weight a rdf:Property ;
159+
rdfs:label "weight" ;
160+
:domainIncludes :ShippingService ;
161+
:rangeIncludes :QuantitativeValue ;
162+
:isPartOf <https://pending.schema.org> ;
163+
:source <htps://github.com/schemaorg/schemaorg/issues/3617> .
164+
165+
:numItems a rdf:Property ;
166+
rdfs:label "numItems" ;
167+
:domainIncludes :ShippingService ;
168+
:rangeIncludes :QuantitativeValue ;
169+
:isPartOf <https://pending.schema.org> ;
170+
:source <htps://github.com/schemaorg/schemaorg/issues/3617> ;
171+
rdfs:comment "Limits in the number of items being shipped for which this service is applicable." .
172+
173+
:doesNotShip a rdf:Property ;
174+
rdfs:label "doesNotShip" ;
175+
:domainIncludes :ShippingService ;
176+
:rangeIncludes :Boolean ;
177+
:source <htps://github.com/schemaorg/schemaorg/issues/3617> .
178+
179+
:shippingRate a rdf:Property ;
180+
rdfs:label "shippingRate" ;
181+
:domainIncludes :ShippingService,
182+
:OfferShippingDetails,
183+
:ShippingRateSettings ;
184+
:rangeIncludes :MonetaryAmount, :ShippingRateSettings ;
185+
:source <htps://github.com/schemaorg/schemaorg/issues/3617> .
186+
187+
:seasonalOverride a rdf:Property ;
188+
rdfs:label "seasonalOverride" ;
189+
:domainIncludes :ShippingService ;
190+
:rangeIncludes :ValidityPeriod ;
191+
:isPartOf <https://pending.schema.org> ;
192+
:source <htps://github.com/schemaorg/schemaorg/issues/3617> ;
193+
rdfs:comment "Limited period during which this shipping service is valid." .

0 commit comments

Comments
 (0)