{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/portainer/main/json-schema/portainer-gitops-repository-file-preview-payload-schema.json", "title": "gitops.repositoryFilePreviewPayload", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/portainer-git-ops-api-openapi.yml#/components/schemas/gitops.repositoryFilePreviewPayload", "properties": { "TLSSkipVerify": { "description": "TLSSkipVerify skips SSL verification when cloning the Git repository", "type": "boolean" }, "authorizationType": { "$ref": "#/$defs/gittypes.GitCredentialAuthType" }, "password": { "type": "string" }, "reference": { "type": "string" }, "repository": { "type": "string" }, "targetFile": { "description": "Path to file whose content will be read", "type": "string" }, "username": { "type": "string" } }, "required": [ "repository" ], "type": "object", "$defs": { "gittypes.GitCredentialAuthType": { "enum": [ 0, 1 ], "type": "integer", "x-enum-varnames": [ "GitCredentialAuthType_Basic", "GitCredentialAuthType_Token" ] } } }