Skip to content

Commit

Permalink
format and remove unneeded 'additionalProperties' (devcontainers#166)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshspicer authored Dec 20, 2022
1 parent 8a793e5 commit 454f1fb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions schemas/devContainerFeature.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Development Container Feature Metadata",
"description": "Development Container Features Metadata (devcontainer-feature.json). See https://containers.dev/implementors/features/ for more information.",
"definitions": {
"definitions": {
"Feature": {
"additionalProperties": false,
"properties": {
"capAdd": {
"description": "Passes docker capabilities to include when creating the dev container.",
"examples": [ "SYS_PTRACE" ],
"description": "Passes docker capabilities to include when creating the dev container.",
"examples": [
"SYS_PTRACE"
],
"items": {
"type": "string"
},
Expand Down Expand Up @@ -219,8 +221,7 @@
"oneOf": [
{
"type": "object",
"$ref": "#/definitions/Feature",
"additionalProperties": false
"$ref": "#/definitions/Feature"
}
]
}

0 comments on commit 454f1fb

Please sign in to comment.