big tings
This commit is contained in:
118
registry/schema-org/HowToDirection.schema.json
Normal file
118
registry/schema-org/HowToDirection.schema.json
Normal file
@@ -0,0 +1,118 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "schema:HowToDirection",
|
||||
"title": "HowToDirection",
|
||||
"description": "A direction indicating a single action to do in the instructions for how to achieve a result.",
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"description": "The most generic kind of creative work, including books, movies, photographs, software programs, etc.",
|
||||
"$ref": "schema:CreativeWork"
|
||||
},
|
||||
{
|
||||
"description": "An list item, e.g. a step in a checklist or how-to description.",
|
||||
"$ref": "schema:ListItem"
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"afterMedia": {
|
||||
"description": "A media object representing the circumstances after performing this direction.",
|
||||
"oneOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{ "type": "string", "format": "uri" },
|
||||
{ "$ref": "schema:MediaObject" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string", "format": "uri" },
|
||||
{ "$ref": "schema:MediaObject" }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"beforeMedia": {
|
||||
"description": "A media object representing the circumstances before performing this direction.",
|
||||
"oneOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{ "type": "string", "format": "uri" },
|
||||
{ "$ref": "schema:MediaObject" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string", "format": "uri" },
|
||||
{ "$ref": "schema:MediaObject" }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"duringMedia": {
|
||||
"description": "A media object representing the circumstances while performing this direction.",
|
||||
"oneOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{ "type": "string", "format": "uri" },
|
||||
{ "$ref": "schema:MediaObject" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "type": "string", "format": "uri" },
|
||||
{ "$ref": "schema:MediaObject" }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"performTime": {
|
||||
"description": "The length of time it takes to perform instructions or a direction (not including time to prepare the supplies), in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).",
|
||||
"type": "string",
|
||||
"$comment": "https://schema.org/Duration"
|
||||
},
|
||||
"prepTime": {
|
||||
"description": "The length of time it takes to prepare the items to be used in instructions or a direction, in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).",
|
||||
"type": "string",
|
||||
"$comment": "https://schema.org/Duration"
|
||||
},
|
||||
"supply": {
|
||||
"description": "A sub-property of instrument. A supply consumed when performing instructions or a direction.",
|
||||
"oneOf": [
|
||||
{ "anyOf": [{ "type": "string" }, { "$ref": "schema:HowToSupply" }] },
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [{ "type": "string" }, { "$ref": "schema:HowToSupply" }]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"tool": {
|
||||
"description": "A sub property of instrument. An object used (but not consumed) when performing instructions or a direction.",
|
||||
"oneOf": [
|
||||
{ "anyOf": [{ "type": "string" }, { "$ref": "schema:HowToTool" }] },
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [{ "type": "string" }, { "$ref": "schema:HowToTool" }]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"totalTime": {
|
||||
"description": "The total time required to perform instructions or a direction (including time to prepare the supplies), in [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601).",
|
||||
"type": "string",
|
||||
"$comment": "https://schema.org/Duration"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user