summaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
Diffstat (limited to 'html')
-rw-r--r--html/payload_create.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/html/payload_create.js b/html/payload_create.js
index 7782299..ebd9236 100644
--- a/html/payload_create.js
+++ b/html/payload_create.js
@@ -97,6 +97,7 @@ function collect_form_data(form_ctx)
const sha256 = compute_sha256(script);
const resource = {
+ $schema: "https://hydrilla.koszko.org/schemas/api_resource_description-1.0.1.schema.json",
source_name: identifier,
source_copyright: [],
type: "resource",
@@ -104,12 +105,14 @@ function collect_form_data(form_ctx)
long_name,
uuid: uuidv4(),
version: [1],
+ revision: 1,
description,
dependencies: [],
scripts: [{file: "payload.js", sha256}]
};
const mapping = {
+ $schema: "https://hydrilla.koszko.org/schemas/api_mapping_description-1.0.1.schema.json",
source_name: identifier,
source_copyright: [],
type: "mapping",