## YAML Template.
##---
$schema: http://json-schema.org/draft-04/schema#
id: "/response/ble/peripheral/characteristic_notify_write"
description : "callback of external device write characteristic"


type: object
required : [peripheral]
properties:
        peripheral:
            type : object
            additionalProperties: false
            required : [notify_write_characteristic]
            properties:
                notify_write_characteristic :
                        type : object
                        required: [address,service_uuid, characteristic_uuid, data]
                        additionalProperties: false
                        properties:
                            address :  {$ref : "/deviceAddress"}
                            service_uuid : {$ref : "/uuid"}
                            characteristic_uuid : {$ref : "/uuid"}
                            data : {$ref : "/dataArray"}