summaryrefslogtreecommitdiff
path: root/package_source-1.schema.json
diff options
context:
space:
mode:
Diffstat (limited to 'package_source-1.schema.json')
-rw-r--r--package_source-1.schema.json8
1 files changed, 5 insertions, 3 deletions
diff --git a/package_source-1.schema.json b/package_source-1.schema.json
index fb2bfb7..e7e0064 100644
--- a/package_source-1.schema.json
+++ b/package_source-1.schema.json
@@ -5,15 +5,17 @@
"description": "Definition of a Hydrilla source package",
"type": "object",
"required": [
- "source_schema_version",
+ "$schema",
"source_name",
"copyright",
"upstream_url",
"definitions"
],
"properties": {
- "source_schema_version": {
- "$ref": "./common_definitions-1.schema.json#/definitions/schema_version"
+ "$schema": {
+ "description": "Mark this instance as conforming to package source schema 1.x",
+ "type": "string",
+ "pattern": "^https://hydrilla\\.koszko\\.org/schemas/package_source-1\\.([1-9][0-9]*\\.)*schema\\.json$"
},
"source_name": {
"$ref": "./common_definitions-1.schema.json#/definitions/source_name"