{ "$id": "http://ziti-edge.netfoundry.io/schemas/authenticator.post.json", "anyOf": [ { "type": "object", "additionalProperties": true, "required": [ "method", "certPem", "identityId" ], "properties": { "method": { "type": [ "string" ], "enum": [ "cert" ] }, "certPem": { "type": "string" }, "identityId": { "$ref": "definitions.all.json#/definitions/id" }, "tags": { "$ref": "definitions.all.json#/definitions/tags-null" } } }, { "type": "object", "additionalProperties": true, "required": [ "method", "username", "password", "identityId" ], "properties": { "method": { "type": [ "string" ], "enum": [ "updb" ] }, "username": { "$ref": "definitions.all.json#/definitions/username" }, "password": { "$ref": "definitions.all.json#/definitions/password" }, "identityId": { "$ref": "definitions.all.json#/definitions/id" }, "tags": { "$ref": "definitions.all.json#/definitions/tags-null" } } } ] }