{ "$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-repository-2-schema.json", "title": "Repository_2", "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/Repository_2", "type": "object", "properties": { "id": { "type": "string", "description": "Unique repository identifier in Prisma Cloud." }, "name": { "type": "string", "description": "Repository name." }, "owner": { "type": "string", "description": "Repository owner or organization name." }, "fullName": { "type": "string", "description": "Full repository name in owner/repo format." }, "sourceType": { "type": "string", "enum": [ "Github", "Gitlab", "Bitbucket", "AzureRepos", "githubEnterprise", "gitlabEnterprise", "bitbucketEnterprise" ], "description": "VCS provider type." }, "defaultBranch": { "type": "string", "description": "Default branch of the repository." }, "url": { "type": "string", "description": "URL to the repository in the VCS provider." }, "isPublic": { "type": "boolean", "description": "Whether the repository is publicly accessible." }, "lastScanDate": { "type": "string", "format": "date-time", "description": "Timestamp of the most recent scan." }, "lastScanStatus": { "type": "string", "enum": [ "completed", "running", "failed", "pending" ], "description": "Status of the most recent scan." }, "errorCounts": { "type": "object", "description": "Count of open errors by severity.", "properties": { "critical": { "type": "integer" }, "high": { "type": "integer" }, "medium": { "type": "integer" }, "low": { "type": "integer" }, "info": { "type": "integer" } } }, "createdAt": { "type": "string", "format": "date-time", "description": "Timestamp when the repository was connected." } } }