{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/FormFieldPaymentConfigCharge", "title": "FormFieldPaymentConfigCharge", "type": "object", "oneOf": [ { "$ref": "#/components/schemas/FormFieldPaymentConfigChargeOneOff" }, { "type": "object", "additionalProperties": false, "required": [ "type", "subscription" ], "properties": { "type": { "$ref": "#/components/schemas/FormFieldPaymentConfigChargeTypeSubscriptionConst" }, "subscription": { "$ref": "#/components/schemas/FormFieldPaymentConfigSubscription" } } } ] }