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

46 lines
1.5 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schema:HowToSection",
"title": "HowToSection",
"description": "A sub-grouping of steps in the instructions for how to achieve a result (e.g. steps for making a pie crust within a pie recipe).",
"type": "object",
"allOf": [
{
"description": "The most generic kind of creative work, including books, movies, photographs, software programs, etc.",
"$ref": "schema:CreativeWork"
},
{
"description": "A list of items of any sort—for example, Top 10 Movies About Weathermen, or Top 100 Party Songs. Not to be confused with HTML lists, which are often used only for formatting.",
"$ref": "schema:ItemList"
},
{
"description": "An list item, e.g. a step in a checklist or how-to description.",
"$ref": "schema:ListItem"
}
],
"properties": {
"steps": {
"description": "A single step item (as HowToStep, text, document, video, etc.) or a HowToSection (originally misnamed 'steps'; 'step' is preferred).",
"oneOf": [
{
"anyOf": [
{ "type": "string" },
{ "$ref": "schema:CreativeWork" },
{ "$ref": "schema:ItemList" }
]
},
{
"type": "array",
"items": {
"anyOf": [
{ "type": "string" },
{ "$ref": "schema:CreativeWork" },
{ "$ref": "schema:ItemList" }
]
}
}
]
}
}
}