DateTime
The DateTime combines date and time into a single representation, allowing for precise scheduling and time management. It is particularly useful for events, deadlines, and any scenario where both date and time are relevant. The date and time are represented in ISO 8601 format.
Structure
"yyyy-MM-dd'T'HH:mmZ""yyyy-MM-dd'T'HH:mm:ss.SSSZ""yyyy-MM-dd'T'HH:mm:ssZ"
Seconds and milliseconds are optional, allowing for varying levels of precision in time representation.
Example
{
"types": [
"schema:Hotel"
],
"content": {
"schema:openingHoursSpecification": [
{
"schema:validFrom": "2025-01-01T0:00:01Z",
"schema:validTrough": "2025-12-30T23:59:59Z",
...
}
]
}
}