Skip to content

Commit

Permalink
Update schema definition (#1107)
Browse files Browse the repository at this point in the history
  • Loading branch information
autoantwort committed Jun 22, 2023
1 parent 5443807 commit 6391341
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 9 deletions.
14 changes: 14 additions & 0 deletions docs/vcpkg-schema-definitions.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,9 @@
},
"supports": {
"$ref": "#/definitions/platform-expression"
},
"license": {
"$ref": "#/definitions/license"
}
},
"required": [
Expand Down Expand Up @@ -682,6 +685,17 @@
}
]
},
"license": {
"description": "An SPDX license expression at version 3.9.",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"maintainers": {
"description": "An array of strings which contain the maintainers of a package",
"$ref": "#/definitions/string-or-strings"
Expand Down
10 changes: 1 addition & 9 deletions docs/vcpkg.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,7 @@
"format": "uri"
},
"license": {
"description": "An SPDX license expression at version 3.9.",
"oneOf": [
{
"type": "string"
},
{
"type": "null"
}
]
"$ref": "vcpkg-schema-definitions.schema.json#/definitions/license"
},
"builtin-baseline": {
"description": "A vcpkg repository commit for version control.",
Expand Down

0 comments on commit 6391341

Please sign in to comment.