---
title: "A JSON Patch document as defined by RFC 6902"
url: "https://developers.vzconnect.com/apis/video-event-api-1/versions/ca29ffe3-f50c-46b4-b1d1-213c2a218c4c/schemas/JsonPatchDocument"
---

> Full API specification: https://developers.vzconnect.com/apis/video-event-api-1/versions/ca29ffe3-f50c-46b4-b1d1-213c2a218c4c.md

# A JSON Patch document as defined by RFC 6902

Represents a list of operations to apply to a resource for partial updates

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Video Event API
  version: "1.0"
servers:
  - url: https://api.us.vzconnect.com
components:
  schemas:
    JsonPatchDocument:
      title: A JSON Patch document as defined by RFC 6902
      maxItems: 10
      minItems: 0
      uniqueItems: true
      type: array
      description: Represents a list of operations to apply to a resource for partial
        updates
      items:
        title: A JSON Patch operation as defined by RFC 6902
        required:
          - op
          - path
        type: object
        properties:
          value:
            oneOf:
              - maxLength: 2000
                minLength: 1
                pattern: ^[^\n]+$
                type: string
                description: The value to be used within the operations
              - type: object
                additionalProperties: true
                description: The value to be used within the operations
          path:
            title: A JSON-Pointer
            maxLength: 2000
            minLength: 1
            pattern: ^\/[^\n]+$
            type: string
            description: A string containing a [RFC
              6901](https://www.rfc-editor.org/rfc/rfc6901.html) JSON Pointer
              value that references the target location where the operation is
              performed
          from:
            title: A string containing a JSON Pointer value
            maxLength: 2000
            minLength: 0
            pattern: ^(\/[^\n]+)*$
            type: string
            description: A string containing a [RFC
              6901](https://www.rfc-editor.org/rfc/rfc6901.html) JSON Pointer
              value that references the source location where the operation is
              applied
          op:
            title: The operation to be performed
            maxLength: 120
            minLength: 1
            pattern: ^(add|remove|replace|move|copy|test)$
            type: string
            description: Indicates the operaton to be performed,as per RFC 6902
        additionalProperties: false
        description: Defines an individual operation within a JsonPatchDocument
```
