-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://pgxn.org/meta/v2/postgres.schema.json", | ||
"title": "Postgres", | ||
"description": "Describes the versions of PostgreSQL supported by the package provided by the distribution.", | ||
"type": "object", | ||
"minProperties": 1, | ||
"additionalProperties": false, | ||
"properties": { | ||
"version": { | ||
"description": "A version range identifying the supported versions of PostgreSQL.", | ||
"$ref": "version_range.schema.json" | ||
}, | ||
"with": { | ||
"description": "The features that are required to be compiled into PostgreSQL. Each corresponds to the appropriate `--with` configure flag. Omit if the package requires no features.", | ||
"type": "array", | ||
"items": { "$ref": "term.schema.json" } | ||
} | ||
}, | ||
"requires": ["version"], | ||
"patternProperties": { | ||
"^[xX]_.": { | ||
"description": "Custom key" | ||
} | ||
}, | ||
"examples": [ | ||
{ "version": "14.0" }, | ||
{ | ||
"version": ">= 12.0, < 17.0", | ||
"with": ["xml", "uuid", "perl"] | ||
} | ||
] | ||
} |