From 2ca1d3331b8a22fefb03cb503b948f9e11315569 Mon Sep 17 00:00:00 2001 From: Ken Sternberg Date: Wed, 4 Oct 2023 15:06:10 -0700 Subject: [PATCH] Restoring this file. Not sure where it disappears to. --- blueprints/schema.json | 150 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 132 insertions(+), 18 deletions(-) diff --git a/blueprints/schema.json b/blueprints/schema.json index cc8e15a35..7f7757a28 100644 --- a/blueprints/schema.json +++ b/blueprints/schema.json @@ -7427,32 +7427,146 @@ "model_authentik_stages_invitation.invitation": { "type": "object", "properties": { - "name": { - "type": "string", - "maxLength": 50, - "minLength": 1, - "pattern": "^[-a-zA-Z0-9_]+$", - "title": "Name" - }, "expires": { "type": "string", "format": "date-time", "title": "Expires" }, - "fixed_data": { + "user": { "type": "object", - "additionalProperties": true, - "title": "Fixed data" + "properties": { + "username": { + "type": "string", + "maxLength": 150, + "minLength": 1, + "title": "Username" + }, + "name": { + "type": "string", + "title": "Name", + "description": "User's display name." + }, + "is_active": { + "type": "boolean", + "title": "Active", + "description": "Designates whether this user should be treated as active. Unselect this instead of deleting accounts." + }, + "last_login": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "title": "Last login" + }, + "groups": { + "type": "array", + "items": { + "type": "integer" + }, + "title": "Groups" + }, + "email": { + "type": "string", + "format": "email", + "maxLength": 254, + "title": "Email address" + }, + "attributes": { + "type": "object", + "additionalProperties": true, + "title": "Attributes" + }, + "path": { + "type": "string", + "minLength": 1, + "title": "Path" + }, + "type": { + "type": "string", + "enum": [ + "internal", + "external", + "service_account", + "internal_service_account" + ], + "title": "Type" + } + }, + "required": [ + "username", + "name" + ], + "title": "User" }, - "single_use": { - "type": "boolean", - "title": "Single use", - "description": "When enabled, the invitation will be deleted after usage." + "application": { + "type": "object", + "properties": { + "name": { + "type": "string", + "minLength": 1, + "title": "Name", + "description": "Application's display Name." + }, + "slug": { + "type": "string", + "maxLength": 50, + "minLength": 1, + "pattern": "^[-a-zA-Z0-9_]+$", + "title": "Slug", + "description": "Internal application name, used in URLs." + }, + "provider": { + "type": "integer", + "title": "Provider" + }, + "backchannel_providers": { + "type": "array", + "items": { + "type": "integer" + }, + "title": "Backchannel providers" + }, + "open_in_new_tab": { + "type": "boolean", + "title": "Open in new tab", + "description": "Open launch URL in a new browser tab or window." + }, + "meta_launch_url": { + "type": "string", + "title": "Meta launch url" + }, + "meta_description": { + "type": "string", + "title": "Meta description" + }, + "meta_publisher": { + "type": "string", + "title": "Meta publisher" + }, + "policy_engine_mode": { + "type": "string", + "enum": [ + "all", + "any" + ], + "title": "Policy engine mode" + }, + "group": { + "type": "string", + "title": "Group" + } + }, + "required": [ + "name", + "slug" + ], + "title": "Application" }, - "flow": { - "type": "integer", - "title": "Flow", - "description": "When set, only the configured flow can use this invitation." + "permissions": { + "type": "string", + "minLength": 1, + "title": "Permissions" } }, "required": []