40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "schema:ChooseAction",
|
|
"title": "ChooseAction",
|
|
"description": "The act of expressing a preference from a set of options or a large or unbounded set of choices/options.",
|
|
"type": "object",
|
|
"allOf": [
|
|
{
|
|
"description": "The act of forming one's opinion, reaction or sentiment.",
|
|
"$ref": "schema:AssessAction"
|
|
}
|
|
],
|
|
"properties": {
|
|
"actionOption": {
|
|
"description": "A sub property of object. The options subject to this action.",
|
|
"oneOf": [
|
|
{ "anyOf": [{ "type": "string" }, { "$ref": "schema:Thing" }] },
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [{ "type": "string" }, { "$ref": "schema:Thing" }]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"option": {
|
|
"description": "A sub property of object. The options subject to this action.",
|
|
"oneOf": [
|
|
{ "anyOf": [{ "type": "string" }, { "$ref": "schema:Thing" }] },
|
|
{
|
|
"type": "array",
|
|
"items": {
|
|
"anyOf": [{ "type": "string" }, { "$ref": "schema:Thing" }]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|