1Password · JSON Structure

1Password Connect Json Patch Structure

A JSON Patch document as defined by RFC 6902 for applying partial modifications to items.

Type: array Properties: 0
Password ManagerPasswordsSecuritySecrets

JsonPatch is a JSON Structure definition published by 1Password. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/1password/refs/heads/main/json-structure/1password-connect-json-patch-structure.json",
  "name": "JsonPatch",
  "description": "A JSON Patch document as defined by RFC 6902 for applying partial modifications to items.",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "op",
      "path"
    ],
    "properties": {
      "op": {
        "type": "string",
        "description": "The operation to perform.",
        "enum": [
          "add",
          "remove",
          "replace"
        ]
      },
      "path": {
        "type": "string",
        "description": "A JSON Pointer to the target location in the item."
      },
      "value": {
        "description": "The value to use in the operation. Required for add and replace."
      }
    }
  }
}