Skip to content

Clarify use of _type.purpose Key and Link #19

@jamesrhester

Description

@jamesrhester

Some data names may plausibly have purpose of both Link and Key, if they are a foreign key that is also a key data name of the category. Note that both these purposes are redundant information as this information can be determined from other attributes. Therefore we just need to decide on a rule for assigning _type.purpose, and it won't have any semantic consequences.

I suggest that Link overrules Key, so that a key data name that is a link to another data name has _type.purpose of Link.

Also, as currently written a Key data name has to have a unique value, suggesting that it is the single key data name for the category. This purpose would obviously change if new key data names are added, so I suggest that we adjust the ddl description of Key purpose to state that this data name is one of the category key data names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions