diff --git a/manifest.yaml b/manifest.yaml index fcace87..cf10377 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -18,3 +18,5 @@ apimlServices: - file: sample-node-api.yml configs: port: 18000 +schemas: + configs: trivial-schema.json diff --git a/trivial-schema.json b/trivial-schema.json new file mode 100644 index 0000000..95af3d7 --- /dev/null +++ b/trivial-schema.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://json-schema.org/draft/2019-09/schema", + "$id": "https://abcdef.com/schemas/v2/sample-node-api", + "allOf": [ + { "$ref": "https://zowe.org/schemas/v2/server-base" }, + { + "type": "object", + "properties": { + "components": { + "type": "object", + "additionalProperties": true, + "properties": { + "sample-iframe": { + "$ref": "https://zowe.org/schemas/v2/server-base#zoweComponent" + } + } + } + } + } + ] +}