1Password · Schema

JsonPatch

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

Password ManagerPasswordsSecuritySecrets
View JSON Schema on GitHub

JSON Schema

1password-connect-json-patch-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/1password/refs/heads/main/json-schema/1password-connect-json-patch-schema.json",
  "title": "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."
      }
    }
  }
}