@redpanda-data/docs-extensions-and-macros
Version:
Antora extensions and macros developed for Redpanda documentation.
38 lines (37 loc) • 1.21 kB
JSON
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Transactions",
"type": "object",
"properties": {
"email": {
"type": "string",
"format": "email",
"description": "The email address of the user involved in the transaction."
},
"index": {
"type": "integer",
"description": "A numeric index associated with the transaction."
},
"price": {
"type": "string",
"pattern": "^[A-Z]{3} \\d+(?:\\.\\d{2})?$",
"description": "A string representing the price of the product, including a currency code (ISO 4217) and an amount with two decimal places by default."
},
"product_url": {
"type": "string",
"format": "uri",
"description": "A URL that points to the product involved in the transaction."
},
"timestamp": {
"type": "string",
"format": "date-time",
"description": "The timestamp of when the transaction occurred, formatted in ISO 8601."
},
"user_id": {
"type": "integer",
"description": "A numeric identifier for the user."
}
},
"required": ["email", "index", "price", "product_url", "timestamp", "user_id"],
"additionalProperties": false
}