Files
marka/registry/schema-org/DayOfWeek.schema.json
Max Richter c687eff53d big tings
2025-08-17 15:16:17 +02:00

42 lines
1.8 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema:DayOfWeek",
"title": "DayOfWeek",
"description": "The day of the week, e.g. used to specify to which day the opening hours of an OpeningHoursSpecification refer.\n\nOriginally, URLs from [GoodRelations](http://purl.org/goodrelations/v1) were used (for [[Monday]], [[Tuesday]], [[Wednesday]], [[Thursday]], [[Friday]], [[Saturday]], [[Sunday]] plus a special entry for [[PublicHolidays]]); these have now been integrated directly into schema.org.\n ",
"type": "string",
"oneOf": [
{
"description": "The day of the week between Thursday and Saturday.",
"const": "Friday"
},
{
"description": "The day of the week between Sunday and Tuesday.",
"const": "Monday"
},
{
"description": "This stands for any day that is a public holiday; it is a placeholder for all official public holidays in some particular location. While not technically a \"day of the week\", it can be used with [[OpeningHoursSpecification]]. In the context of an opening hours specification it can be used to indicate opening hours on public holidays, overriding general opening hours for the day of the week on which a public holiday occurs.",
"const": "PublicHolidays"
},
{
"description": "The day of the week between Friday and Sunday.",
"const": "Saturday"
},
{
"description": "The day of the week between Saturday and Monday.",
"const": "Sunday"
},
{
"description": "The day of the week between Wednesday and Friday.",
"const": "Thursday"
},
{
"description": "The day of the week between Monday and Wednesday.",
"const": "Tuesday"
},
{
"description": "The day of the week between Tuesday and Thursday.",
"const": "Wednesday"
}
]
}