Skip to content

deviceLinks.name should not be empty #107

Description

@GCoxCasey

In the lucid.schema.json, for deviceLinks both the num and name properties are mandatory.
We believe it would be useful if the name was also not allowed to be empty.

This is the existing schema definition (version 3.1)

"deviceLinks": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "num": {
              "type": "integer"
            }
          },
          "required": [
            "name",
            "num"
          ],
          "additionalProperties": false
        }
      }

We would like to suggest adding 'minLength' as shown below:

"deviceLinks": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
              "minLength": 1,
            },
            "num": {
              "type": "integer"
            }
          },
          "required": [
            "name",
            "num"
          ],
          "additionalProperties": false
        }
      }

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