diff --git a/source/specifications/direct-url-data-structure.rst b/source/specifications/direct-url-data-structure.rst index 0d243652d..3013da6a4 100644 --- a/source/specifications/direct-url-data-structure.rst +++ b/source/specifications/direct-url-data-structure.rst @@ -239,7 +239,7 @@ The following JSON Schema can be used to validate the contents of ``direct_url.j .. code-block:: { - "$schema": "https://json-schema.org/draft/2019-09/schema", + "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Direct URL Data", "description": "Data structure that can represent URLs to python projects and distribution artifacts such as VCS source trees, local source trees, source distributions and wheels.", "definitions": { @@ -252,6 +252,9 @@ The following JSON Schema can be used to validate the contents of ``direct_url.j "properties": { "editable": { "type": ["boolean", "null"] + }, + "subdirectory": { + "type": "string" } } }, @@ -275,6 +278,9 @@ The following JSON Schema can be used to validate the contents of ``direct_url.j }, "resolved_revision": { "type": "string" + }, + "subdirectory": { + "type": "string" } }, "required": [