Skip to content

Commit a24eb07

Browse files
committed
Issue schemaorg#2599: Added byMonthWeek to Schedule
1 parent 4d5a388 commit a24eb07

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
TYPES: Schedule, LiteraryEvent
2+
3+
PRE-MARKUP:
4+
5+
A reading series occuring the first and third Wednesdays of the month.
6+
7+
8+
MICRODATA:
9+
10+
<!-- JSONLD only example -->
11+
12+
RDFA:
13+
14+
<!-- JSONLD only example -->
15+
16+
17+
JSON:
18+
19+
<script type="application/ld+json">
20+
{
21+
"@context": "http://schema.org",
22+
"@type": "LiteraryEvent",
23+
"name": "Local Bookseller Author Night",
24+
"description": "Join us the first and third Wednesdays of each month for readings by local authors.",
25+
"eventSchedule": {
26+
"@type": "Schedule",
27+
"byDay": "http://schema.org/Wednesday",
28+
"byMonthWeek": [1, 3],
29+
"startTime": "20:00",
30+
"endTime": "22:00"
31+
}
32+
}
33+
</script>

data/ext/pending/issue-2599.ttl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@prefix : <http://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+
5+
:byMonthWeek a rdf:Property ;
6+
rdfs:label "byMonthWeek" ;
7+
:category "issue-2599" ;
8+
:domainIncludes :Schedule ;
9+
:isPartOf <http://pending.schema.org> ;
10+
:rangeIncludes :Integer ;
11+
:source <https://github.com/schemaorg/schemaorg/issues/2599> ;
12+
rdfs:comment "Defines the week(s) of the month on which a recurring Event takes place. Specified as an Integer between 1-5. For clarity, byMonthWeek is best used in conjunction with byDay to indicate concepts like the first and third Mondays of a month." .

0 commit comments

Comments
 (0)