Path: blob/main/extensions/configuration-editing/schemas/devContainer.codespaces.schema.json
3291 views
{1"$schema": "http://json-schema.org/draft-07/schema#",2"type": "object",3"properties": {4"customizations": {5"type": "object",6"properties": {7"codespaces": {8"type": "object",9"description": "Customizations specific to GitHub Codespaces",10"properties": {11"repositories": {12"type": "object",13"description": "Configuration relative to the given repositories, following the format 'owner/repo'.\n A wildcard (*) is permitted for the repo name (eg: 'microsoft/*')",14"patternProperties": {15"^[a-zA-Z0-9-_.]+[.]*\/[a-zA-Z0-9-_*]+[.]*$": {16"type": "object",17"additionalProperties": true,18"oneOf": [19{20"properties": {21"permissions": {22"type": "object",23"description": "Additional repository permissions.\n See https://aka.ms/ghcs/multi-repo-auth for more info.",24"additionalProperties": true,25"anyOf": [26{27"properties": {28"actions": {29"type": "string",30"enum": [31"read",32"write"33]34}35}36},37{38"properties": {39"checks": {40"type": "string",41"enum": [42"read",43"write"44]45}46}47},48{49"properties": {50"contents": {51"type": "string",52"enum": [53"read",54"write"55]56}57}58},59{60"properties": {61"deployments": {62"type": "string",63"enum": [64"read",65"write"66]67}68}69},70{71"properties": {72"discussions": {73"type": "string",74"enum": [75"read",76"write"77]78}79}80},81{82"properties": {83"issues": {84"type": "string",85"enum": [86"read",87"write"88]89}90}91},92{93"properties": {94"packages": {95"type": "string",96"enum": [97"read"98]99}100}101},102{103"properties": {104"pages": {105"type": "string",106"enum": [107"read",108"write"109]110}111}112},113{114"properties": {115"pull_requests": {116"type": "string",117"enum": [118"read",119"write"120]121}122}123},124{125"properties": {126"repository_projects": {127"type": "string",128"enum": [129"read",130"write"131]132}133}134},135{136"properties": {137"statuses": {138"type": "string",139"enum": [140"read",141"write"142]143}144}145},146{147"properties": {148"workflows": {149"type": "string",150"enum": [151"write"152]153}154}155}156]157}158}159},160{161"properties": {162"permissions": {163"type": "string",164"description": "Additional repository permissions.\n See https://aka.ms/ghcs/multi-repo-auth for more info.",165"enum": [166"read-all",167"write-all"168]169}170}171}172]173}174}175},176"openFiles": {177"type": "array",178"description": "The paths to the files to open when the codespace is created. Paths are relative to the workspace.",179"items": {180"type": "string"181}182},183"disableAutomaticConfiguration": {184"type": "boolean",185"description": "Disables the setup that is automatically run in a codespace if no `postCreateCommand` is specified.",186"default": false187}188}189}190}191},192"codespaces": {193"type": "object",194"additionalProperties": true,195"description": "Codespaces-specific configuration.",196"deprecated": true,197"deprecationMessage": "Use 'customizations/codespaces' instead"198}199}200}201202203