|
4 | 4 | "$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", |
5 | 5 | "x-tombi-toml-version": "v1.0.0", |
6 | 6 | "x-tombi-table-keys-order": "schema", |
| 7 | + "x-tombi-string-formats": ["email", "uri"], |
7 | 8 | "additionalProperties": false, |
8 | 9 | "definitions": { |
9 | 10 | "projectAuthor": { |
|
54 | 55 | "items": { |
55 | 56 | "type": "string" |
56 | 57 | }, |
| 58 | + "uniqueItems": true, |
57 | 59 | "title": "Build system dependencies", |
58 | 60 | "description": "List of strings following the version specifier specification, representing dependencies required to execute the build system.", |
59 | 61 | "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 | 357 | "items": { |
356 | 358 | "type": "string" |
357 | 359 | }, |
| 360 | + "uniqueItems": true, |
358 | 361 | "title": "Project keywords", |
359 | 362 | "description": "List of keywords or tags that describe the project. They could be used by search engines to categorize the project.", |
360 | 363 | "markdownDescription": "List of keywords or tags that describe the project. They could be used by search engines to categorize the project.", |
|
371 | 374 | "items": { |
372 | 375 | "type": "string" |
373 | 376 | }, |
| 377 | + "uniqueItems": true, |
374 | 378 | "title": "Applicable Trove classifiers", |
375 | 379 | "description": "List of [Trove classifiers](https://pypi.org/classifiers/) that describe the project. PyPI use the classifiers to categorize projects.", |
376 | 380 | "markdownDescription": "List of [Trove classifiers](https://pypi.org/classifiers/) that describe the project. PyPI use the classifiers to categorize projects.", |
|
497 | 501 | "items": { |
498 | 502 | "type": "string" |
499 | 503 | }, |
| 504 | + "uniqueItems": true, |
500 | 505 | "title": "Project mandatory dependency requirements", |
501 | 506 | "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.", |
502 | 507 | "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 | 563 | "optional-dependencies" |
559 | 564 | ] |
560 | 565 | }, |
| 566 | + "uniqueItems": true, |
561 | 567 | "title": "Dynamic metadata values", |
562 | 568 | "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`.", |
563 | 569 | "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 | 839 | "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", |
834 | 840 | "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>", |
835 | 841 | "x-tombi-array-values-order": "version-sort", |
| 842 | + "uniqueItems": true, |
836 | 843 | "items": { |
837 | 844 | "oneOf": [ |
838 | 845 | { |
|
0 commit comments