Skip to content
This repository was archived by the owner on Aug 1, 2025. It is now read-only.
This repository was archived by the owner on Aug 1, 2025. It is now read-only.

Use tag templates to validate tag metadata on taggables #79

@cortadocodes

Description

@cortadocodes

We currently have tags that can have any number of subtags. We are going to move to:

  • Tags with no subtags: added to a keywords/labels container attribute
  • Tags with one subtag: added as attributes to the Taggable instance
  • Tags with more than one subtag: disallowed

The tags should conform to a tag schema/template that includes:

  • Title
  • Description
  • Type: enum of different possible types

We may need a custom JSON parser for this.

To do:

  • Add schema for tags for datafiles
  • Remove the filter field from manifest files
  • Remove the multi-dataset enum from manifest schema
  • Decide on naming for tags, key-value pair (attributes), and keywords (or labels)
  • additionalProperties needs to be true for tags in the schema to allow extra metadata on files
  • Whether a key-value pair is required should be specified, but keywords should all be optional

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

Priority 1 (Low)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions