{ "$schema": "http://json-schema.org/draft-04/schema#", "title": "paymentChannelCreate", "link": "payment-channel-create", "type": "object", "properties": { "amount": { "$ref": "value", "description": "Amount of XRP for sender to set aside in this channel." }, "destination": { "$ref": "address", "description": "Address to receive XRP claims against this channel." }, "settleDelay": { "type": "number", "description": "Amount of seconds the source address must wait before closing the channel if it has unclaimed XRP." }, "publicKey": { "$ref": "publicKey", "description": "Public key of the key pair the source may use to sign claims against this channel." }, "cancelAfter": { "type": "string", "format": "date-time", "description": "Time when this channel expires. This expiration cannot be changed after creating the channel." }, "sourceTag": { "$ref": "tag", "description": "Source tag." }, "destinationTag": { "$ref": "tag", "description": "Destination tag." }, "memos": {"$ref": "memos"} }, "required": ["amount", "destination", "settleDelay", "publicKey"], "additionalProperties": false }