big tings
This commit is contained in:
39
registry/schema-org/PayAction.schema.json
Normal file
39
registry/schema-org/PayAction.schema.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "schema:PayAction",
|
||||
"title": "PayAction",
|
||||
"description": "An agent pays a price to a participant.",
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"description": "The act of participating in an exchange of goods and services for monetary compensation. An agent trades an object, product or service with a participant in exchange for a one time or periodic payment.",
|
||||
"$ref": "schema:TradeAction"
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"recipient": {
|
||||
"description": "A sub property of participant. The participant who is at the receiving end of the action.",
|
||||
"oneOf": [
|
||||
{
|
||||
"anyOf": [
|
||||
{ "$ref": "schema:Audience" },
|
||||
{ "$ref": "schema:ContactPoint" },
|
||||
{ "$ref": "schema:Organization" },
|
||||
{ "$ref": "schema:Person" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"anyOf": [
|
||||
{ "$ref": "schema:Audience" },
|
||||
{ "$ref": "schema:ContactPoint" },
|
||||
{ "$ref": "schema:Organization" },
|
||||
{ "$ref": "schema:Person" }
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user