Seam Docs
Search…
⌃K

Schlage Encode Sample Data

JSON Representation

{
"users": [
{
"user_id": "user_1",
"email": "[email protected]",
"password": "1234"
},
{
"user_id": "user_2",
"email": "[email protected]",
"password": "1234"
},
{
"user_id": "user_3",
"email": "[email protected]",
"password": "1234"
}
],
"locks": [
{
"user_id": "user_1",
"lock_id": "lock_1",
"status": "locked"
},
{
"user_id": "user_1",
"lock_id": "lock_2",
"status": "unlocked"
},
{
"user_id": "user_2",
"lock_id": "lock_3",
"status": "locked"
}
]
}

Users

user_id
email
password
# Locks
user_1
1234
2
user_2
1234
1
user_3
1234
0

Locks

lock_id
Owned By
Initial Status
lock_1
Jane
locked
lock_2
Jane
unlocked
lock_3
John
locked