summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api_query_result-1.schema.json3
-rw-r--r--api_source_description-1.schema.json3
-rw-r--r--common_definitions-1.schema.json18
3 files changed, 24 insertions, 0 deletions
diff --git a/api_query_result-1.schema.json b/api_query_result-1.schema.json
index 4d7dcbd..62144dd 100644
--- a/api_query_result-1.schema.json
+++ b/api_query_result-1.schema.json
@@ -18,6 +18,9 @@
"items": {
"$ref": "./common_definitions-1.schema.json#/definitions/item_ref"
}
+ },
+ "generated_by": {
+ "$ref": "./common_definitions-1.schema.json#/definitions/generated_by"
}
}
}
diff --git a/api_source_description-1.schema.json b/api_source_description-1.schema.json
index a8f6473..c153d3a 100644
--- a/api_source_description-1.schema.json
+++ b/api_source_description-1.schema.json
@@ -56,6 +56,9 @@
"items": {
"$ref": "./common_definitions-1.schema.json#/definitions/typed_item_ref"
}
+ },
+ "generated_by": {
+ "$ref": "./common_definitions-1.schema.json#/definitions/generated_by"
}
}
}
diff --git a/common_definitions-1.schema.json b/common_definitions-1.schema.json
index 9d4e146..c47c7ab 100644
--- a/common_definitions-1.schema.json
+++ b/common_definitions-1.schema.json
@@ -208,6 +208,21 @@
}
}]
},
+ "generated_by": {
+ "description": "Describe what software generated this instance",
+ "type": "object",
+ "required": ["name"],
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "Instance generator software name, without version"
+ },
+ "version": {
+ "type": "string",
+ "description": "Instance generator software version, in arbitrary format"
+ }
+ }
+ },
"item_definition": {
"description": "Definition of a resource/mapping (fields specific to built definitions)",
"type": "object",
@@ -226,6 +241,9 @@
"source_copyright": {
"description": "Which files indicate license terms of the source package and should be installed",
"$ref": "#/definitions/file_ref_list_sha256"
+ },
+ "generated_by": {
+ "$ref": "#/definitions/generated_by"
}
}
}