Douglass.network Schemas

Put blob method dbmethod

douglass.network/put-blob-method

Update a blob of the database.

{
  "id": "douglass.network/put-blob-method",
  "title": "Put blob method",
  "description": "Update a blob of the database.",
  "type": "dbmethod",
  "parameters": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
      "source"
    ],
    "properties": {
      "source": {
        "type": "object",
        "required": [
          "dbUrl",
          "userId",
          "blobName"
        ],
        "properties": {
          "dbUrl": {
            "type": "string",
            "format": "uri"
          },
          "userId": {
            "type": "string",
            "pattern": ".+@.+"
          },
          "blobName": {
            "type": "string"
          }
        }
      },
      "target": {
        "type": "object",
        "required": [
          "blobName"
        ],
        "properties": {
          "blobName": {
            "type": "string"
          }
        }
      }
    }
  },
  "definition": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
      "blobName": {
        "type": "string"
      }
    }
  }
}

Schemas