Clowder Metadata design #61
longshuicy
started this conversation in
General
Replies: 4 comments
-
i really like this kind of structure. @ddey2 for our recent elasticsearch discussions, we could also refer to this definition for incoming metadata objects to check the data types so that elasticsearch doesn't have to guess as much (just one idea) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Follow-up from 10/28 discussion. Part I - basic implementation
Part II - medium term
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Some other ideas Luigi and I discussed:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
the structure of metadata definition could look like below
Each field corresponding to an individual widget on the frontend.
A metadata entry could have multiple widgets (fields):
The content of config field can be flexible. It will be used to hold information that populates the frontend appearances, as well as validate the posted values. For example
There will also be scenarios that a widget needs input of "undetermined number of input values". For example, picking as many points on a map. The usage of
"list": true
is designed for that. For example:And the correspondent posted metadata entry could look like:
Beta Was this translation helpful? Give feedback.
All reactions