{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-repo-info-schema.json", "title": "RepoInfo", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/palo-alto-networks-repositories-api-openapi.yml#/components/schemas/RepoInfo", "allOf": [ { "$ref": "#/$defs/IVCSRepository" }, { "properties": { "categorizedTechnologies": { "$ref": "#/$defs/Technologies" }, "ciInstances": { "additionalProperties": { "$ref": "#/$defs/ICiInstanceInfo" }, "properties": {}, "type": "object" }, "contributors": { "items": { "$ref": "#/$defs/Contributor" }, "type": "array" }, "contributorsCount": { "format": "double", "type": "number" }, "dockerImages": { "items": { "$ref": "#/$defs/DockerImage" }, "type": "array" }, "issues": { "$ref": "#/$defs/Issues" }, "weeklyCommitOnPrs": { "items": { "$ref": "#/$defs/WeeklyCommitOnPR" }, "type": "array" } }, "required": [ "weeklyCommitOnPrs", "issues" ], "type": "object" } ], "$defs": { "CIType": { "enum": [ "githubActions", "circleci", "codebuild", "jenkins" ], "type": "string" }, "Contributor": { "properties": { "contributionsCounts": { "description": "Number of contributions", "format": "double", "type": "number" }, "id": { "type": "string" }, "lastPush": { "format": "double", "type": "number" }, "name": { "description": "Contributor name", "type": "string" }, "permission": { "description": "Contributor permission", "type": "string" } }, "required": [ "contributionsCounts", "name", "id" ], "type": "object" }, "DockerImage": { "properties": { "imageName": { "type": "string" }, "repoName": { "type": "string" } }, "required": [ "repoName", "imageName" ], "type": "object" }, "ICiInstanceInfo": { "additionalProperties": false, "properties": { "ciType": { "$ref": "#/$defs/CIType", "description": "CI pipeline type" }, "customerName": { "description": "Customer Prisma ID", "type": "string" }, "id": { "type": "string" }, "name": { "description": "CI pipeline name", "type": "string" }, "pipelines": { "items": { "$ref": "#/$defs/PipelineInfo" }, "type": "array" } }, "required": [ "ciType", "customerName", "id", "name", "pipelines" ], "type": "object" }, "IVCSRepository": { "additionalProperties": false, "properties": { "casId": { "type": "string" }, "ciFiles": { "description": "CI files path", "items": { "type": "string" }, "type": "array" }, "customerName": { "description": "Customer Prisma ID", "type": "string" }, "defaultBranch": { "description": "Default branch", "type": "string" }, "defaultGithubActionsWorkflowPermission": { "enum": [ "read", "write" ], "type": "string" }, "failedCustomerPRs": { "format": "double", "type": "number" }, "fullName": { "description": "Repository full name", "type": "string" }, "hasCoderOwner": { "description": "Repository contains code owner file (True/False)", "type": "boolean" }, "id": { "description": "VCS repository ID", "type": "string" }, "isAllGithubActionsAllowed": { "type": "boolean" }, "isArchived": { "description": "Archived repository (True/False)", "type": "boolean" }, "isForkingAllowed": { "description": "Is forking allowed in the repository", "type": "boolean" }, "isGithubActionsEnabled": { "description": "Is Github Actions enabled in the repository", "type": "boolean" }, "isRequiresCommitSignatures": { "type": "boolean" }, "isRequiresStatusChecks": { "type": "boolean" }, "isRestrictsPushes": { "type": "boolean" }, "lastUpdated": { "description": "VCS Repository last update time", "type": "string" }, "name": { "description": "VCS Repository short name", "type": "string" }, "openFixPRs": { "format": "double", "type": "number" }, "originId": { "type": "string" }, "privacyLevel": { "$ref": "#/$defs/RepositoryPrivacyLabel" }, "provider": { "$ref": "#/$defs/RepositoryProvider" }, "repositorySize": { "description": "VCS Repository size", "format": "double", "type": "number" }, "sessionId": { "type": "string" }, "totalCommitsCount": { "description": "Total commits count", "format": "double", "type": "number" }, "totalContributorsCount": { "description": "Total contributors count", "format": "double", "type": "number" }, "totalCustomerPRs": { "format": "double", "type": "number" }, "type": { "enum": [ "VCSRepository" ], "type": "string" }, "url": { "description": "VCS Repository URL", "type": "string" }, "workspaceId": { "description": "VCS workspace/integration ID", "type": "string" }, "workspaceName": { "description": "VCS workspace/integration name", "type": "string" } }, "required": [ "id", "customerName", "type", "failedCustomerPRs", "totalCustomerPRs", "ciFiles", "url", "casId" ], "type": "object" }, "Issues": { "allOf": [ { "$ref": "#/$defs/SeverityIssues" }, { "properties": { "moduleName": { "$ref": "#/$defs/SecurityModule" } }, "type": "object" } ] }, "PipelineInfo": { "properties": { "instance": { "type": "string" }, "pipeline": { "type": "string" }, "system": { "type": "string" } }, "required": [ "pipeline", "system", "instance" ], "type": "object" }, "RepositoryPrivacyLabel": { "enum": [ "public", "private", "internal" ], "type": [ "string", "null" ] }, "RepositoryProvider": { "type": "string" }, "SecurityModule": { "enum": [ "IAC", "SCA", "SECRETS", "CICD" ], "type": "string" }, "SeverityIssues": { "properties": { "CRITICAL": { "anyOf": [ { "format": "double", "type": "number" }, { "$ref": "#/$defs/SecurityModule" } ] }, "HIGH": { "anyOf": [ { "format": "double", "type": "number" }, { "$ref": "#/$defs/SecurityModule" } ] }, "INFO": { "anyOf": [ { "format": "double", "type": "number" }, { "$ref": "#/$defs/SecurityModule" } ] }, "LOW": { "anyOf": [ { "format": "double", "type": "number" }, { "$ref": "#/$defs/SecurityModule" } ] }, "MEDIUM": { "anyOf": [ { "format": "double", "type": "number" }, { "$ref": "#/$defs/SecurityModule" } ] } }, "type": "object" }, "Technologies": { "properties": { "CICD": { "$ref": "#/$defs/Technology" }, "Configuration": { "$ref": "#/$defs/Technology" }, "Data": { "$ref": "#/$defs/Technology" }, "Devops": { "$ref": "#/$defs/Technology" }, "Documentation": { "$ref": "#/$defs/Technology" }, "License": { "$ref": "#/$defs/Technology" }, "Markup": { "$ref": "#/$defs/Technology" }, "PackageManager": { "$ref": "#/$defs/Technology" }, "Programming": { "$ref": "#/$defs/Technology" }, "Prose": { "$ref": "#/$defs/Technology" }, "Unknown": { "$ref": "#/$defs/Technology" } }, "type": "object" }, "Technology": { "additionalProperties": { "properties": { "detectedDate": { "format": "date-time", "type": "string" }, "percentage": { "format": "double", "type": "number" } }, "required": [ "detectedDate" ], "type": "object" }, "properties": {}, "type": "object" }, "WeeklyCommitOnPR": { "properties": { "branchName": { "type": "string" }, "currWeeklyCommits": { "format": "double", "type": "number" }, "prevWeeklyCommits": { "format": "double", "type": "number" } }, "required": [ "prevWeeklyCommits", "currWeeklyCommits", "branchName" ], "type": "object" } } }