{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "snapshotId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "pattern": "^[^\\s]+$"
    },
    "repositoryId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "pattern": "^[^\\s]+$"
    },
    "path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1024,
      "pattern": "^(?!/)(?!.*(?:^|/)\\.\\.?(?:/|$))[^\\\\\\u0000]+$"
    },
    "blobHash": {
      "type": "string",
      "maxLength": 128
    },
    "sha256": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "lineStart": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "lineEnd": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "selectedText": {
      "type": "string",
      "maxLength": 65536
    },
    "prefixText": {
      "type": "string",
      "maxLength": 4096
    },
    "suffixText": {
      "type": "string",
      "maxLength": 4096
    },
    "symbolId": {
      "type": "string",
      "maxLength": 200
    },
    "componentId": {
      "type": "string",
      "maxLength": 200
    }
  },
  "required": [
    "snapshotId",
    "repositoryId",
    "path",
    "blobHash",
    "sha256",
    "lineStart",
    "lineEnd",
    "selectedText",
    "prefixText",
    "suffixText"
  ]
}