magda-io / magda

A federated, open-source data catalog for all your big data and small data
https://magda.io
Apache License 2.0
507 stars 92 forks source link

Content API header item schema `target` field type is incorrect #3367

Closed t83714 closed 2 years ago

t83714 commented 2 years ago

Content API header item schema target field type is incorrect

See here:

https://github.com/magda-io/magda/blob/c53edb175e4aa9bc7745b11b8e8de063a5967d2a/magda-content-schemas/header-navigation.schema.json#L27

The target should be a free text string. The current blank value won't achieve its intended function. i.e.

                       "target": {
                            "type": "string",
                            "minLength": 1
                        }
t83714 commented 2 years ago

closed via https://github.com/magda-io/magda/pull/3368