anchor.diff:  validate(Context, Id) ->
       validate_e911_doc(Context, Id, cb_context:req_verb(Context)).
   
  +validate(Context, Id, ?CONFIRM_ADDRESS) ->
  +    confirm_address(Context, Id, cb_context:req_verb(Context));
   validate(Context, Id, ?BIN_DATA) ->
       lager:debug("uploading binary data to '~s'", [Id]),
       validate_attachment_binary(Context, kz_http_util:urlencode(Id), cb_context:req_verb(Context), cb_context:req_files(Context)).
  
positive.code:             Context
      end.
  
  
negative.code: 
  -define(CB_E911_ADDRESSES, <<"onbill_e911/addresses">>).
  -define(BIN_DATA, <<"raw">>).
  -define(CONFIRM_ADDRESS, <<"confirm">>).
  
  -define(ATTACHMENT_MIME_TYPES, ?PDF_CONTENT_TYPES ++ ?IMAGE_CONTENT_TYPES).
  
  