-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use tag templates to validate tag metadata on taggables #79
Comments
@thclark do we want to require that tag templates are provided in |
I think best not to require it. Some files may well not require metadata; in that event we don't really want people to have to add empty sections to twine.json. |
What do you think about this naming convention?
An alternative to "tags" could be "custom metadata", which maybe reflects better that some of the tags become labels/keywords while others become attributes of the datafile |
Agree re labels rather than keywords, good thought about verb usage (and no longer ambiguous, now that GCS has moved to using "custom metadata" instead of "labels") Is your suggestion we then retain "tags" as being a superset of labels and custom attributes? Like this:
I'm slightly worried that "attribute" is a word that is meaningful for us, and for python, but is likely not for an amateur programmer or someone who's come from e.g. MATLAB or C++. What about using tags as an alternative to custom attributes?
Note: The above are taxonomies, not object hierarchies (because of course tags/attributes would be expanded to live directly in custom GCS metadata) |
Also, I'm wondering whether it's sensible to namespace fixed octue metadata. Like |
Some thoughts in reply:
|
Namespace it in GCS? |
yeah, not on the Datafile objects our side |
New requirements
Example manifest contents:
|
We currently have tags that can have any number of subtags. We are going to move to:
Taggable
instanceThe tags should conform to a tag schema/template that includes:
We may need a custom JSON parser for this.
To do:
filter
field from manifest filesadditionalProperties
needs to betrue
for tags in the schema to allow extra metadata on filesThe text was updated successfully, but these errors were encountered: