mirror of
https://github.com/openziti/ziti.git
synced 2026-10-15 00:22:01 +00:00
54 lines
1.0 KiB
JSON
54 lines
1.0 KiB
JSON
{
|
|
"$id": "http://ziti-edge.netfoundry.io/schemas/identities.post.json",
|
|
"type": "object",
|
|
"additionalProperties": true,
|
|
"required": [
|
|
"name",
|
|
"type",
|
|
"isAdmin"
|
|
],
|
|
"properties": {
|
|
"name": {
|
|
"$ref": "definitions.all.json#/definitions/name"
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"enum": [
|
|
"User",
|
|
"Device",
|
|
"Service"
|
|
]
|
|
},
|
|
"enrollment": {
|
|
"type": [
|
|
"object",
|
|
"null"
|
|
],
|
|
"properties": {
|
|
"ott": {
|
|
"type": "boolean"
|
|
},
|
|
"ottca": {
|
|
"$ref": "definitions.all.json#/definitions/id"
|
|
},
|
|
"updb": {
|
|
"$ref": "definitions.all.json#/definitions/username"
|
|
}
|
|
}
|
|
},
|
|
"isAdmin": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"roleAttributes": {
|
|
"default": null,
|
|
"$ref": "definitions.all.json#/definitions/arrayOfString-null"
|
|
},
|
|
"tags": {
|
|
"default": {},
|
|
"$ref": "definitions.all.json#/definitions/tags-null"
|
|
}
|
|
}
|
|
}
|
|
|