{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "VendorPaymentMethodTransactionFee", "type": "object", "properties": { "type": { "oneOf": [ { "enum": [ "percentage" ], "type": "string" }, { "enum": [ "fixed" ], "type": "string" } ], "readOnly": true }, "value": { "type": "string", "format": "decimal", "pattern": "^-?\\d{0,19}(?:\\.\\d{0,2})?$" } }, "required": [ "value" ] }