Skip to content

Commit e3db34b

Browse files
Add missing optional top-level subdirectory field to Direct URL JSON schema
It's mentioned in prose in https://packaging.python.org/en/latest/specifications/direct-url-data-structure/#projects-in-subdirectories, but it was missing from the JSON schema. Signed-off-by: Edgar Ramírez Mondragón <edgarrm358@gmail.com>
1 parent 449cbd4 commit e3db34b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎extra/specifications/schemas/direct-url.schema.json‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"type": "string",
99
"format": "uri"
1010
},
11+
"subdirectory": {
12+
"type": "string"
13+
},
1114
"DirInfo": {
1215
"type": "object",
1316
"properties": {
@@ -60,6 +63,9 @@
6063
"properties": {
6164
"url": {
6265
"$ref": "#/definitions/url"
66+
},
67+
"subdirectory": {
68+
"$ref": "#/definitions/subdirectory"
6369
}
6470
},
6571
"required": ["url"]

0 commit comments

Comments
 (0)