Skip to main content

ory_client/models/
create_project_normalized_payload.rs

1/*
2 * Ory APIs
3 *
4 * # Introduction Documentation for all public and administrative Ory APIs. Administrative APIs can only be accessed with a valid Personal Access Token. Public APIs are mostly used in browsers.  ## SDKs This document describes the APIs available in the Ory Network. The APIs are available as SDKs for the following languages:  | Language       | Download SDK                                                     | Documentation                                                                        | | -------------- | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------ | | Dart           | [pub.dev](https://pub.dev/packages/ory_client)                   | [README](https://github.com/ory/sdk/blob/master/clients/client/dart/README.md)       | | .NET           | [nuget.org](https://www.nuget.org/packages/Ory.Client/)          | [README](https://github.com/ory/sdk/blob/master/clients/client/dotnet/README.md)     | | Elixir         | [hex.pm](https://hex.pm/packages/ory_client)                     | [README](https://github.com/ory/sdk/blob/master/clients/client/elixir/README.md)     | | Go             | [github.com](https://github.com/ory/client-go)                   | [README](https://github.com/ory/sdk/blob/master/clients/client/go/README.md)         | | Java           | [maven.org](https://search.maven.org/artifact/sh.ory/ory-client) | [README](https://github.com/ory/sdk/blob/master/clients/client/java/README.md)       | | JavaScript     | [npmjs.com](https://www.npmjs.com/package/@ory/client)           | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript/README.md) | | JavaScript (With fetch) | [npmjs.com](https://www.npmjs.com/package/@ory/client-fetch)           | [README](https://github.com/ory/sdk/blob/master/clients/client/typescript-fetch/README.md) |  | PHP            | [packagist.org](https://packagist.org/packages/ory/client)       | [README](https://github.com/ory/sdk/blob/master/clients/client/php/README.md)        | | Python         | [pypi.org](https://pypi.org/project/ory-client/)                 | [README](https://github.com/ory/sdk/blob/master/clients/client/python/README.md)     | | Ruby           | [rubygems.org](https://rubygems.org/gems/ory-client)             | [README](https://github.com/ory/sdk/blob/master/clients/client/ruby/README.md)       | | Rust           | [crates.io](https://crates.io/crates/ory-client)                 | [README](https://github.com/ory/sdk/blob/master/clients/client/rust/README.md)       | 
5 *
6 * The version of the OpenAPI document: v1.22.94
7 * Contact: support@ory.sh
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// CreateProjectNormalizedPayload : Create project (normalized) request payload
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct CreateProjectNormalizedPayload {
17    /// Holds the URL to the account experience's Contact page. This governs the \"contact_url\" setting.
18    #[serde(rename = "account_experience_contact_url", skip_serializing_if = "Option::is_none")]
19    pub account_experience_contact_url: Option<String>,
20    /// The Account Experience's Custom Translations  Contains all Custom Translations for this project.
21    #[serde(rename = "account_experience_custom_translations", skip_serializing_if = "Option::is_none")]
22    pub account_experience_custom_translations: Option<Vec<models::RevisionAccountExperienceCustomTranslation>>,
23    /// Holds the default locale for the account experience. This governs the \"default_locale\" setting.
24    #[serde(rename = "account_experience_default_locale", skip_serializing_if = "Option::is_none")]
25    pub account_experience_default_locale: Option<String>,
26    /// The Account Experience's Enabled Locales  This governs the locales that are available in the account experience. This governs the \"enabled_locales\" setting.
27    #[serde(rename = "account_experience_enabled_locales", skip_serializing_if = "Option::is_none")]
28    pub account_experience_enabled_locales: Option<Vec<String>>,
29    /// Holds the URL to the account experience's dark theme favicon (currently unused). This governs the \"favicon_dark\" setting.
30    #[serde(rename = "account_experience_favicon_dark", skip_serializing_if = "Option::is_none")]
31    pub account_experience_favicon_dark: Option<String>,
32    /// Holds the URL to the account experience's favicon. This governs the \"favicon_light\" setting.
33    #[serde(rename = "account_experience_favicon_light", skip_serializing_if = "Option::is_none")]
34    pub account_experience_favicon_light: Option<String>,
35    /// Whether to hide the Ory branding badge on the account experience. This governs the \"hide_ory_branding\" setting.
36    #[serde(rename = "account_experience_hide_ory_branding", skip_serializing_if = "Option::is_none")]
37    pub account_experience_hide_ory_branding: Option<bool>,
38    /// Whether to hide the registration link on the account experience login card. This governs the \"hide_registration_link\" setting.
39    #[serde(rename = "account_experience_hide_registration_link", skip_serializing_if = "Option::is_none")]
40    pub account_experience_hide_registration_link: Option<bool>,
41    /// Controls what the project's domains serve at their index route \"/\".  Leave empty to answer \"/\" with a 404 error. Set to \"default_browser_return_url\" to redirect to `kratos_selfservice_default_browser_return_url`, or to \"redirect\" to redirect to `account_experience_index_route_redirect_url`. This governs the \"index_route.mode\" setting.
42    #[serde(rename = "account_experience_index_route_mode", skip_serializing_if = "Option::is_none")]
43    pub account_experience_index_route_mode: Option<String>,
44    /// The target of the index route redirect.  An absolute http(s) URL, or a path on the project's domain such as `/ui/login`. Used when `account_experience_index_route_mode` is \"redirect\". This governs the \"index_route.redirect_url\" setting.
45    #[serde(rename = "account_experience_index_route_redirect_url", skip_serializing_if = "Option::is_none")]
46    pub account_experience_index_route_redirect_url: Option<String>,
47    /// Holds the URL to the account experience's language behavior.  Can be one of: - `respect_accept_language`: Respect the `Accept-Language` header. - `force_default`: Force the default language. This governs the \"locale_behavior\" setting.
48    #[serde(rename = "account_experience_locale_behavior", skip_serializing_if = "Option::is_none")]
49    pub account_experience_locale_behavior: Option<String>,
50    /// Holds the URL to the account experience's dark theme logo (currently unused). This governs the \"logo_dark\" setting.
51    #[serde(rename = "account_experience_logo_dark", skip_serializing_if = "Option::is_none")]
52    pub account_experience_logo_dark: Option<String>,
53    /// Holds the URL to the account experience's logo. This governs the \"logo_light\" setting.
54    #[serde(rename = "account_experience_logo_light", skip_serializing_if = "Option::is_none")]
55    pub account_experience_logo_light: Option<String>,
56    /// Holds the URL to the account experience's Privacy Policy page. This governs the \"privacy_policy_url\" setting.
57    #[serde(rename = "account_experience_privacy_policy_url", skip_serializing_if = "Option::is_none")]
58    pub account_experience_privacy_policy_url: Option<String>,
59    /// Whether to show a \"Last used\" badge on the social sign-in or SSO button a user chose last time on this device. This governs the \"show_last_used_method\" setting.
60    #[serde(rename = "account_experience_show_last_used_method", skip_serializing_if = "Option::is_none")]
61    pub account_experience_show_last_used_method: Option<bool>,
62    /// Holds the URL to the account experience's Terms of Service page. This governs the \"terms_of_service_url\" setting.
63    #[serde(rename = "account_experience_terms_of_service_url", skip_serializing_if = "Option::is_none")]
64    pub account_experience_terms_of_service_url: Option<String>,
65    /// Holds the URL to the account experience's dark theme variables. This governs the \"theme_variables_dark\" setting.
66    #[serde(rename = "account_experience_theme_variables_dark", skip_serializing_if = "Option::is_none")]
67    pub account_experience_theme_variables_dark: Option<String>,
68    /// Holds the URL to the account experience's light theme variables. This governs the \"theme_variables_light\" setting.
69    #[serde(rename = "account_experience_theme_variables_light", skip_serializing_if = "Option::is_none")]
70    pub account_experience_theme_variables_light: Option<String>,
71    /// The Project's Revision Creation Date
72    #[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
73    pub created_at: Option<String>,
74    /// Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`. This governs the \"disable_welcome_screen\" setting.
75    #[serde(rename = "disable_account_experience_welcome_screen", skip_serializing_if = "Option::is_none")]
76    pub disable_account_experience_welcome_screen: Option<bool>,
77    /// Whether the new account experience is enabled and reachable. This governs the \"enable_ax_v2\" setting.
78    #[serde(rename = "enable_ax_v2", skip_serializing_if = "Option::is_none")]
79    pub enable_ax_v2: Option<bool>,
80    /// prod Production stage Staging dev Development
81    #[serde(rename = "environment")]
82    pub environment: EnvironmentEnum,
83    /// The project's feature flags. Keys are catalog flag keys such as `kratos.choose_recovery_address`. Responses contain every flag with its effective value; requests may set any subset.
84    #[serde(rename = "feature_flags", skip_serializing_if = "Option::is_none")]
85    pub feature_flags: Option<std::collections::HashMap<String, bool>>,
86    /// eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest eu EU asia Asia us US global Global
87    #[serde(rename = "home_region", skip_serializing_if = "Option::is_none")]
88    pub home_region: Option<HomeRegionEnum>,
89    /// A list of custom claims which are allowed to be added top level to the Access Token. They cannot override reserved claims.  This governs the \"oauth2.allowed_top_level_claims\" setting.
90    #[serde(rename = "hydra_oauth2_allowed_top_level_claims", skip_serializing_if = "Option::is_none")]
91    pub hydra_oauth2_allowed_top_level_claims: Option<Vec<String>>,
92    /// Automatically grant authorized OAuth2 Scope in OAuth2 Client Credentials Flow.  Each OAuth2 Client is allowed to request a predefined OAuth2 Scope (for example `read write`). If this option is enabled, the full scope is automatically granted when performing the OAuth2 Client Credentials flow.  If disabled, the OAuth2 Client has to request the scope in the OAuth2 request by providing the `scope` query parameter.  Setting this option to true is common if you need compatibility with MITREid.  This governs the \"oauth2.client_credentials.default_grant_allowed_scope\" setting.
93    #[serde(rename = "hydra_oauth2_client_credentials_default_grant_allowed_scope", skip_serializing_if = "Option::is_none")]
94    pub hydra_oauth2_client_credentials_default_grant_allowed_scope: Option<bool>,
95    /// Configures how often a non-interactive device should poll the OAuth 2.0 Device Authorization Grant token endpoint. Purely informational — the value is reported to the device in the \"interval\" response field of the device authorization response. Hydra defaults to 5s when this is left empty.  This is an Enterprise feature.  This governs the \"oauth2.device_authorization.token_polling_interval\" setting.
96    #[serde(rename = "hydra_oauth2_device_authorization_token_polling_interval", skip_serializing_if = "Option::is_none")]
97    pub hydra_oauth2_device_authorization_token_polling_interval: Option<String>,
98    /// Picks a preset for the OAuth 2.0 Device Authorization Grant user_code length and character set. \"high\" produces the longest codes (most resistant to brute force); \"low\" the shortest (easiest for the end user to read and enter). Leave empty to keep Hydra's default preset.  This is an Enterprise feature.  This governs the \"oauth2.device_authorization.user_code.entropy_preset\" setting.
99    #[serde(rename = "hydra_oauth2_device_authorization_user_code_entropy_preset", skip_serializing_if = "Option::is_none")]
100    pub hydra_oauth2_device_authorization_user_code_entropy_preset: Option<HydraOauth2DeviceAuthorizationUserCodeEntropyPresetEnum>,
101    /// Set to true if you want to omit the `nbf` (not valid before) claim in the access token.  This governs the \"oauth2.exclude_not_before_claim\" setting.
102    #[serde(rename = "hydra_oauth2_exclude_not_before_claim", skip_serializing_if = "Option::is_none")]
103    pub hydra_oauth2_exclude_not_before_claim: Option<bool>,
104    /// Configures if the issued at (`iat`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523).  If set to `false`, the `iat` claim is required. Set this value to `true` only after careful consideration.  This governs the \"oauth2.grant.jwt.iat_optional\" setting.
105    #[serde(rename = "hydra_oauth2_grant_jwt_iat_optional", skip_serializing_if = "Option::is_none")]
106    pub hydra_oauth2_grant_jwt_iat_optional: Option<bool>,
107    /// Configures if the JSON Web Token ID (`jti`) claim is required in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523).  If set to `false`, the `jti` claim is required. Set this value to `true` only after careful consideration.  This governs the \"oauth2.grant.jwt.jti_optional\" setting.
108    #[serde(rename = "hydra_oauth2_grant_jwt_jti_optional", skip_serializing_if = "Option::is_none")]
109    pub hydra_oauth2_grant_jwt_jti_optional: Option<bool>,
110    /// Configures what the maximum age of a JWT assertion used in the JSON Web Token (JWT) Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) can be.  This feature uses the `exp` claim and `iat` claim to calculate assertion age. Assertions exceeding the max age will be denied.  Useful as a safety measure and recommended to keep below 720h.  This governs the \"oauth2.grant.jwt.max_ttl\" setting.
111    #[serde(rename = "hydra_oauth2_grant_jwt_max_ttl", skip_serializing_if = "Option::is_none")]
112    pub hydra_oauth2_grant_jwt_max_ttl: Option<String>,
113    /// Configures whether the audience (`aud`) claim from the assertion JSON Web Token (JWT) in the JWT Profile for OAuth 2.0 Client Authentication and Authorization Grants (RFC7523) is omitted from the resulting access token.  When set to `true` (the default for new projects), the audience values from the inbound assertion JWT are not granted in the access token. Set to `false` to copy the assertion audience into the access token (the legacy behavior).  This governs the \"oauth2.grant.jwt.omit_assertion_audience\" setting.
114    #[serde(rename = "hydra_oauth2_grant_jwt_omit_assertion_audience", skip_serializing_if = "Option::is_none")]
115    pub hydra_oauth2_grant_jwt_omit_assertion_audience: Option<bool>,
116    /// Configures the OAuth2 Grant Refresh Token Rotation Grace Period  If set to `null` or `\"0s\"`, the graceful refresh token rotation is disabled.  This governs the \"oauth2.grant.refresh_token.rotation_grace_period\" setting.
117    #[serde(rename = "hydra_oauth2_grant_refresh_token_rotation_grace_period", skip_serializing_if = "Option::is_none")]
118    pub hydra_oauth2_grant_refresh_token_rotation_grace_period: Option<String>,
119    /// Configures the OAuth2 Grant Refresh Token Rotation Grace Reuse Count.  The maximum number of times a refresh token can be reused within the grace period. If set to `null` or `0`, the limit is disabled.  This governs the \"oauth2.grant.refresh_token.rotation_grace_reuse_count\" setting.
120    #[serde(rename = "hydra_oauth2_grant_refresh_token_rotation_grace_reuse_count", skip_serializing_if = "Option::is_none")]
121    pub hydra_oauth2_grant_refresh_token_rotation_grace_reuse_count: Option<i64>,
122    /// Set to false if you don't want to mirror custom claims under 'ext'.  This governs the \"oauth2.mirror_top_level_claims\" setting.
123    #[serde(rename = "hydra_oauth2_mirror_top_level_claims", skip_serializing_if = "Option::is_none")]
124    pub hydra_oauth2_mirror_top_level_claims: Option<bool>,
125    /// Configures whether PKCE should be enforced for all OAuth2 Clients.  This governs the \"oauth2.pkce.enforced\" setting.
126    #[serde(rename = "hydra_oauth2_pkce_enforced", skip_serializing_if = "Option::is_none")]
127    pub hydra_oauth2_pkce_enforced: Option<bool>,
128    /// Configures whether PKCE should be enforced for OAuth2 Clients without a client secret (public clients).  This governs the \"oauth2.pkce.enforced_for_public_clients\" setting.
129    #[serde(rename = "hydra_oauth2_pkce_enforced_for_public_clients", skip_serializing_if = "Option::is_none")]
130    pub hydra_oauth2_pkce_enforced_for_public_clients: Option<bool>,
131    /// Set to true to keep custom claims that are not promoted to the top level in the 'ext' claim. Only applies when mirror_top_level_claims is false.  This governs the \"oauth2.preserve_ext_claims\" setting.
132    #[serde(rename = "hydra_oauth2_preserve_ext_claims", skip_serializing_if = "Option::is_none")]
133    pub hydra_oauth2_preserve_ext_claims: Option<bool>,
134    /// Sets the Refresh Token Hook Endpoint. If set this endpoint will be called during the OAuth2 Token Refresh grant update the OAuth2 Access Token claims.  This governs the \"oauth2.refresh_token_hook\" setting.
135    #[serde(rename = "hydra_oauth2_refresh_token_hook", skip_serializing_if = "Option::is_none")]
136    pub hydra_oauth2_refresh_token_hook: Option<String>,
137    /// Sets the token hook endpoint for all grant types. If set it will be called while providing token to customize claims.  This governs the \"oauth2.token_hook.url\" setting.
138    #[serde(rename = "hydra_oauth2_token_hook", skip_serializing_if = "Option::is_none")]
139    pub hydra_oauth2_token_hook: Option<String>,
140    /// Sets a per-project Access Token, Refresh Token, and Authorization Code prefix. The literal \"%s\" is replaced at issuance time with the token kind: \"at\" (access token), \"rt\" (refresh token), or \"ac\" (authorization code). For example, \"acme_%s_\" yields \"acme_at_…\", \"acme_rt_…\", and \"acme_ac_…\".  Must be a fmt.Sprintf template with exactly one \"%s\" substitution. The rendered prefix may contain only ASCII letters, digits, and underscores — no other \"%\" directives (\"%d\", \"%%\", positional or width-flagged verbs), no hyphens, dots, slashes, whitespace, quotes, or non-ASCII characters. Leave empty to keep the default \"ory_%s_\" prefix.  This is an Enterprise feature.  This governs the \"oauth2.token_prefix\" setting.
141    #[serde(rename = "hydra_oauth2_token_prefix", skip_serializing_if = "Option::is_none")]
142    pub hydra_oauth2_token_prefix: Option<String>,
143    /// The audience allow list assigned during OpenID Connect Dynamic Client Registration when audience is omitted or null. An explicit audience, including an empty list, takes precedence. Defaults apply only during registration.  This governs the \"oidc.dynamic_client_registration.default_audience\" setting.
144    #[serde(rename = "hydra_oidc_dynamic_client_registration_default_audience", skip_serializing_if = "Option::is_none")]
145    pub hydra_oidc_dynamic_client_registration_default_audience: Option<Vec<String>>,
146    /// The OpenID Connect Dynamic Client Registration specification has no concept of whitelisting OAuth 2.0 Scope. If you want to expose Dynamic Client Registration, you should set the default scope enabled for newly registered clients. Keep in mind that users can overwrite this default by setting the \"scope\" key in the registration payload, effectively disabling the concept of whitelisted scopes.  This governs the \"oidc.dynamic_client_registration.default_scope\" setting.
147    #[serde(rename = "hydra_oidc_dynamic_client_registration_default_scope", skip_serializing_if = "Option::is_none")]
148    pub hydra_oidc_dynamic_client_registration_default_scope: Option<Vec<String>>,
149    /// Configures OpenID Connect Dynamic Client Registration.  This governs the \"oidc.dynamic_client_registration.enabled\" setting.
150    #[serde(rename = "hydra_oidc_dynamic_client_registration_enabled", skip_serializing_if = "Option::is_none")]
151    pub hydra_oidc_dynamic_client_registration_enabled: Option<bool>,
152    /// Configures OpenID Connect Discovery and overwrites the pairwise algorithm  This governs the \"oidc.subject_identifiers.pairwise_salt\" setting.
153    #[serde(rename = "hydra_oidc_subject_identifiers_pairwise_salt", skip_serializing_if = "Option::is_none")]
154    pub hydra_oidc_subject_identifiers_pairwise_salt: Option<String>,
155    /// Configures OpenID Connect Discovery and overwrites the list of Subject Identifier Algorithms to enable.  This governs the \"oidc.subject_identifiers.supported_types\" setting.
156    #[serde(rename = "hydra_oidc_subject_identifiers_supported_types", skip_serializing_if = "Option::is_none")]
157    pub hydra_oidc_subject_identifiers_supported_types: Option<Vec<String>>,
158    /// Configures the Ory Hydra Cookie Secret  This governs the \"secrets.cookie\" setting.
159    #[serde(rename = "hydra_secrets_cookie", skip_serializing_if = "Option::is_none")]
160    pub hydra_secrets_cookie: Option<Vec<String>>,
161    /// Configures the Ory Hydra Pagination Secret  This governs the \"secrets.pagination\" setting.
162    #[serde(rename = "hydra_secrets_pagination", skip_serializing_if = "Option::is_none")]
163    pub hydra_secrets_pagination: Option<Vec<String>>,
164    /// Configures the Ory Hydra System Secret  This governs the \"secrets.system\" setting.
165    #[serde(rename = "hydra_secrets_system", skip_serializing_if = "Option::is_none")]
166    pub hydra_secrets_system: Option<Vec<String>>,
167    /// Configures the Ory Hydra Cookie Same Site Legacy Workaround  This governs the \"serve.cookies.same_site_legacy_workaround\" setting.
168    #[serde(rename = "hydra_serve_cookies_same_site_legacy_workaround", skip_serializing_if = "Option::is_none")]
169    pub hydra_serve_cookies_same_site_legacy_workaround: Option<bool>,
170    /// Configures the Ory Hydra Cookie Same Site Mode  This governs the \"serve.cookies.same_site_mode\" setting.
171    #[serde(rename = "hydra_serve_cookies_same_site_mode", skip_serializing_if = "Option::is_none")]
172    pub hydra_serve_cookies_same_site_mode: Option<String>,
173    /// Defines access token type  This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt
174    #[serde(rename = "hydra_strategies_access_token", skip_serializing_if = "Option::is_none")]
175    pub hydra_strategies_access_token: Option<HydraStrategiesAccessTokenEnum>,
176    /// Define the claim to use as the scope in the access token.  This governs the \"strategies.jwt.scope_claim\" setting.  - list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` - string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` - both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth
177    #[serde(rename = "hydra_strategies_jwt_scope_claim", skip_serializing_if = "Option::is_none")]
178    pub hydra_strategies_jwt_scope_claim: Option<HydraStrategiesJwtScopeClaimEnum>,
179    /// Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes  This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard
180    #[serde(rename = "hydra_strategies_scope", skip_serializing_if = "Option::is_none")]
181    pub hydra_strategies_scope: Option<HydraStrategiesScopeEnum>,
182    /// This governs the \"ttl.access_token\" setting.
183    #[serde(rename = "hydra_ttl_access_token", skip_serializing_if = "Option::is_none")]
184    pub hydra_ttl_access_token: Option<String>,
185    /// Configures how long refresh tokens are valid.  Set to -1 for refresh tokens to never expire. This is not recommended!  This governs the \"ttl.auth_code\" setting.
186    #[serde(rename = "hydra_ttl_auth_code", skip_serializing_if = "Option::is_none")]
187    pub hydra_ttl_auth_code: Option<String>,
188    /// Configures how long the device_code and user_code in the OAuth 2.0 Device Authorization Grant remain valid. Larger values mean more database storage; shorter values mean users have less time to complete the second-device verification. Hydra defaults to 10m when this is left empty.  This is an Enterprise feature.  This governs the \"ttl.device_user_code\" setting.
189    #[serde(rename = "hydra_ttl_device_user_code", skip_serializing_if = "Option::is_none")]
190    pub hydra_ttl_device_user_code: Option<String>,
191    /// This governs the \"ttl.id_token\" setting.
192    #[serde(rename = "hydra_ttl_id_token", skip_serializing_if = "Option::is_none")]
193    pub hydra_ttl_id_token: Option<String>,
194    /// Configures how long a user login and consent flow may take.  This governs the \"ttl.login_consent_request\" setting.
195    #[serde(rename = "hydra_ttl_login_consent_request", skip_serializing_if = "Option::is_none")]
196    pub hydra_ttl_login_consent_request: Option<String>,
197    /// Configures how long refresh tokens are valid.  Set to -1 for refresh tokens to never expire. This is not recommended!  This governs the \"ttl.refresh_token\" setting.
198    #[serde(rename = "hydra_ttl_refresh_token", skip_serializing_if = "Option::is_none")]
199    pub hydra_ttl_refresh_token: Option<String>,
200    /// Sets the OAuth2 Consent Endpoint URL of the OAuth2 User Login & Consent flow.  Defaults to the Ory Account Experience if left empty.  This governs the \"urls.consent\" setting.
201    #[serde(rename = "hydra_urls_consent", skip_serializing_if = "Option::is_none")]
202    pub hydra_urls_consent: Option<String>,
203    /// Sets the URL the user is redirected to after successfully completing the OAuth 2.0 Device Authorization Grant user verification step. Defaults to the Ory Account Experience fallback page if left empty.  This is an Enterprise feature.  This governs the \"urls.device.success\" setting.
204    #[serde(rename = "hydra_urls_device_success", skip_serializing_if = "Option::is_none")]
205    pub hydra_urls_device_success: Option<String>,
206    /// Sets the URL of the user verification page for the OAuth 2.0 Device Authorization Grant (RFC 8628). End users are redirected to this URL to enter the user_code shown on their device. Defaults to the Ory Account Experience fallback page if left empty.  This is an Enterprise feature.  This governs the \"urls.device.verification\" setting.
207    #[serde(rename = "hydra_urls_device_verification", skip_serializing_if = "Option::is_none")]
208    pub hydra_urls_device_verification: Option<String>,
209    /// Sets the OAuth2 Error URL of the OAuth2 User Login & Consent flow.  Defaults to the Ory Account Experience if left empty.  This governs the \"urls.error\" setting.
210    #[serde(rename = "hydra_urls_error", skip_serializing_if = "Option::is_none")]
211    pub hydra_urls_error: Option<String>,
212    /// Sets the OAuth2 Login Endpoint URL of the OAuth2 User Login & Consent flow.  Defaults to the Ory Account Experience if left empty.  This governs the \"urls.login\" setting.
213    #[serde(rename = "hydra_urls_login", skip_serializing_if = "Option::is_none")]
214    pub hydra_urls_login: Option<String>,
215    /// Sets the logout endpoint.  Defaults to the Ory Account Experience if left empty.  This governs the \"urls.logout\" setting.
216    #[serde(rename = "hydra_urls_logout", skip_serializing_if = "Option::is_none")]
217    pub hydra_urls_logout: Option<String>,
218    /// When an OAuth2-related user agent requests to log out, they will be redirected to this url afterwards per default.  Defaults to the Ory Account Experience in development and your application in production mode when a custom domain is connected.  This governs the \"urls.post_logout_redirect\" setting.
219    #[serde(rename = "hydra_urls_post_logout_redirect", skip_serializing_if = "Option::is_none")]
220    pub hydra_urls_post_logout_redirect: Option<String>,
221    /// Sets the OAuth2 Registration Endpoint URL of the OAuth2 User Login & Consent flow.  Defaults to the Ory Account Experience if left empty.  This governs the \"urls.registration\" setting.
222    #[serde(rename = "hydra_urls_registration", skip_serializing_if = "Option::is_none")]
223    pub hydra_urls_registration: Option<String>,
224    /// This value will be used as the issuer in access and ID tokens. It must be specified and using HTTPS protocol, unless the development mode is enabled.  On the Ory Network it will be very rare that you want to modify this value. If left empty, it will default to the correct value for the Ory Network.  This governs the \"urls.self.issuer\" setting.
225    #[serde(rename = "hydra_urls_self_issuer", skip_serializing_if = "Option::is_none")]
226    pub hydra_urls_self_issuer: Option<String>,
227    /// A list of JSON Web Keys that should be exposed at that endpoint. This is usually the public key for verifying OpenID Connect ID Tokens. However, you might want to add additional keys here as well.  This governs the \"webfinger.jwks.broadcast_keys\" setting.
228    #[serde(rename = "hydra_webfinger_jwks_broadcast_keys", skip_serializing_if = "Option::is_none")]
229    pub hydra_webfinger_jwks_broadcast_keys: Option<Vec<String>>,
230    /// Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL.  This governs the \"webfinger.oidc_discovery.auth_url\" setting.
231    #[serde(rename = "hydra_webfinger_oidc_discovery_auth_url", skip_serializing_if = "Option::is_none")]
232    pub hydra_webfinger_oidc_discovery_auth_url: Option<String>,
233    /// Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint.  This governs the \"webfinger.oidc_discovery.client_registration_url\" setting.
234    #[serde(rename = "hydra_webfinger_oidc_discovery_client_registration_url", skip_serializing_if = "Option::is_none")]
235    pub hydra_webfinger_oidc_discovery_client_registration_url: Option<String>,
236    /// Override the OAuth 2.0 Device Authorization Endpoint URL that is advertised in the OpenID Connect discovery document (/.well-known/openid-configuration). Defaults to the project's public base URL + /oauth2/device/auth.  This is an Enterprise feature.  This governs the \"webfinger.oidc_discovery.device_authorization_url\" setting.
237    #[serde(rename = "hydra_webfinger_oidc_discovery_device_authorization_url", skip_serializing_if = "Option::is_none")]
238    pub hydra_webfinger_oidc_discovery_device_authorization_url: Option<String>,
239    /// Configures OpenID Connect Discovery and overwrites the JWKS URL.  This governs the \"webfinger.oidc_discovery.jwks_url\" setting.
240    #[serde(rename = "hydra_webfinger_oidc_discovery_jwks_url", skip_serializing_if = "Option::is_none")]
241    pub hydra_webfinger_oidc_discovery_jwks_url: Option<String>,
242    /// Configures OpenID Connect Discovery and overwrites a list of supported claims to be broadcasted. Claim \"sub\" is always included.  This governs the \"webfinger.oidc_discovery.supported_claims\" setting.
243    #[serde(rename = "hydra_webfinger_oidc_discovery_supported_claims", skip_serializing_if = "Option::is_none")]
244    pub hydra_webfinger_oidc_discovery_supported_claims: Option<Vec<String>>,
245    /// Configures OpenID Connect Discovery and overwrites the scope OAuth 2.0 Clients may request. Scope `offline`, `offline_access`, and `openid` are always included.  This governs the \"webfinger.oidc_discovery.supported_scope\" setting.
246    #[serde(rename = "hydra_webfinger_oidc_discovery_supported_scope", skip_serializing_if = "Option::is_none")]
247    pub hydra_webfinger_oidc_discovery_supported_scope: Option<Vec<String>>,
248    /// Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL.  This governs the \"webfinger.oidc_discovery.token_url\" setting.
249    #[serde(rename = "hydra_webfinger_oidc_discovery_token_url", skip_serializing_if = "Option::is_none")]
250    pub hydra_webfinger_oidc_discovery_token_url: Option<String>,
251    /// Configures OpenID Connect Discovery and overwrites userinfo endpoint to be advertised at the OpenID Connect Discovery endpoint /.well-known/openid-configuration. Defaults to Ory Hydra's userinfo endpoint at /userinfo. Set this value if you want to handle this endpoint yourself.  This governs the \"webfinger.oidc_discovery.userinfo_url\" setting.
252    #[serde(rename = "hydra_webfinger_oidc_discovery_userinfo_url", skip_serializing_if = "Option::is_none")]
253    pub hydra_webfinger_oidc_discovery_userinfo_url: Option<String>,
254    /// The revision ID.
255    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
256    pub id: Option<String>,
257    /// Configures Keto's strict mode.  This governs the \"feature_flags.strict_mode\" setting.
258    #[serde(rename = "keto_feature_flags_strict_mode", skip_serializing_if = "Option::is_none")]
259    pub keto_feature_flags_strict_mode: Option<bool>,
260    /// The Revisions' Keto Namespace Configuration  The string is a URL pointing to an OPL file with the configuration.  This governs the \"namespaces.location\" setting.
261    #[serde(rename = "keto_namespace_configuration", skip_serializing_if = "Option::is_none")]
262    pub keto_namespace_configuration: Option<String>,
263    #[serde(rename = "keto_namespaces", skip_serializing_if = "Option::is_none")]
264    pub keto_namespaces: Option<Vec<models::KetoNamespace>>,
265    /// Configures Keto's pagination secrets.  This governs the \"secrets.pagination\" setting.
266    #[serde(rename = "keto_secrets_pagination", skip_serializing_if = "Option::is_none")]
267    pub keto_secrets_pagination: Option<Vec<String>>,
268    /// When true, strict mode is locked: changes to it are rejected from any client (API, Console, config import), and the Console hides the toggle. NULL and false mean strict mode can be changed (existing projects during migration). New projects are created with this set to true, permanently enabling strict mode. This flag is backoffice metadata and is not part of the rendered Keto configuration.
269    #[serde(rename = "keto_strict_mode_readonly", skip_serializing_if = "Option::is_none")]
270    pub keto_strict_mode_readonly: Option<bool>,
271    /// Configures the Ory Kratos Cookie SameSite Attribute  This governs the \"cookies.same_site\" setting.
272    #[serde(rename = "kratos_cookies_same_site", skip_serializing_if = "Option::is_none")]
273    pub kratos_cookies_same_site: Option<String>,
274    #[serde(rename = "kratos_courier_channels", skip_serializing_if = "Option::is_none")]
275    pub kratos_courier_channels: Option<Vec<models::NormalizedProjectRevisionCourierChannel>>,
276    /// The delivery strategy to use when sending emails  This governs the \"courier.delivery_strategy\" setting.  - `smtp`: Use SMTP server - `http`: Use the built in HTTP client to send the email to some remote service
277    #[serde(rename = "kratos_courier_delivery_strategy", skip_serializing_if = "Option::is_none")]
278    pub kratos_courier_delivery_strategy: Option<String>,
279    /// The location of the API key to use in the HTTP email sending service's authentication  - `header`: Send the key value pair as a header - `cookie`: Send the key value pair as a cookie This governs the \"courier.http.request_config.auth.config.in\" setting.
280    #[serde(rename = "kratos_courier_http_request_config_auth_api_key_in", skip_serializing_if = "Option::is_none")]
281    pub kratos_courier_http_request_config_auth_api_key_in: Option<String>,
282    /// The name of the API key to use in the HTTP email sending service's authentication  This governs the \"courier.http.request_config.auth.config.name\" setting.
283    #[serde(rename = "kratos_courier_http_request_config_auth_api_key_name", skip_serializing_if = "Option::is_none")]
284    pub kratos_courier_http_request_config_auth_api_key_name: Option<String>,
285    /// The value of the API key to use in the HTTP email sending service's authentication  This governs the \"courier.http.request_config.auth.config.value\" setting.
286    #[serde(rename = "kratos_courier_http_request_config_auth_api_key_value", skip_serializing_if = "Option::is_none")]
287    pub kratos_courier_http_request_config_auth_api_key_value: Option<String>,
288    /// The password to use for basic auth in the HTTP email sending service's authentication  This governs the \"courier.http.request_config.auth.config.password\" setting.
289    #[serde(rename = "kratos_courier_http_request_config_auth_basic_auth_password", skip_serializing_if = "Option::is_none")]
290    pub kratos_courier_http_request_config_auth_basic_auth_password: Option<String>,
291    /// The user to use for basic auth in the HTTP email sending service's authentication  This governs the \"courier.http.request_config.auth.config.user\" setting.
292    #[serde(rename = "kratos_courier_http_request_config_auth_basic_auth_user", skip_serializing_if = "Option::is_none")]
293    pub kratos_courier_http_request_config_auth_basic_auth_user: Option<String>,
294    /// The authentication type to use while contacting the remote HTTP email sending service  This governs the \"courier.http.request_config.auth.type\" setting.  - `basic_auth`: Use Basic Authentication - `api_key`: Use API Key Authentication in a header or cookie
295    #[serde(rename = "kratos_courier_http_request_config_auth_type", skip_serializing_if = "Option::is_none")]
296    pub kratos_courier_http_request_config_auth_type: Option<String>,
297    /// The Jsonnet template to generate the body to send to the remote HTTP email sending service  Should be valid Jsonnet and base64 encoded  This governs the \"courier.http.request_config.body\" setting.
298    #[serde(rename = "kratos_courier_http_request_config_body", skip_serializing_if = "Option::is_none")]
299    pub kratos_courier_http_request_config_body: Option<String>,
300    /// Any additional headers to send to the remote HTTP email sending service  This governs the \"courier.http.request_config.headers\" setting.
301    #[serde(rename = "kratos_courier_http_request_config_headers", skip_serializing_if = "Option::is_none")]
302    pub kratos_courier_http_request_config_headers: Option<serde_json::Value>,
303    /// The http METHOD to use when calling the remote HTTP email sending service  This governs the \"courier.http.request_config.method\" setting.
304    #[serde(rename = "kratos_courier_http_request_config_method", skip_serializing_if = "Option::is_none")]
305    pub kratos_courier_http_request_config_method: Option<String>,
306    /// The URL of the remote HTTP email sending service  This governs the \"courier.http.request_config.url\" setting.
307    #[serde(rename = "kratos_courier_http_request_config_url", skip_serializing_if = "Option::is_none")]
308    pub kratos_courier_http_request_config_url: Option<String>,
309    /// Configures the Ory Kratos SMTP Connection URI  This governs the \"courier.smtp.connection_uri\" setting.
310    #[serde(rename = "kratos_courier_smtp_connection_uri", skip_serializing_if = "Option::is_none")]
311    pub kratos_courier_smtp_connection_uri: Option<String>,
312    /// Configures the Ory Kratos SMTP From Address  This governs the \"courier.smtp.from_address\" setting.
313    #[serde(rename = "kratos_courier_smtp_from_address", skip_serializing_if = "Option::is_none")]
314    pub kratos_courier_smtp_from_address: Option<String>,
315    /// Configures the Ory Kratos SMTP From Name  This governs the \"courier.smtp.from_name\" setting.
316    #[serde(rename = "kratos_courier_smtp_from_name", skip_serializing_if = "Option::is_none")]
317    pub kratos_courier_smtp_from_name: Option<String>,
318    /// Configures the Ory Kratos SMTP Connection Headers  This governs the \"courier.smtp.headers\" setting.
319    #[serde(rename = "kratos_courier_smtp_headers", skip_serializing_if = "Option::is_none")]
320    pub kratos_courier_smtp_headers: Option<serde_json::Value>,
321    /// Configures the local_name to use in SMTP connections  This governs the \"courier.smtp.local_name\" setting.
322    #[serde(rename = "kratos_courier_smtp_local_name", skip_serializing_if = "Option::is_none")]
323    pub kratos_courier_smtp_local_name: Option<String>,
324    /// Configures the Ory Kratos Valid Login via Code Email Body HTML Template  This governs the \"courier.templates.login_code.valid.email.body.html\" setting.
325    #[serde(rename = "kratos_courier_templates_login_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
326    pub kratos_courier_templates_login_code_valid_email_body_html: Option<String>,
327    /// Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template  This governs the \"courier.templates.login_code.valid.email.body.plaintext\" setting.
328    #[serde(rename = "kratos_courier_templates_login_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
329    pub kratos_courier_templates_login_code_valid_email_body_plaintext: Option<String>,
330    /// Configures the Ory Kratos Valid Login via Code Email Subject Template  This governs the \"courier.templates.login_code.valid.email.subject\" setting.
331    #[serde(rename = "kratos_courier_templates_login_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
332    pub kratos_courier_templates_login_code_valid_email_subject: Option<String>,
333    /// Configures the Ory Kratos Valid Login via Code SMS plain text body  This governs the \"courier.templates.login_code.valid.sms.body.plaintext\" setting.
334    #[serde(rename = "kratos_courier_templates_login_code_valid_sms_body_plaintext", skip_serializing_if = "Option::is_none")]
335    pub kratos_courier_templates_login_code_valid_sms_body_plaintext: Option<String>,
336    /// Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template  This governs the \"courier.templates.recovery_code.invalid.email.body.html\" setting.
337    #[serde(rename = "kratos_courier_templates_recovery_code_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
338    pub kratos_courier_templates_recovery_code_invalid_email_body_html: Option<String>,
339    /// Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template  This governs the \"courier.templates.recovery_code.invalid.email.body.plaintext\" setting.
340    #[serde(rename = "kratos_courier_templates_recovery_code_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
341    pub kratos_courier_templates_recovery_code_invalid_email_body_plaintext: Option<String>,
342    /// Configures the Ory Kratos Invalid Recovery via Code Email Subject Template  This governs the \"courier.templates.recovery_code.invalid.email.subject\" setting.
343    #[serde(rename = "kratos_courier_templates_recovery_code_invalid_email_subject", skip_serializing_if = "Option::is_none")]
344    pub kratos_courier_templates_recovery_code_invalid_email_subject: Option<String>,
345    /// Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template  This governs the \"courier.templates.recovery_code.valid.email.body.html\" setting.
346    #[serde(rename = "kratos_courier_templates_recovery_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
347    pub kratos_courier_templates_recovery_code_valid_email_body_html: Option<String>,
348    /// Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template  This governs the \"courier.templates.recovery_code.valid.email.body.plaintext\" setting.
349    #[serde(rename = "kratos_courier_templates_recovery_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
350    pub kratos_courier_templates_recovery_code_valid_email_body_plaintext: Option<String>,
351    /// Configures the Ory Kratos Valid Recovery via Code Email Subject Template  This governs the \"courier.templates.recovery_code.valid.email.subject\" setting.
352    #[serde(rename = "kratos_courier_templates_recovery_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
353    pub kratos_courier_templates_recovery_code_valid_email_subject: Option<String>,
354    /// Configures the Ory Kratos Invalid Recovery Email Body HTML Template  This governs the \"courier.templates.recovery.invalid.email.body.html\" setting.
355    #[serde(rename = "kratos_courier_templates_recovery_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
356    pub kratos_courier_templates_recovery_invalid_email_body_html: Option<String>,
357    /// Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template  This governs the \"courier.templates.recovery.invalid.email.body.plaintext\" setting.
358    #[serde(rename = "kratos_courier_templates_recovery_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
359    pub kratos_courier_templates_recovery_invalid_email_body_plaintext: Option<String>,
360    /// Configures the Ory Kratos Invalid Recovery Email Subject Template  This governs the \"courier.templates.recovery.invalid.email.subject\" setting.
361    #[serde(rename = "kratos_courier_templates_recovery_invalid_email_subject", skip_serializing_if = "Option::is_none")]
362    pub kratos_courier_templates_recovery_invalid_email_subject: Option<String>,
363    /// Configures the Ory Kratos Valid Recovery Email Body HTML Template  This governs the \"courier.templates.recovery.valid.email.body.html\" setting.
364    #[serde(rename = "kratos_courier_templates_recovery_valid_email_body_html", skip_serializing_if = "Option::is_none")]
365    pub kratos_courier_templates_recovery_valid_email_body_html: Option<String>,
366    /// Configures the Ory Kratos Valid Recovery Email Body Plaintext Template  This governs the \"courier.templates.recovery.valid.email.body.plaintext\" setting.
367    #[serde(rename = "kratos_courier_templates_recovery_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
368    pub kratos_courier_templates_recovery_valid_email_body_plaintext: Option<String>,
369    /// Configures the Ory Kratos Valid Recovery Email Subject Template  This governs the \"courier.templates.recovery.valid.email.subject\" setting.
370    #[serde(rename = "kratos_courier_templates_recovery_valid_email_subject", skip_serializing_if = "Option::is_none")]
371    pub kratos_courier_templates_recovery_valid_email_subject: Option<String>,
372    /// Configures the Ory Kratos Valid Registration via Code Email Body HTML Template  This governs the \"courier.templates.registration_code.valid.email.body.html\" setting.
373    #[serde(rename = "kratos_courier_templates_registration_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
374    pub kratos_courier_templates_registration_code_valid_email_body_html: Option<String>,
375    /// Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template  This governs the \"courier.templates.registration_code.valid.email.body.plaintext\" setting.
376    #[serde(rename = "kratos_courier_templates_registration_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
377    pub kratos_courier_templates_registration_code_valid_email_body_plaintext: Option<String>,
378    /// Configures the Ory Kratos Valid Registration via Code Email Subject Template  This governs the \"courier.templates.registration_code.valid.email.subject\" setting.
379    #[serde(rename = "kratos_courier_templates_registration_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
380    pub kratos_courier_templates_registration_code_valid_email_subject: Option<String>,
381    /// Configures the Ory Kratos Valid Registration via Code SMS Body Plaintext Template  This governs the \"courier.templates.registration_code.valid.sms.body.plaintext\" setting.
382    #[serde(rename = "kratos_courier_templates_registration_code_valid_sms_body_plaintext", skip_serializing_if = "Option::is_none")]
383    pub kratos_courier_templates_registration_code_valid_sms_body_plaintext: Option<String>,
384    /// Configures the Ory Kratos Verifiable Address Changed Email Body HTML Template  This governs the \"courier.templates.verifiable_address_changed.email.body.html\" setting.
385    #[serde(rename = "kratos_courier_templates_verifiable_address_changed_email_body_html", skip_serializing_if = "Option::is_none")]
386    pub kratos_courier_templates_verifiable_address_changed_email_body_html: Option<String>,
387    /// Configures the Ory Kratos Verifiable Address Changed Email Body Plaintext Template  This governs the \"courier.templates.verifiable_address_changed.email.body.plaintext\" setting.
388    #[serde(rename = "kratos_courier_templates_verifiable_address_changed_email_body_plaintext", skip_serializing_if = "Option::is_none")]
389    pub kratos_courier_templates_verifiable_address_changed_email_body_plaintext: Option<String>,
390    /// Configures the Ory Kratos Verifiable Address Changed Email Subject Template  This governs the \"courier.templates.verifiable_address_changed.email.subject\" setting.
391    #[serde(rename = "kratos_courier_templates_verifiable_address_changed_email_subject", skip_serializing_if = "Option::is_none")]
392    pub kratos_courier_templates_verifiable_address_changed_email_subject: Option<String>,
393    /// Configures the Ory Kratos Verifiable Address Changed SMS Body Plaintext Template  This governs the \"courier.templates.verifiable_address_changed.sms.body.plaintext\" setting.
394    #[serde(rename = "kratos_courier_templates_verifiable_address_changed_sms_body_plaintext", skip_serializing_if = "Option::is_none")]
395    pub kratos_courier_templates_verifiable_address_changed_sms_body_plaintext: Option<String>,
396    /// Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template  This governs the \"courier.templates.verification_code.invalid.email.body.html\" setting.
397    #[serde(rename = "kratos_courier_templates_verification_code_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
398    pub kratos_courier_templates_verification_code_invalid_email_body_html: Option<String>,
399    /// Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template  This governs the \"courier.templates.verification_code.invalid.email.body.plaintext\" setting.
400    #[serde(rename = "kratos_courier_templates_verification_code_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
401    pub kratos_courier_templates_verification_code_invalid_email_body_plaintext: Option<String>,
402    /// Configures the Ory Kratos Invalid Verification via Code Email Subject Template  This governs the \"courier.templates.verification_code.invalid.email.subject\" setting.
403    #[serde(rename = "kratos_courier_templates_verification_code_invalid_email_subject", skip_serializing_if = "Option::is_none")]
404    pub kratos_courier_templates_verification_code_invalid_email_subject: Option<String>,
405    /// Configures the Ory Kratos Valid Verification via Code Email Body HTML Template  This governs the \"courier.templates.verification_code.valid.email.body.html\" setting.
406    #[serde(rename = "kratos_courier_templates_verification_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
407    pub kratos_courier_templates_verification_code_valid_email_body_html: Option<String>,
408    /// Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template  This governs the \"courier.templates.verification_code.valid.email.body.plaintext\" setting.
409    #[serde(rename = "kratos_courier_templates_verification_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
410    pub kratos_courier_templates_verification_code_valid_email_body_plaintext: Option<String>,
411    /// Configures the Ory Kratos Valid Verification via Code Email Subject Template  This governs the \"courier.templates.verification_code.valid.email.subject\" setting.
412    #[serde(rename = "kratos_courier_templates_verification_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
413    pub kratos_courier_templates_verification_code_valid_email_subject: Option<String>,
414    /// Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext  This governs the \"courier.templates.verification_code.valid.sms.body.plaintext\" setting.
415    #[serde(rename = "kratos_courier_templates_verification_code_valid_sms_body_plaintext", skip_serializing_if = "Option::is_none")]
416    pub kratos_courier_templates_verification_code_valid_sms_body_plaintext: Option<String>,
417    /// Configures the Ory Kratos Invalid Verification Email Body HTML Template  This governs the \"courier.templates.verification.invalid.email.body.html\" setting.
418    #[serde(rename = "kratos_courier_templates_verification_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
419    pub kratos_courier_templates_verification_invalid_email_body_html: Option<String>,
420    /// Configures the Ory Kratos Invalid Verification Email Body Plaintext Template  This governs the \"courier.templates.verification.invalid.email.body.plaintext\" setting.
421    #[serde(rename = "kratos_courier_templates_verification_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
422    pub kratos_courier_templates_verification_invalid_email_body_plaintext: Option<String>,
423    /// Configures the Ory Kratos Invalid Verification Email Subject Template  This governs the \"courier.templates.verification.invalid.email.subject\" setting.
424    #[serde(rename = "kratos_courier_templates_verification_invalid_email_subject", skip_serializing_if = "Option::is_none")]
425    pub kratos_courier_templates_verification_invalid_email_subject: Option<String>,
426    /// Configures the Ory Kratos Valid Verification Email Body HTML Template  This governs the \"courier.templates.verification.valid.email.body.html\" setting.
427    #[serde(rename = "kratos_courier_templates_verification_valid_email_body_html", skip_serializing_if = "Option::is_none")]
428    pub kratos_courier_templates_verification_valid_email_body_html: Option<String>,
429    /// Configures the Ory Kratos Valid Verification Email Body Plaintext Template  This governs the \"courier.templates.verification.valid.email.body.plaintext\" setting.
430    #[serde(rename = "kratos_courier_templates_verification_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
431    pub kratos_courier_templates_verification_valid_email_body_plaintext: Option<String>,
432    /// Configures the Ory Kratos Valid Verification Email Subject Template  This governs the \"courier.templates.verification.valid.email.subject\" setting.
433    #[serde(rename = "kratos_courier_templates_verification_valid_email_subject", skip_serializing_if = "Option::is_none")]
434    pub kratos_courier_templates_verification_valid_email_subject: Option<String>,
435    /// Configures the Ory Kratos Session caching feature flag  This governs the \"feature_flags.cacheable_sessions\" setting.
436    #[serde(rename = "kratos_feature_flags_cacheable_sessions", skip_serializing_if = "Option::is_none")]
437    pub kratos_feature_flags_cacheable_sessions: Option<bool>,
438    /// Configures the Ory Kratos Session caching max-age feature flag  This governs the \"feature_flags.cacheable_sessions_max_age\" setting.
439    #[serde(rename = "kratos_feature_flags_cacheable_sessions_max_age", skip_serializing_if = "Option::is_none")]
440    pub kratos_feature_flags_cacheable_sessions_max_age: Option<String>,
441    /// This governs the \"feature_flags.choose_recovery_address\" setting.
442    #[serde(rename = "kratos_feature_flags_choose_recovery_address", skip_serializing_if = "Option::is_none")]
443    pub kratos_feature_flags_choose_recovery_address: Option<bool>,
444    /// Configures whether Ory Kratos enforces the identity schema guards  If enabled, an identity schema that does not pass the identity schema guards is rejected. If disabled, the result is logged and the schema is used.  This governs the \"feature_flags.enforce_identity_schema_guards\" setting.
445    #[serde(rename = "kratos_feature_flags_enforce_identity_schema_guards", skip_serializing_if = "Option::is_none")]
446    pub kratos_feature_flags_enforce_identity_schema_guards: Option<bool>,
447    /// Configures the Ory Kratos Faster Session Extend setting  If enabled allows faster session extension by skipping the session lookup and returning 201 instead of 200. Disabling this feature will be deprecated in the future.  This governs the \"feature_flags.faster_session_extend\" setting.
448    #[serde(rename = "kratos_feature_flags_faster_session_extend", skip_serializing_if = "Option::is_none")]
449    pub kratos_feature_flags_faster_session_extend: Option<bool>,
450    /// Always include show_verification_ui in continue_with  If true, restores the legacy behavior of always including `show_verification_ui` in the registration flow's `continue_with` when verification is enabled. If set to false, `show_verification_ui` is only set in `continue_with` if the `show_verification_ui` hook is used. This flag will be removed in the future.  This governs the \"feature_flags.legacy_continue_with_verification_ui\" setting.
451    #[serde(rename = "kratos_feature_flags_legacy_continue_with_verification_ui", skip_serializing_if = "Option::is_none")]
452    pub kratos_feature_flags_legacy_continue_with_verification_ui: Option<bool>,
453    /// Controls whether the UI nodes in an OIDC registration flow have group \"oidc\" in case required fields are not returned by the OIDC provider.  If set to true, the UI nodes will have group \"oidc\" and the flow will be considered successful if the user completes the flow. This is the legacy behavior.  This governs the \"feature_flags.legacy_oidc_registration_node_group\" setting.
454    #[serde(rename = "kratos_feature_flags_legacy_oidc_registration_node_group", skip_serializing_if = "Option::is_none")]
455    pub kratos_feature_flags_legacy_oidc_registration_node_group: Option<bool>,
456    /// Return a form error if the login identifier is not verified  If true, the login flow will return a form error if the login identifier is not verified, which restores legacy behavior. If this value is false, the `continue_with` array will contain a `show_verification_ui` hook instead.  This flag is deprecated and will be removed in the future.  This governs the \"feature_flags.legacy_require_verified_login_error\" setting.
457    #[serde(rename = "kratos_feature_flags_legacy_require_verified_login_error", skip_serializing_if = "Option::is_none")]
458    pub kratos_feature_flags_legacy_require_verified_login_error: Option<bool>,
459    /// Configures the group for the password method in the registration flow.  If true, it sets the password method group value to \"password\" if it is the only method available. This is the legacy behavior. If false is, it sets the password method group value to \"default\".  This governs the \"feature_flags.password_profile_registration_node_group\" setting.
460    #[serde(rename = "kratos_feature_flags_password_profile_registration_node_group", skip_serializing_if = "Option::is_none")]
461    pub kratos_feature_flags_password_profile_registration_node_group: Option<bool>,
462    /// Render an address picker on the code refresh login screen  If true, a code-strategy refresh (privileged re-authentication) login renders a \"Send code to <address>\" button per available code address instead of re-asking for the identifier. The identity is already fixed by the active session, so re-entering the identifier is unnecessary. It is safe to toggle this back and forth.  This governs the \"feature_flags.refresh_login_choose_address\" setting.
463    #[serde(rename = "kratos_feature_flags_refresh_login_choose_address", skip_serializing_if = "Option::is_none")]
464    pub kratos_feature_flags_refresh_login_choose_address: Option<bool>,
465    /// Configures the Ory Kratos Session use_continue_with_transitions flag  This governs the \"feature_flags.use_continue_with_transitions\" setting.
466    #[serde(rename = "kratos_feature_flags_use_continue_with_transitions", skip_serializing_if = "Option::is_none")]
467    pub kratos_feature_flags_use_continue_with_transitions: Option<bool>,
468    /// Honor flow directives in web hook responses  If true, a login `after` web hook whose `response.parse` is enabled may return `{\"required_aal\":\"aal2\"}` to require step-up for that login. Identities without a second factor are routed to enrollment. Off by default, because a web hook that already returns a `required_aal` field has it ignored today and enabling that silently would change how existing logins end.  This governs the \"feature_flags.webhook_response_directives\" setting.
469    #[serde(rename = "kratos_feature_flags_webhook_response_directives", skip_serializing_if = "Option::is_none")]
470    pub kratos_feature_flags_webhook_response_directives: Option<bool>,
471    #[serde(rename = "kratos_identity_schemas", skip_serializing_if = "Option::is_none")]
472    pub kratos_identity_schemas: Option<Vec<models::NormalizedProjectRevisionIdentitySchema>>,
473    /// Configures the OAuth2 Provider Integration HTTP Headers  This governs the \"oauth2_provider.headers\" setting.
474    #[serde(rename = "kratos_oauth2_provider_headers", skip_serializing_if = "Option::is_none")]
475    pub kratos_oauth2_provider_headers: Option<serde_json::Value>,
476    /// Kratos OAuth2 Provider Override Return To  Enabling this allows Kratos to set the return_to parameter automatically to the OAuth2 request URL on the login flow, allowing complex flows such as recovery to continue to the initial OAuth2 flow.  This governs the \"oauth2_provider.override_return_to\" setting.
477    #[serde(rename = "kratos_oauth2_provider_override_return_to", skip_serializing_if = "Option::is_none")]
478    pub kratos_oauth2_provider_override_return_to: Option<bool>,
479    /// The Revisions' OAuth2 Provider Integration URL  This governs the \"oauth2_provider.url\" setting.
480    #[serde(rename = "kratos_oauth2_provider_url", skip_serializing_if = "Option::is_none")]
481    pub kratos_oauth2_provider_url: Option<String>,
482    /// Configures the default read consistency level for identity APIs  The read consistency level determines the consistency guarantee for reads:  - strong (slow): The read is guaranteed to return the most recent data committed at the start of the read. - eventual (very fast): The result will return data that is about 4.8 seconds old.  Setting the default consistency level to `eventual` may cause regressions in the future as we add consistency controls to more APIs. Currently, the following APIs will be affected by this setting:  - `GET /admin/identities`  Defaults to \"strong\" for new and existing projects. This feature is in preview. Use with caution. This governs the \"preview.default_read_consistency_level\" setting.
483    #[serde(rename = "kratos_preview_default_read_consistency_level", skip_serializing_if = "Option::is_none")]
484    pub kratos_preview_default_read_consistency_level: Option<String>,
485    /// Configures whether the native Ory Kratos SAML engine is enabled (preview).  This is the preview flag that gates the native SAML engine. While it is false or unset, native SAML providers are inert and the native endpoints respond with 404. In Ory Network, turning it on requires the native_saml_engine feature.  This governs the \"preview.enable_native_saml_engine\" setting.
486    #[serde(rename = "kratos_preview_enable_native_saml_engine", skip_serializing_if = "Option::is_none")]
487    pub kratos_preview_enable_native_saml_engine: Option<bool>,
488    /// Configures the Ory Kratos Cipher Secret  This governs the \"secrets.cipher\" setting.
489    #[serde(rename = "kratos_secrets_cipher", skip_serializing_if = "Option::is_none")]
490    pub kratos_secrets_cipher: Option<Vec<String>>,
491    /// Configures the Ory Kratos Cookie Secret  This governs the \"secrets.cookie\" setting.
492    #[serde(rename = "kratos_secrets_cookie", skip_serializing_if = "Option::is_none")]
493    pub kratos_secrets_cookie: Option<Vec<String>>,
494    /// Configures the Ory Kratos Default Secret  This governs the \"secrets.default\" setting.
495    #[serde(rename = "kratos_secrets_default", skip_serializing_if = "Option::is_none")]
496    pub kratos_secrets_default: Option<Vec<String>>,
497    /// Configures the Ory Kratos Pagination Secret  This governs the \"secrets.pagination\" setting.
498    #[serde(rename = "kratos_secrets_pagination", skip_serializing_if = "Option::is_none")]
499    pub kratos_secrets_pagination: Option<Vec<String>>,
500    /// Configures if account enumeration should be mitigated when using identifier first login.  This governs the \"security.account_enumeration.mitigate\" setting.
501    #[serde(rename = "kratos_security_account_enumeration_mitigate", skip_serializing_if = "Option::is_none")]
502    pub kratos_security_account_enumeration_mitigate: Option<bool>,
503    /// Configures the Restricted Origins  Origins that may only check the session, use FedCM, and log out, such as pages that run third-party scripts. Responses to these origins never contain identity data. To let these origins read responses, also add them to the CORS allowed origins.  This governs the \"security.restricted_origins\" setting.
504    #[serde(rename = "kratos_security_restricted_origins", skip_serializing_if = "Option::is_none")]
505    pub kratos_security_restricted_origins: Option<Vec<String>>,
506    /// Configures the Ory Kratos Allowed Return URLs  This governs the \"selfservice.allowed_return_urls\" setting.
507    #[serde(rename = "kratos_selfservice_allowed_return_urls", skip_serializing_if = "Option::is_none")]
508    pub kratos_selfservice_allowed_return_urls: Option<Vec<String>>,
509    /// Configures the Ory Kratos Default Return URL  This governs the \"selfservice.default_browser_return_url\" setting.
510    #[serde(rename = "kratos_selfservice_default_browser_return_url", skip_serializing_if = "Option::is_none")]
511    pub kratos_selfservice_default_browser_return_url: Option<String>,
512    /// Configures the Ory Kratos Error UI URL  This governs the \"selfservice.flows.error.ui_url\" setting.
513    #[serde(rename = "kratos_selfservice_flows_error_ui_url", skip_serializing_if = "Option::is_none")]
514    pub kratos_selfservice_flows_error_ui_url: Option<String>,
515    /// Configures the Ory Kratos Login After Code Default Return URL  This governs the \"selfservice.flows.login.after.code.default_browser_return_url\" setting.
516    #[serde(rename = "kratos_selfservice_flows_login_after_code_default_browser_return_url", skip_serializing_if = "Option::is_none")]
517    pub kratos_selfservice_flows_login_after_code_default_browser_return_url: Option<String>,
518    /// Configures the Ory Kratos Login Default Return URL  This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting.
519    #[serde(rename = "kratos_selfservice_flows_login_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
520    pub kratos_selfservice_flows_login_after_default_browser_return_url: Option<String>,
521    /// Configures the Ory Kratos Login After Lookup Secret Default Return URL  This governs the \"selfservice.flows.login.after.lookup_secret.default_browser_return_url\" setting.
522    #[serde(rename = "kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url", skip_serializing_if = "Option::is_none")]
523    pub kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url: Option<String>,
524    /// Configures the Ory Kratos Login After OIDC Default Return URL  This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting.
525    #[serde(rename = "kratos_selfservice_flows_login_after_oidc_default_browser_return_url", skip_serializing_if = "Option::is_none")]
526    pub kratos_selfservice_flows_login_after_oidc_default_browser_return_url: Option<String>,
527    /// Configures the Ory Kratos Login After Passkey Default Return URL  This governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting.
528    #[serde(rename = "kratos_selfservice_flows_login_after_passkey_default_browser_return_url", skip_serializing_if = "Option::is_none")]
529    pub kratos_selfservice_flows_login_after_passkey_default_browser_return_url: Option<String>,
530    /// Configures the Ory Kratos Login After Password Default Return URL  This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting.
531    #[serde(rename = "kratos_selfservice_flows_login_after_password_default_browser_return_url", skip_serializing_if = "Option::is_none")]
532    pub kratos_selfservice_flows_login_after_password_default_browser_return_url: Option<String>,
533    /// Configures the Ory Kratos Login After TOTP Default Return URL  This governs the \"selfservice.flows.login.after.totp.default_browser_return_url\" setting.
534    #[serde(rename = "kratos_selfservice_flows_login_after_totp_default_browser_return_url", skip_serializing_if = "Option::is_none")]
535    pub kratos_selfservice_flows_login_after_totp_default_browser_return_url: Option<String>,
536    /// Configures the Ory Kratos Login After WebAuthn Default Return URL  This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting.
537    #[serde(rename = "kratos_selfservice_flows_login_after_webauthn_default_browser_return_url", skip_serializing_if = "Option::is_none")]
538    pub kratos_selfservice_flows_login_after_webauthn_default_browser_return_url: Option<String>,
539    /// Configures whether failed sign-ins are throttled with exponential backoff  Turning it off keeps the thresholds, so it can be turned back on without entering them again. Requires an Enterprise plan.  This governs the \"selfservice.flows.login.brute_force_protection.enabled\" setting.
540    #[serde(rename = "kratos_selfservice_flows_login_brute_force_protection_enabled", skip_serializing_if = "Option::is_none")]
541    pub kratos_selfservice_flows_login_brute_force_protection_enabled: Option<bool>,
542    /// Configures the first delay for an identifier once its threshold is exceeded, for example \"1s\"  The delay doubles with every further failure.  This governs the \"selfservice.flows.login.brute_force_protection.identifier.exponential_backoff.initial\" setting.
543    #[serde(rename = "kratos_selfservice_flows_login_brute_force_protection_identifier_exponential_backoff_initial", skip_serializing_if = "Option::is_none")]
544    pub kratos_selfservice_flows_login_brute_force_protection_identifier_exponential_backoff_initial: Option<String>,
545    /// Configures the longest delay for an identifier, for example \"15m\", at most \"8760h\"  This governs the \"selfservice.flows.login.brute_force_protection.identifier.exponential_backoff.max\" setting.
546    #[serde(rename = "kratos_selfservice_flows_login_brute_force_protection_identifier_exponential_backoff_max", skip_serializing_if = "Option::is_none")]
547    pub kratos_selfservice_flows_login_brute_force_protection_identifier_exponential_backoff_max: Option<String>,
548    /// Configures how many failed sign-ins per identifier the window tolerates before delays start  This governs the \"selfservice.flows.login.brute_force_protection.identifier.max_failures\" setting.
549    #[serde(rename = "kratos_selfservice_flows_login_brute_force_protection_identifier_max_failures", skip_serializing_if = "Option::is_none")]
550    pub kratos_selfservice_flows_login_brute_force_protection_identifier_max_failures: Option<i64>,
551    /// Configures how long the failure count of an identifier lives after its first failure, for example \"5m\"  This governs the \"selfservice.flows.login.brute_force_protection.identifier.window\" setting.
552    #[serde(rename = "kratos_selfservice_flows_login_brute_force_protection_identifier_window", skip_serializing_if = "Option::is_none")]
553    pub kratos_selfservice_flows_login_brute_force_protection_identifier_window: Option<String>,
554    /// Configures the first delay for a client IP once its threshold is exceeded, for example \"1s\"  The delay doubles with every further failure.  This governs the \"selfservice.flows.login.brute_force_protection.ip.exponential_backoff.initial\" setting.
555    #[serde(rename = "kratos_selfservice_flows_login_brute_force_protection_ip_exponential_backoff_initial", skip_serializing_if = "Option::is_none")]
556    pub kratos_selfservice_flows_login_brute_force_protection_ip_exponential_backoff_initial: Option<String>,
557    /// Configures the longest delay for a client IP, for example \"15m\", at most \"8760h\"  This governs the \"selfservice.flows.login.brute_force_protection.ip.exponential_backoff.max\" setting.
558    #[serde(rename = "kratos_selfservice_flows_login_brute_force_protection_ip_exponential_backoff_max", skip_serializing_if = "Option::is_none")]
559    pub kratos_selfservice_flows_login_brute_force_protection_ip_exponential_backoff_max: Option<String>,
560    /// Configures how many failed sign-ins per client IP the window tolerates before delays start  This governs the \"selfservice.flows.login.brute_force_protection.ip.max_failures\" setting.
561    #[serde(rename = "kratos_selfservice_flows_login_brute_force_protection_ip_max_failures", skip_serializing_if = "Option::is_none")]
562    pub kratos_selfservice_flows_login_brute_force_protection_ip_max_failures: Option<i64>,
563    /// Configures how long the failure count of a client IP lives after its first failure, for example \"1m\"  This governs the \"selfservice.flows.login.brute_force_protection.ip.window\" setting.
564    #[serde(rename = "kratos_selfservice_flows_login_brute_force_protection_ip_window", skip_serializing_if = "Option::is_none")]
565    pub kratos_selfservice_flows_login_brute_force_protection_ip_window: Option<String>,
566    /// Configures the Ory Kratos Login Lifespan  This governs the \"selfservice.flows.login.lifespan\" setting.
567    #[serde(rename = "kratos_selfservice_flows_login_lifespan", skip_serializing_if = "Option::is_none")]
568    pub kratos_selfservice_flows_login_lifespan: Option<String>,
569    /// Configures the Ory Kratos Login Flow Style  This governs the \"selfservice.flows.login.style\" setting. Possible values are \"unified\" and \"identifier_first\".
570    #[serde(rename = "kratos_selfservice_flows_login_style", skip_serializing_if = "Option::is_none")]
571    pub kratos_selfservice_flows_login_style: Option<String>,
572    /// Configures the Ory Kratos Login UI URL  This governs the \"selfservice.flows.login.ui_url\" setting.
573    #[serde(rename = "kratos_selfservice_flows_login_ui_url", skip_serializing_if = "Option::is_none")]
574    pub kratos_selfservice_flows_login_ui_url: Option<String>,
575    /// Configures the Ory Kratos Logout Default Return URL  This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting.
576    #[serde(rename = "kratos_selfservice_flows_logout_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
577    pub kratos_selfservice_flows_logout_after_default_browser_return_url: Option<String>,
578    /// Configures the Ory Kratos Recovery Default Return URL  This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting.
579    #[serde(rename = "kratos_selfservice_flows_recovery_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
580    pub kratos_selfservice_flows_recovery_after_default_browser_return_url: Option<String>,
581    /// Configures the Ory Kratos Recovery Enabled Setting  This governs the \"selfservice.flows.recovery.enabled\" setting.
582    #[serde(rename = "kratos_selfservice_flows_recovery_enabled", skip_serializing_if = "Option::is_none")]
583    pub kratos_selfservice_flows_recovery_enabled: Option<bool>,
584    /// Configures the Ory Kratos Recovery Lifespan  This governs the \"selfservice.flows.recovery.lifespan\" setting.
585    #[serde(rename = "kratos_selfservice_flows_recovery_lifespan", skip_serializing_if = "Option::is_none")]
586    pub kratos_selfservice_flows_recovery_lifespan: Option<String>,
587    /// Configures whether to notify unknown recipients of a Ory Kratos recovery flow  This governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting.
588    #[serde(rename = "kratos_selfservice_flows_recovery_notify_unknown_recipients", skip_serializing_if = "Option::is_none")]
589    pub kratos_selfservice_flows_recovery_notify_unknown_recipients: Option<bool>,
590    /// Configures the Ory Kratos Recovery UI URL  This governs the \"selfservice.flows.recovery.ui_url\" setting.
591    #[serde(rename = "kratos_selfservice_flows_recovery_ui_url", skip_serializing_if = "Option::is_none")]
592    pub kratos_selfservice_flows_recovery_ui_url: Option<String>,
593    /// Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\")  This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
594    #[serde(rename = "kratos_selfservice_flows_recovery_use", skip_serializing_if = "Option::is_none")]
595    pub kratos_selfservice_flows_recovery_use: Option<KratosSelfserviceFlowsRecoveryUseEnum>,
596    /// Configures the Ory Kratos Registration After Code Default Return URL  This governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting.
597    #[serde(rename = "kratos_selfservice_flows_registration_after_code_default_browser_return_url", skip_serializing_if = "Option::is_none")]
598    pub kratos_selfservice_flows_registration_after_code_default_browser_return_url: Option<String>,
599    /// Configures the Ory Kratos Registration Default Return URL  This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting.
600    #[serde(rename = "kratos_selfservice_flows_registration_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
601    pub kratos_selfservice_flows_registration_after_default_browser_return_url: Option<String>,
602    /// Configures the Ory Kratos Registration After OIDC Default Return URL  This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting.
603    #[serde(rename = "kratos_selfservice_flows_registration_after_oidc_default_browser_return_url", skip_serializing_if = "Option::is_none")]
604    pub kratos_selfservice_flows_registration_after_oidc_default_browser_return_url: Option<String>,
605    /// Configures the Ory Kratos Registration After Passkey Default Return URL  This governs the \"selfservice.flows.registration.after.passkey.default_browser_return_url\" setting.
606    #[serde(rename = "kratos_selfservice_flows_registration_after_passkey_default_browser_return_url", skip_serializing_if = "Option::is_none")]
607    pub kratos_selfservice_flows_registration_after_passkey_default_browser_return_url: Option<String>,
608    /// Configures the Ory Kratos Registration After Password Default Return URL  This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.
609    #[serde(rename = "kratos_selfservice_flows_registration_after_password_default_browser_return_url", skip_serializing_if = "Option::is_none")]
610    pub kratos_selfservice_flows_registration_after_password_default_browser_return_url: Option<String>,
611    /// Configures the Ory Kratos Registration After Webauthn Default Return URL  This governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting.
612    #[serde(rename = "kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url", skip_serializing_if = "Option::is_none")]
613    pub kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url: Option<String>,
614    /// Disable two-step registration  Two-step registration is a significantly improved sign up flow and recommended when using more than one sign up methods. To revert to one-step registration, set this to `true`.  This governs the \"selfservice.flows.registration.enable_legacy_one_step\" setting.
615    #[serde(rename = "kratos_selfservice_flows_registration_enable_legacy_one_step", skip_serializing_if = "Option::is_none")]
616    pub kratos_selfservice_flows_registration_enable_legacy_one_step: Option<bool>,
617    /// Configures the Whether Ory Kratos Registration is Enabled  This governs the \"selfservice.flows.registration.enabled\" setting.0
618    #[serde(rename = "kratos_selfservice_flows_registration_enabled", skip_serializing_if = "Option::is_none")]
619    pub kratos_selfservice_flows_registration_enabled: Option<bool>,
620    /// Configures the Ory Kratos Registration Lifespan  This governs the \"selfservice.flows.registration.lifespan\" setting.
621    #[serde(rename = "kratos_selfservice_flows_registration_lifespan", skip_serializing_if = "Option::is_none")]
622    pub kratos_selfservice_flows_registration_lifespan: Option<String>,
623    /// Configures the Ory Kratos Registration Login Hints  Shows helpful information when a user tries to sign up with a duplicate account.  This governs the \"selfservice.flows.registration.login_hints\" setting.
624    #[serde(rename = "kratos_selfservice_flows_registration_login_hints", skip_serializing_if = "Option::is_none")]
625    pub kratos_selfservice_flows_registration_login_hints: Option<bool>,
626    /// Configures the Ory Kratos Registration UI URL  This governs the \"selfservice.flows.registration.ui_url\" setting.
627    #[serde(rename = "kratos_selfservice_flows_registration_ui_url", skip_serializing_if = "Option::is_none")]
628    pub kratos_selfservice_flows_registration_ui_url: Option<String>,
629    /// Configures the Ory Kratos Settings Default Return URL  This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting.
630    #[serde(rename = "kratos_selfservice_flows_settings_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
631    pub kratos_selfservice_flows_settings_after_default_browser_return_url: Option<String>,
632    /// Configures the Ory Kratos Settings Default Return URL After Updating Lookup Secrets  This governs the \"selfservice.flows.settings.after.lookup_secret.default_browser_return_url\" setting.
633    #[serde(rename = "kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url", skip_serializing_if = "Option::is_none")]
634    pub kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url: Option<String>,
635    /// Configures the Ory Kratos Settings Default Return URL After Updating Social Sign In  This governs the \"selfservice.flows.settings.after.oidc.default_browser_return_url\" setting.
636    #[serde(rename = "kratos_selfservice_flows_settings_after_oidc_default_browser_return_url", skip_serializing_if = "Option::is_none")]
637    pub kratos_selfservice_flows_settings_after_oidc_default_browser_return_url: Option<String>,
638    /// Configures the Ory Kratos Settings Default Return URL After Updating Passkey  This governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting.
639    #[serde(rename = "kratos_selfservice_flows_settings_after_passkey_default_browser_return_url", skip_serializing_if = "Option::is_none")]
640    pub kratos_selfservice_flows_settings_after_passkey_default_browser_return_url: Option<String>,
641    /// Configures the Ory Kratos Settings Default Return URL After Updating Passwords  This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting.
642    #[serde(rename = "kratos_selfservice_flows_settings_after_password_default_browser_return_url", skip_serializing_if = "Option::is_none")]
643    pub kratos_selfservice_flows_settings_after_password_default_browser_return_url: Option<String>,
644    /// Configures the Ory Kratos Settings Default Return URL After Updating Profiles  This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting.
645    #[serde(rename = "kratos_selfservice_flows_settings_after_profile_default_browser_return_url", skip_serializing_if = "Option::is_none")]
646    pub kratos_selfservice_flows_settings_after_profile_default_browser_return_url: Option<String>,
647    /// Configures the Ory Kratos Settings Default Return URL After Updating TOTP  This governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting.
648    #[serde(rename = "kratos_selfservice_flows_settings_after_totp_default_browser_return_url", skip_serializing_if = "Option::is_none")]
649    pub kratos_selfservice_flows_settings_after_totp_default_browser_return_url: Option<String>,
650    /// Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn  This governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting.
651    #[serde(rename = "kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url", skip_serializing_if = "Option::is_none")]
652    pub kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url: Option<String>,
653    /// Configures the Ory Kratos Settings Lifespan  This governs the \"selfservice.flows.settings.lifespan\" setting.
654    #[serde(rename = "kratos_selfservice_flows_settings_lifespan", skip_serializing_if = "Option::is_none")]
655    pub kratos_selfservice_flows_settings_lifespan: Option<String>,
656    /// Configures the Ory Kratos Settings Privileged Session Max Age  This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting.
657    #[serde(rename = "kratos_selfservice_flows_settings_privileged_session_max_age", skip_serializing_if = "Option::is_none")]
658    pub kratos_selfservice_flows_settings_privileged_session_max_age: Option<String>,
659    /// Configures the Ory Kratos Settings Required AAL  This governs the \"selfservice.flows.settings.required_aal\" setting.
660    #[serde(rename = "kratos_selfservice_flows_settings_required_aal", skip_serializing_if = "Option::is_none")]
661    pub kratos_selfservice_flows_settings_required_aal: Option<String>,
662    /// Configures the Ory Kratos Settings UI URL  This governs the \"selfservice.flows.settings.ui_url\" setting.
663    #[serde(rename = "kratos_selfservice_flows_settings_ui_url", skip_serializing_if = "Option::is_none")]
664    pub kratos_selfservice_flows_settings_ui_url: Option<String>,
665    /// Configures the Ory Kratos Verification Default Return URL  This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting.
666    #[serde(rename = "kratos_selfservice_flows_verification_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
667    pub kratos_selfservice_flows_verification_after_default_browser_return_url: Option<String>,
668    /// Configures the Ory Kratos Verification Enabled Setting  This governs the \"selfservice.flows.verification.enabled\" setting.
669    #[serde(rename = "kratos_selfservice_flows_verification_enabled", skip_serializing_if = "Option::is_none")]
670    pub kratos_selfservice_flows_verification_enabled: Option<bool>,
671    /// Configures the Ory Kratos Verification Lifespan  This governs the \"selfservice.flows.verification.lifespan\" setting.
672    #[serde(rename = "kratos_selfservice_flows_verification_lifespan", skip_serializing_if = "Option::is_none")]
673    pub kratos_selfservice_flows_verification_lifespan: Option<String>,
674    /// Configures whether to notify unknown recipients of a Ory Kratos verification flow  This governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting.
675    #[serde(rename = "kratos_selfservice_flows_verification_notify_unknown_recipients", skip_serializing_if = "Option::is_none")]
676    pub kratos_selfservice_flows_verification_notify_unknown_recipients: Option<bool>,
677    /// Configures the Ory Kratos Verification UI URL  This governs the \"selfservice.flows.verification.ui_url\" setting.
678    #[serde(rename = "kratos_selfservice_flows_verification_ui_url", skip_serializing_if = "Option::is_none")]
679    pub kratos_selfservice_flows_verification_ui_url: Option<String>,
680    /// Configures the Ory Kratos Strategy to use for Verification  This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
681    #[serde(rename = "kratos_selfservice_flows_verification_use", skip_serializing_if = "Option::is_none")]
682    pub kratos_selfservice_flows_verification_use: Option<KratosSelfserviceFlowsVerificationUseEnum>,
683    /// Configures the CAPTCHA allowed domains list  This governs the \"selfservice.methods.captcha.config.allowed_domains\" setting.
684    #[serde(rename = "kratos_selfservice_methods_captcha_config_allowed_domains", skip_serializing_if = "Option::is_none")]
685    pub kratos_selfservice_methods_captcha_config_allowed_domains: Option<Vec<String>>,
686    /// Configures whether to use BYO or managed widget  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.config.byo\" setting.
687    #[serde(rename = "kratos_selfservice_methods_captcha_config_byo", skip_serializing_if = "Option::is_none")]
688    pub kratos_selfservice_methods_captcha_config_byo: Option<bool>,
689    /// Configures the Cloudflare Turnstile site secret for Ory BYO CAPTCHA protection  The site secret is private and will be never be shared with the client. This key is write only and the value will not be returned in response to a read request.  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.config.cf_turnstile.secret\" setting.
690    #[serde(rename = "kratos_selfservice_methods_captcha_config_cf_turnstile_byo_secret", skip_serializing_if = "Option::is_none")]
691    pub kratos_selfservice_methods_captcha_config_cf_turnstile_byo_secret: Option<String>,
692    /// Configures the Cloudflare Turnstile site key for Ory BYO CAPTCHA protection  The site key is public and will be shared with the client.  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.config.cf_turnstile.sitekey\" setting.
693    #[serde(rename = "kratos_selfservice_methods_captcha_config_cf_turnstile_byo_sitekey", skip_serializing_if = "Option::is_none")]
694    pub kratos_selfservice_methods_captcha_config_cf_turnstile_byo_sitekey: Option<String>,
695    /// Configures the Cloudflare Turnstile site secret for managed CAPTCHA protection  The site secret is private and will be never be shared with the client. This key is write only and the value will not be returned in response to a read request.  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.config.cf_turnstile.secret\" setting.
696    #[serde(rename = "kratos_selfservice_methods_captcha_config_cf_turnstile_secret", skip_serializing_if = "Option::is_none")]
697    pub kratos_selfservice_methods_captcha_config_cf_turnstile_secret: Option<String>,
698    /// Configures the Cloudflare Turnstile site key for managed CAPTCHA protection  The site key is public and will be shared with the client.  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.config.cf_turnstile.sitekey\" setting.
699    #[serde(rename = "kratos_selfservice_methods_captcha_config_cf_turnstile_sitekey", skip_serializing_if = "Option::is_none")]
700    pub kratos_selfservice_methods_captcha_config_cf_turnstile_sitekey: Option<String>,
701    /// Configures legacy CAPTCHA node injection behavior  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.config.legacy_inject_node\" setting.
702    #[serde(rename = "kratos_selfservice_methods_captcha_config_legacy_inject_node", skip_serializing_if = "Option::is_none")]
703    pub kratos_selfservice_methods_captcha_config_legacy_inject_node: Option<bool>,
704    /// Configures the Ory Kratos Self-Service Methods' Captcha Enabled Setting  Reach out to your account manager to enable this feature.  This governs the \"selfservice.methods.captcha.enabled\" setting.
705    #[serde(rename = "kratos_selfservice_methods_captcha_enabled", skip_serializing_if = "Option::is_none")]
706    pub kratos_selfservice_methods_captcha_enabled: Option<bool>,
707    /// Configures the characters that one-time codes sent by the code method are made of.  This governs the \"selfservice.methods.code.config.alphabet\" setting.
708    #[serde(rename = "kratos_selfservice_methods_code_config_alphabet", skip_serializing_if = "Option::is_none")]
709    pub kratos_selfservice_methods_code_config_alphabet: Option<String>,
710    /// Configures the number of characters in one-time codes sent by the code method.  This governs the \"selfservice.methods.code.config.length\" setting.
711    #[serde(rename = "kratos_selfservice_methods_code_config_length", skip_serializing_if = "Option::is_none")]
712    pub kratos_selfservice_methods_code_config_length: Option<i64>,
713    /// Configures the Ory Kratos Code Method's lifespan  This governs the \"selfservice.methods.code.config.lifespan\" setting.
714    #[serde(rename = "kratos_selfservice_methods_code_config_lifespan", skip_serializing_if = "Option::is_none")]
715    pub kratos_selfservice_methods_code_config_lifespan: Option<String>,
716    /// Configures the maximum number of attempts to submit a one-time code in kratos.  This governs the \"selfservice.methods.code.max_submissions\" setting.
717    #[serde(rename = "kratos_selfservice_methods_code_config_max_submissions", skip_serializing_if = "Option::is_none")]
718    pub kratos_selfservice_methods_code_config_max_submissions: Option<i64>,
719    /// Enables a fallback method required in certain legacy use cases.  This governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting.
720    #[serde(rename = "kratos_selfservice_methods_code_config_missing_credential_fallback_enabled", skip_serializing_if = "Option::is_none")]
721    pub kratos_selfservice_methods_code_config_missing_credential_fallback_enabled: Option<bool>,
722    /// Configures whether Ory Kratos Code Method is enabled  This governs the \"selfservice.methods.code.enabled\" setting.
723    #[serde(rename = "kratos_selfservice_methods_code_enabled", skip_serializing_if = "Option::is_none")]
724    pub kratos_selfservice_methods_code_enabled: Option<bool>,
725    /// Configures whether the code method can be used to fulfil MFA flows  This governs the \"selfservice.methods.code.mfa_enabled\" setting.
726    #[serde(rename = "kratos_selfservice_methods_code_mfa_enabled", skip_serializing_if = "Option::is_none")]
727    pub kratos_selfservice_methods_code_mfa_enabled: Option<bool>,
728    /// Configures whether Ory Kratos Passwordless should use the Code Method  This governs the \"selfservice.methods.code.passwordless_enabled\" setting.
729    #[serde(rename = "kratos_selfservice_methods_code_passwordless_enabled", skip_serializing_if = "Option::is_none")]
730    pub kratos_selfservice_methods_code_passwordless_enabled: Option<bool>,
731    /// This setting allows the code method to always login a user with code if they have registered with another authentication method such as password or social sign in.  This governs the \"selfservice.methods.code.passwordless_login_fallback_enabled\" setting.
732    #[serde(rename = "kratos_selfservice_methods_code_passwordless_login_fallback_enabled", skip_serializing_if = "Option::is_none")]
733    pub kratos_selfservice_methods_code_passwordless_login_fallback_enabled: Option<bool>,
734    /// Configures whether Ory Kratos Device authentication accepts expired certificates in Android factory attestation chains  When enabled, Android enrollment accepts expired CA certificates in factory-provisioned attestation chains that lead to a pinned Google root key. Devices launched before 2021 ship factory keyboxes whose certificates have expired but that Google documents as still trustworthy unless revoked. Revocation, signature, and leaf-validity checks still apply, and keys enrolled this way are first-class hardware-attested keys. Defaults to false.  This governs the \"selfservice.methods.deviceauthn.config.android_allow_expired_factory_certificates\" setting.
735    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_android_allow_expired_factory_certificates", skip_serializing_if = "Option::is_none")]
736    pub kratos_selfservice_methods_deviceauthn_config_android_allow_expired_factory_certificates: Option<bool>,
737    /// Configures the allow-list of Android app signing-certificate digests that a device key may be bound to.  This governs the \"selfservice.methods.deviceauthn.config.android_app_ids\" setting.
738    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_android_app_ids", skip_serializing_if = "Option::is_none")]
739    pub kratos_selfservice_methods_deviceauthn_config_android_app_ids: Option<Vec<String>>,
740    /// Configures whether device authentication may be used as the sole first factor.  When enabled, a confirmed device key with PIN or platform user verification can complete an AAL2 login in a single submission, without a password or code. Defaults to false, which keeps device keys usable only as a second factor (step-up).  This governs the \"selfservice.methods.deviceauthn.config.first_factor\" setting.
741    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_first_factor", skip_serializing_if = "Option::is_none")]
742    pub kratos_selfservice_methods_deviceauthn_config_first_factor: Option<bool>,
743    /// Configures whether Ory Kratos Device authentication accepts relaxed attestations for testing  Only allowed on development projects and forced off otherwise. Keys enrolled under relaxation are short-lived and refused once this is turned off.  This governs the \"selfservice.methods.deviceauthn.config.insecure_allow_relaxed_attestation\" setting.
744    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_insecure_allow_relaxed_attestation", skip_serializing_if = "Option::is_none")]
745    pub kratos_selfservice_methods_deviceauthn_config_insecure_allow_relaxed_attestation: Option<bool>,
746    /// Configures the allow-list of Apple App IDs that a device key may be bound to.  This governs the \"selfservice.methods.deviceauthn.config.ios_app_ids\" setting.
747    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_ios_app_ids", skip_serializing_if = "Option::is_none")]
748    pub kratos_selfservice_methods_deviceauthn_config_ios_app_ids: Option<Vec<String>>,
749    /// Configures whether an iOS biometric device key may be used as the sole first factor.  Apple App Attest cannot prove biometric gating, so iOS keys with \"platform\" user verification count as a first factor only with this explicit opt-in. Android keys are unaffected, as their user verification is attestation-verified. Defaults to false.  This governs the \"selfservice.methods.deviceauthn.config.ios_biometric_first_factor\" setting.
750    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_ios_biometric_first_factor", skip_serializing_if = "Option::is_none")]
751    pub kratos_selfservice_methods_deviceauthn_config_ios_biometric_first_factor: Option<bool>,
752    /// Configures the number of consecutive wrong-PIN attempts before a device key is locked.  Defaults to 5; must be between 1 and 10. Once locked, the key's pin_secret is invalidated and the key can no longer be used to log in until the user rotates its secret through the fallback login.  This governs the \"selfservice.methods.deviceauthn.config.pin_max_attempts\" setting.
753    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_pin_max_attempts", skip_serializing_if = "Option::is_none")]
754    pub kratos_selfservice_methods_deviceauthn_config_pin_max_attempts: Option<i64>,
755    /// Configures whether Ory Kratos Device authentication is enabled  This governs the \"selfservice.methods.deviceauthn.enabled\" setting.
756    #[serde(rename = "kratos_selfservice_methods_deviceauthn_enabled", skip_serializing_if = "Option::is_none")]
757    pub kratos_selfservice_methods_deviceauthn_enabled: Option<bool>,
758    /// Configures the Base URL which Recovery, Verification, and Login Links Point to  It is recommended to leave this value empty. It will be appropriately configured to the best matching domain (e.g. when using custom domains) automatically.  This governs the \"selfservice.methods.link.config.base_url\" setting.
759    #[serde(rename = "kratos_selfservice_methods_link_config_base_url", skip_serializing_if = "Option::is_none")]
760    pub kratos_selfservice_methods_link_config_base_url: Option<String>,
761    /// Configures the Ory Kratos Link Method's lifespan  This governs the \"selfservice.methods.link.config.lifespan\" setting.
762    #[serde(rename = "kratos_selfservice_methods_link_config_lifespan", skip_serializing_if = "Option::is_none")]
763    pub kratos_selfservice_methods_link_config_lifespan: Option<String>,
764    /// Configures whether Ory Kratos Link Method is enabled  This governs the \"selfservice.methods.link.enabled\" setting.
765    #[serde(rename = "kratos_selfservice_methods_link_enabled", skip_serializing_if = "Option::is_none")]
766    pub kratos_selfservice_methods_link_enabled: Option<bool>,
767    /// Configures whether Ory Kratos TOTP Lookup Secret is enabled  This governs the \"selfservice.methods.lookup_secret.enabled\" setting.
768    #[serde(rename = "kratos_selfservice_methods_lookup_secret_enabled", skip_serializing_if = "Option::is_none")]
769    pub kratos_selfservice_methods_lookup_secret_enabled: Option<bool>,
770    /// Configures the Ory Kratos Third Party / OpenID Connect base redirect URI  This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting.
771    #[serde(rename = "kratos_selfservice_methods_oidc_config_base_redirect_uri", skip_serializing_if = "Option::is_none")]
772    pub kratos_selfservice_methods_oidc_config_base_redirect_uri: Option<String>,
773    #[serde(rename = "kratos_selfservice_methods_oidc_config_providers", skip_serializing_if = "Option::is_none")]
774    pub kratos_selfservice_methods_oidc_config_providers: Option<Vec<models::NormalizedProjectRevisionThirdPartyProvider>>,
775    /// Configures whether Ory Kratos allows auto-linking of OIDC credentials without a subject  This governs the \"selfservice.methods.oidc.enable_auto_link_policy\" setting.
776    #[serde(rename = "kratos_selfservice_methods_oidc_enable_auto_link_policy", skip_serializing_if = "Option::is_none")]
777    pub kratos_selfservice_methods_oidc_enable_auto_link_policy: Option<bool>,
778    /// Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled  This governs the \"selfservice.methods.oidc.enabled\" setting.
779    #[serde(rename = "kratos_selfservice_methods_oidc_enabled", skip_serializing_if = "Option::is_none")]
780    pub kratos_selfservice_methods_oidc_enabled: Option<bool>,
781    /// Configures the attestation conveyance preference for passkey registration.  This governs the \"selfservice.methods.passkey.config.attestation.preference\" setting.
782    #[serde(rename = "kratos_selfservice_methods_passkey_config_attestation_preference", skip_serializing_if = "Option::is_none")]
783    pub kratos_selfservice_methods_passkey_config_attestation_preference: Option<String>,
784    /// Configures which authenticator attachment modality is eligible for passkey registration.  This governs the \"selfservice.methods.passkey.config.authenticator_selection.attachment\" setting.
785    #[serde(rename = "kratos_selfservice_methods_passkey_config_authenticator_selection_attachment", skip_serializing_if = "Option::is_none")]
786    pub kratos_selfservice_methods_passkey_config_authenticator_selection_attachment: Option<String>,
787    /// Configures whether the authenticator must create a client-side discoverable passkey.  This governs the \"selfservice.methods.passkey.config.authenticator_selection.resident_key\" setting.
788    #[serde(rename = "kratos_selfservice_methods_passkey_config_authenticator_selection_resident_key", skip_serializing_if = "Option::is_none")]
789    pub kratos_selfservice_methods_passkey_config_authenticator_selection_resident_key: Option<String>,
790    /// Configures whether passkey ceremonies require user verification such as biometrics or a PIN.  This governs the \"selfservice.methods.passkey.config.authenticator_selection.user_verification\" setting.
791    #[serde(rename = "kratos_selfservice_methods_passkey_config_authenticator_selection_user_verification", skip_serializing_if = "Option::is_none")]
792    pub kratos_selfservice_methods_passkey_config_authenticator_selection_user_verification: Option<String>,
793    /// Configures the Ory Kratos Passkey RP Display Name  This governs the \"selfservice.methods.passkey.config.rp.display_name\" setting.
794    #[serde(rename = "kratos_selfservice_methods_passkey_config_rp_display_name", skip_serializing_if = "Option::is_none")]
795    pub kratos_selfservice_methods_passkey_config_rp_display_name: Option<String>,
796    /// Configures the Ory Kratos Passkey RP ID  This governs the \"selfservice.methods.passkey.config.rp.id\" setting.
797    #[serde(rename = "kratos_selfservice_methods_passkey_config_rp_id", skip_serializing_if = "Option::is_none")]
798    pub kratos_selfservice_methods_passkey_config_rp_id: Option<String>,
799    /// Configures the Ory Kratos Passkey RP Origins  This governs the \"selfservice.methods.passkey.config.rp.origins\" setting.
800    #[serde(rename = "kratos_selfservice_methods_passkey_config_rp_origins", skip_serializing_if = "Option::is_none")]
801    pub kratos_selfservice_methods_passkey_config_rp_origins: Option<Vec<String>>,
802    /// Configures the passkey login ceremony timeout.  This governs the \"selfservice.methods.passkey.config.timeouts.login\" setting.
803    #[serde(rename = "kratos_selfservice_methods_passkey_config_timeouts_login", skip_serializing_if = "Option::is_none")]
804    pub kratos_selfservice_methods_passkey_config_timeouts_login: Option<String>,
805    /// Configures the passkey registration ceremony timeout.  This governs the \"selfservice.methods.passkey.config.timeouts.registration\" setting.
806    #[serde(rename = "kratos_selfservice_methods_passkey_config_timeouts_registration", skip_serializing_if = "Option::is_none")]
807    pub kratos_selfservice_methods_passkey_config_timeouts_registration: Option<String>,
808    /// Configures whether Ory Kratos Passkey authentication is enabled  This governs the \"selfservice.methods.passkey.enabled\" setting.
809    #[serde(rename = "kratos_selfservice_methods_passkey_enabled", skip_serializing_if = "Option::is_none")]
810    pub kratos_selfservice_methods_passkey_enabled: Option<bool>,
811    /// Configures whether Ory Kratos Password HIBP Checks is enabled  This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting.
812    #[serde(rename = "kratos_selfservice_methods_password_config_haveibeenpwned_enabled", skip_serializing_if = "Option::is_none")]
813    pub kratos_selfservice_methods_password_config_haveibeenpwned_enabled: Option<bool>,
814    /// Configures whether Ory Kratos Password should disable the similarity policy.  This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting.
815    #[serde(rename = "kratos_selfservice_methods_password_config_identifier_similarity_check_enabled", skip_serializing_if = "Option::is_none")]
816    pub kratos_selfservice_methods_password_config_identifier_similarity_check_enabled: Option<bool>,
817    /// Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors  This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting.
818    #[serde(rename = "kratos_selfservice_methods_password_config_ignore_network_errors", skip_serializing_if = "Option::is_none")]
819    pub kratos_selfservice_methods_password_config_ignore_network_errors: Option<bool>,
820    /// Configures Ory Kratos Password Max Breaches Detection  This governs the \"selfservice.methods.password.config.max_breaches\" setting.
821    #[serde(rename = "kratos_selfservice_methods_password_config_max_breaches", skip_serializing_if = "Option::is_none")]
822    pub kratos_selfservice_methods_password_config_max_breaches: Option<i64>,
823    /// Configures the minimum length of passwords.  This governs the \"selfservice.methods.password.config.min_password_length\" setting.
824    #[serde(rename = "kratos_selfservice_methods_password_config_min_password_length", skip_serializing_if = "Option::is_none")]
825    pub kratos_selfservice_methods_password_config_min_password_length: Option<i64>,
826    /// Configures whether Ory Kratos Password Method is enabled  This governs the \"selfservice.methods.password.enabled\" setting.
827    #[serde(rename = "kratos_selfservice_methods_password_enabled", skip_serializing_if = "Option::is_none")]
828    pub kratos_selfservice_methods_password_enabled: Option<bool>,
829    /// Configures whether Ory Kratos Profile Method is enabled  This governs the \"selfservice.methods.profile.enabled\" setting.
830    #[serde(rename = "kratos_selfservice_methods_profile_enabled", skip_serializing_if = "Option::is_none")]
831    pub kratos_selfservice_methods_profile_enabled: Option<bool>,
832    #[serde(rename = "kratos_selfservice_methods_saml_config_providers", skip_serializing_if = "Option::is_none")]
833    pub kratos_selfservice_methods_saml_config_providers: Option<Vec<models::NormalizedProjectRevisionSamlProvider>>,
834    /// Configures whether Ory Kratos SAML Login is enabled  This governs the \"selfservice.methods.saml.enabled\" setting.
835    #[serde(rename = "kratos_selfservice_methods_saml_enabled", skip_serializing_if = "Option::is_none")]
836    pub kratos_selfservice_methods_saml_enabled: Option<bool>,
837    /// Configures Ory Kratos TOTP Issuer  This governs the \"selfservice.methods.totp.config.issuer\" setting.
838    #[serde(rename = "kratos_selfservice_methods_totp_config_issuer", skip_serializing_if = "Option::is_none")]
839    pub kratos_selfservice_methods_totp_config_issuer: Option<String>,
840    /// Configures whether Ory Kratos TOTP Method is enabled  This governs the \"selfservice.methods.totp.enabled\" setting.
841    #[serde(rename = "kratos_selfservice_methods_totp_enabled", skip_serializing_if = "Option::is_none")]
842    pub kratos_selfservice_methods_totp_enabled: Option<bool>,
843    /// Configures whether Ory Kratos Webauthn is used for passwordless flows  This governs the \"selfservice.methods.webauthn.config.passwordless\" setting.
844    #[serde(rename = "kratos_selfservice_methods_webauthn_config_passwordless", skip_serializing_if = "Option::is_none")]
845    pub kratos_selfservice_methods_webauthn_config_passwordless: Option<bool>,
846    /// Configures the Ory Kratos Webauthn RP Display Name  This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting.
847    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_display_name", skip_serializing_if = "Option::is_none")]
848    pub kratos_selfservice_methods_webauthn_config_rp_display_name: Option<String>,
849    /// Configures the Ory Kratos Webauthn RP Icon  This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting. Deprecated: This value will be ignored due to security considerations.
850    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_icon", skip_serializing_if = "Option::is_none")]
851    pub kratos_selfservice_methods_webauthn_config_rp_icon: Option<String>,
852    /// Configures the Ory Kratos Webauthn RP ID  This governs the \"selfservice.methods.webauthn.config.rp.id\" setting.
853    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_id", skip_serializing_if = "Option::is_none")]
854    pub kratos_selfservice_methods_webauthn_config_rp_id: Option<String>,
855    /// Configures the Ory Kratos Webauthn RP Origins  This governs the \"selfservice.methods.webauthn.config.rp.origins\" setting.
856    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_origins", skip_serializing_if = "Option::is_none")]
857    pub kratos_selfservice_methods_webauthn_config_rp_origins: Option<Vec<String>>,
858    /// Configures whether Ory Kratos Webauthn is enabled  This governs the \"selfservice.methods.webauthn.enabled\" setting.
859    #[serde(rename = "kratos_selfservice_methods_webauthn_enabled", skip_serializing_if = "Option::is_none")]
860    pub kratos_selfservice_methods_webauthn_enabled: Option<bool>,
861    /// Configures the Ory Kratos Session Cookie Persistent Attribute  This governs the \"session.cookie.persistent\" setting.
862    #[serde(rename = "kratos_session_cookie_persistent", skip_serializing_if = "Option::is_none")]
863    pub kratos_session_cookie_persistent: Option<bool>,
864    /// Configures the Ory Kratos Session Cookie SameSite Attribute  This governs the \"session.cookie.same_site\" setting.
865    #[serde(rename = "kratos_session_cookie_same_site", skip_serializing_if = "Option::is_none")]
866    pub kratos_session_cookie_same_site: Option<String>,
867    /// Configures the Ory Kratos Session Lifespan  This governs the \"session.lifespan\" setting.
868    #[serde(rename = "kratos_session_lifespan", skip_serializing_if = "Option::is_none")]
869    pub kratos_session_lifespan: Option<String>,
870    /// Configures the Ory Kratos Session Whoami AAL requirement  This governs the \"session.whoami.required_aal\" setting.
871    #[serde(rename = "kratos_session_whoami_required_aal", skip_serializing_if = "Option::is_none")]
872    pub kratos_session_whoami_required_aal: Option<String>,
873    /// Rules evaluated on every session check. When several rules match, the strongest action wins.
874    #[serde(rename = "kratos_session_whoami_rules", skip_serializing_if = "Option::is_none")]
875    pub kratos_session_whoami_rules: Option<Vec<models::NormalizedProjectRevisionSessionRiskRule>>,
876    #[serde(rename = "kratos_session_whoami_tokenizer_templates", skip_serializing_if = "Option::is_none")]
877    pub kratos_session_whoami_tokenizer_templates: Option<Vec<models::NormalizedProjectRevisionTokenizerTemplate>>,
878    /// The project's name.
879    #[serde(rename = "name")]
880    pub name: String,
881    #[serde(rename = "organizations", skip_serializing_if = "Option::is_none")]
882    pub organizations: Option<Vec<models::Organization>>,
883    /// The Revision's Project ID
884    #[serde(rename = "project_id", skip_serializing_if = "Option::is_none")]
885    pub project_id: Option<String>,
886    #[serde(rename = "project_revision_hooks", skip_serializing_if = "Option::is_none")]
887    pub project_revision_hooks: Option<Vec<models::NormalizedProjectRevisionHook>>,
888    #[serde(rename = "scim_clients", skip_serializing_if = "Option::is_none")]
889    pub scim_clients: Option<Vec<models::NormalizedProjectRevisionScimClient>>,
890    /// Configures the CORS Allowed Origins on admin APIs  This governs the \"serve.admin.cors.allowed_origins\" setting.
891    #[serde(rename = "serve_admin_cors_allowed_origins", skip_serializing_if = "Option::is_none")]
892    pub serve_admin_cors_allowed_origins: Option<Vec<String>>,
893    /// Enable CORS headers on all admin APIs  This governs the \"serve.admin.cors.enabled\" setting.
894    #[serde(rename = "serve_admin_cors_enabled", skip_serializing_if = "Option::is_none")]
895    pub serve_admin_cors_enabled: Option<bool>,
896    /// Configures the CORS Allowed Origins on public APIs  This governs the \"serve.public.cors.allowed_origins\" setting.
897    #[serde(rename = "serve_public_cors_allowed_origins", skip_serializing_if = "Option::is_none")]
898    pub serve_public_cors_allowed_origins: Option<Vec<String>>,
899    /// Enable CORS headers on all public APIs  This governs the \"serve.public.cors.enabled\" setting.
900    #[serde(rename = "serve_public_cors_enabled", skip_serializing_if = "Option::is_none")]
901    pub serve_public_cors_enabled: Option<bool>,
902    /// Whether the project should employ strict security measures. Setting this to true is recommended for going into production.
903    #[serde(rename = "strict_security", skip_serializing_if = "Option::is_none")]
904    pub strict_security: Option<bool>,
905    /// Talos cache enabled.  When true, API key verification results are cached. Revoked keys may be accepted until the cached entry expires. When false, every verification reads the database and revocations take effect immediately.
906    #[serde(rename = "talos_cache_enabled", skip_serializing_if = "Option::is_none")]
907    pub talos_cache_enabled: Option<bool>,
908    /// Talos cache TTL controls how long API key verification results are cached.
909    #[serde(rename = "talos_cache_ttl", skip_serializing_if = "Option::is_none")]
910    pub talos_cache_ttl: Option<String>,
911    /// Talos API keys default TTL.
912    #[serde(rename = "talos_credentials_api_keys_default_ttl", skip_serializing_if = "Option::is_none")]
913    pub talos_credentials_api_keys_default_ttl: Option<String>,
914    /// Talos API keys max TTL.
915    #[serde(rename = "talos_credentials_api_keys_max_ttl", skip_serializing_if = "Option::is_none")]
916    pub talos_credentials_api_keys_max_ttl: Option<String>,
917    /// Talos API keys prefix (current).
918    #[serde(rename = "talos_credentials_api_keys_prefix_current", skip_serializing_if = "Option::is_none")]
919    pub talos_credentials_api_keys_prefix_current: Option<String>,
920    /// Talos API keys public prefix (current).
921    #[serde(rename = "talos_credentials_api_keys_prefix_public_current", skip_serializing_if = "Option::is_none")]
922    pub talos_credentials_api_keys_prefix_public_current: Option<String>,
923    /// Talos API keys public prefix (retired).  Previously active public API key prefixes kept for verification of outstanding tokens. The first element of this list was the most recently retired active prefix.
924    #[serde(rename = "talos_credentials_api_keys_prefix_public_retired", skip_serializing_if = "Option::is_none")]
925    pub talos_credentials_api_keys_prefix_public_retired: Option<Vec<String>>,
926    /// Talos API keys prefix (retired).  Previously active API key prefixes kept for verification of outstanding tokens. The first element of this list was the most recently retired active prefix.
927    #[serde(rename = "talos_credentials_api_keys_prefix_retired", skip_serializing_if = "Option::is_none")]
928    pub talos_credentials_api_keys_prefix_retired: Option<Vec<String>>,
929    /// Talos derived tokens default TTL (applies to both JWT and macaroon tokens).
930    #[serde(rename = "talos_credentials_derived_tokens_default_ttl", skip_serializing_if = "Option::is_none")]
931    pub talos_credentials_derived_tokens_default_ttl: Option<String>,
932    /// Talos derived tokens JWT signing key ID (kid).
933    #[serde(rename = "talos_credentials_derived_tokens_jwt_signing_key_id", skip_serializing_if = "Option::is_none")]
934    pub talos_credentials_derived_tokens_jwt_signing_key_id: Option<String>,
935    /// Talos derived tokens JWT signing key URLs.
936    #[serde(rename = "talos_credentials_derived_tokens_jwt_signing_keys_urls", skip_serializing_if = "Option::is_none")]
937    pub talos_credentials_derived_tokens_jwt_signing_keys_urls: Option<Vec<String>>,
938    /// Talos derived tokens macaroon prefix (current).
939    #[serde(rename = "talos_credentials_derived_tokens_macaroon_prefix_current", skip_serializing_if = "Option::is_none")]
940    pub talos_credentials_derived_tokens_macaroon_prefix_current: Option<String>,
941    /// Talos derived tokens macaroon prefix (retired).  Previously active macaroon prefixes kept for verification of outstanding tokens. The first element of this list was the most recently retired active prefix.
942    #[serde(rename = "talos_credentials_derived_tokens_macaroon_prefix_retired", skip_serializing_if = "Option::is_none")]
943    pub talos_credentials_derived_tokens_macaroon_prefix_retired: Option<Vec<String>>,
944    /// Talos credentials issuer URL.
945    #[serde(rename = "talos_credentials_issuer", skip_serializing_if = "Option::is_none")]
946    pub talos_credentials_issuer: Option<String>,
947    /// Talos credentials retired issuer URLs (deprecated).  Deprecated: values-only view of talos_credentials_issuer_retired_entries, kept so already-released SDKs that decode this field as an array of strings keep working. It is output only: reads are derived from the entries field and writes to it are ignored. Use talos_credentials_issuer_retired_entries instead.
948    #[serde(rename = "talos_credentials_issuer_retired", skip_serializing_if = "Option::is_none")]
949    pub talos_credentials_issuer_retired: Option<Vec<String>>,
950    /// TalosRetiredValues is the list of retired values — retired HMAC secrets or retired issuer URLs — for a Talos project. A retired value stays valid for verification until its optional expiry passes, so operators can bound how long an old credential keeps working after a rotation instead of keeping it forever. Legacy bare-string entries are accepted on write and normalized to the object form.
951    #[serde(rename = "talos_credentials_issuer_retired_entries", skip_serializing_if = "Option::is_none")]
952    pub talos_credentials_issuer_retired_entries: Option<Vec<models::TalosRetiredValue>>,
953    /// Talos rate limit enabled.  When true, server-side rate limiting is enforced for API key verifications.
954    #[serde(rename = "talos_rate_limit_enabled", skip_serializing_if = "Option::is_none")]
955    pub talos_rate_limit_enabled: Option<bool>,
956    /// TalosSecretsHMACCurrent stores the current HMAC symmetric key as a plain secret string.
957    #[serde(rename = "talos_secrets_hmac_current", skip_serializing_if = "Option::is_none")]
958    pub talos_secrets_hmac_current: Option<String>,
959    /// TalosSecretsHMACRetired stores previously active HMAC symmetric keys as an array of strings (deprecated).  Deprecated: values-only view of talos_secrets_hmac_retired_entries, kept so already-released SDKs that decode this field as an array of strings keep working. It is output only and writes to it are ignored. HMAC secrets are server-managed and redacted on output, so this field is always empty on the wire. Use talos_secrets_hmac_retired_entries instead.
960    #[serde(rename = "talos_secrets_hmac_retired", skip_serializing_if = "Option::is_none")]
961    pub talos_secrets_hmac_retired: Option<Vec<String>>,
962    /// TalosRetiredValues is the list of retired values — retired HMAC secrets or retired issuer URLs — for a Talos project. A retired value stays valid for verification until its optional expiry passes, so operators can bound how long an old credential keeps working after a rotation instead of keeping it forever. Legacy bare-string entries are accepted on write and normalized to the object form.
963    #[serde(rename = "talos_secrets_hmac_retired_entries", skip_serializing_if = "Option::is_none")]
964    pub talos_secrets_hmac_retired_entries: Option<Vec<models::TalosRetiredValue>>,
965    /// Last Time Project's Revision was Updated
966    #[serde(rename = "updated_at", skip_serializing_if = "Option::is_none")]
967    pub updated_at: Option<String>,
968    #[serde(rename = "workspace_id", skip_serializing_if = "Option::is_none")]
969    pub workspace_id: Option<String>,
970}
971
972impl CreateProjectNormalizedPayload {
973    /// Create project (normalized) request payload
974    pub fn new(environment: EnvironmentEnum, name: String) -> CreateProjectNormalizedPayload {
975        CreateProjectNormalizedPayload {
976            account_experience_contact_url: None,
977            account_experience_custom_translations: None,
978            account_experience_default_locale: None,
979            account_experience_enabled_locales: None,
980            account_experience_favicon_dark: None,
981            account_experience_favicon_light: None,
982            account_experience_hide_ory_branding: None,
983            account_experience_hide_registration_link: None,
984            account_experience_index_route_mode: None,
985            account_experience_index_route_redirect_url: None,
986            account_experience_locale_behavior: None,
987            account_experience_logo_dark: None,
988            account_experience_logo_light: None,
989            account_experience_privacy_policy_url: None,
990            account_experience_show_last_used_method: None,
991            account_experience_terms_of_service_url: None,
992            account_experience_theme_variables_dark: None,
993            account_experience_theme_variables_light: None,
994            created_at: None,
995            disable_account_experience_welcome_screen: None,
996            enable_ax_v2: None,
997            environment,
998            feature_flags: None,
999            home_region: None,
1000            hydra_oauth2_allowed_top_level_claims: None,
1001            hydra_oauth2_client_credentials_default_grant_allowed_scope: None,
1002            hydra_oauth2_device_authorization_token_polling_interval: None,
1003            hydra_oauth2_device_authorization_user_code_entropy_preset: None,
1004            hydra_oauth2_exclude_not_before_claim: None,
1005            hydra_oauth2_grant_jwt_iat_optional: None,
1006            hydra_oauth2_grant_jwt_jti_optional: None,
1007            hydra_oauth2_grant_jwt_max_ttl: None,
1008            hydra_oauth2_grant_jwt_omit_assertion_audience: None,
1009            hydra_oauth2_grant_refresh_token_rotation_grace_period: None,
1010            hydra_oauth2_grant_refresh_token_rotation_grace_reuse_count: None,
1011            hydra_oauth2_mirror_top_level_claims: None,
1012            hydra_oauth2_pkce_enforced: None,
1013            hydra_oauth2_pkce_enforced_for_public_clients: None,
1014            hydra_oauth2_preserve_ext_claims: None,
1015            hydra_oauth2_refresh_token_hook: None,
1016            hydra_oauth2_token_hook: None,
1017            hydra_oauth2_token_prefix: None,
1018            hydra_oidc_dynamic_client_registration_default_audience: None,
1019            hydra_oidc_dynamic_client_registration_default_scope: None,
1020            hydra_oidc_dynamic_client_registration_enabled: None,
1021            hydra_oidc_subject_identifiers_pairwise_salt: None,
1022            hydra_oidc_subject_identifiers_supported_types: None,
1023            hydra_secrets_cookie: None,
1024            hydra_secrets_pagination: None,
1025            hydra_secrets_system: None,
1026            hydra_serve_cookies_same_site_legacy_workaround: None,
1027            hydra_serve_cookies_same_site_mode: None,
1028            hydra_strategies_access_token: None,
1029            hydra_strategies_jwt_scope_claim: None,
1030            hydra_strategies_scope: None,
1031            hydra_ttl_access_token: None,
1032            hydra_ttl_auth_code: None,
1033            hydra_ttl_device_user_code: None,
1034            hydra_ttl_id_token: None,
1035            hydra_ttl_login_consent_request: None,
1036            hydra_ttl_refresh_token: None,
1037            hydra_urls_consent: None,
1038            hydra_urls_device_success: None,
1039            hydra_urls_device_verification: None,
1040            hydra_urls_error: None,
1041            hydra_urls_login: None,
1042            hydra_urls_logout: None,
1043            hydra_urls_post_logout_redirect: None,
1044            hydra_urls_registration: None,
1045            hydra_urls_self_issuer: None,
1046            hydra_webfinger_jwks_broadcast_keys: None,
1047            hydra_webfinger_oidc_discovery_auth_url: None,
1048            hydra_webfinger_oidc_discovery_client_registration_url: None,
1049            hydra_webfinger_oidc_discovery_device_authorization_url: None,
1050            hydra_webfinger_oidc_discovery_jwks_url: None,
1051            hydra_webfinger_oidc_discovery_supported_claims: None,
1052            hydra_webfinger_oidc_discovery_supported_scope: None,
1053            hydra_webfinger_oidc_discovery_token_url: None,
1054            hydra_webfinger_oidc_discovery_userinfo_url: None,
1055            id: None,
1056            keto_feature_flags_strict_mode: None,
1057            keto_namespace_configuration: None,
1058            keto_namespaces: None,
1059            keto_secrets_pagination: None,
1060            keto_strict_mode_readonly: None,
1061            kratos_cookies_same_site: None,
1062            kratos_courier_channels: None,
1063            kratos_courier_delivery_strategy: None,
1064            kratos_courier_http_request_config_auth_api_key_in: None,
1065            kratos_courier_http_request_config_auth_api_key_name: None,
1066            kratos_courier_http_request_config_auth_api_key_value: None,
1067            kratos_courier_http_request_config_auth_basic_auth_password: None,
1068            kratos_courier_http_request_config_auth_basic_auth_user: None,
1069            kratos_courier_http_request_config_auth_type: None,
1070            kratos_courier_http_request_config_body: None,
1071            kratos_courier_http_request_config_headers: None,
1072            kratos_courier_http_request_config_method: None,
1073            kratos_courier_http_request_config_url: None,
1074            kratos_courier_smtp_connection_uri: None,
1075            kratos_courier_smtp_from_address: None,
1076            kratos_courier_smtp_from_name: None,
1077            kratos_courier_smtp_headers: None,
1078            kratos_courier_smtp_local_name: None,
1079            kratos_courier_templates_login_code_valid_email_body_html: None,
1080            kratos_courier_templates_login_code_valid_email_body_plaintext: None,
1081            kratos_courier_templates_login_code_valid_email_subject: None,
1082            kratos_courier_templates_login_code_valid_sms_body_plaintext: None,
1083            kratos_courier_templates_recovery_code_invalid_email_body_html: None,
1084            kratos_courier_templates_recovery_code_invalid_email_body_plaintext: None,
1085            kratos_courier_templates_recovery_code_invalid_email_subject: None,
1086            kratos_courier_templates_recovery_code_valid_email_body_html: None,
1087            kratos_courier_templates_recovery_code_valid_email_body_plaintext: None,
1088            kratos_courier_templates_recovery_code_valid_email_subject: None,
1089            kratos_courier_templates_recovery_invalid_email_body_html: None,
1090            kratos_courier_templates_recovery_invalid_email_body_plaintext: None,
1091            kratos_courier_templates_recovery_invalid_email_subject: None,
1092            kratos_courier_templates_recovery_valid_email_body_html: None,
1093            kratos_courier_templates_recovery_valid_email_body_plaintext: None,
1094            kratos_courier_templates_recovery_valid_email_subject: None,
1095            kratos_courier_templates_registration_code_valid_email_body_html: None,
1096            kratos_courier_templates_registration_code_valid_email_body_plaintext: None,
1097            kratos_courier_templates_registration_code_valid_email_subject: None,
1098            kratos_courier_templates_registration_code_valid_sms_body_plaintext: None,
1099            kratos_courier_templates_verifiable_address_changed_email_body_html: None,
1100            kratos_courier_templates_verifiable_address_changed_email_body_plaintext: None,
1101            kratos_courier_templates_verifiable_address_changed_email_subject: None,
1102            kratos_courier_templates_verifiable_address_changed_sms_body_plaintext: None,
1103            kratos_courier_templates_verification_code_invalid_email_body_html: None,
1104            kratos_courier_templates_verification_code_invalid_email_body_plaintext: None,
1105            kratos_courier_templates_verification_code_invalid_email_subject: None,
1106            kratos_courier_templates_verification_code_valid_email_body_html: None,
1107            kratos_courier_templates_verification_code_valid_email_body_plaintext: None,
1108            kratos_courier_templates_verification_code_valid_email_subject: None,
1109            kratos_courier_templates_verification_code_valid_sms_body_plaintext: None,
1110            kratos_courier_templates_verification_invalid_email_body_html: None,
1111            kratos_courier_templates_verification_invalid_email_body_plaintext: None,
1112            kratos_courier_templates_verification_invalid_email_subject: None,
1113            kratos_courier_templates_verification_valid_email_body_html: None,
1114            kratos_courier_templates_verification_valid_email_body_plaintext: None,
1115            kratos_courier_templates_verification_valid_email_subject: None,
1116            kratos_feature_flags_cacheable_sessions: None,
1117            kratos_feature_flags_cacheable_sessions_max_age: None,
1118            kratos_feature_flags_choose_recovery_address: None,
1119            kratos_feature_flags_enforce_identity_schema_guards: None,
1120            kratos_feature_flags_faster_session_extend: None,
1121            kratos_feature_flags_legacy_continue_with_verification_ui: None,
1122            kratos_feature_flags_legacy_oidc_registration_node_group: None,
1123            kratos_feature_flags_legacy_require_verified_login_error: None,
1124            kratos_feature_flags_password_profile_registration_node_group: None,
1125            kratos_feature_flags_refresh_login_choose_address: None,
1126            kratos_feature_flags_use_continue_with_transitions: None,
1127            kratos_feature_flags_webhook_response_directives: None,
1128            kratos_identity_schemas: None,
1129            kratos_oauth2_provider_headers: None,
1130            kratos_oauth2_provider_override_return_to: None,
1131            kratos_oauth2_provider_url: None,
1132            kratos_preview_default_read_consistency_level: None,
1133            kratos_preview_enable_native_saml_engine: None,
1134            kratos_secrets_cipher: None,
1135            kratos_secrets_cookie: None,
1136            kratos_secrets_default: None,
1137            kratos_secrets_pagination: None,
1138            kratos_security_account_enumeration_mitigate: None,
1139            kratos_security_restricted_origins: None,
1140            kratos_selfservice_allowed_return_urls: None,
1141            kratos_selfservice_default_browser_return_url: None,
1142            kratos_selfservice_flows_error_ui_url: None,
1143            kratos_selfservice_flows_login_after_code_default_browser_return_url: None,
1144            kratos_selfservice_flows_login_after_default_browser_return_url: None,
1145            kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url: None,
1146            kratos_selfservice_flows_login_after_oidc_default_browser_return_url: None,
1147            kratos_selfservice_flows_login_after_passkey_default_browser_return_url: None,
1148            kratos_selfservice_flows_login_after_password_default_browser_return_url: None,
1149            kratos_selfservice_flows_login_after_totp_default_browser_return_url: None,
1150            kratos_selfservice_flows_login_after_webauthn_default_browser_return_url: None,
1151            kratos_selfservice_flows_login_brute_force_protection_enabled: None,
1152            kratos_selfservice_flows_login_brute_force_protection_identifier_exponential_backoff_initial: None,
1153            kratos_selfservice_flows_login_brute_force_protection_identifier_exponential_backoff_max: None,
1154            kratos_selfservice_flows_login_brute_force_protection_identifier_max_failures: None,
1155            kratos_selfservice_flows_login_brute_force_protection_identifier_window: None,
1156            kratos_selfservice_flows_login_brute_force_protection_ip_exponential_backoff_initial: None,
1157            kratos_selfservice_flows_login_brute_force_protection_ip_exponential_backoff_max: None,
1158            kratos_selfservice_flows_login_brute_force_protection_ip_max_failures: None,
1159            kratos_selfservice_flows_login_brute_force_protection_ip_window: None,
1160            kratos_selfservice_flows_login_lifespan: None,
1161            kratos_selfservice_flows_login_style: None,
1162            kratos_selfservice_flows_login_ui_url: None,
1163            kratos_selfservice_flows_logout_after_default_browser_return_url: None,
1164            kratos_selfservice_flows_recovery_after_default_browser_return_url: None,
1165            kratos_selfservice_flows_recovery_enabled: None,
1166            kratos_selfservice_flows_recovery_lifespan: None,
1167            kratos_selfservice_flows_recovery_notify_unknown_recipients: None,
1168            kratos_selfservice_flows_recovery_ui_url: None,
1169            kratos_selfservice_flows_recovery_use: None,
1170            kratos_selfservice_flows_registration_after_code_default_browser_return_url: None,
1171            kratos_selfservice_flows_registration_after_default_browser_return_url: None,
1172            kratos_selfservice_flows_registration_after_oidc_default_browser_return_url: None,
1173            kratos_selfservice_flows_registration_after_passkey_default_browser_return_url: None,
1174            kratos_selfservice_flows_registration_after_password_default_browser_return_url: None,
1175            kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url: None,
1176            kratos_selfservice_flows_registration_enable_legacy_one_step: None,
1177            kratos_selfservice_flows_registration_enabled: None,
1178            kratos_selfservice_flows_registration_lifespan: None,
1179            kratos_selfservice_flows_registration_login_hints: None,
1180            kratos_selfservice_flows_registration_ui_url: None,
1181            kratos_selfservice_flows_settings_after_default_browser_return_url: None,
1182            kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url: None,
1183            kratos_selfservice_flows_settings_after_oidc_default_browser_return_url: None,
1184            kratos_selfservice_flows_settings_after_passkey_default_browser_return_url: None,
1185            kratos_selfservice_flows_settings_after_password_default_browser_return_url: None,
1186            kratos_selfservice_flows_settings_after_profile_default_browser_return_url: None,
1187            kratos_selfservice_flows_settings_after_totp_default_browser_return_url: None,
1188            kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url: None,
1189            kratos_selfservice_flows_settings_lifespan: None,
1190            kratos_selfservice_flows_settings_privileged_session_max_age: None,
1191            kratos_selfservice_flows_settings_required_aal: None,
1192            kratos_selfservice_flows_settings_ui_url: None,
1193            kratos_selfservice_flows_verification_after_default_browser_return_url: None,
1194            kratos_selfservice_flows_verification_enabled: None,
1195            kratos_selfservice_flows_verification_lifespan: None,
1196            kratos_selfservice_flows_verification_notify_unknown_recipients: None,
1197            kratos_selfservice_flows_verification_ui_url: None,
1198            kratos_selfservice_flows_verification_use: None,
1199            kratos_selfservice_methods_captcha_config_allowed_domains: None,
1200            kratos_selfservice_methods_captcha_config_byo: None,
1201            kratos_selfservice_methods_captcha_config_cf_turnstile_byo_secret: None,
1202            kratos_selfservice_methods_captcha_config_cf_turnstile_byo_sitekey: None,
1203            kratos_selfservice_methods_captcha_config_cf_turnstile_secret: None,
1204            kratos_selfservice_methods_captcha_config_cf_turnstile_sitekey: None,
1205            kratos_selfservice_methods_captcha_config_legacy_inject_node: None,
1206            kratos_selfservice_methods_captcha_enabled: None,
1207            kratos_selfservice_methods_code_config_alphabet: None,
1208            kratos_selfservice_methods_code_config_length: None,
1209            kratos_selfservice_methods_code_config_lifespan: None,
1210            kratos_selfservice_methods_code_config_max_submissions: None,
1211            kratos_selfservice_methods_code_config_missing_credential_fallback_enabled: None,
1212            kratos_selfservice_methods_code_enabled: None,
1213            kratos_selfservice_methods_code_mfa_enabled: None,
1214            kratos_selfservice_methods_code_passwordless_enabled: None,
1215            kratos_selfservice_methods_code_passwordless_login_fallback_enabled: None,
1216            kratos_selfservice_methods_deviceauthn_config_android_allow_expired_factory_certificates: None,
1217            kratos_selfservice_methods_deviceauthn_config_android_app_ids: None,
1218            kratos_selfservice_methods_deviceauthn_config_first_factor: None,
1219            kratos_selfservice_methods_deviceauthn_config_insecure_allow_relaxed_attestation: None,
1220            kratos_selfservice_methods_deviceauthn_config_ios_app_ids: None,
1221            kratos_selfservice_methods_deviceauthn_config_ios_biometric_first_factor: None,
1222            kratos_selfservice_methods_deviceauthn_config_pin_max_attempts: None,
1223            kratos_selfservice_methods_deviceauthn_enabled: None,
1224            kratos_selfservice_methods_link_config_base_url: None,
1225            kratos_selfservice_methods_link_config_lifespan: None,
1226            kratos_selfservice_methods_link_enabled: None,
1227            kratos_selfservice_methods_lookup_secret_enabled: None,
1228            kratos_selfservice_methods_oidc_config_base_redirect_uri: None,
1229            kratos_selfservice_methods_oidc_config_providers: None,
1230            kratos_selfservice_methods_oidc_enable_auto_link_policy: None,
1231            kratos_selfservice_methods_oidc_enabled: None,
1232            kratos_selfservice_methods_passkey_config_attestation_preference: None,
1233            kratos_selfservice_methods_passkey_config_authenticator_selection_attachment: None,
1234            kratos_selfservice_methods_passkey_config_authenticator_selection_resident_key: None,
1235            kratos_selfservice_methods_passkey_config_authenticator_selection_user_verification: None,
1236            kratos_selfservice_methods_passkey_config_rp_display_name: None,
1237            kratos_selfservice_methods_passkey_config_rp_id: None,
1238            kratos_selfservice_methods_passkey_config_rp_origins: None,
1239            kratos_selfservice_methods_passkey_config_timeouts_login: None,
1240            kratos_selfservice_methods_passkey_config_timeouts_registration: None,
1241            kratos_selfservice_methods_passkey_enabled: None,
1242            kratos_selfservice_methods_password_config_haveibeenpwned_enabled: None,
1243            kratos_selfservice_methods_password_config_identifier_similarity_check_enabled: None,
1244            kratos_selfservice_methods_password_config_ignore_network_errors: None,
1245            kratos_selfservice_methods_password_config_max_breaches: None,
1246            kratos_selfservice_methods_password_config_min_password_length: None,
1247            kratos_selfservice_methods_password_enabled: None,
1248            kratos_selfservice_methods_profile_enabled: None,
1249            kratos_selfservice_methods_saml_config_providers: None,
1250            kratos_selfservice_methods_saml_enabled: None,
1251            kratos_selfservice_methods_totp_config_issuer: None,
1252            kratos_selfservice_methods_totp_enabled: None,
1253            kratos_selfservice_methods_webauthn_config_passwordless: None,
1254            kratos_selfservice_methods_webauthn_config_rp_display_name: None,
1255            kratos_selfservice_methods_webauthn_config_rp_icon: None,
1256            kratos_selfservice_methods_webauthn_config_rp_id: None,
1257            kratos_selfservice_methods_webauthn_config_rp_origins: None,
1258            kratos_selfservice_methods_webauthn_enabled: None,
1259            kratos_session_cookie_persistent: None,
1260            kratos_session_cookie_same_site: None,
1261            kratos_session_lifespan: None,
1262            kratos_session_whoami_required_aal: None,
1263            kratos_session_whoami_rules: None,
1264            kratos_session_whoami_tokenizer_templates: None,
1265            name,
1266            organizations: None,
1267            project_id: None,
1268            project_revision_hooks: None,
1269            scim_clients: None,
1270            serve_admin_cors_allowed_origins: None,
1271            serve_admin_cors_enabled: None,
1272            serve_public_cors_allowed_origins: None,
1273            serve_public_cors_enabled: None,
1274            strict_security: None,
1275            talos_cache_enabled: None,
1276            talos_cache_ttl: None,
1277            talos_credentials_api_keys_default_ttl: None,
1278            talos_credentials_api_keys_max_ttl: None,
1279            talos_credentials_api_keys_prefix_current: None,
1280            talos_credentials_api_keys_prefix_public_current: None,
1281            talos_credentials_api_keys_prefix_public_retired: None,
1282            talos_credentials_api_keys_prefix_retired: None,
1283            talos_credentials_derived_tokens_default_ttl: None,
1284            talos_credentials_derived_tokens_jwt_signing_key_id: None,
1285            talos_credentials_derived_tokens_jwt_signing_keys_urls: None,
1286            talos_credentials_derived_tokens_macaroon_prefix_current: None,
1287            talos_credentials_derived_tokens_macaroon_prefix_retired: None,
1288            talos_credentials_issuer: None,
1289            talos_credentials_issuer_retired: None,
1290            talos_credentials_issuer_retired_entries: None,
1291            talos_rate_limit_enabled: None,
1292            talos_secrets_hmac_current: None,
1293            talos_secrets_hmac_retired: None,
1294            talos_secrets_hmac_retired_entries: None,
1295            updated_at: None,
1296            workspace_id: None,
1297        }
1298    }
1299}
1300/// prod Production stage Staging dev Development
1301#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1302pub enum EnvironmentEnum {
1303    #[serde(rename = "prod")]
1304    Prod,
1305    #[serde(rename = "stage")]
1306    Stage,
1307    #[serde(rename = "dev")]
1308    Dev,
1309}
1310
1311impl Default for EnvironmentEnum {
1312    fn default() -> EnvironmentEnum {
1313        Self::Prod
1314    }
1315}
1316/// eu-central EUCentral asia-northeast AsiaNorthEast us-east USEast us-west USWest eu EU asia Asia us US global Global
1317#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1318pub enum HomeRegionEnum {
1319    #[serde(rename = "eu-central")]
1320    EuCentral,
1321    #[serde(rename = "asia-northeast")]
1322    AsiaNortheast,
1323    #[serde(rename = "us-east")]
1324    UsEast,
1325    #[serde(rename = "us-west")]
1326    UsWest,
1327    #[serde(rename = "eu")]
1328    Eu,
1329    #[serde(rename = "asia")]
1330    Asia,
1331    #[serde(rename = "us")]
1332    Us,
1333    #[serde(rename = "global")]
1334    Global,
1335}
1336
1337impl Default for HomeRegionEnum {
1338    fn default() -> HomeRegionEnum {
1339        Self::EuCentral
1340    }
1341}
1342/// Picks a preset for the OAuth 2.0 Device Authorization Grant user_code length and character set. \"high\" produces the longest codes (most resistant to brute force); \"low\" the shortest (easiest for the end user to read and enter). Leave empty to keep Hydra's default preset.  This is an Enterprise feature.  This governs the \"oauth2.device_authorization.user_code.entropy_preset\" setting.
1343#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1344pub enum HydraOauth2DeviceAuthorizationUserCodeEntropyPresetEnum {
1345    #[serde(rename = "high")]
1346    High,
1347    #[serde(rename = "medium")]
1348    Medium,
1349    #[serde(rename = "low")]
1350    Low,
1351}
1352
1353impl Default for HydraOauth2DeviceAuthorizationUserCodeEntropyPresetEnum {
1354    fn default() -> HydraOauth2DeviceAuthorizationUserCodeEntropyPresetEnum {
1355        Self::High
1356    }
1357}
1358/// Defines access token type  This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt
1359#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1360pub enum HydraStrategiesAccessTokenEnum {
1361    #[serde(rename = "opaque")]
1362    Opaque,
1363    #[serde(rename = "jwt")]
1364    Jwt,
1365}
1366
1367impl Default for HydraStrategiesAccessTokenEnum {
1368    fn default() -> HydraStrategiesAccessTokenEnum {
1369        Self::Opaque
1370    }
1371}
1372/// Define the claim to use as the scope in the access token.  This governs the \"strategies.jwt.scope_claim\" setting.  - list: The scope claim is an array of strings named `scope`: `{ \"scope\": [\"read\", \"write\"] }` - string: The scope claim is a space delimited list of strings named `scp`: `{ \"scp\": \"read write\" }` - both: The scope claim is both a space delimited list and an array of strings named `scope` and `scp`: `{ \"scope\": [\"read\", \"write\"], \"scp\": \"read write\" }` list OAuth2JWTScopeClaimList string OAuth2JWTScopeClaimString both OAuth2JWTScopeClaimBoth
1373#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1374pub enum HydraStrategiesJwtScopeClaimEnum {
1375    #[serde(rename = "list")]
1376    List,
1377    #[serde(rename = "string")]
1378    String,
1379    #[serde(rename = "both")]
1380    Both,
1381}
1382
1383impl Default for HydraStrategiesJwtScopeClaimEnum {
1384    fn default() -> HydraStrategiesJwtScopeClaimEnum {
1385        Self::List
1386    }
1387}
1388/// Defines how scopes are matched. For more details have a look at https://github.com/ory/fosite#scopes  This governs the \"strategies.scope\" setting. exact Oauth2ScopeStrategyExact wildcard Oauth2ScopeStrategyWildcard
1389#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1390pub enum HydraStrategiesScopeEnum {
1391    #[serde(rename = "exact")]
1392    Exact,
1393    #[serde(rename = "wildcard")]
1394    Wildcard,
1395}
1396
1397impl Default for HydraStrategiesScopeEnum {
1398    fn default() -> HydraStrategiesScopeEnum {
1399        Self::Exact
1400    }
1401}
1402/// Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\")  This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
1403#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1404pub enum KratosSelfserviceFlowsRecoveryUseEnum {
1405    #[serde(rename = "link")]
1406    Link,
1407    #[serde(rename = "code")]
1408    Code,
1409}
1410
1411impl Default for KratosSelfserviceFlowsRecoveryUseEnum {
1412    fn default() -> KratosSelfserviceFlowsRecoveryUseEnum {
1413        Self::Link
1414    }
1415}
1416/// Configures the Ory Kratos Strategy to use for Verification  This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
1417#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1418pub enum KratosSelfserviceFlowsVerificationUseEnum {
1419    #[serde(rename = "link")]
1420    Link,
1421    #[serde(rename = "code")]
1422    Code,
1423}
1424
1425impl Default for KratosSelfserviceFlowsVerificationUseEnum {
1426    fn default() -> KratosSelfserviceFlowsVerificationUseEnum {
1427        Self::Link
1428    }
1429}
1430