Skip to content

another stringType for enumerated strong values #169

@jvandegriff

Description

@jvandegriff

We've added a stringType for URIs, but most string values in data are for short strings where the values are one from a small set of possibilities, i.e., the parameter is a kind of enumerated type. Examples would be things like a status value, location indicators, or data classification labels.

We could add another special stringType of enumeration. The object associated with this stringType lists the set of allowed string values:

Here are som examples:

"stringType": {"enumeration": { "values": [ "good", "bad", "calibrating"] } }

"stringType": {"enumeration": { "values": [ "magnetosphere", "sheath", "solar wind", "magnetotail" ] } }

"stringType": {"enumeration": { "values": [ "flare", "CME", "quiet", "coronal hole", "unknown"] } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions