RAML 0.8 to send stream of data

I have a requirement to upload a file as a stream of bytes and its in RAML 0.8, I have written the below spec, would this work?

#%RAML 0.8
title: testing
version: v1.0.0
mediaType: application/json
documentation:
- title: testing
  content: RAML 0.8
baseUri: http://api.google.com/v1.0/
baseUriParameters: {}

/media_photos:
  post:
    description: Send file with additional information
    headers:
      Authorization:
        description: Authorization header.
        required: true
    body:
      binary/octet-stream:
      multipart/form-data:
        formParameters:
          file:
            description: The file is a random file
            required: true
            type: file

But testing this I notice there are 2 types of formats that I can upload, either a binary/octet-stream, example is something like ‘file://Users/vivek/Dev/test.json’ and multipart/form-data.

Is this the correct definition?

But testing this I notice there are 2 types of formats that I can upload, either a binary/octet-stream, example is something l
ike ‘file://Users/vivek/Dev/test.json’ and multipart/form-data.

Is this the correct definition?