Files
ziti/controller/embedded/api-schema/entities/identity.post.json
T

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"
}
}
}