Skip to content

Commit

Permalink
Update things and users yamls to fix more tests
Browse files Browse the repository at this point in the history
Signed-off-by: aryan <aryangodara03@gmail.com>
  • Loading branch information
AryanGodara committed Aug 17, 2023
1 parent 7794ff6 commit a4e5d34
Show file tree
Hide file tree
Showing 173 changed files with 84 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ tools/e2e/e2e
tools/mqtt-bench/mqtt-bench
tools/provision/provision
tools/provision/mfconn.toml

.hypothesis
Binary file removed .hypothesis/examples/06d9b7588ea22c9a/0196c73c3801fdde
Binary file not shown.
Binary file removed .hypothesis/examples/06d9b7588ea22c9a/15d47d8a50e57f74
Binary file not shown.
Binary file removed .hypothesis/examples/06d9b7588ea22c9a/1f23bbe5334821e8
Binary file not shown.
Binary file removed .hypothesis/examples/06d9b7588ea22c9a/512f29aa5e466039
Binary file not shown.
Binary file removed .hypothesis/examples/06d9b7588ea22c9a/594e45e93e5ccdf5
Binary file not shown.
Binary file not shown.
Binary file removed .hypothesis/examples/06d9b7588ea22c9a/7ce0aa878fadb2d2
Binary file not shown.
Binary file removed .hypothesis/examples/06d9b7588ea22c9a/8772d1d9bf25930c
Binary file not shown.
Binary file removed .hypothesis/examples/06d9b7588ea22c9a/8fa5d8bc82231b3c
Binary file not shown.
Binary file removed .hypothesis/examples/06d9b7588ea22c9a/915e602763893994
Binary file not shown.
Binary file removed .hypothesis/examples/06d9b7588ea22c9a/a00094d0a5992d29
Binary file not shown.
Binary file removed .hypothesis/examples/06d9b7588ea22c9a/ad54160cdde96736
Binary file not shown.
Binary file removed .hypothesis/examples/06d9b7588ea22c9a/ece6032aa7d2d68e
Binary file not shown.
Binary file removed .hypothesis/examples/1ff7d0d240fdfae5/74bc70cfe711f73e
Binary file not shown.
Binary file removed .hypothesis/examples/21a4d88f61468076/0ce00edd02d290ed
Binary file not shown.
Binary file removed .hypothesis/examples/21a4d88f61468076/91443bd5e8b3447a
Binary file not shown.
Binary file removed .hypothesis/examples/21a4d88f61468076/b5e0419414f85d22
Binary file not shown.
Binary file removed .hypothesis/examples/21a4d88f61468076/e3ce036ea74b4d69
Binary file not shown.
Binary file removed .hypothesis/examples/2343a966d112363e/5bf2d3dbdd0f4e67
Binary file not shown.
Binary file removed .hypothesis/examples/2343a966d112363e/9ea1ae4979718b20
Binary file not shown.
Binary file removed .hypothesis/examples/2343a966d112363e/c6b060348747274e
Binary file not shown.
Binary file removed .hypothesis/examples/2343a966d112363e/ddf7c710c714040e
Binary file not shown.
Binary file removed .hypothesis/examples/2343a966d112363e/f9e8ebb66e7f79dd
Binary file not shown.
Binary file removed .hypothesis/examples/2343a966d112363e/fe32184da74f957e
Binary file not shown.
Binary file removed .hypothesis/examples/29fc7bb10510d545/c2e001f38b8246d7
Binary file not shown.
Binary file removed .hypothesis/examples/2d1ad463a8e68b4b/3ff0743907235578
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .hypothesis/examples/2f92cabc688a8ce3/76a23f6ef886a788
Binary file not shown.
Binary file removed .hypothesis/examples/2f92cabc688a8ce3/d21bfd2d783e61b7
Binary file not shown.
Binary file removed .hypothesis/examples/2f92cabc688a8ce3/eb4bdf710e02fb97
Binary file not shown.
Binary file removed .hypothesis/examples/49745fc8831b6900/504d0f2f443016cb
Binary file not shown.
Binary file removed .hypothesis/examples/49cfa518d3678ddd/0e75b5b833a24826
Binary file not shown.
Binary file removed .hypothesis/examples/49cfa518d3678ddd/140c9449df02312d
Binary file not shown.
Binary file removed .hypothesis/examples/49cfa518d3678ddd/2dd747b0f3ce7311
Binary file not shown.
Binary file removed .hypothesis/examples/49cfa518d3678ddd/30f62531de20e8bf
Binary file not shown.
Binary file removed .hypothesis/examples/49cfa518d3678ddd/55370080f89e2340
Binary file not shown.
Binary file removed .hypothesis/examples/49cfa518d3678ddd/d4b6a7cf1e10cc36
Binary file not shown.
Binary file not shown.
Binary file removed .hypothesis/examples/656b7adaf7c682c9/4dd7648784b4dc04
Binary file not shown.
Binary file removed .hypothesis/examples/656b7adaf7c682c9/8be37e4eb657b229
Binary file not shown.
Binary file removed .hypothesis/examples/656b7adaf7c682c9/934c4878f8c2566c
Binary file not shown.
Binary file removed .hypothesis/examples/656b7adaf7c682c9/dfa0bdfcf97a7106
Binary file not shown.
Binary file removed .hypothesis/examples/656b7adaf7c682c9/e2b851456e7fb84b
Binary file not shown.
Binary file removed .hypothesis/examples/656b7adaf7c682c9/e47960fac4e16e8b
Binary file not shown.
Binary file removed .hypothesis/examples/656b7adaf7c682c9/ed59abd976fae081
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/04300426336a9a1f
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/0dd52bd6f8e5cad7
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/121bae5de7af1de5
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/14f4524c311ba46e
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/1bb5cb4d86cd4703
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/23d36b816d37b3a1
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/256088ffdd4a80e3
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/30e4b821f134d38b
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/3a657a1cdf78569e
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/3b9c8323982b4e17
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/3f93516357c5bb04
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/412d3a7d85ee6fa5
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/446892beadc4963a
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/492965ef8e53de5c
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/4d8c37fbfebac383
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/5968c4a18b3eee8c
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/59e95f0eb677c564
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/5f34c860c7affdc0
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/6d876b0464a17990
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/71a761ed0a703a84
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/73b498fdbaf40ade
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/7601ec79a4994f99
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/7a5e55059811c74c
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/7f28a84f06154ef8
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/84ce03ec4f691651
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/99c1ca71f89d9999
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/9d3707f19cc4c683
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/9d7188b78693014c
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/a280cf56ed153aae
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/a4add8193d6097cb
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/ae892ad2439657b0
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/aea890769c74494b
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/b19e6f5270901163
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/b98bddbf56103163
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/bc44fef5e3de7ef0
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/bf081e99846764bc
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/cb0fe2b807db1cb4
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/d09f6686c574e562
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/d423809400a89531
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/da69518bb245ee88
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/dae67c56c12892bc
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/db2837d094904659
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/df9fd2afcfd1422a
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/e113a0e22182adcd
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/e260bec51251ff65
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/e5228afc3e95ba8d
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/e6c180301d8ccb9b
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/fcfa99a6afd53090
Binary file not shown.
Binary file removed .hypothesis/examples/725320a45a26f1e5/ffd927e4a165390e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .hypothesis/examples/95872ea87f435db7/74bc70cfe711f73e
Binary file not shown.
Binary file removed .hypothesis/examples/9b3872437eddb50c/0050f4bed5a9e63c
Binary file not shown.
Binary file removed .hypothesis/examples/9b3872437eddb50c/1b6ef097ac7a8831
Binary file not shown.
Binary file removed .hypothesis/examples/9b3872437eddb50c/2e289502816ea6f8
Binary file not shown.
Binary file removed .hypothesis/examples/9b3872437eddb50c/393eb4e520bd81e8
Binary file not shown.
Binary file not shown.
Binary file removed .hypothesis/examples/9b3872437eddb50c/5f6a8361d1c0c637
Binary file not shown.
Binary file removed .hypothesis/examples/9b3872437eddb50c/612be601d5974a61
Binary file not shown.
Binary file removed .hypothesis/examples/9b3872437eddb50c/84b04a197d33f2fc
Binary file not shown.
Binary file removed .hypothesis/examples/9b3872437eddb50c/91b266587dec85ff
Binary file not shown.
Binary file removed .hypothesis/examples/9b3872437eddb50c/d3da647a16a77b36
Binary file not shown.
Binary file removed .hypothesis/examples/9b3872437eddb50c/e929759d338a2f94
Binary file not shown.
Binary file removed .hypothesis/examples/9b3872437eddb50c/f1c59c080a205587
Binary file not shown.
Binary file removed .hypothesis/examples/ad398b6db816744e/2106442c12173ec5
Binary file not shown.
Binary file removed .hypothesis/examples/ad398b6db816744e/84d79bce371c9dc6
Binary file not shown.
Binary file removed .hypothesis/examples/ad398b6db816744e/be7906d5dcd5df1d
Binary file not shown.
Binary file removed .hypothesis/examples/b3d9003f5d256750/2440034b9de4d45d
Binary file not shown.
Binary file removed .hypothesis/examples/b3d9003f5d256750/d0c61a1e9fe73438
Binary file not shown.
Binary file removed .hypothesis/examples/b3d9003f5d256750/f1142373a56b1745
Binary file not shown.
Binary file not shown.
Binary file removed .hypothesis/examples/b822eb8fcdf060a2/ab929b91c3a15cb7
Binary file not shown.
Binary file removed .hypothesis/examples/bfbd06a25979ca85/03ae1d561447f622
Binary file not shown.
Binary file removed .hypothesis/examples/bfbd06a25979ca85/2bdfc0eb42ae8309
Binary file not shown.
Binary file removed .hypothesis/examples/bfbd06a25979ca85/43a507703f0f81a9
Binary file not shown.
Binary file removed .hypothesis/examples/bfbd06a25979ca85/68c7e6e76deff9e3
Binary file not shown.
Binary file removed .hypothesis/examples/bfbd06a25979ca85/6c252413e59c3cbd
Binary file not shown.
Binary file removed .hypothesis/examples/bfbd06a25979ca85/7ed852de4a17d21c
Binary file not shown.
Binary file removed .hypothesis/examples/bfbd06a25979ca85/a01a67246d056b1e
Binary file not shown.
Binary file removed .hypothesis/examples/bfbd06a25979ca85/abfc1700594ee200
Binary file not shown.
Binary file removed .hypothesis/examples/bfbd06a25979ca85/bc136065aa30cbee
Binary file not shown.
Binary file removed .hypothesis/examples/c39d2210a3e96ace/0657418509527296
Binary file not shown.
Binary file removed .hypothesis/examples/c39d2210a3e96ace/0936a6eceed52784
Binary file not shown.
Binary file removed .hypothesis/examples/c39d2210a3e96ace/13235b486c43ef78
Binary file not shown.
Binary file removed .hypothesis/examples/c39d2210a3e96ace/2ca50d0fbb080641
Binary file not shown.
Binary file removed .hypothesis/examples/c39d2210a3e96ace/41a63da1b62cf160
Binary file not shown.
Binary file removed .hypothesis/examples/c39d2210a3e96ace/5267816fe8272dfb
Binary file not shown.
Binary file removed .hypothesis/examples/c39d2210a3e96ace/6c5be7d785a40746
Binary file not shown.
Binary file removed .hypothesis/examples/c39d2210a3e96ace/9a5acbf70e46a54d
Binary file not shown.
Binary file removed .hypothesis/examples/c39d2210a3e96ace/ba7ba0c5b35f28ac
Binary file not shown.
Binary file removed .hypothesis/examples/d0293808ee8225fc/057e06066fc0e2a3
Binary file not shown.
Binary file removed .hypothesis/examples/d0293808ee8225fc/511ed280d17ec72d
Binary file not shown.
Binary file removed .hypothesis/examples/d0293808ee8225fc/54cc15ce09c1c720
Binary file not shown.
Binary file removed .hypothesis/examples/d0293808ee8225fc/567398165abdf54c
Binary file not shown.
Binary file removed .hypothesis/examples/d0293808ee8225fc/7387a24ba38428c4
Binary file not shown.
Binary file removed .hypothesis/examples/d0293808ee8225fc/979d5115b0881589
Binary file not shown.
Binary file removed .hypothesis/examples/dc7dee64b87ec9da/38495f2c2c082653
Binary file not shown.
Binary file removed .hypothesis/examples/dc7dee64b87ec9da/3b517d8c257f7608
Binary file not shown.
Binary file removed .hypothesis/examples/dc7dee64b87ec9da/4cc307461d0cd97c
Binary file not shown.
Binary file removed .hypothesis/examples/dc7dee64b87ec9da/641fa1cb78a4e5a3
Binary file not shown.
Binary file removed .hypothesis/examples/dc7dee64b87ec9da/9dc6fef4af9b0b4c
Binary file not shown.
Binary file removed .hypothesis/examples/dc7dee64b87ec9da/dd139ee9f6582150
Binary file not shown.
Binary file removed .hypothesis/examples/dc7dee64b87ec9da/e8400bb9494d1965
Binary file not shown.
Binary file removed .hypothesis/examples/e2a5d17dc0e55957/4a18391a65e9df11
Binary file not shown.
Binary file removed .hypothesis/examples/e2a5d17dc0e55957/59d0ea809ae112ac
Binary file not shown.
Binary file removed .hypothesis/examples/e2a5d17dc0e55957/6a25c589289c8dcb
Binary file not shown.
Binary file removed .hypothesis/examples/e2a5d17dc0e55957/845591e860d5080f
Binary file not shown.
Binary file removed .hypothesis/examples/e2a5d17dc0e55957/9db31c2752aad41b
Binary file not shown.
Binary file removed .hypothesis/examples/e2a5d17dc0e55957/afa2381e1d2c7aef
Binary file not shown.
Binary file removed .hypothesis/examples/e2a5d17dc0e55957/b2b835a9619ec5d8
Binary file not shown.
Binary file removed .hypothesis/examples/e2a5d17dc0e55957/b47d1cb3ce3c2fa8
Binary file not shown.
Binary file removed .hypothesis/examples/e2a5d17dc0e55957/e2ceb33b654e4c22
Binary file not shown.
Binary file removed .hypothesis/examples/e2a5d17dc0e55957/ef61ca82fcb7c156
Binary file not shown.
Binary file removed .hypothesis/examples/e2a5d17dc0e55957/f1c9a2edb271d4f8
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .hypothesis/examples/fb0c663e6e2fa9fe/5c2685f202c7c731
Binary file not shown.
Binary file not shown.
Binary file removed .hypothesis/examples/fb0c663e6e2fa9fe/66e86a424e6404c4
Binary file not shown.
Binary file removed .hypothesis/examples/fb0c663e6e2fa9fe/68631b90b1b8081b
Binary file not shown.
Binary file removed .hypothesis/examples/fb0c663e6e2fa9fe/a7ae9a52f5597b4f
Binary file not shown.
Binary file not shown.
Binary file removed .hypothesis/examples/fb0c663e6e2fa9fe/d606a7c59c405bc6
Binary file not shown.
Binary file removed .hypothesis/examples/fb0c663e6e2fa9fe/d6e5e321d1a7ae72
Binary file not shown.
Binary file removed .hypothesis/examples/fb0c663e6e2fa9fe/eca949b554fab65b
Binary file not shown.
82 changes: 82 additions & 0 deletions api/openapi/things.yml
Original file line number Diff line number Diff line change
Expand Up @@ -741,6 +741,9 @@ components:
properties:
name:
type: string
not:
type: string
pattern: "^[^\u0000-\u001F]*$"
example: thingName
description: Thing name.
tags:
Expand Down Expand Up @@ -770,6 +773,7 @@ components:
description: Thing owner must be exsiting in the databse.
metadata:
type: object

example: {"domain": "example.com"}
description: Arbitrary, object-encoded thing's data.
status:
Expand All @@ -785,6 +789,7 @@ components:
properties:
name:
type: string
pattern: "^[^\u0000-\u001F]*$"
example: channelName
description: Free-form channel name. Channel name is unique on the given hierarchy level.
description:
Expand Down Expand Up @@ -817,10 +822,18 @@ components:
properties:
subject:
type: string
format: uuid
not:
enum:
- "00000000-0000-0000-0000-000000000000"
description: Policy subject refers to the thing id
example: 'bb7edb32-2eac-4aad-aebe-ed96fe073879'
object:
type: string
format: uuid
not:
enum:
- "00000000-0000-0000-0000-000000000000"
description: Policy object refers to either the thing id, channel id, computation id or dataset id
example: 'bb7edb32-2eac-4aad-aebe-ed96fe073879'
actions:
Expand All @@ -845,6 +858,7 @@ components:
description: Thing unique identifier.
name:
type: string
pattern: "^[^\u0000-\u001F]*$"
example: thingName
description: Thing name.
tags:
Expand Down Expand Up @@ -902,6 +916,7 @@ components:
description: Thing unique identifier.
name:
type: string
pattern: "^[^\u0000-\u001F]*$"
example: thingName
description: Thing name.
tags:
Expand Down Expand Up @@ -959,6 +974,7 @@ components:
description: Unique channel identifier generated by the service.
name:
type: string
pattern: "^[^\u0000-\u001F]*$"
example: channelName
description: Free-form channel name. Channel name is unique on the given hierarchy level.
owner_id:
Expand Down Expand Up @@ -1017,6 +1033,7 @@ components:
description: Unique channel identifier generated by the service.
name:
type: string
pattern: "^[^\u0000-\u001F]*$"
example: channelName
description: Free-form channel name. Channel name is unique on the given hierarchy level.
owner_id:
Expand Down Expand Up @@ -1069,6 +1086,7 @@ components:
description: Thing unique identifier.
name:
type: string
pattern: "^[^\u0000-\u001F]*$"
example: thingName
description: Thing name.
tags:
Expand Down Expand Up @@ -1127,11 +1145,17 @@ components:
subject:
type: string
format: uuid
not:
enum:
- "00000000-0000-0000-0000-000000000000"
example: bb7edb32-2eac-4aad-aebe-ed96fe073879
description: Policy subject identifier.
object:
type: string
format: uuid
not:
enum:
- "00000000-0000-0000-0000-000000000000"
example: bb7edb32-2eac-4aad-aebe-ed96fe073879
description: Policy object identifier.
actions:
Expand Down Expand Up @@ -1169,6 +1193,10 @@ components:
description: Total number of items.
offset:
type: integer
format: int64 # Indicates a 64-bit integer
default: 0
minimum: 0 # Minimum value is 0 (unsigned)
maximum: 18446744073709551615 # Maximum value for uint64
description: Number of items to skip during retrieval.
limit:
type: integer
Expand All @@ -1194,6 +1222,10 @@ components:
description: Total number of items.
offset:
type: integer
format: int64 # Indicates a 64-bit integer
default: 0
minimum: 0 # Minimum value is 0 (unsigned)
maximum: 18446744073709551615 # Maximum value for uint64
description: Number of items to skip during retrieval.
limit:
type: integer
Expand All @@ -1219,6 +1251,10 @@ components:
description: Total number of items.
offset:
type: integer
format: int64 # Indicates a 64-bit integer
default: 0
minimum: 0 # Minimum value is 0 (unsigned)
maximum: 18446744073709551615 # Maximum value for uint64
description: Number of items to skip during retrieval.
limit:
type: integer
Expand All @@ -1244,6 +1280,10 @@ components:
description: Total number of items.
offset:
type: integer
format: int64 # Indicates a 64-bit integer
default: 0
minimum: 0 # Minimum value is 0 (unsigned)
maximum: 18446744073709551615 # Maximum value for uint64
description: Number of items to skip during retrieval.
limit:
type: integer
Expand All @@ -1269,6 +1309,10 @@ components:
description: Total number of items.
offset:
type: integer
format: int64 # Indicates a 64-bit integer
default: 0
minimum: 0 # Minimum value is 0 (unsigned)
maximum: 18446744073709551615 # Maximum value for uint64
description: Number of items to skip during retrieval.
limit:
type: integer
Expand All @@ -1284,6 +1328,7 @@ components:
properties:
name:
type: string
pattern: "^[^\u0000-\u001F]*$"
example: thingName
description: Thing name.
metadata:
Expand Down Expand Up @@ -1321,6 +1366,7 @@ components:
properties:
owner:
type: string
format: uuid
example: bb7edb32-2eac-4aad-aebe-ed96fe073879
description: Thing owner for example email address.
required:
Expand All @@ -1331,6 +1377,7 @@ components:
properties:
name:
type: string
pattern: "^[^\u0000-\u001F]*$"
example: channelName
description: Free-form channel name. Channel name is unique on the given hierarchy level.
description:
Expand All @@ -1351,10 +1398,18 @@ components:
properties:
subject:
type: string
format: uuid
not:
enum:
- "00000000-0000-0000-0000-000000000000"
example: bb7edb32-2eac-4aad-aebe-ed96fe073879
description: Thing ID
object:
type: string
format: uuid
not:
enum:
- "00000000-0000-0000-0000-000000000000"
example: bb7edb32-2eac-4aad-aebe-ed96fe073879
description: Channel ID
actions:
Expand Down Expand Up @@ -1460,6 +1515,7 @@ components:
in: query
schema:
type: string
pattern: "^[^\u0000-\u001F]*$"
required: false
example: 'thingName'

Expand All @@ -1469,6 +1525,7 @@ components:
in: query
schema:
type: string
pattern: "^[^\u0000-\u001F]*$"
required: false
example: 'admin@example.com'

Expand Down Expand Up @@ -1498,6 +1555,7 @@ components:
in: query
schema:
type: string
pattern: "^[^\u0000-\u001F]*$"
default: enabled
required: false
example: enabled
Expand All @@ -1521,6 +1579,7 @@ components:
in: query
schema:
type: string
pattern: "^[^\u0000-\u001F]*$"
required: false
example: 'channelName'

Expand All @@ -1530,6 +1589,7 @@ components:
in: query
schema:
type: string
pattern: "^[^\u0000-\u001F]*$"
required: false
example: 'channel description'

Expand All @@ -1540,6 +1600,10 @@ components:
schema:
type: string
format: uuid
not:
enum:
- "00000000-0000-0000-0000-000000000000"
- "0"
required: true
example: bb7edb32-2eac-4aad-aebe-ed96fe073879

Expand Down Expand Up @@ -1589,6 +1653,9 @@ components:
schema:
type: string
format: uuid
not:
enum:
- "00000000-0000-0000-0000-000000000000"
required: false
example: bb7edb32-2eac-4aad-aebe-ed96fe073879

Expand All @@ -1599,6 +1666,9 @@ components:
schema:
type: string
format: uuid
not:
enum:
- "00000000-0000-0000-0000-000000000000"
required: false
example: bb7edb32-2eac-4aad-aebe-ed96fe073879

Expand Down Expand Up @@ -1662,8 +1732,11 @@ components:
in: query
schema:
type: integer
format: int64 # Indicates a 64-bit integer
default: 0
minimum: 0
maximum: 18446744073709551615 # Maximum value for uint64
description: Number of items to skip during retrieval.
required: false
example: '0'

Expand Down Expand Up @@ -1796,10 +1869,16 @@ components:
subject:
type: string
format: uuid
not:
enum:
- "00000000-0000-0000-0000-000000000000"
description: Thing ID that is used for policy.
object:
type: string
format: uuid
not:
enum:
- "00000000-0000-0000-0000-000000000000"
description: Channel ID that is used for policy.
action:
type: string
Expand Down Expand Up @@ -1834,6 +1913,9 @@ components:
subject:
type: string
format: uuid
not:
enum:
- "00000000-0000-0000-0000-000000000000"
description: Thing ID by which thing is uniquely identified.
action:
type: string
Expand Down

0 comments on commit a4e5d34

Please sign in to comment.