woocommerce/packages/php/remote-specs-validation/schemas/shared/rules/total_payments_value.json

20 lines
399 B
JSON

{
"type": "object",
"required": ["type", "timeframe", "value", "operation"],
"properties": {
"type": {
"type": "string",
"enum": ["total_payments_value"]
},
"timeframe": {
"type": "string",
"enum": ["last_week", "last_month", "last_quarter", "last_6_months","last_year"]
},
"value": {
"type": "integer"
},
"operation": {
"$ref": "#/definitions/operations"
}
}
}