Douglass.network Schemas

Put profile method dbmethod

douglass.network/put-profile-method

Update the profile record of the database.

{
  "id": "douglass.network/put-profile-method",
  "title": "Put profile method",
  "description": "Update the profile record of the database.",
  "type": "dbmethod",
  "parameters": {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "required": [
      "displayName"
    ],
    "properties": {
      "displayName": {
        "type": "string",
        "minLength": 1,
        "maxLength": 64
      },
      "description": {
        "type": "string",
        "maxLength": 256
      },
      "homepageUrl": {
        "type": "string",
        "format": "uri"
      },
      "sections": {
        "type": "array",
        "items": {
          "type": "object",
          "required": [
            "id"
          ],
          "properties": {
            "id": {
              "type": "string",
              "maxLength": 64
            },
            "label": {
              "type": "string",
              "maxLength": 64
            }
          }
        }
      }
    }
  }
}

Schemas