big tings
This commit is contained in:
45
registry/schema-org/HowToSection.schema.json
Normal file
45
registry/schema-org/HowToSection.schema.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$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" }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user