{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "IBlobParameters",
  "oneOf": [
    {
      "type": "object",
      "required": ["Put"],
      "properties": {
        "Put": {
          "$ref": "#/definitions/PutBlob"
        }
      },
      "additionalProperties": false
    },
    {
      "type": "object",
      "required": ["Get"],
      "properties": {
        "Get": {
          "$ref": "#/definitions/GetBlob"
        }
      },
      "additionalProperties": false
    }
  ],
  "definitions": {
    "GetBlob": {
      "type": "object",
      "required": ["id"],
      "properties": {
        "id": {
          "type": "string"
        },
        "workspace_id": {
          "type": ["string", "null"]
        }
      }
    },
    "PutBlob": {
      "type": "object",
      "required": ["blob"],
      "properties": {
        "blob": {
          "type": "array",
          "items": {
            "type": "integer",
            "format": "uint8",
            "minimum": 0.0
          }
        },
        "workspace_id": {
          "type": ["string", "null"]
        }
      }
    }
  }
}
