Skip to content
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

Define enum items as URIs #103

Open
mjkoster opened this issue Jan 24, 2020 · 1 comment
Open

Define enum items as URIs #103

mjkoster opened this issue Jan 24, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@mjkoster
Copy link
Contributor

Enum items should be URIs that enable description, protocol binding formats, and localization of terms. Make some examples and have a discussion.

@mjkoster mjkoster added the enhancement New feature or request label Jan 24, 2020
@mjkoster mjkoster self-assigned this Jan 24, 2020
@mjkoster
Copy link
Contributor Author

mjkoster commented Mar 6, 2020

Suggested design example:

      "odmData": {
        "DirectionData": {
          "odmEnum": {
            "Up": {
              "type": "number",
              "widthInBits": 8,
              "const": 0
            },
            "Down": {
              "type": "number",
              "widthInBits": 8,
              "const": 1
            }
          }
        }
      }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant