{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/dlp-api-content-snippet-structure.json",
  "name": "ContentSnippet",
  "description": "ContentSnippet schema from Palo Alto Networks Enterprise DLP API",
  "type": "object",
  "properties": {
    "pattern_id": {
      "type": "string",
      "description": "Data pattern identifier that matched."
    },
    "pattern_name": {
      "type": "string",
      "description": "Data pattern name that matched."
    },
    "snippet": {
      "type": "string",
      "description": "Context snippet around the data pattern match."
    },
    "position": {
      "type": "int32",
      "description": "Character offset position of the match within the document."
    },
    "masked": {
      "type": "boolean",
      "description": "Whether the matched content within the snippet is masked."
    }
  }
}
