big tings
This commit is contained in:
54
registry/schema-org/DonateAction.schema.json
Normal file
54
registry/schema-org/DonateAction.schema.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "schema:DonateAction",
|
||||
"title": "DonateAction",
|
||||
"description": "The act of providing goods, services, or money without compensation, often for philanthropic reasons.",
|
||||
"type": "object",
|
||||
"allOf": [
|
||||
{
|
||||
"description": "The act of transferring/moving (abstract or concrete) animate or inanimate objects from one place to another.",
|
||||
"$ref": "schema:TransferAction"
|
||||
}
|
||||
],
|
||||
"properties": {
|
||||
"price": {
|
||||
"description": "The offer price of a product, or of a price component when attached to PriceSpecification and its subtypes.\\n\\nUsage guidelines:\\n\\n* Use the [[priceCurrency]] property (with standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. \"USD\"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. \"BTC\"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. \"Ithaca HOUR\") instead of including [ambiguous symbols](http://en.wikipedia.org/wiki/Dollar_sign#Currencies_that_use_the_dollar_or_peso_sign) such as '$' in the value.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.\\n* Note that both [RDFa](http://www.w3.org/TR/xhtml-rdfa-primer/#using-the-content-attribute) and Microdata syntax allow the use of a \"content=\" attribute for publishing simple machine-readable values alongside more human-friendly formatting.\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\n ",
|
||||
"anyOf": [{ "type": "number" }, { "type": "string" }]
|
||||
},
|
||||
"priceCurrency": {
|
||||
"description": "The currency of the price, or a price component when attached to [[PriceSpecification]] and its subtypes.\\n\\nUse standard formats: [ISO 4217 currency format](http://en.wikipedia.org/wiki/ISO_4217), e.g. \"USD\"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. \"BTC\"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. \"Ithaca HOUR\".",
|
||||
"type": "string"
|
||||
},
|
||||
"priceSpecification": {
|
||||
"description": "One or more detailed price specifications, indicating the unit price and delivery or payment charges.",
|
||||
"oneOf": [
|
||||
{ "$ref": "schema:PriceSpecification" },
|
||||
{ "type": "array", "items": { "$ref": "schema:PriceSpecification" } }
|
||||
]
|
||||
},
|
||||
"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