Skip to content

Commit a73f665

Browse files
committed
Add rule for deviceAlias
1 parent ec10355 commit a73f665

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

schemas.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ schemas:
55
type: string
66
description:
77
Unique deviceAlias. Default device name is 'masterNportM' where 'N' means the masterNumber and 'M' means
8-
the portNumber. Even if a new device alias has been assigned, the device can always be addressed via the default name.
8+
the portNumber. Even if a new device alias has been assigned, the device can always be addressed via the default name. A device name must only contain alphanumeric characters and underscores.
99
minLength: 1
1010
maxLength: 32
1111
pattern: "^[a-zA-Z0-9_]{1,32}$"
@@ -310,7 +310,7 @@ schemas:
310310
description:
311311
type: string
312312
description: |
313-
Additional information about the provided specification.
313+
Additional information about the provided specification.
314314
example:
315315
- apiId: JsonForIoLink_REST_v2
316316
protocol: REST
@@ -1232,7 +1232,7 @@ schemas:
12321232
type: string
12331233
minLength: 26
12341234
maxLength: 26
1235-
portConfigurationGet:
1235+
portConfigurationGet:
12361236
anyOf:
12371237
- $ref: "#/schemas/portConfigurationGetWired"
12381238
- $ref: "#/schemas/portConfigurationGetWireless"
@@ -1826,7 +1826,7 @@ schemas:
18261826
- POWER_2
18271827
deviceAlias:
18281828
$ref: "#/schemas/deviceAlias"
1829-
1829+
18301830
portConfigurationPostWireless:
18311831
type: object
18321832
properties:

0 commit comments

Comments
 (0)