Skip to content

Commit 55f767a

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 de94f22 commit 55f767a

File tree

1 file changed

+211
-0
lines changed

1 file changed

+211
-0
lines changed

data/ext/pending/issue-3617.ttl

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

0 commit comments

Comments
 (0)