Skip to content

Commit 2d9b564

Browse files
authored
update: pyproject. (SchemaStore#4971)
Co-authored-by: ya7010 <[email protected]>
1 parent 55f01fb commit 2d9b564

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/schemas/json/pyproject.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"$comment": "there are multiple resources describing pyproject.toml. The canonical reference is at https://packaging.python.org/en/latest/specifications/declaring-project-metadata/, which refers to multiple proposals such as PEP 517, PEP 518 and PEP 621",
55
"x-tombi-toml-version": "v1.0.0",
66
"x-tombi-table-keys-order": "schema",
7+
"x-tombi-string-formats": ["email", "uri"],
78
"additionalProperties": false,
89
"definitions": {
910
"projectAuthor": {
@@ -54,6 +55,7 @@
5455
"items": {
5556
"type": "string"
5657
},
58+
"uniqueItems": true,
5759
"title": "Build system dependencies",
5860
"description": "List of strings following the version specifier specification, representing dependencies required to execute the build system.",
5961
"markdownDescription": "List of strings following the [version specifier specification](https://packaging.python.org/en/latest/specifications/version-specifiers/#version-specifiers), representing dependencies required to execute the build system.",
@@ -355,6 +357,7 @@
355357
"items": {
356358
"type": "string"
357359
},
360+
"uniqueItems": true,
358361
"title": "Project keywords",
359362
"description": "List of keywords or tags that describe the project. They could be used by search engines to categorize the project.",
360363
"markdownDescription": "List of keywords or tags that describe the project. They could be used by search engines to categorize the project.",
@@ -371,6 +374,7 @@
371374
"items": {
372375
"type": "string"
373376
},
377+
"uniqueItems": true,
374378
"title": "Applicable Trove classifiers",
375379
"description": "List of [Trove classifiers](https://pypi.org/classifiers/) that describe the project. PyPI use the classifiers to categorize projects.",
376380
"markdownDescription": "List of [Trove classifiers](https://pypi.org/classifiers/) that describe the project. PyPI use the classifiers to categorize projects.",
@@ -497,6 +501,7 @@
497501
"items": {
498502
"type": "string"
499503
},
504+
"uniqueItems": true,
500505
"title": "Project mandatory dependency requirements",
501506
"description": "An array of [dependency specifier](https://packaging.python.org/en/latest/specifications/dependency-specifiers/) strings, each representing a mandatory dependent package of the project.",
502507
"markdownDescription": "An array of [dependency specifier](https://packaging.python.org/en/latest/specifications/dependency-specifiers/) strings, each representing a mandatory dependent package of the project.",
@@ -558,6 +563,7 @@
558563
"optional-dependencies"
559564
]
560565
},
566+
"uniqueItems": true,
561567
"title": "Dynamic metadata values",
562568
"description": "Specifies which keys are intentionally unspecified under `[project]` table so build backend can/will provide such metadata dynamically. Each key must be listed only once. It is an error to both list a key in `dynamic` and use the key directly in `[project]`.\nOne of the most common usage is `version`, which allows build backend to retrieve project version from source code or version control system instead of hardcoding it in `pyproject.toml`.",
563569
"markdownDescription": "Specifies which keys are intentionally unspecified under `[project]` table so build backend can/will provide such metadata dynamically. Each key must be listed only once. It is an error to both list a key in `dynamic` and use the key directly in `[project]`.\nOne of the most common usage is `version`, which allows build backend to retrieve project version from source code or version control system instead of hardcoding it in `pyproject.toml`.",
@@ -833,6 +839,7 @@
833839
"markdownDescription": "Each list item should be either:\n- [dependency specifiers](https://packaging.python.org/en/latest/specifications/dependency-specifiers/), or\n- table with a single key `include-group` which specifies another group name to include into this one",
834840
"x-intellij-html-description": "<p>Each list item should be either:</p><ul><li><a href=\"https://packaging.python.org/en/latest/specifications/dependency-specifiers/\">dependency specifiers</a>, or</li><li>table with a single key <code>include-group</code> which specifies another group name to include into this one</li></ul>",
835841
"x-tombi-array-values-order": "version-sort",
842+
"uniqueItems": true,
836843
"items": {
837844
"oneOf": [
838845
{

0 commit comments

Comments
 (0)