Update device identifier format from UUID to NanoID in example.jsonc, mqtt.md, schema.json, and schema.md; enhance documentation to reflect changes in device ID representation.
This commit is contained in:
@ -34,8 +34,9 @@
|
||||
},
|
||||
"dev_id": {
|
||||
"type": "string",
|
||||
"format": "uuid",
|
||||
"description": "Device unique identifier (UUID v4)."
|
||||
"format": "nanoid",
|
||||
"description": "Device unique identifier (NanoID).",
|
||||
"pattern": "^[A-Za-z0-9_-]{21}$"
|
||||
},
|
||||
"dev_type": {
|
||||
"description": "Device model identifier.",
|
||||
@ -53,7 +54,8 @@
|
||||
"properties": {
|
||||
"type_id": {
|
||||
"type": "string",
|
||||
"format": "uuid"
|
||||
"format": "nanoid",
|
||||
"pattern": "^[A-Za-z0-9_-]{21}$"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
||||
Reference in New Issue
Block a user