diff options
Diffstat (limited to 'api_source_description-1.schema.json')
-rw-r--r-- | api_source_description-1.schema.json | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/api_source_description-1.schema.json b/api_source_description-1.schema.json index c153d3a..7016b6d 100644 --- a/api_source_description-1.schema.json +++ b/api_source_description-1.schema.json @@ -5,7 +5,7 @@ "description": "Built description of a Hydrilla source package", "type": "object", "required": [ - "api_schema_version", + "$schema", "source_name", "source_copyright", "source_archives", @@ -13,8 +13,10 @@ "definitions" ], "properties": { - "api_schema_version": { - "$ref": "./common_definitions-1.schema.json#/definitions/schema_version" + "$schema": { + "description": "Mark this instance as conforming to source description schema 1.x", + "type": "string", + "pattern": "^https://hydrilla\\.koszko\\.org/schemas/api_source_description-1\\.([1-9][0-9]*\\.)*schema\\.json$" }, "source_name": { "$ref": "./common_definitions-1.schema.json#/definitions/source_name" |