104 lines
1.8 KiB
JSON
104 lines
1.8 KiB
JSON
{
|
|
"$schema": "./schemas/role.schema.json",
|
|
"roles": [
|
|
{
|
|
"id": 1,
|
|
"name": "test1",
|
|
"tiers": [],
|
|
"visibility": []
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "test2",
|
|
"tiers": [
|
|
{
|
|
"id": 1,
|
|
"function_sets": []
|
|
}
|
|
],
|
|
"visibility": []
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "test3",
|
|
"tiers": [],
|
|
"visibility": [
|
|
{
|
|
"id": 2,
|
|
"name": "test2"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "test3"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"role_update": {
|
|
"id": 1,
|
|
"name": "another_test",
|
|
"tiers": [
|
|
{
|
|
"id": 1,
|
|
"function_sets": []
|
|
},
|
|
{
|
|
"id": 2,
|
|
"function_sets": [
|
|
{
|
|
"id": 1,
|
|
"name": "function1",
|
|
"requirements": [],
|
|
"tags": []
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "function2",
|
|
"requirements": [
|
|
{
|
|
"id": 1,
|
|
"name": "function1",
|
|
"requirements": [],
|
|
"tags": []
|
|
}
|
|
],
|
|
"tags": []
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "function3",
|
|
"requirements": [],
|
|
"tags": [
|
|
{
|
|
"id": 1,
|
|
"name": "tag1"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "tag2"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "tag3"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"visibility": [
|
|
{
|
|
"id": 1,
|
|
"name": "test1"
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "test2"
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "test3"
|
|
}
|
|
]
|
|
}
|
|
}
|