BinaryPacketData (type)

{
  "additionalProperties": false, 
  "extends": {
    "$ref": "PacketData
  }, 
  "id": "BinaryPacketData", 
  "module_id": "Traceflow", 
  "polymorphic-type-descriptor": {
    "type-identifier": "BinaryPacketData"
  }, 
  "properties": {
    "frame_size": {
      "default": 128, 
      "description": "If the requested frame_size is too small (given the payload and traceflow metadata requirement of 16 bytes), the traceflow request will fail with an appropriate message.  The frame will be zero padded to the requested size.", 
      "maximum": 1000, 
      "minimum": 60, 
      "required": false, 
      "title": "Requested total size of the (logical) packet in bytes", 
      "type": "integer"
    }, 
    "payload": {
      "description": "Up to 1000 bytes of payload may be supplied (with a base64-encoded length of 1336 bytes.) Additional bytes of traceflow metadata will be appended to the payload. The payload must contain all headers (Ethernet, IP, etc). Note that VLAN is not supported in the logical space. Hence, payload must not contain 802.1Q headers.", 
      "maxLength": 1336, 
      "required": false, 
      "title": "RFC3548 compatible base64 encoded full payload", 
      "type": "string"
    }, 
    "resource_type": {
      "default": "FieldsPacketData", 
      "enum": [
        "BinaryPacketData", 
        "FieldsPacketData"
      ], 
      "required": true, 
      "title": "Packet configuration", 
      "type": "string"
    }, 
    "routed": {
      "required": false, 
      "title": "A flag, when set true, indicates that the traceflow packet is of L3 routing.", 
      "type": "boolean"
    }, 
    "transport_type": {
      "default": "UNICAST", 
      "enum": [
        "BROADCAST", 
        "UNICAST", 
        "MULTICAST", 
        "UNKNOWN"
      ], 
      "required": false, 
      "title": "transport type of the traceflow packet", 
      "type": "string"
    }
  }, 
  "type": "object"
}