diff --git a/manifest.yaml b/manifest.yaml index b6af68d..8b981ce 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -22,4 +22,4 @@ repository: appfwPlugins: - path: . schemas: - configs: trivial-schema.json + configs: schemas/trivial-schema.json diff --git a/schemas/trivial-schema.json b/schemas/trivial-schema.json new file mode 100644 index 0000000..584a6ec --- /dev/null +++ b/schemas/trivial-schema.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://json-schema.org/draft/2019-09/schema", + "$id": "https://abcdef.com/schemas/v2/sample-react", + "allOf": [ + { "$ref": "https://zowe.org/schemas/v2/server-base" }, + { + "type": "object", + "properties": { + "components": { + "type": "object", + "additionalProperties": true, + "properties": { + "sample-react": { + "$ref": "https://zowe.org/schemas/v2/server-base#zoweComponent" + } + } + } + } + } + ] +}