The example for capability constraint in the Capabilities docs is
{
"capability": "transfer_funds",
"constraints": {
"to": { "const": "acc_456" },
"amount": { "maximum": 1000 },
"currency": { "const": "USD" }
}
}
but based on the v1.0-draft spec, shouldn't it be like this?
{
"capability": "transfer_funds",
"constraints": {
"to": "acc_456",
"amount": { "max": 1000 },
"currency": "USD"
}
}
- max instead of maximum
- Exact value — "field": value
The example for capability constraint in the Capabilities docs is
but based on the v1.0-draft spec, shouldn't it be like this?