Skip to main content

ory_client/models/
normalized_project_revision.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.62
7 * Contact: support@ory.sh
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
15pub struct NormalizedProjectRevision {
16    /// The Account Experience's Custom Translations  Contains all Custom Translations for this project.
17    #[serde(rename = "account_experience_custom_translations", skip_serializing_if = "Option::is_none")]
18    pub account_experience_custom_translations: Option<Vec<models::RevisionAccountExperienceCustomTranslation>>,
19    /// Holds the default locale for the account experience. This governs the \"default_locale\" setting.
20    #[serde(rename = "account_experience_default_locale", skip_serializing_if = "Option::is_none")]
21    pub account_experience_default_locale: Option<String>,
22    /// The Account Experience's Enabled Locales  This governs the locales that are available in the account experience. This governs the \"enabled_locales\" setting.
23    #[serde(rename = "account_experience_enabled_locales", skip_serializing_if = "Option::is_none")]
24    pub account_experience_enabled_locales: Option<Vec<String>>,
25    /// Holds the URL to the account experience's dark theme favicon (currently unused). This governs the \"favicon_dark\" setting.
26    #[serde(rename = "account_experience_favicon_dark", skip_serializing_if = "Option::is_none")]
27    pub account_experience_favicon_dark: Option<String>,
28    /// Holds the URL to the account experience's favicon. This governs the \"favicon_light\" setting.
29    #[serde(rename = "account_experience_favicon_light", skip_serializing_if = "Option::is_none")]
30    pub account_experience_favicon_light: Option<String>,
31    /// Whether to hide the Ory branding badge on the account experience. This governs the \"hide_ory_branding\" setting.
32    #[serde(rename = "account_experience_hide_ory_branding", skip_serializing_if = "Option::is_none")]
33    pub account_experience_hide_ory_branding: Option<bool>,
34    /// Whether to hide the registration link on the account experience login card. This governs the \"hide_registration_link\" setting.
35    #[serde(rename = "account_experience_hide_registration_link", skip_serializing_if = "Option::is_none")]
36    pub account_experience_hide_registration_link: Option<bool>,
37    /// 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.
38    #[serde(rename = "account_experience_locale_behavior", skip_serializing_if = "Option::is_none")]
39    pub account_experience_locale_behavior: Option<String>,
40    /// Holds the URL to the account experience's dark theme logo (currently unused). This governs the \"logo_dark\" setting.
41    #[serde(rename = "account_experience_logo_dark", skip_serializing_if = "Option::is_none")]
42    pub account_experience_logo_dark: Option<String>,
43    /// Holds the URL to the account experience's logo. This governs the \"logo_light\" setting.
44    #[serde(rename = "account_experience_logo_light", skip_serializing_if = "Option::is_none")]
45    pub account_experience_logo_light: Option<String>,
46    /// Holds the URL to the account experience's dark theme variables. This governs the \"theme_variables_dark\" setting.
47    #[serde(rename = "account_experience_theme_variables_dark", skip_serializing_if = "Option::is_none")]
48    pub account_experience_theme_variables_dark: Option<String>,
49    /// Holds the URL to the account experience's light theme variables. This governs the \"theme_variables_light\" setting.
50    #[serde(rename = "account_experience_theme_variables_light", skip_serializing_if = "Option::is_none")]
51    pub account_experience_theme_variables_light: Option<String>,
52    /// The Project's Revision Creation Date
53    #[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
54    pub created_at: Option<String>,
55    /// Whether to disable the account experience welcome screen, which is hosted under `/ui/welcome`. This governs the \"disable_welcome_screen\" setting.
56    #[serde(rename = "disable_account_experience_welcome_screen", skip_serializing_if = "Option::is_none")]
57    pub disable_account_experience_welcome_screen: Option<bool>,
58    /// Whether the new account experience is enabled and reachable. This governs the \"enable_ax_v2\" setting.
59    #[serde(rename = "enable_ax_v2", skip_serializing_if = "Option::is_none")]
60    pub enable_ax_v2: Option<bool>,
61    /// 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.
62    #[serde(rename = "hydra_oauth2_allowed_top_level_claims", skip_serializing_if = "Option::is_none")]
63    pub hydra_oauth2_allowed_top_level_claims: Option<Vec<String>>,
64    /// 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.
65    #[serde(rename = "hydra_oauth2_client_credentials_default_grant_allowed_scope", skip_serializing_if = "Option::is_none")]
66    pub hydra_oauth2_client_credentials_default_grant_allowed_scope: Option<bool>,
67    /// 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.
68    #[serde(rename = "hydra_oauth2_exclude_not_before_claim", skip_serializing_if = "Option::is_none")]
69    pub hydra_oauth2_exclude_not_before_claim: Option<bool>,
70    /// 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.
71    #[serde(rename = "hydra_oauth2_grant_jwt_iat_optional", skip_serializing_if = "Option::is_none")]
72    pub hydra_oauth2_grant_jwt_iat_optional: Option<bool>,
73    /// 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.
74    #[serde(rename = "hydra_oauth2_grant_jwt_jti_optional", skip_serializing_if = "Option::is_none")]
75    pub hydra_oauth2_grant_jwt_jti_optional: Option<bool>,
76    /// 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.
77    #[serde(rename = "hydra_oauth2_grant_jwt_max_ttl", skip_serializing_if = "Option::is_none")]
78    pub hydra_oauth2_grant_jwt_max_ttl: Option<String>,
79    /// 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.
80    #[serde(rename = "hydra_oauth2_grant_jwt_omit_assertion_audience", skip_serializing_if = "Option::is_none")]
81    pub hydra_oauth2_grant_jwt_omit_assertion_audience: Option<bool>,
82    /// 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.
83    #[serde(rename = "hydra_oauth2_grant_refresh_token_rotation_grace_period", skip_serializing_if = "Option::is_none")]
84    pub hydra_oauth2_grant_refresh_token_rotation_grace_period: Option<String>,
85    /// 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.
86    #[serde(rename = "hydra_oauth2_grant_refresh_token_rotation_grace_reuse_count", skip_serializing_if = "Option::is_none")]
87    pub hydra_oauth2_grant_refresh_token_rotation_grace_reuse_count: Option<i64>,
88    /// Set to false if you don't want to mirror custom claims under 'ext'.  This governs the \"oauth2.mirror_top_level_claims\" setting.
89    #[serde(rename = "hydra_oauth2_mirror_top_level_claims", skip_serializing_if = "Option::is_none")]
90    pub hydra_oauth2_mirror_top_level_claims: Option<bool>,
91    /// Configures whether PKCE should be enforced for all OAuth2 Clients.  This governs the \"oauth2.pkce.enforced\" setting.
92    #[serde(rename = "hydra_oauth2_pkce_enforced", skip_serializing_if = "Option::is_none")]
93    pub hydra_oauth2_pkce_enforced: Option<bool>,
94    /// 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.
95    #[serde(rename = "hydra_oauth2_pkce_enforced_for_public_clients", skip_serializing_if = "Option::is_none")]
96    pub hydra_oauth2_pkce_enforced_for_public_clients: Option<bool>,
97    /// 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.
98    #[serde(rename = "hydra_oauth2_preserve_ext_claims", skip_serializing_if = "Option::is_none")]
99    pub hydra_oauth2_preserve_ext_claims: Option<bool>,
100    /// 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.
101    #[serde(rename = "hydra_oauth2_refresh_token_hook", skip_serializing_if = "Option::is_none")]
102    pub hydra_oauth2_refresh_token_hook: Option<String>,
103    /// 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.
104    #[serde(rename = "hydra_oauth2_token_hook", skip_serializing_if = "Option::is_none")]
105    pub hydra_oauth2_token_hook: Option<String>,
106    /// 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.
107    #[serde(rename = "hydra_oauth2_token_prefix", skip_serializing_if = "Option::is_none")]
108    pub hydra_oauth2_token_prefix: Option<String>,
109    /// 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.
110    #[serde(rename = "hydra_oidc_dynamic_client_registration_default_scope", skip_serializing_if = "Option::is_none")]
111    pub hydra_oidc_dynamic_client_registration_default_scope: Option<Vec<String>>,
112    /// Configures OpenID Connect Dynamic Client Registration.  This governs the \"oidc.dynamic_client_registration.enabled\" setting.
113    #[serde(rename = "hydra_oidc_dynamic_client_registration_enabled", skip_serializing_if = "Option::is_none")]
114    pub hydra_oidc_dynamic_client_registration_enabled: Option<bool>,
115    /// Configures OpenID Connect Discovery and overwrites the pairwise algorithm  This governs the \"oidc.subject_identifiers.pairwise_salt\" setting.
116    #[serde(rename = "hydra_oidc_subject_identifiers_pairwise_salt", skip_serializing_if = "Option::is_none")]
117    pub hydra_oidc_subject_identifiers_pairwise_salt: Option<String>,
118    /// Configures OpenID Connect Discovery and overwrites the list of Subject Identifier Algorithms to enable.  This governs the \"oidc.subject_identifiers.supported_types\" setting.
119    #[serde(rename = "hydra_oidc_subject_identifiers_supported_types", skip_serializing_if = "Option::is_none")]
120    pub hydra_oidc_subject_identifiers_supported_types: Option<Vec<String>>,
121    /// Configures the Ory Hydra Cookie Secret  This governs the \"secrets.cookie\" setting.
122    #[serde(rename = "hydra_secrets_cookie", skip_serializing_if = "Option::is_none")]
123    pub hydra_secrets_cookie: Option<Vec<String>>,
124    /// Configures the Ory Hydra Pagination Secret  This governs the \"secrets.pagination\" setting.
125    #[serde(rename = "hydra_secrets_pagination", skip_serializing_if = "Option::is_none")]
126    pub hydra_secrets_pagination: Option<Vec<String>>,
127    /// Configures the Ory Hydra System Secret  This governs the \"secrets.system\" setting.
128    #[serde(rename = "hydra_secrets_system", skip_serializing_if = "Option::is_none")]
129    pub hydra_secrets_system: Option<Vec<String>>,
130    /// Configures the Ory Hydra Cookie Same Site Legacy Workaround  This governs the \"serve.cookies.same_site_legacy_workaround\" setting.
131    #[serde(rename = "hydra_serve_cookies_same_site_legacy_workaround", skip_serializing_if = "Option::is_none")]
132    pub hydra_serve_cookies_same_site_legacy_workaround: Option<bool>,
133    /// Configures the Ory Hydra Cookie Same Site Mode  This governs the \"serve.cookies.same_site_mode\" setting.
134    #[serde(rename = "hydra_serve_cookies_same_site_mode", skip_serializing_if = "Option::is_none")]
135    pub hydra_serve_cookies_same_site_mode: Option<String>,
136    /// Defines access token type  This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt
137    #[serde(rename = "hydra_strategies_access_token", skip_serializing_if = "Option::is_none")]
138    pub hydra_strategies_access_token: Option<HydraStrategiesAccessTokenEnum>,
139    /// 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
140    #[serde(rename = "hydra_strategies_jwt_scope_claim", skip_serializing_if = "Option::is_none")]
141    pub hydra_strategies_jwt_scope_claim: Option<HydraStrategiesJwtScopeClaimEnum>,
142    /// 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
143    #[serde(rename = "hydra_strategies_scope", skip_serializing_if = "Option::is_none")]
144    pub hydra_strategies_scope: Option<HydraStrategiesScopeEnum>,
145    /// This governs the \"ttl.access_token\" setting.
146    #[serde(rename = "hydra_ttl_access_token", skip_serializing_if = "Option::is_none")]
147    pub hydra_ttl_access_token: Option<String>,
148    /// 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.
149    #[serde(rename = "hydra_ttl_auth_code", skip_serializing_if = "Option::is_none")]
150    pub hydra_ttl_auth_code: Option<String>,
151    /// This governs the \"ttl.id_token\" setting.
152    #[serde(rename = "hydra_ttl_id_token", skip_serializing_if = "Option::is_none")]
153    pub hydra_ttl_id_token: Option<String>,
154    /// Configures how long a user login and consent flow may take.  This governs the \"ttl.login_consent_request\" setting.
155    #[serde(rename = "hydra_ttl_login_consent_request", skip_serializing_if = "Option::is_none")]
156    pub hydra_ttl_login_consent_request: Option<String>,
157    /// 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.
158    #[serde(rename = "hydra_ttl_refresh_token", skip_serializing_if = "Option::is_none")]
159    pub hydra_ttl_refresh_token: Option<String>,
160    /// 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.
161    #[serde(rename = "hydra_urls_consent", skip_serializing_if = "Option::is_none")]
162    pub hydra_urls_consent: Option<String>,
163    /// 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.
164    #[serde(rename = "hydra_urls_error", skip_serializing_if = "Option::is_none")]
165    pub hydra_urls_error: Option<String>,
166    /// 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.
167    #[serde(rename = "hydra_urls_login", skip_serializing_if = "Option::is_none")]
168    pub hydra_urls_login: Option<String>,
169    /// Sets the logout endpoint.  Defaults to the Ory Account Experience if left empty.  This governs the \"urls.logout\" setting.
170    #[serde(rename = "hydra_urls_logout", skip_serializing_if = "Option::is_none")]
171    pub hydra_urls_logout: Option<String>,
172    /// 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.
173    #[serde(rename = "hydra_urls_post_logout_redirect", skip_serializing_if = "Option::is_none")]
174    pub hydra_urls_post_logout_redirect: Option<String>,
175    /// 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.
176    #[serde(rename = "hydra_urls_registration", skip_serializing_if = "Option::is_none")]
177    pub hydra_urls_registration: Option<String>,
178    /// 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.
179    #[serde(rename = "hydra_urls_self_issuer", skip_serializing_if = "Option::is_none")]
180    pub hydra_urls_self_issuer: Option<String>,
181    /// 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.
182    #[serde(rename = "hydra_webfinger_jwks_broadcast_keys", skip_serializing_if = "Option::is_none")]
183    pub hydra_webfinger_jwks_broadcast_keys: Option<Vec<String>>,
184    /// Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL.  This governs the \"webfinger.oidc_discovery.auth_url\" setting.
185    #[serde(rename = "hydra_webfinger_oidc_discovery_auth_url", skip_serializing_if = "Option::is_none")]
186    pub hydra_webfinger_oidc_discovery_auth_url: Option<String>,
187    /// Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint.  This governs the \"webfinger.oidc_discovery.client_registration_url\" setting.
188    #[serde(rename = "hydra_webfinger_oidc_discovery_client_registration_url", skip_serializing_if = "Option::is_none")]
189    pub hydra_webfinger_oidc_discovery_client_registration_url: Option<String>,
190    /// Configures OpenID Connect Discovery and overwrites the JWKS URL.  This governs the \"webfinger.oidc_discovery.jwks_url\" setting.
191    #[serde(rename = "hydra_webfinger_oidc_discovery_jwks_url", skip_serializing_if = "Option::is_none")]
192    pub hydra_webfinger_oidc_discovery_jwks_url: Option<String>,
193    /// 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.
194    #[serde(rename = "hydra_webfinger_oidc_discovery_supported_claims", skip_serializing_if = "Option::is_none")]
195    pub hydra_webfinger_oidc_discovery_supported_claims: Option<Vec<String>>,
196    /// 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.
197    #[serde(rename = "hydra_webfinger_oidc_discovery_supported_scope", skip_serializing_if = "Option::is_none")]
198    pub hydra_webfinger_oidc_discovery_supported_scope: Option<Vec<String>>,
199    /// Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL.  This governs the \"webfinger.oidc_discovery.token_url\" setting.
200    #[serde(rename = "hydra_webfinger_oidc_discovery_token_url", skip_serializing_if = "Option::is_none")]
201    pub hydra_webfinger_oidc_discovery_token_url: Option<String>,
202    /// 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.
203    #[serde(rename = "hydra_webfinger_oidc_discovery_userinfo_url", skip_serializing_if = "Option::is_none")]
204    pub hydra_webfinger_oidc_discovery_userinfo_url: Option<String>,
205    /// The revision ID.
206    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
207    pub id: Option<String>,
208    /// The Revisions' Keto Namespace Configuration  The string is a URL pointing to an OPL file with the configuration.  This governs the \"namespaces.location\" setting.
209    #[serde(rename = "keto_namespace_configuration", skip_serializing_if = "Option::is_none")]
210    pub keto_namespace_configuration: Option<String>,
211    #[serde(rename = "keto_namespaces", skip_serializing_if = "Option::is_none")]
212    pub keto_namespaces: Option<Vec<models::KetoNamespace>>,
213    /// Configures Keto's pagination secrets.  This governs the \"secrets.pagination\" setting.
214    #[serde(rename = "keto_secrets_pagination", skip_serializing_if = "Option::is_none")]
215    pub keto_secrets_pagination: Option<Vec<String>>,
216    /// Configures the Ory Kratos Cookie SameSite Attribute  This governs the \"cookies.same_site\" setting.
217    #[serde(rename = "kratos_cookies_same_site", skip_serializing_if = "Option::is_none")]
218    pub kratos_cookies_same_site: Option<String>,
219    #[serde(rename = "kratos_courier_channels", skip_serializing_if = "Option::is_none")]
220    pub kratos_courier_channels: Option<Vec<models::NormalizedProjectRevisionCourierChannel>>,
221    /// 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
222    #[serde(rename = "kratos_courier_delivery_strategy", skip_serializing_if = "Option::is_none")]
223    pub kratos_courier_delivery_strategy: Option<String>,
224    /// 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.
225    #[serde(rename = "kratos_courier_http_request_config_auth_api_key_in", skip_serializing_if = "Option::is_none")]
226    pub kratos_courier_http_request_config_auth_api_key_in: Option<String>,
227    /// 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.
228    #[serde(rename = "kratos_courier_http_request_config_auth_api_key_name", skip_serializing_if = "Option::is_none")]
229    pub kratos_courier_http_request_config_auth_api_key_name: Option<String>,
230    /// 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.
231    #[serde(rename = "kratos_courier_http_request_config_auth_api_key_value", skip_serializing_if = "Option::is_none")]
232    pub kratos_courier_http_request_config_auth_api_key_value: Option<String>,
233    /// 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.
234    #[serde(rename = "kratos_courier_http_request_config_auth_basic_auth_password", skip_serializing_if = "Option::is_none")]
235    pub kratos_courier_http_request_config_auth_basic_auth_password: Option<String>,
236    /// 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.
237    #[serde(rename = "kratos_courier_http_request_config_auth_basic_auth_user", skip_serializing_if = "Option::is_none")]
238    pub kratos_courier_http_request_config_auth_basic_auth_user: Option<String>,
239    /// 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
240    #[serde(rename = "kratos_courier_http_request_config_auth_type", skip_serializing_if = "Option::is_none")]
241    pub kratos_courier_http_request_config_auth_type: Option<String>,
242    /// 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.
243    #[serde(rename = "kratos_courier_http_request_config_body", skip_serializing_if = "Option::is_none")]
244    pub kratos_courier_http_request_config_body: Option<String>,
245    /// Any additional headers to send to the remote HTTP email sending service  This governs the \"courier.http.request_config.headers\" setting.
246    #[serde(rename = "kratos_courier_http_request_config_headers", skip_serializing_if = "Option::is_none")]
247    pub kratos_courier_http_request_config_headers: Option<serde_json::Value>,
248    /// The http METHOD to use when calling the remote HTTP email sending service  This governs the \"courier.http.request_config.method\" setting.
249    #[serde(rename = "kratos_courier_http_request_config_method", skip_serializing_if = "Option::is_none")]
250    pub kratos_courier_http_request_config_method: Option<String>,
251    /// The URL of the remote HTTP email sending service  This governs the \"courier.http.request_config.url\" setting.
252    #[serde(rename = "kratos_courier_http_request_config_url", skip_serializing_if = "Option::is_none")]
253    pub kratos_courier_http_request_config_url: Option<String>,
254    /// Configures the Ory Kratos SMTP Connection URI  This governs the \"courier.smtp.connection_uri\" setting.
255    #[serde(rename = "kratos_courier_smtp_connection_uri", skip_serializing_if = "Option::is_none")]
256    pub kratos_courier_smtp_connection_uri: Option<String>,
257    /// Configures the Ory Kratos SMTP From Address  This governs the \"courier.smtp.from_address\" setting.
258    #[serde(rename = "kratos_courier_smtp_from_address", skip_serializing_if = "Option::is_none")]
259    pub kratos_courier_smtp_from_address: Option<String>,
260    /// Configures the Ory Kratos SMTP From Name  This governs the \"courier.smtp.from_name\" setting.
261    #[serde(rename = "kratos_courier_smtp_from_name", skip_serializing_if = "Option::is_none")]
262    pub kratos_courier_smtp_from_name: Option<String>,
263    /// Configures the Ory Kratos SMTP Connection Headers  This governs the \"courier.smtp.headers\" setting.
264    #[serde(rename = "kratos_courier_smtp_headers", skip_serializing_if = "Option::is_none")]
265    pub kratos_courier_smtp_headers: Option<serde_json::Value>,
266    /// Configures the local_name to use in SMTP connections  This governs the \"courier.smtp.local_name\" setting.
267    #[serde(rename = "kratos_courier_smtp_local_name", skip_serializing_if = "Option::is_none")]
268    pub kratos_courier_smtp_local_name: Option<String>,
269    /// Configures the Ory Kratos Valid Login via Code Email Body HTML Template  This governs the \"courier.templates.login_code.valid.email.body.html\" setting.
270    #[serde(rename = "kratos_courier_templates_login_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
271    pub kratos_courier_templates_login_code_valid_email_body_html: Option<String>,
272    /// Configures the Ory Kratos Valid Login via Code Email Body Plaintext Template  This governs the \"courier.templates.login_code.valid.email.body.plaintext\" setting.
273    #[serde(rename = "kratos_courier_templates_login_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
274    pub kratos_courier_templates_login_code_valid_email_body_plaintext: Option<String>,
275    /// Configures the Ory Kratos Valid Login via Code Email Subject Template  This governs the \"courier.templates.login_code.valid.email.subject\" setting.
276    #[serde(rename = "kratos_courier_templates_login_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
277    pub kratos_courier_templates_login_code_valid_email_subject: Option<String>,
278    /// Configures the Ory Kratos Valid Login via Code SMS plain text body  This governs the \"courier.templates.login_code.valid.sms.body.plaintext\" setting.
279    #[serde(rename = "kratos_courier_templates_login_code_valid_sms_body_plaintext", skip_serializing_if = "Option::is_none")]
280    pub kratos_courier_templates_login_code_valid_sms_body_plaintext: Option<String>,
281    /// Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template  This governs the \"courier.templates.recovery_code.invalid.email.body.html\" setting.
282    #[serde(rename = "kratos_courier_templates_recovery_code_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
283    pub kratos_courier_templates_recovery_code_invalid_email_body_html: Option<String>,
284    /// Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template  This governs the \"courier.templates.recovery_code.invalid.email.body.plaintext\" setting.
285    #[serde(rename = "kratos_courier_templates_recovery_code_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
286    pub kratos_courier_templates_recovery_code_invalid_email_body_plaintext: Option<String>,
287    /// Configures the Ory Kratos Invalid Recovery via Code Email Subject Template  This governs the \"courier.templates.recovery_code.invalid.email.subject\" setting.
288    #[serde(rename = "kratos_courier_templates_recovery_code_invalid_email_subject", skip_serializing_if = "Option::is_none")]
289    pub kratos_courier_templates_recovery_code_invalid_email_subject: Option<String>,
290    /// Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template  This governs the \"courier.templates.recovery_code.valid.email.body.html\" setting.
291    #[serde(rename = "kratos_courier_templates_recovery_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
292    pub kratos_courier_templates_recovery_code_valid_email_body_html: Option<String>,
293    /// Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template  This governs the \"courier.templates.recovery_code.valid.email.body.plaintext\" setting.
294    #[serde(rename = "kratos_courier_templates_recovery_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
295    pub kratos_courier_templates_recovery_code_valid_email_body_plaintext: Option<String>,
296    /// Configures the Ory Kratos Valid Recovery via Code Email Subject Template  This governs the \"courier.templates.recovery_code.valid.email.subject\" setting.
297    #[serde(rename = "kratos_courier_templates_recovery_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
298    pub kratos_courier_templates_recovery_code_valid_email_subject: Option<String>,
299    /// Configures the Ory Kratos Invalid Recovery Email Body HTML Template  This governs the \"courier.templates.recovery.invalid.email.body.html\" setting.
300    #[serde(rename = "kratos_courier_templates_recovery_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
301    pub kratos_courier_templates_recovery_invalid_email_body_html: Option<String>,
302    /// Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template  This governs the \"courier.templates.recovery.invalid.email.body.plaintext\" setting.
303    #[serde(rename = "kratos_courier_templates_recovery_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
304    pub kratos_courier_templates_recovery_invalid_email_body_plaintext: Option<String>,
305    /// Configures the Ory Kratos Invalid Recovery Email Subject Template  This governs the \"courier.templates.recovery.invalid.email.subject\" setting.
306    #[serde(rename = "kratos_courier_templates_recovery_invalid_email_subject", skip_serializing_if = "Option::is_none")]
307    pub kratos_courier_templates_recovery_invalid_email_subject: Option<String>,
308    /// Configures the Ory Kratos Valid Recovery Email Body HTML Template  This governs the \"courier.templates.recovery.valid.email.body.html\" setting.
309    #[serde(rename = "kratos_courier_templates_recovery_valid_email_body_html", skip_serializing_if = "Option::is_none")]
310    pub kratos_courier_templates_recovery_valid_email_body_html: Option<String>,
311    /// Configures the Ory Kratos Valid Recovery Email Body Plaintext Template  This governs the \"courier.templates.recovery.valid.email.body.plaintext\" setting.
312    #[serde(rename = "kratos_courier_templates_recovery_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
313    pub kratos_courier_templates_recovery_valid_email_body_plaintext: Option<String>,
314    /// Configures the Ory Kratos Valid Recovery Email Subject Template  This governs the \"courier.templates.recovery.valid.email.subject\" setting.
315    #[serde(rename = "kratos_courier_templates_recovery_valid_email_subject", skip_serializing_if = "Option::is_none")]
316    pub kratos_courier_templates_recovery_valid_email_subject: Option<String>,
317    /// Configures the Ory Kratos Valid Registration via Code Email Body HTML Template  This governs the \"courier.templates.registration_code.valid.email.body.html\" setting.
318    #[serde(rename = "kratos_courier_templates_registration_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
319    pub kratos_courier_templates_registration_code_valid_email_body_html: Option<String>,
320    /// Configures the Ory Kratos Valid Registration via Code Email Body Plaintext Template  This governs the \"courier.templates.registration_code.valid.email.body.plaintext\" setting.
321    #[serde(rename = "kratos_courier_templates_registration_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
322    pub kratos_courier_templates_registration_code_valid_email_body_plaintext: Option<String>,
323    /// Configures the Ory Kratos Valid Registration via Code Email Subject Template  This governs the \"courier.templates.registration_code.valid.email.subject\" setting.
324    #[serde(rename = "kratos_courier_templates_registration_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
325    pub kratos_courier_templates_registration_code_valid_email_subject: Option<String>,
326    /// Configures the Ory Kratos Valid Registration via Code SMS Body Plaintext Template  This governs the \"courier.templates.registration_code.valid.sms.body.plaintext\" setting.
327    #[serde(rename = "kratos_courier_templates_registration_code_valid_sms_body_plaintext", skip_serializing_if = "Option::is_none")]
328    pub kratos_courier_templates_registration_code_valid_sms_body_plaintext: Option<String>,
329    /// Configures the Ory Kratos Verifiable Address Changed Email Body HTML Template  This governs the \"courier.templates.verifiable_address_changed.email.body.html\" setting.
330    #[serde(rename = "kratos_courier_templates_verifiable_address_changed_email_body_html", skip_serializing_if = "Option::is_none")]
331    pub kratos_courier_templates_verifiable_address_changed_email_body_html: Option<String>,
332    /// Configures the Ory Kratos Verifiable Address Changed Email Body Plaintext Template  This governs the \"courier.templates.verifiable_address_changed.email.body.plaintext\" setting.
333    #[serde(rename = "kratos_courier_templates_verifiable_address_changed_email_body_plaintext", skip_serializing_if = "Option::is_none")]
334    pub kratos_courier_templates_verifiable_address_changed_email_body_plaintext: Option<String>,
335    /// Configures the Ory Kratos Verifiable Address Changed Email Subject Template  This governs the \"courier.templates.verifiable_address_changed.email.subject\" setting.
336    #[serde(rename = "kratos_courier_templates_verifiable_address_changed_email_subject", skip_serializing_if = "Option::is_none")]
337    pub kratos_courier_templates_verifiable_address_changed_email_subject: Option<String>,
338    /// Configures the Ory Kratos Verifiable Address Changed SMS Body Plaintext Template  This governs the \"courier.templates.verifiable_address_changed.sms.body.plaintext\" setting.
339    #[serde(rename = "kratos_courier_templates_verifiable_address_changed_sms_body_plaintext", skip_serializing_if = "Option::is_none")]
340    pub kratos_courier_templates_verifiable_address_changed_sms_body_plaintext: Option<String>,
341    /// Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template  This governs the \"courier.templates.verification_code.invalid.email.body.html\" setting.
342    #[serde(rename = "kratos_courier_templates_verification_code_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
343    pub kratos_courier_templates_verification_code_invalid_email_body_html: Option<String>,
344    /// Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template  This governs the \"courier.templates.verification_code.invalid.email.body.plaintext\" setting.
345    #[serde(rename = "kratos_courier_templates_verification_code_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
346    pub kratos_courier_templates_verification_code_invalid_email_body_plaintext: Option<String>,
347    /// Configures the Ory Kratos Invalid Verification via Code Email Subject Template  This governs the \"courier.templates.verification_code.invalid.email.subject\" setting.
348    #[serde(rename = "kratos_courier_templates_verification_code_invalid_email_subject", skip_serializing_if = "Option::is_none")]
349    pub kratos_courier_templates_verification_code_invalid_email_subject: Option<String>,
350    /// Configures the Ory Kratos Valid Verification via Code Email Body HTML Template  This governs the \"courier.templates.verification_code.valid.email.body.html\" setting.
351    #[serde(rename = "kratos_courier_templates_verification_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
352    pub kratos_courier_templates_verification_code_valid_email_body_html: Option<String>,
353    /// Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template  This governs the \"courier.templates.verification_code.valid.email.body.plaintext\" setting.
354    #[serde(rename = "kratos_courier_templates_verification_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
355    pub kratos_courier_templates_verification_code_valid_email_body_plaintext: Option<String>,
356    /// Configures the Ory Kratos Valid Verification via Code Email Subject Template  This governs the \"courier.templates.verification_code.valid.email.subject\" setting.
357    #[serde(rename = "kratos_courier_templates_verification_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
358    pub kratos_courier_templates_verification_code_valid_email_subject: Option<String>,
359    /// Configures the Ory Kratos Valid Verification via Code SMS Body Plaintext  This governs the \"courier.templates.verification_code.valid.sms.body.plaintext\" setting.
360    #[serde(rename = "kratos_courier_templates_verification_code_valid_sms_body_plaintext", skip_serializing_if = "Option::is_none")]
361    pub kratos_courier_templates_verification_code_valid_sms_body_plaintext: Option<String>,
362    /// Configures the Ory Kratos Invalid Verification Email Body HTML Template  This governs the \"courier.templates.verification.invalid.email.body.html\" setting.
363    #[serde(rename = "kratos_courier_templates_verification_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
364    pub kratos_courier_templates_verification_invalid_email_body_html: Option<String>,
365    /// Configures the Ory Kratos Invalid Verification Email Body Plaintext Template  This governs the \"courier.templates.verification.invalid.email.body.plaintext\" setting.
366    #[serde(rename = "kratos_courier_templates_verification_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
367    pub kratos_courier_templates_verification_invalid_email_body_plaintext: Option<String>,
368    /// Configures the Ory Kratos Invalid Verification Email Subject Template  This governs the \"courier.templates.verification.invalid.email.subject\" setting.
369    #[serde(rename = "kratos_courier_templates_verification_invalid_email_subject", skip_serializing_if = "Option::is_none")]
370    pub kratos_courier_templates_verification_invalid_email_subject: Option<String>,
371    /// Configures the Ory Kratos Valid Verification Email Body HTML Template  This governs the \"courier.templates.verification.valid.email.body.html\" setting.
372    #[serde(rename = "kratos_courier_templates_verification_valid_email_body_html", skip_serializing_if = "Option::is_none")]
373    pub kratos_courier_templates_verification_valid_email_body_html: Option<String>,
374    /// Configures the Ory Kratos Valid Verification Email Body Plaintext Template  This governs the \"courier.templates.verification.valid.email.body.plaintext\" setting.
375    #[serde(rename = "kratos_courier_templates_verification_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
376    pub kratos_courier_templates_verification_valid_email_body_plaintext: Option<String>,
377    /// Configures the Ory Kratos Valid Verification Email Subject Template  This governs the \"courier.templates.verification.valid.email.subject\" setting.
378    #[serde(rename = "kratos_courier_templates_verification_valid_email_subject", skip_serializing_if = "Option::is_none")]
379    pub kratos_courier_templates_verification_valid_email_subject: Option<String>,
380    /// Configures the Ory Kratos Session caching feature flag  This governs the \"feature_flags.cacheable_sessions\" setting.
381    #[serde(rename = "kratos_feature_flags_cacheable_sessions", skip_serializing_if = "Option::is_none")]
382    pub kratos_feature_flags_cacheable_sessions: Option<bool>,
383    /// Configures the Ory Kratos Session caching max-age feature flag  This governs the \"feature_flags.cacheable_sessions_max_age\" setting.
384    #[serde(rename = "kratos_feature_flags_cacheable_sessions_max_age", skip_serializing_if = "Option::is_none")]
385    pub kratos_feature_flags_cacheable_sessions_max_age: Option<String>,
386    /// This governs the \"feature_flags.choose_recovery_address\" setting.
387    #[serde(rename = "kratos_feature_flags_choose_recovery_address", skip_serializing_if = "Option::is_none")]
388    pub kratos_feature_flags_choose_recovery_address: Option<bool>,
389    /// 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.
390    #[serde(rename = "kratos_feature_flags_faster_session_extend", skip_serializing_if = "Option::is_none")]
391    pub kratos_feature_flags_faster_session_extend: Option<bool>,
392    /// 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.
393    #[serde(rename = "kratos_feature_flags_legacy_continue_with_verification_ui", skip_serializing_if = "Option::is_none")]
394    pub kratos_feature_flags_legacy_continue_with_verification_ui: Option<bool>,
395    /// 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.
396    #[serde(rename = "kratos_feature_flags_legacy_oidc_registration_node_group", skip_serializing_if = "Option::is_none")]
397    pub kratos_feature_flags_legacy_oidc_registration_node_group: Option<bool>,
398    /// 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.
399    #[serde(rename = "kratos_feature_flags_legacy_require_verified_login_error", skip_serializing_if = "Option::is_none")]
400    pub kratos_feature_flags_legacy_require_verified_login_error: Option<bool>,
401    /// 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.
402    #[serde(rename = "kratos_feature_flags_password_profile_registration_node_group", skip_serializing_if = "Option::is_none")]
403    pub kratos_feature_flags_password_profile_registration_node_group: Option<bool>,
404    /// 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.
405    #[serde(rename = "kratos_feature_flags_refresh_login_choose_address", skip_serializing_if = "Option::is_none")]
406    pub kratos_feature_flags_refresh_login_choose_address: Option<bool>,
407    /// Configures the Ory Kratos Session use_continue_with_transitions flag  This governs the \"feature_flags.use_continue_with_transitions\" setting.
408    #[serde(rename = "kratos_feature_flags_use_continue_with_transitions", skip_serializing_if = "Option::is_none")]
409    pub kratos_feature_flags_use_continue_with_transitions: Option<bool>,
410    #[serde(rename = "kratos_identity_schemas", skip_serializing_if = "Option::is_none")]
411    pub kratos_identity_schemas: Option<Vec<models::NormalizedProjectRevisionIdentitySchema>>,
412    /// Configures the OAuth2 Provider Integration HTTP Headers  This governs the \"oauth2_provider.headers\" setting.
413    #[serde(rename = "kratos_oauth2_provider_headers", skip_serializing_if = "Option::is_none")]
414    pub kratos_oauth2_provider_headers: Option<serde_json::Value>,
415    /// 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.
416    #[serde(rename = "kratos_oauth2_provider_override_return_to", skip_serializing_if = "Option::is_none")]
417    pub kratos_oauth2_provider_override_return_to: Option<bool>,
418    /// The Revisions' OAuth2 Provider Integration URL  This governs the \"oauth2_provider.url\" setting.
419    #[serde(rename = "kratos_oauth2_provider_url", skip_serializing_if = "Option::is_none")]
420    pub kratos_oauth2_provider_url: Option<String>,
421    /// 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.
422    #[serde(rename = "kratos_preview_default_read_consistency_level", skip_serializing_if = "Option::is_none")]
423    pub kratos_preview_default_read_consistency_level: Option<String>,
424    /// Configures the Ory Kratos Cipher Secret  This governs the \"secrets.cipher\" setting.
425    #[serde(rename = "kratos_secrets_cipher", skip_serializing_if = "Option::is_none")]
426    pub kratos_secrets_cipher: Option<Vec<String>>,
427    /// Configures the Ory Kratos Cookie Secret  This governs the \"secrets.cookie\" setting.
428    #[serde(rename = "kratos_secrets_cookie", skip_serializing_if = "Option::is_none")]
429    pub kratos_secrets_cookie: Option<Vec<String>>,
430    /// Configures the Ory Kratos Default Secret  This governs the \"secrets.default\" setting.
431    #[serde(rename = "kratos_secrets_default", skip_serializing_if = "Option::is_none")]
432    pub kratos_secrets_default: Option<Vec<String>>,
433    /// Configures the Ory Kratos Pagination Secret  This governs the \"secrets.pagination\" setting.
434    #[serde(rename = "kratos_secrets_pagination", skip_serializing_if = "Option::is_none")]
435    pub kratos_secrets_pagination: Option<Vec<String>>,
436    /// Configures if account enumeration should be mitigated when using identifier first login.  This governs the \"security.account_enumeration.mitigate\" setting.
437    #[serde(rename = "kratos_security_account_enumeration_mitigate", skip_serializing_if = "Option::is_none")]
438    pub kratos_security_account_enumeration_mitigate: Option<bool>,
439    /// Configures the Ory Kratos Allowed Return URLs  This governs the \"selfservice.allowed_return_urls\" setting.
440    #[serde(rename = "kratos_selfservice_allowed_return_urls", skip_serializing_if = "Option::is_none")]
441    pub kratos_selfservice_allowed_return_urls: Option<Vec<String>>,
442    /// Configures the Ory Kratos Default Return URL  This governs the \"selfservice.default_browser_return_url\" setting.
443    #[serde(rename = "kratos_selfservice_default_browser_return_url", skip_serializing_if = "Option::is_none")]
444    pub kratos_selfservice_default_browser_return_url: Option<String>,
445    /// Configures the Ory Kratos Error UI URL  This governs the \"selfservice.flows.error.ui_url\" setting.
446    #[serde(rename = "kratos_selfservice_flows_error_ui_url", skip_serializing_if = "Option::is_none")]
447    pub kratos_selfservice_flows_error_ui_url: Option<String>,
448    /// Configures the Ory Kratos Login After Code Default Return URL  This governs the \"selfservice.flows.login.after.code.default_browser_return_url\" setting.
449    #[serde(rename = "kratos_selfservice_flows_login_after_code_default_browser_return_url", skip_serializing_if = "Option::is_none")]
450    pub kratos_selfservice_flows_login_after_code_default_browser_return_url: Option<String>,
451    /// Configures the Ory Kratos Login Default Return URL  This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting.
452    #[serde(rename = "kratos_selfservice_flows_login_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
453    pub kratos_selfservice_flows_login_after_default_browser_return_url: Option<String>,
454    /// 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.
455    #[serde(rename = "kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url", skip_serializing_if = "Option::is_none")]
456    pub kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url: Option<String>,
457    /// Configures the Ory Kratos Login After OIDC Default Return URL  This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting.
458    #[serde(rename = "kratos_selfservice_flows_login_after_oidc_default_browser_return_url", skip_serializing_if = "Option::is_none")]
459    pub kratos_selfservice_flows_login_after_oidc_default_browser_return_url: Option<String>,
460    /// Configures the Ory Kratos Login After Passkey Default Return URL  This governs the \"selfservice.flows.login.after.passkey.default_browser_return_url\" setting.
461    #[serde(rename = "kratos_selfservice_flows_login_after_passkey_default_browser_return_url", skip_serializing_if = "Option::is_none")]
462    pub kratos_selfservice_flows_login_after_passkey_default_browser_return_url: Option<String>,
463    /// Configures the Ory Kratos Login After Password Default Return URL  This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting.
464    #[serde(rename = "kratos_selfservice_flows_login_after_password_default_browser_return_url", skip_serializing_if = "Option::is_none")]
465    pub kratos_selfservice_flows_login_after_password_default_browser_return_url: Option<String>,
466    /// Configures the Ory Kratos Login After TOTP Default Return URL  This governs the \"selfservice.flows.login.after.totp.default_browser_return_url\" setting.
467    #[serde(rename = "kratos_selfservice_flows_login_after_totp_default_browser_return_url", skip_serializing_if = "Option::is_none")]
468    pub kratos_selfservice_flows_login_after_totp_default_browser_return_url: Option<String>,
469    /// Configures the Ory Kratos Login After WebAuthn Default Return URL  This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting.
470    #[serde(rename = "kratos_selfservice_flows_login_after_webauthn_default_browser_return_url", skip_serializing_if = "Option::is_none")]
471    pub kratos_selfservice_flows_login_after_webauthn_default_browser_return_url: Option<String>,
472    /// Configures the Ory Kratos Login Lifespan  This governs the \"selfservice.flows.login.lifespan\" setting.
473    #[serde(rename = "kratos_selfservice_flows_login_lifespan", skip_serializing_if = "Option::is_none")]
474    pub kratos_selfservice_flows_login_lifespan: Option<String>,
475    /// Configures the Ory Kratos Login Flow Style  This governs the \"selfservice.flows.login.style\" setting. Possible values are \"unified\" and \"identifier_first\".
476    #[serde(rename = "kratos_selfservice_flows_login_style", skip_serializing_if = "Option::is_none")]
477    pub kratos_selfservice_flows_login_style: Option<String>,
478    /// Configures the Ory Kratos Login UI URL  This governs the \"selfservice.flows.login.ui_url\" setting.
479    #[serde(rename = "kratos_selfservice_flows_login_ui_url", skip_serializing_if = "Option::is_none")]
480    pub kratos_selfservice_flows_login_ui_url: Option<String>,
481    /// Configures the Ory Kratos Logout Default Return URL  This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting.
482    #[serde(rename = "kratos_selfservice_flows_logout_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
483    pub kratos_selfservice_flows_logout_after_default_browser_return_url: Option<String>,
484    /// Configures the Ory Kratos Recovery Default Return URL  This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting.
485    #[serde(rename = "kratos_selfservice_flows_recovery_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
486    pub kratos_selfservice_flows_recovery_after_default_browser_return_url: Option<String>,
487    /// Configures the Ory Kratos Recovery Enabled Setting  This governs the \"selfservice.flows.recovery.enabled\" setting.
488    #[serde(rename = "kratos_selfservice_flows_recovery_enabled", skip_serializing_if = "Option::is_none")]
489    pub kratos_selfservice_flows_recovery_enabled: Option<bool>,
490    /// Configures the Ory Kratos Recovery Lifespan  This governs the \"selfservice.flows.recovery.lifespan\" setting.
491    #[serde(rename = "kratos_selfservice_flows_recovery_lifespan", skip_serializing_if = "Option::is_none")]
492    pub kratos_selfservice_flows_recovery_lifespan: Option<String>,
493    /// Configures whether to notify unknown recipients of a Ory Kratos recovery flow  This governs the \"selfservice.flows.recovery.notify_unknown_recipients\" setting.
494    #[serde(rename = "kratos_selfservice_flows_recovery_notify_unknown_recipients", skip_serializing_if = "Option::is_none")]
495    pub kratos_selfservice_flows_recovery_notify_unknown_recipients: Option<bool>,
496    /// Configures the Ory Kratos Recovery UI URL  This governs the \"selfservice.flows.recovery.ui_url\" setting.
497    #[serde(rename = "kratos_selfservice_flows_recovery_ui_url", skip_serializing_if = "Option::is_none")]
498    pub kratos_selfservice_flows_recovery_ui_url: Option<String>,
499    /// Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\")  This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
500    #[serde(rename = "kratos_selfservice_flows_recovery_use", skip_serializing_if = "Option::is_none")]
501    pub kratos_selfservice_flows_recovery_use: Option<KratosSelfserviceFlowsRecoveryUseEnum>,
502    /// Configures the Ory Kratos Registration After Code Default Return URL  This governs the \"selfservice.flows.registration.after.code.default_browser_return_url\" setting.
503    #[serde(rename = "kratos_selfservice_flows_registration_after_code_default_browser_return_url", skip_serializing_if = "Option::is_none")]
504    pub kratos_selfservice_flows_registration_after_code_default_browser_return_url: Option<String>,
505    /// Configures the Ory Kratos Registration Default Return URL  This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting.
506    #[serde(rename = "kratos_selfservice_flows_registration_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
507    pub kratos_selfservice_flows_registration_after_default_browser_return_url: Option<String>,
508    /// Configures the Ory Kratos Registration After OIDC Default Return URL  This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting.
509    #[serde(rename = "kratos_selfservice_flows_registration_after_oidc_default_browser_return_url", skip_serializing_if = "Option::is_none")]
510    pub kratos_selfservice_flows_registration_after_oidc_default_browser_return_url: Option<String>,
511    /// Configures the Ory Kratos Registration After Passkey Default Return URL  This governs the \"selfservice.flows.registration.after.passkey.default_browser_return_url\" setting.
512    #[serde(rename = "kratos_selfservice_flows_registration_after_passkey_default_browser_return_url", skip_serializing_if = "Option::is_none")]
513    pub kratos_selfservice_flows_registration_after_passkey_default_browser_return_url: Option<String>,
514    /// Configures the Ory Kratos Registration After Password Default Return URL  This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.
515    #[serde(rename = "kratos_selfservice_flows_registration_after_password_default_browser_return_url", skip_serializing_if = "Option::is_none")]
516    pub kratos_selfservice_flows_registration_after_password_default_browser_return_url: Option<String>,
517    /// Configures the Ory Kratos Registration After Webauthn Default Return URL  This governs the \"selfservice.flows.registration.after.webauthn.default_browser_return_url\" setting.
518    #[serde(rename = "kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url", skip_serializing_if = "Option::is_none")]
519    pub kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url: Option<String>,
520    /// 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.
521    #[serde(rename = "kratos_selfservice_flows_registration_enable_legacy_one_step", skip_serializing_if = "Option::is_none")]
522    pub kratos_selfservice_flows_registration_enable_legacy_one_step: Option<bool>,
523    /// Configures the Whether Ory Kratos Registration is Enabled  This governs the \"selfservice.flows.registration.enabled\" setting.0
524    #[serde(rename = "kratos_selfservice_flows_registration_enabled", skip_serializing_if = "Option::is_none")]
525    pub kratos_selfservice_flows_registration_enabled: Option<bool>,
526    /// Configures the Ory Kratos Registration Lifespan  This governs the \"selfservice.flows.registration.lifespan\" setting.
527    #[serde(rename = "kratos_selfservice_flows_registration_lifespan", skip_serializing_if = "Option::is_none")]
528    pub kratos_selfservice_flows_registration_lifespan: Option<String>,
529    /// 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.
530    #[serde(rename = "kratos_selfservice_flows_registration_login_hints", skip_serializing_if = "Option::is_none")]
531    pub kratos_selfservice_flows_registration_login_hints: Option<bool>,
532    /// Configures the Ory Kratos Registration UI URL  This governs the \"selfservice.flows.registration.ui_url\" setting.
533    #[serde(rename = "kratos_selfservice_flows_registration_ui_url", skip_serializing_if = "Option::is_none")]
534    pub kratos_selfservice_flows_registration_ui_url: Option<String>,
535    /// Configures the Ory Kratos Settings Default Return URL  This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting.
536    #[serde(rename = "kratos_selfservice_flows_settings_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
537    pub kratos_selfservice_flows_settings_after_default_browser_return_url: Option<String>,
538    /// 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.
539    #[serde(rename = "kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url", skip_serializing_if = "Option::is_none")]
540    pub kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url: Option<String>,
541    /// 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.
542    #[serde(rename = "kratos_selfservice_flows_settings_after_oidc_default_browser_return_url", skip_serializing_if = "Option::is_none")]
543    pub kratos_selfservice_flows_settings_after_oidc_default_browser_return_url: Option<String>,
544    /// Configures the Ory Kratos Settings Default Return URL After Updating Passkey  This governs the \"selfservice.flows.settings.after.passkey.default_browser_return_url\" setting.
545    #[serde(rename = "kratos_selfservice_flows_settings_after_passkey_default_browser_return_url", skip_serializing_if = "Option::is_none")]
546    pub kratos_selfservice_flows_settings_after_passkey_default_browser_return_url: Option<String>,
547    /// Configures the Ory Kratos Settings Default Return URL After Updating Passwords  This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting.
548    #[serde(rename = "kratos_selfservice_flows_settings_after_password_default_browser_return_url", skip_serializing_if = "Option::is_none")]
549    pub kratos_selfservice_flows_settings_after_password_default_browser_return_url: Option<String>,
550    /// Configures the Ory Kratos Settings Default Return URL After Updating Profiles  This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting.
551    #[serde(rename = "kratos_selfservice_flows_settings_after_profile_default_browser_return_url", skip_serializing_if = "Option::is_none")]
552    pub kratos_selfservice_flows_settings_after_profile_default_browser_return_url: Option<String>,
553    /// Configures the Ory Kratos Settings Default Return URL After Updating TOTP  This governs the \"selfservice.flows.settings.after.totp.default_browser_return_url\" setting.
554    #[serde(rename = "kratos_selfservice_flows_settings_after_totp_default_browser_return_url", skip_serializing_if = "Option::is_none")]
555    pub kratos_selfservice_flows_settings_after_totp_default_browser_return_url: Option<String>,
556    /// Configures the Ory Kratos Settings Default Return URL After Updating WebAuthn  This governs the \"selfservice.flows.settings.after.webauthn.default_browser_return_url\" setting.
557    #[serde(rename = "kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url", skip_serializing_if = "Option::is_none")]
558    pub kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url: Option<String>,
559    /// Configures the Ory Kratos Settings Lifespan  This governs the \"selfservice.flows.settings.lifespan\" setting.
560    #[serde(rename = "kratos_selfservice_flows_settings_lifespan", skip_serializing_if = "Option::is_none")]
561    pub kratos_selfservice_flows_settings_lifespan: Option<String>,
562    /// Configures the Ory Kratos Settings Privileged Session Max Age  This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting.
563    #[serde(rename = "kratos_selfservice_flows_settings_privileged_session_max_age", skip_serializing_if = "Option::is_none")]
564    pub kratos_selfservice_flows_settings_privileged_session_max_age: Option<String>,
565    /// Configures the Ory Kratos Settings Required AAL  This governs the \"selfservice.flows.settings.required_aal\" setting.
566    #[serde(rename = "kratos_selfservice_flows_settings_required_aal", skip_serializing_if = "Option::is_none")]
567    pub kratos_selfservice_flows_settings_required_aal: Option<String>,
568    /// Configures the Ory Kratos Settings UI URL  This governs the \"selfservice.flows.settings.ui_url\" setting.
569    #[serde(rename = "kratos_selfservice_flows_settings_ui_url", skip_serializing_if = "Option::is_none")]
570    pub kratos_selfservice_flows_settings_ui_url: Option<String>,
571    /// Configures the Ory Kratos Verification Default Return URL  This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting.
572    #[serde(rename = "kratos_selfservice_flows_verification_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
573    pub kratos_selfservice_flows_verification_after_default_browser_return_url: Option<String>,
574    /// Configures the Ory Kratos Verification Enabled Setting  This governs the \"selfservice.flows.verification.enabled\" setting.
575    #[serde(rename = "kratos_selfservice_flows_verification_enabled", skip_serializing_if = "Option::is_none")]
576    pub kratos_selfservice_flows_verification_enabled: Option<bool>,
577    /// Configures the Ory Kratos Verification Lifespan  This governs the \"selfservice.flows.verification.lifespan\" setting.
578    #[serde(rename = "kratos_selfservice_flows_verification_lifespan", skip_serializing_if = "Option::is_none")]
579    pub kratos_selfservice_flows_verification_lifespan: Option<String>,
580    /// Configures whether to notify unknown recipients of a Ory Kratos verification flow  This governs the \"selfservice.flows.verification.notify_unknown_recipients\" setting.
581    #[serde(rename = "kratos_selfservice_flows_verification_notify_unknown_recipients", skip_serializing_if = "Option::is_none")]
582    pub kratos_selfservice_flows_verification_notify_unknown_recipients: Option<bool>,
583    /// Configures the Ory Kratos Verification UI URL  This governs the \"selfservice.flows.verification.ui_url\" setting.
584    #[serde(rename = "kratos_selfservice_flows_verification_ui_url", skip_serializing_if = "Option::is_none")]
585    pub kratos_selfservice_flows_verification_ui_url: Option<String>,
586    /// Configures the Ory Kratos Strategy to use for Verification  This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
587    #[serde(rename = "kratos_selfservice_flows_verification_use", skip_serializing_if = "Option::is_none")]
588    pub kratos_selfservice_flows_verification_use: Option<KratosSelfserviceFlowsVerificationUseEnum>,
589    /// Configures the CAPTCHA allowed domains list  This governs the \"selfservice.methods.captcha.config.allowed_domains\" setting.
590    #[serde(rename = "kratos_selfservice_methods_captcha_config_allowed_domains", skip_serializing_if = "Option::is_none")]
591    pub kratos_selfservice_methods_captcha_config_allowed_domains: Option<Vec<String>>,
592    /// 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.
593    #[serde(rename = "kratos_selfservice_methods_captcha_config_byo", skip_serializing_if = "Option::is_none")]
594    pub kratos_selfservice_methods_captcha_config_byo: Option<bool>,
595    /// 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.
596    #[serde(rename = "kratos_selfservice_methods_captcha_config_cf_turnstile_byo_secret", skip_serializing_if = "Option::is_none")]
597    pub kratos_selfservice_methods_captcha_config_cf_turnstile_byo_secret: Option<String>,
598    /// 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.
599    #[serde(rename = "kratos_selfservice_methods_captcha_config_cf_turnstile_byo_sitekey", skip_serializing_if = "Option::is_none")]
600    pub kratos_selfservice_methods_captcha_config_cf_turnstile_byo_sitekey: Option<String>,
601    /// 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.
602    #[serde(rename = "kratos_selfservice_methods_captcha_config_cf_turnstile_secret", skip_serializing_if = "Option::is_none")]
603    pub kratos_selfservice_methods_captcha_config_cf_turnstile_secret: Option<String>,
604    /// 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.
605    #[serde(rename = "kratos_selfservice_methods_captcha_config_cf_turnstile_sitekey", skip_serializing_if = "Option::is_none")]
606    pub kratos_selfservice_methods_captcha_config_cf_turnstile_sitekey: Option<String>,
607    /// 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.
608    #[serde(rename = "kratos_selfservice_methods_captcha_config_legacy_inject_node", skip_serializing_if = "Option::is_none")]
609    pub kratos_selfservice_methods_captcha_config_legacy_inject_node: Option<bool>,
610    /// 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.
611    #[serde(rename = "kratos_selfservice_methods_captcha_enabled", skip_serializing_if = "Option::is_none")]
612    pub kratos_selfservice_methods_captcha_enabled: Option<bool>,
613    /// Configures the Ory Kratos Code Method's lifespan  This governs the \"selfservice.methods.code.config.lifespan\" setting.
614    #[serde(rename = "kratos_selfservice_methods_code_config_lifespan", skip_serializing_if = "Option::is_none")]
615    pub kratos_selfservice_methods_code_config_lifespan: Option<String>,
616    /// Configures the maximum number of attempts to submit a one-time code in kratos.  This governs the \"selfservice.methods.code.max_submissions\" setting.
617    #[serde(rename = "kratos_selfservice_methods_code_config_max_submissions", skip_serializing_if = "Option::is_none")]
618    pub kratos_selfservice_methods_code_config_max_submissions: Option<i64>,
619    /// Enables a fallback method required in certain legacy use cases.  This governs the \"selfservice.methods.code.config.missing_credential_fallback_enabled\" setting.
620    #[serde(rename = "kratos_selfservice_methods_code_config_missing_credential_fallback_enabled", skip_serializing_if = "Option::is_none")]
621    pub kratos_selfservice_methods_code_config_missing_credential_fallback_enabled: Option<bool>,
622    /// Configures whether Ory Kratos Code Method is enabled  This governs the \"selfservice.methods.code.enabled\" setting.
623    #[serde(rename = "kratos_selfservice_methods_code_enabled", skip_serializing_if = "Option::is_none")]
624    pub kratos_selfservice_methods_code_enabled: Option<bool>,
625    /// Configures whether the code method can be used to fulfil MFA flows  This governs the \"selfservice.methods.code.mfa_enabled\" setting.
626    #[serde(rename = "kratos_selfservice_methods_code_mfa_enabled", skip_serializing_if = "Option::is_none")]
627    pub kratos_selfservice_methods_code_mfa_enabled: Option<bool>,
628    /// Configures whether Ory Kratos Passwordless should use the Code Method  This governs the \"selfservice.methods.code.passwordless_enabled\" setting.
629    #[serde(rename = "kratos_selfservice_methods_code_passwordless_enabled", skip_serializing_if = "Option::is_none")]
630    pub kratos_selfservice_methods_code_passwordless_enabled: Option<bool>,
631    /// 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.
632    #[serde(rename = "kratos_selfservice_methods_code_passwordless_login_fallback_enabled", skip_serializing_if = "Option::is_none")]
633    pub kratos_selfservice_methods_code_passwordless_login_fallback_enabled: Option<bool>,
634    /// 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.
635    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_android_app_ids", skip_serializing_if = "Option::is_none")]
636    pub kratos_selfservice_methods_deviceauthn_config_android_app_ids: Option<Vec<String>>,
637    /// Configures whether device authentication may be used as the sole first factor.  This governs the \"selfservice.methods.deviceauthn.config.first_factor\" setting.
638    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_first_factor", skip_serializing_if = "Option::is_none")]
639    pub kratos_selfservice_methods_deviceauthn_config_first_factor: Option<bool>,
640    /// 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.
641    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_insecure_allow_relaxed_attestation", skip_serializing_if = "Option::is_none")]
642    pub kratos_selfservice_methods_deviceauthn_config_insecure_allow_relaxed_attestation: Option<bool>,
643    /// 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.
644    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_ios_app_ids", skip_serializing_if = "Option::is_none")]
645    pub kratos_selfservice_methods_deviceauthn_config_ios_app_ids: Option<Vec<String>>,
646    /// Configures whether an iOS biometric device key may be used as the sole first factor.  This governs the \"selfservice.methods.deviceauthn.config.ios_biometric_first_factor\" setting.
647    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_ios_biometric_first_factor", skip_serializing_if = "Option::is_none")]
648    pub kratos_selfservice_methods_deviceauthn_config_ios_biometric_first_factor: Option<bool>,
649    /// Configures the consecutive wrong-PIN limit before a device key is locked.  This governs the \"selfservice.methods.deviceauthn.config.pin_max_attempts\" setting.
650    #[serde(rename = "kratos_selfservice_methods_deviceauthn_config_pin_max_attempts", skip_serializing_if = "Option::is_none")]
651    pub kratos_selfservice_methods_deviceauthn_config_pin_max_attempts: Option<i64>,
652    /// Configures whether Ory Kratos Device authentication is enabled  This governs the \"selfservice.methods.deviceauthn.enabled\" setting.
653    #[serde(rename = "kratos_selfservice_methods_deviceauthn_enabled", skip_serializing_if = "Option::is_none")]
654    pub kratos_selfservice_methods_deviceauthn_enabled: Option<bool>,
655    /// 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.
656    #[serde(rename = "kratos_selfservice_methods_link_config_base_url", skip_serializing_if = "Option::is_none")]
657    pub kratos_selfservice_methods_link_config_base_url: Option<String>,
658    /// Configures the Ory Kratos Link Method's lifespan  This governs the \"selfservice.methods.link.config.lifespan\" setting.
659    #[serde(rename = "kratos_selfservice_methods_link_config_lifespan", skip_serializing_if = "Option::is_none")]
660    pub kratos_selfservice_methods_link_config_lifespan: Option<String>,
661    /// Configures whether Ory Kratos Link Method is enabled  This governs the \"selfservice.methods.link.enabled\" setting.
662    #[serde(rename = "kratos_selfservice_methods_link_enabled", skip_serializing_if = "Option::is_none")]
663    pub kratos_selfservice_methods_link_enabled: Option<bool>,
664    /// Configures whether Ory Kratos TOTP Lookup Secret is enabled  This governs the \"selfservice.methods.lookup_secret.enabled\" setting.
665    #[serde(rename = "kratos_selfservice_methods_lookup_secret_enabled", skip_serializing_if = "Option::is_none")]
666    pub kratos_selfservice_methods_lookup_secret_enabled: Option<bool>,
667    /// Configures the Ory Kratos Third Party / OpenID Connect base redirect URI  This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting.
668    #[serde(rename = "kratos_selfservice_methods_oidc_config_base_redirect_uri", skip_serializing_if = "Option::is_none")]
669    pub kratos_selfservice_methods_oidc_config_base_redirect_uri: Option<String>,
670    #[serde(rename = "kratos_selfservice_methods_oidc_config_providers", skip_serializing_if = "Option::is_none")]
671    pub kratos_selfservice_methods_oidc_config_providers: Option<Vec<models::NormalizedProjectRevisionThirdPartyProvider>>,
672    /// Configures whether Ory Kratos allows auto-linking of OIDC credentials without a subject  This governs the \"selfservice.methods.oidc.enable_auto_link_policy\" setting.
673    #[serde(rename = "kratos_selfservice_methods_oidc_enable_auto_link_policy", skip_serializing_if = "Option::is_none")]
674    pub kratos_selfservice_methods_oidc_enable_auto_link_policy: Option<bool>,
675    /// Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled  This governs the \"selfservice.methods.oidc.enabled\" setting.
676    #[serde(rename = "kratos_selfservice_methods_oidc_enabled", skip_serializing_if = "Option::is_none")]
677    pub kratos_selfservice_methods_oidc_enabled: Option<bool>,
678    /// Configures the Ory Kratos Passkey RP Display Name  This governs the \"selfservice.methods.passkey.config.rp.display_name\" setting.
679    #[serde(rename = "kratos_selfservice_methods_passkey_config_rp_display_name", skip_serializing_if = "Option::is_none")]
680    pub kratos_selfservice_methods_passkey_config_rp_display_name: Option<String>,
681    /// Configures the Ory Kratos Passkey RP ID  This governs the \"selfservice.methods.passkey.config.rp.id\" setting.
682    #[serde(rename = "kratos_selfservice_methods_passkey_config_rp_id", skip_serializing_if = "Option::is_none")]
683    pub kratos_selfservice_methods_passkey_config_rp_id: Option<String>,
684    /// Configures the Ory Kratos Passkey RP Origins  This governs the \"selfservice.methods.passkey.config.rp.origins\" setting.
685    #[serde(rename = "kratos_selfservice_methods_passkey_config_rp_origins", skip_serializing_if = "Option::is_none")]
686    pub kratos_selfservice_methods_passkey_config_rp_origins: Option<Vec<String>>,
687    /// Configures whether Ory Kratos Passkey authentication is enabled  This governs the \"selfservice.methods.passkey.enabled\" setting.
688    #[serde(rename = "kratos_selfservice_methods_passkey_enabled", skip_serializing_if = "Option::is_none")]
689    pub kratos_selfservice_methods_passkey_enabled: Option<bool>,
690    /// Configures whether Ory Kratos Password HIBP Checks is enabled  This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting.
691    #[serde(rename = "kratos_selfservice_methods_password_config_haveibeenpwned_enabled", skip_serializing_if = "Option::is_none")]
692    pub kratos_selfservice_methods_password_config_haveibeenpwned_enabled: Option<bool>,
693    /// Configures whether Ory Kratos Password should disable the similarity policy.  This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting.
694    #[serde(rename = "kratos_selfservice_methods_password_config_identifier_similarity_check_enabled", skip_serializing_if = "Option::is_none")]
695    pub kratos_selfservice_methods_password_config_identifier_similarity_check_enabled: Option<bool>,
696    /// Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors  This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting.
697    #[serde(rename = "kratos_selfservice_methods_password_config_ignore_network_errors", skip_serializing_if = "Option::is_none")]
698    pub kratos_selfservice_methods_password_config_ignore_network_errors: Option<bool>,
699    /// Configures Ory Kratos Password Max Breaches Detection  This governs the \"selfservice.methods.password.config.max_breaches\" setting.
700    #[serde(rename = "kratos_selfservice_methods_password_config_max_breaches", skip_serializing_if = "Option::is_none")]
701    pub kratos_selfservice_methods_password_config_max_breaches: Option<i64>,
702    /// Configures the minimum length of passwords.  This governs the \"selfservice.methods.password.config.min_password_length\" setting.
703    #[serde(rename = "kratos_selfservice_methods_password_config_min_password_length", skip_serializing_if = "Option::is_none")]
704    pub kratos_selfservice_methods_password_config_min_password_length: Option<i64>,
705    /// Configures whether Ory Kratos Password Method is enabled  This governs the \"selfservice.methods.password.enabled\" setting.
706    #[serde(rename = "kratos_selfservice_methods_password_enabled", skip_serializing_if = "Option::is_none")]
707    pub kratos_selfservice_methods_password_enabled: Option<bool>,
708    /// Configures whether Ory Kratos Profile Method is enabled  This governs the \"selfservice.methods.profile.enabled\" setting.
709    #[serde(rename = "kratos_selfservice_methods_profile_enabled", skip_serializing_if = "Option::is_none")]
710    pub kratos_selfservice_methods_profile_enabled: Option<bool>,
711    #[serde(rename = "kratos_selfservice_methods_saml_config_providers", skip_serializing_if = "Option::is_none")]
712    pub kratos_selfservice_methods_saml_config_providers: Option<Vec<models::NormalizedProjectRevisionSamlProvider>>,
713    /// Configures whether Ory Kratos SAML Login is enabled  This governs the \"selfservice.methods.saml.enabled\" setting.
714    #[serde(rename = "kratos_selfservice_methods_saml_enabled", skip_serializing_if = "Option::is_none")]
715    pub kratos_selfservice_methods_saml_enabled: Option<bool>,
716    /// Configures Ory Kratos TOTP Issuer  This governs the \"selfservice.methods.totp.config.issuer\" setting.
717    #[serde(rename = "kratos_selfservice_methods_totp_config_issuer", skip_serializing_if = "Option::is_none")]
718    pub kratos_selfservice_methods_totp_config_issuer: Option<String>,
719    /// Configures whether Ory Kratos TOTP Method is enabled  This governs the \"selfservice.methods.totp.enabled\" setting.
720    #[serde(rename = "kratos_selfservice_methods_totp_enabled", skip_serializing_if = "Option::is_none")]
721    pub kratos_selfservice_methods_totp_enabled: Option<bool>,
722    /// Configures whether Ory Kratos Webauthn is used for passwordless flows  This governs the \"selfservice.methods.webauthn.config.passwordless\" setting.
723    #[serde(rename = "kratos_selfservice_methods_webauthn_config_passwordless", skip_serializing_if = "Option::is_none")]
724    pub kratos_selfservice_methods_webauthn_config_passwordless: Option<bool>,
725    /// Configures the Ory Kratos Webauthn RP Display Name  This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting.
726    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_display_name", skip_serializing_if = "Option::is_none")]
727    pub kratos_selfservice_methods_webauthn_config_rp_display_name: Option<String>,
728    /// 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.
729    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_icon", skip_serializing_if = "Option::is_none")]
730    pub kratos_selfservice_methods_webauthn_config_rp_icon: Option<String>,
731    /// Configures the Ory Kratos Webauthn RP ID  This governs the \"selfservice.methods.webauthn.config.rp.id\" setting.
732    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_id", skip_serializing_if = "Option::is_none")]
733    pub kratos_selfservice_methods_webauthn_config_rp_id: Option<String>,
734    /// Configures the Ory Kratos Webauthn RP Origins  This governs the \"selfservice.methods.webauthn.config.rp.origins\" setting.
735    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_origins", skip_serializing_if = "Option::is_none")]
736    pub kratos_selfservice_methods_webauthn_config_rp_origins: Option<Vec<String>>,
737    /// Configures whether Ory Kratos Webauthn is enabled  This governs the \"selfservice.methods.webauthn.enabled\" setting.
738    #[serde(rename = "kratos_selfservice_methods_webauthn_enabled", skip_serializing_if = "Option::is_none")]
739    pub kratos_selfservice_methods_webauthn_enabled: Option<bool>,
740    /// Configures the Ory Kratos Session Cookie Persistent Attribute  This governs the \"session.cookie.persistent\" setting.
741    #[serde(rename = "kratos_session_cookie_persistent", skip_serializing_if = "Option::is_none")]
742    pub kratos_session_cookie_persistent: Option<bool>,
743    /// Configures the Ory Kratos Session Cookie SameSite Attribute  This governs the \"session.cookie.same_site\" setting.
744    #[serde(rename = "kratos_session_cookie_same_site", skip_serializing_if = "Option::is_none")]
745    pub kratos_session_cookie_same_site: Option<String>,
746    /// Configures the Ory Kratos Session Lifespan  This governs the \"session.lifespan\" setting.
747    #[serde(rename = "kratos_session_lifespan", skip_serializing_if = "Option::is_none")]
748    pub kratos_session_lifespan: Option<String>,
749    /// Configures the Ory Kratos Session Whoami AAL requirement  This governs the \"session.whoami.required_aal\" setting.
750    #[serde(rename = "kratos_session_whoami_required_aal", skip_serializing_if = "Option::is_none")]
751    pub kratos_session_whoami_required_aal: Option<String>,
752    #[serde(rename = "kratos_session_whoami_tokenizer_templates", skip_serializing_if = "Option::is_none")]
753    pub kratos_session_whoami_tokenizer_templates: Option<Vec<models::NormalizedProjectRevisionTokenizerTemplate>>,
754    /// The project's name.
755    #[serde(rename = "name")]
756    pub name: String,
757    #[serde(rename = "organizations", skip_serializing_if = "Option::is_none")]
758    pub organizations: Option<Vec<models::Organization>>,
759    /// The Revision's Project ID
760    #[serde(rename = "project_id", skip_serializing_if = "Option::is_none")]
761    pub project_id: Option<String>,
762    #[serde(rename = "project_revision_hooks", skip_serializing_if = "Option::is_none")]
763    pub project_revision_hooks: Option<Vec<models::NormalizedProjectRevisionHook>>,
764    #[serde(rename = "scim_clients", skip_serializing_if = "Option::is_none")]
765    pub scim_clients: Option<Vec<models::NormalizedProjectRevisionScimClient>>,
766    /// Configures the CORS Allowed Origins on admin APIs  This governs the \"serve.admin.cors.allowed_origins\" setting.
767    #[serde(rename = "serve_admin_cors_allowed_origins", skip_serializing_if = "Option::is_none")]
768    pub serve_admin_cors_allowed_origins: Option<Vec<String>>,
769    /// Enable CORS headers on all admin APIs  This governs the \"serve.admin.cors.enabled\" setting.
770    #[serde(rename = "serve_admin_cors_enabled", skip_serializing_if = "Option::is_none")]
771    pub serve_admin_cors_enabled: Option<bool>,
772    /// Configures the CORS Allowed Origins on public APIs  This governs the \"serve.public.cors.allowed_origins\" setting.
773    #[serde(rename = "serve_public_cors_allowed_origins", skip_serializing_if = "Option::is_none")]
774    pub serve_public_cors_allowed_origins: Option<Vec<String>>,
775    /// Enable CORS headers on all public APIs  This governs the \"serve.public.cors.enabled\" setting.
776    #[serde(rename = "serve_public_cors_enabled", skip_serializing_if = "Option::is_none")]
777    pub serve_public_cors_enabled: Option<bool>,
778    /// Whether the project should employ strict security measures. Setting this to true is recommended for going into production.
779    #[serde(rename = "strict_security", skip_serializing_if = "Option::is_none")]
780    pub strict_security: Option<bool>,
781    /// 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.
782    #[serde(rename = "talos_cache_enabled", skip_serializing_if = "Option::is_none")]
783    pub talos_cache_enabled: Option<bool>,
784    /// Talos cache TTL controls how long API key verification results are cached.
785    #[serde(rename = "talos_cache_ttl", skip_serializing_if = "Option::is_none")]
786    pub talos_cache_ttl: Option<String>,
787    /// Talos API keys default TTL.
788    #[serde(rename = "talos_credentials_api_keys_default_ttl", skip_serializing_if = "Option::is_none")]
789    pub talos_credentials_api_keys_default_ttl: Option<String>,
790    /// Talos API keys max TTL.
791    #[serde(rename = "talos_credentials_api_keys_max_ttl", skip_serializing_if = "Option::is_none")]
792    pub talos_credentials_api_keys_max_ttl: Option<String>,
793    /// Talos API keys prefix (current).
794    #[serde(rename = "talos_credentials_api_keys_prefix_current", skip_serializing_if = "Option::is_none")]
795    pub talos_credentials_api_keys_prefix_current: Option<String>,
796    /// Talos API keys public prefix (current).
797    #[serde(rename = "talos_credentials_api_keys_prefix_public_current", skip_serializing_if = "Option::is_none")]
798    pub talos_credentials_api_keys_prefix_public_current: Option<String>,
799    /// 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.
800    #[serde(rename = "talos_credentials_api_keys_prefix_public_retired", skip_serializing_if = "Option::is_none")]
801    pub talos_credentials_api_keys_prefix_public_retired: Option<Vec<String>>,
802    /// 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.
803    #[serde(rename = "talos_credentials_api_keys_prefix_retired", skip_serializing_if = "Option::is_none")]
804    pub talos_credentials_api_keys_prefix_retired: Option<Vec<String>>,
805    /// Talos derived tokens default TTL (applies to both JWT and macaroon tokens).
806    #[serde(rename = "talos_credentials_derived_tokens_default_ttl", skip_serializing_if = "Option::is_none")]
807    pub talos_credentials_derived_tokens_default_ttl: Option<String>,
808    /// Talos derived tokens JWT signing key ID (kid).
809    #[serde(rename = "talos_credentials_derived_tokens_jwt_signing_key_id", skip_serializing_if = "Option::is_none")]
810    pub talos_credentials_derived_tokens_jwt_signing_key_id: Option<String>,
811    /// Talos derived tokens JWT signing key URLs.
812    #[serde(rename = "talos_credentials_derived_tokens_jwt_signing_keys_urls", skip_serializing_if = "Option::is_none")]
813    pub talos_credentials_derived_tokens_jwt_signing_keys_urls: Option<Vec<String>>,
814    /// Talos derived tokens macaroon prefix (current).
815    #[serde(rename = "talos_credentials_derived_tokens_macaroon_prefix_current", skip_serializing_if = "Option::is_none")]
816    pub talos_credentials_derived_tokens_macaroon_prefix_current: Option<String>,
817    /// 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.
818    #[serde(rename = "talos_credentials_derived_tokens_macaroon_prefix_retired", skip_serializing_if = "Option::is_none")]
819    pub talos_credentials_derived_tokens_macaroon_prefix_retired: Option<Vec<String>>,
820    /// Talos credentials issuer URL.
821    #[serde(rename = "talos_credentials_issuer", skip_serializing_if = "Option::is_none")]
822    pub talos_credentials_issuer: Option<String>,
823    /// Talos credentials retired issuer URLs.  Previously active issuer URLs kept for verification of outstanding tokens. Tokens signed with these issuers remain valid; new tokens use the current issuer.
824    #[serde(rename = "talos_credentials_issuer_retired", skip_serializing_if = "Option::is_none")]
825    pub talos_credentials_issuer_retired: Option<Vec<String>>,
826    /// Talos rate limit enabled.  When true, server-side rate limiting is enforced for API key verifications.
827    #[serde(rename = "talos_rate_limit_enabled", skip_serializing_if = "Option::is_none")]
828    pub talos_rate_limit_enabled: Option<bool>,
829    /// TalosSecretsHMACCurrent stores the current HMAC symmetric key as a plain secret string. Application-layer encryption is handled upstream; SanitizeModel (MarshalJSON) redacts this field from API responses.
830    #[serde(rename = "talos_secrets_hmac_current", skip_serializing_if = "Option::is_none")]
831    pub talos_secrets_hmac_current: Option<String>,
832    /// TalosSecretsHMACRetired stores previously active HMAC symmetric keys as a JSON array of plain secret strings. Application-layer encryption is handled upstream; SanitizeModel (MarshalJSON) redacts this field from API responses. The verifier tries all retired secrets when the current key does not produce a matching HMAC.
833    #[serde(rename = "talos_secrets_hmac_retired", skip_serializing_if = "Option::is_none")]
834    pub talos_secrets_hmac_retired: Option<Vec<String>>,
835    /// Last Time Project's Revision was Updated
836    #[serde(rename = "updated_at", skip_serializing_if = "Option::is_none")]
837    pub updated_at: Option<String>,
838}
839
840impl NormalizedProjectRevision {
841    pub fn new(name: String) -> NormalizedProjectRevision {
842        NormalizedProjectRevision {
843            account_experience_custom_translations: None,
844            account_experience_default_locale: None,
845            account_experience_enabled_locales: None,
846            account_experience_favicon_dark: None,
847            account_experience_favicon_light: None,
848            account_experience_hide_ory_branding: None,
849            account_experience_hide_registration_link: None,
850            account_experience_locale_behavior: None,
851            account_experience_logo_dark: None,
852            account_experience_logo_light: None,
853            account_experience_theme_variables_dark: None,
854            account_experience_theme_variables_light: None,
855            created_at: None,
856            disable_account_experience_welcome_screen: None,
857            enable_ax_v2: None,
858            hydra_oauth2_allowed_top_level_claims: None,
859            hydra_oauth2_client_credentials_default_grant_allowed_scope: None,
860            hydra_oauth2_exclude_not_before_claim: None,
861            hydra_oauth2_grant_jwt_iat_optional: None,
862            hydra_oauth2_grant_jwt_jti_optional: None,
863            hydra_oauth2_grant_jwt_max_ttl: None,
864            hydra_oauth2_grant_jwt_omit_assertion_audience: None,
865            hydra_oauth2_grant_refresh_token_rotation_grace_period: None,
866            hydra_oauth2_grant_refresh_token_rotation_grace_reuse_count: None,
867            hydra_oauth2_mirror_top_level_claims: None,
868            hydra_oauth2_pkce_enforced: None,
869            hydra_oauth2_pkce_enforced_for_public_clients: None,
870            hydra_oauth2_preserve_ext_claims: None,
871            hydra_oauth2_refresh_token_hook: None,
872            hydra_oauth2_token_hook: None,
873            hydra_oauth2_token_prefix: None,
874            hydra_oidc_dynamic_client_registration_default_scope: None,
875            hydra_oidc_dynamic_client_registration_enabled: None,
876            hydra_oidc_subject_identifiers_pairwise_salt: None,
877            hydra_oidc_subject_identifiers_supported_types: None,
878            hydra_secrets_cookie: None,
879            hydra_secrets_pagination: None,
880            hydra_secrets_system: None,
881            hydra_serve_cookies_same_site_legacy_workaround: None,
882            hydra_serve_cookies_same_site_mode: None,
883            hydra_strategies_access_token: None,
884            hydra_strategies_jwt_scope_claim: None,
885            hydra_strategies_scope: None,
886            hydra_ttl_access_token: None,
887            hydra_ttl_auth_code: None,
888            hydra_ttl_id_token: None,
889            hydra_ttl_login_consent_request: None,
890            hydra_ttl_refresh_token: None,
891            hydra_urls_consent: None,
892            hydra_urls_error: None,
893            hydra_urls_login: None,
894            hydra_urls_logout: None,
895            hydra_urls_post_logout_redirect: None,
896            hydra_urls_registration: None,
897            hydra_urls_self_issuer: None,
898            hydra_webfinger_jwks_broadcast_keys: None,
899            hydra_webfinger_oidc_discovery_auth_url: None,
900            hydra_webfinger_oidc_discovery_client_registration_url: None,
901            hydra_webfinger_oidc_discovery_jwks_url: None,
902            hydra_webfinger_oidc_discovery_supported_claims: None,
903            hydra_webfinger_oidc_discovery_supported_scope: None,
904            hydra_webfinger_oidc_discovery_token_url: None,
905            hydra_webfinger_oidc_discovery_userinfo_url: None,
906            id: None,
907            keto_namespace_configuration: None,
908            keto_namespaces: None,
909            keto_secrets_pagination: None,
910            kratos_cookies_same_site: None,
911            kratos_courier_channels: None,
912            kratos_courier_delivery_strategy: None,
913            kratos_courier_http_request_config_auth_api_key_in: None,
914            kratos_courier_http_request_config_auth_api_key_name: None,
915            kratos_courier_http_request_config_auth_api_key_value: None,
916            kratos_courier_http_request_config_auth_basic_auth_password: None,
917            kratos_courier_http_request_config_auth_basic_auth_user: None,
918            kratos_courier_http_request_config_auth_type: None,
919            kratos_courier_http_request_config_body: None,
920            kratos_courier_http_request_config_headers: None,
921            kratos_courier_http_request_config_method: None,
922            kratos_courier_http_request_config_url: None,
923            kratos_courier_smtp_connection_uri: None,
924            kratos_courier_smtp_from_address: None,
925            kratos_courier_smtp_from_name: None,
926            kratos_courier_smtp_headers: None,
927            kratos_courier_smtp_local_name: None,
928            kratos_courier_templates_login_code_valid_email_body_html: None,
929            kratos_courier_templates_login_code_valid_email_body_plaintext: None,
930            kratos_courier_templates_login_code_valid_email_subject: None,
931            kratos_courier_templates_login_code_valid_sms_body_plaintext: None,
932            kratos_courier_templates_recovery_code_invalid_email_body_html: None,
933            kratos_courier_templates_recovery_code_invalid_email_body_plaintext: None,
934            kratos_courier_templates_recovery_code_invalid_email_subject: None,
935            kratos_courier_templates_recovery_code_valid_email_body_html: None,
936            kratos_courier_templates_recovery_code_valid_email_body_plaintext: None,
937            kratos_courier_templates_recovery_code_valid_email_subject: None,
938            kratos_courier_templates_recovery_invalid_email_body_html: None,
939            kratos_courier_templates_recovery_invalid_email_body_plaintext: None,
940            kratos_courier_templates_recovery_invalid_email_subject: None,
941            kratos_courier_templates_recovery_valid_email_body_html: None,
942            kratos_courier_templates_recovery_valid_email_body_plaintext: None,
943            kratos_courier_templates_recovery_valid_email_subject: None,
944            kratos_courier_templates_registration_code_valid_email_body_html: None,
945            kratos_courier_templates_registration_code_valid_email_body_plaintext: None,
946            kratos_courier_templates_registration_code_valid_email_subject: None,
947            kratos_courier_templates_registration_code_valid_sms_body_plaintext: None,
948            kratos_courier_templates_verifiable_address_changed_email_body_html: None,
949            kratos_courier_templates_verifiable_address_changed_email_body_plaintext: None,
950            kratos_courier_templates_verifiable_address_changed_email_subject: None,
951            kratos_courier_templates_verifiable_address_changed_sms_body_plaintext: None,
952            kratos_courier_templates_verification_code_invalid_email_body_html: None,
953            kratos_courier_templates_verification_code_invalid_email_body_plaintext: None,
954            kratos_courier_templates_verification_code_invalid_email_subject: None,
955            kratos_courier_templates_verification_code_valid_email_body_html: None,
956            kratos_courier_templates_verification_code_valid_email_body_plaintext: None,
957            kratos_courier_templates_verification_code_valid_email_subject: None,
958            kratos_courier_templates_verification_code_valid_sms_body_plaintext: None,
959            kratos_courier_templates_verification_invalid_email_body_html: None,
960            kratos_courier_templates_verification_invalid_email_body_plaintext: None,
961            kratos_courier_templates_verification_invalid_email_subject: None,
962            kratos_courier_templates_verification_valid_email_body_html: None,
963            kratos_courier_templates_verification_valid_email_body_plaintext: None,
964            kratos_courier_templates_verification_valid_email_subject: None,
965            kratos_feature_flags_cacheable_sessions: None,
966            kratos_feature_flags_cacheable_sessions_max_age: None,
967            kratos_feature_flags_choose_recovery_address: None,
968            kratos_feature_flags_faster_session_extend: None,
969            kratos_feature_flags_legacy_continue_with_verification_ui: None,
970            kratos_feature_flags_legacy_oidc_registration_node_group: None,
971            kratos_feature_flags_legacy_require_verified_login_error: None,
972            kratos_feature_flags_password_profile_registration_node_group: None,
973            kratos_feature_flags_refresh_login_choose_address: None,
974            kratos_feature_flags_use_continue_with_transitions: None,
975            kratos_identity_schemas: None,
976            kratos_oauth2_provider_headers: None,
977            kratos_oauth2_provider_override_return_to: None,
978            kratos_oauth2_provider_url: None,
979            kratos_preview_default_read_consistency_level: None,
980            kratos_secrets_cipher: None,
981            kratos_secrets_cookie: None,
982            kratos_secrets_default: None,
983            kratos_secrets_pagination: None,
984            kratos_security_account_enumeration_mitigate: None,
985            kratos_selfservice_allowed_return_urls: None,
986            kratos_selfservice_default_browser_return_url: None,
987            kratos_selfservice_flows_error_ui_url: None,
988            kratos_selfservice_flows_login_after_code_default_browser_return_url: None,
989            kratos_selfservice_flows_login_after_default_browser_return_url: None,
990            kratos_selfservice_flows_login_after_lookup_secret_default_browser_return_url: None,
991            kratos_selfservice_flows_login_after_oidc_default_browser_return_url: None,
992            kratos_selfservice_flows_login_after_passkey_default_browser_return_url: None,
993            kratos_selfservice_flows_login_after_password_default_browser_return_url: None,
994            kratos_selfservice_flows_login_after_totp_default_browser_return_url: None,
995            kratos_selfservice_flows_login_after_webauthn_default_browser_return_url: None,
996            kratos_selfservice_flows_login_lifespan: None,
997            kratos_selfservice_flows_login_style: None,
998            kratos_selfservice_flows_login_ui_url: None,
999            kratos_selfservice_flows_logout_after_default_browser_return_url: None,
1000            kratos_selfservice_flows_recovery_after_default_browser_return_url: None,
1001            kratos_selfservice_flows_recovery_enabled: None,
1002            kratos_selfservice_flows_recovery_lifespan: None,
1003            kratos_selfservice_flows_recovery_notify_unknown_recipients: None,
1004            kratos_selfservice_flows_recovery_ui_url: None,
1005            kratos_selfservice_flows_recovery_use: None,
1006            kratos_selfservice_flows_registration_after_code_default_browser_return_url: None,
1007            kratos_selfservice_flows_registration_after_default_browser_return_url: None,
1008            kratos_selfservice_flows_registration_after_oidc_default_browser_return_url: None,
1009            kratos_selfservice_flows_registration_after_passkey_default_browser_return_url: None,
1010            kratos_selfservice_flows_registration_after_password_default_browser_return_url: None,
1011            kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url: None,
1012            kratos_selfservice_flows_registration_enable_legacy_one_step: None,
1013            kratos_selfservice_flows_registration_enabled: None,
1014            kratos_selfservice_flows_registration_lifespan: None,
1015            kratos_selfservice_flows_registration_login_hints: None,
1016            kratos_selfservice_flows_registration_ui_url: None,
1017            kratos_selfservice_flows_settings_after_default_browser_return_url: None,
1018            kratos_selfservice_flows_settings_after_lookup_secret_default_browser_return_url: None,
1019            kratos_selfservice_flows_settings_after_oidc_default_browser_return_url: None,
1020            kratos_selfservice_flows_settings_after_passkey_default_browser_return_url: None,
1021            kratos_selfservice_flows_settings_after_password_default_browser_return_url: None,
1022            kratos_selfservice_flows_settings_after_profile_default_browser_return_url: None,
1023            kratos_selfservice_flows_settings_after_totp_default_browser_return_url: None,
1024            kratos_selfservice_flows_settings_after_webauthn_default_browser_return_url: None,
1025            kratos_selfservice_flows_settings_lifespan: None,
1026            kratos_selfservice_flows_settings_privileged_session_max_age: None,
1027            kratos_selfservice_flows_settings_required_aal: None,
1028            kratos_selfservice_flows_settings_ui_url: None,
1029            kratos_selfservice_flows_verification_after_default_browser_return_url: None,
1030            kratos_selfservice_flows_verification_enabled: None,
1031            kratos_selfservice_flows_verification_lifespan: None,
1032            kratos_selfservice_flows_verification_notify_unknown_recipients: None,
1033            kratos_selfservice_flows_verification_ui_url: None,
1034            kratos_selfservice_flows_verification_use: None,
1035            kratos_selfservice_methods_captcha_config_allowed_domains: None,
1036            kratos_selfservice_methods_captcha_config_byo: None,
1037            kratos_selfservice_methods_captcha_config_cf_turnstile_byo_secret: None,
1038            kratos_selfservice_methods_captcha_config_cf_turnstile_byo_sitekey: None,
1039            kratos_selfservice_methods_captcha_config_cf_turnstile_secret: None,
1040            kratos_selfservice_methods_captcha_config_cf_turnstile_sitekey: None,
1041            kratos_selfservice_methods_captcha_config_legacy_inject_node: None,
1042            kratos_selfservice_methods_captcha_enabled: None,
1043            kratos_selfservice_methods_code_config_lifespan: None,
1044            kratos_selfservice_methods_code_config_max_submissions: None,
1045            kratos_selfservice_methods_code_config_missing_credential_fallback_enabled: None,
1046            kratos_selfservice_methods_code_enabled: None,
1047            kratos_selfservice_methods_code_mfa_enabled: None,
1048            kratos_selfservice_methods_code_passwordless_enabled: None,
1049            kratos_selfservice_methods_code_passwordless_login_fallback_enabled: None,
1050            kratos_selfservice_methods_deviceauthn_config_android_app_ids: None,
1051            kratos_selfservice_methods_deviceauthn_config_first_factor: None,
1052            kratos_selfservice_methods_deviceauthn_config_insecure_allow_relaxed_attestation: None,
1053            kratos_selfservice_methods_deviceauthn_config_ios_app_ids: None,
1054            kratos_selfservice_methods_deviceauthn_config_ios_biometric_first_factor: None,
1055            kratos_selfservice_methods_deviceauthn_config_pin_max_attempts: None,
1056            kratos_selfservice_methods_deviceauthn_enabled: None,
1057            kratos_selfservice_methods_link_config_base_url: None,
1058            kratos_selfservice_methods_link_config_lifespan: None,
1059            kratos_selfservice_methods_link_enabled: None,
1060            kratos_selfservice_methods_lookup_secret_enabled: None,
1061            kratos_selfservice_methods_oidc_config_base_redirect_uri: None,
1062            kratos_selfservice_methods_oidc_config_providers: None,
1063            kratos_selfservice_methods_oidc_enable_auto_link_policy: None,
1064            kratos_selfservice_methods_oidc_enabled: None,
1065            kratos_selfservice_methods_passkey_config_rp_display_name: None,
1066            kratos_selfservice_methods_passkey_config_rp_id: None,
1067            kratos_selfservice_methods_passkey_config_rp_origins: None,
1068            kratos_selfservice_methods_passkey_enabled: None,
1069            kratos_selfservice_methods_password_config_haveibeenpwned_enabled: None,
1070            kratos_selfservice_methods_password_config_identifier_similarity_check_enabled: None,
1071            kratos_selfservice_methods_password_config_ignore_network_errors: None,
1072            kratos_selfservice_methods_password_config_max_breaches: None,
1073            kratos_selfservice_methods_password_config_min_password_length: None,
1074            kratos_selfservice_methods_password_enabled: None,
1075            kratos_selfservice_methods_profile_enabled: None,
1076            kratos_selfservice_methods_saml_config_providers: None,
1077            kratos_selfservice_methods_saml_enabled: None,
1078            kratos_selfservice_methods_totp_config_issuer: None,
1079            kratos_selfservice_methods_totp_enabled: None,
1080            kratos_selfservice_methods_webauthn_config_passwordless: None,
1081            kratos_selfservice_methods_webauthn_config_rp_display_name: None,
1082            kratos_selfservice_methods_webauthn_config_rp_icon: None,
1083            kratos_selfservice_methods_webauthn_config_rp_id: None,
1084            kratos_selfservice_methods_webauthn_config_rp_origins: None,
1085            kratos_selfservice_methods_webauthn_enabled: None,
1086            kratos_session_cookie_persistent: None,
1087            kratos_session_cookie_same_site: None,
1088            kratos_session_lifespan: None,
1089            kratos_session_whoami_required_aal: None,
1090            kratos_session_whoami_tokenizer_templates: None,
1091            name,
1092            organizations: None,
1093            project_id: None,
1094            project_revision_hooks: None,
1095            scim_clients: None,
1096            serve_admin_cors_allowed_origins: None,
1097            serve_admin_cors_enabled: None,
1098            serve_public_cors_allowed_origins: None,
1099            serve_public_cors_enabled: None,
1100            strict_security: None,
1101            talos_cache_enabled: None,
1102            talos_cache_ttl: None,
1103            talos_credentials_api_keys_default_ttl: None,
1104            talos_credentials_api_keys_max_ttl: None,
1105            talos_credentials_api_keys_prefix_current: None,
1106            talos_credentials_api_keys_prefix_public_current: None,
1107            talos_credentials_api_keys_prefix_public_retired: None,
1108            talos_credentials_api_keys_prefix_retired: None,
1109            talos_credentials_derived_tokens_default_ttl: None,
1110            talos_credentials_derived_tokens_jwt_signing_key_id: None,
1111            talos_credentials_derived_tokens_jwt_signing_keys_urls: None,
1112            talos_credentials_derived_tokens_macaroon_prefix_current: None,
1113            talos_credentials_derived_tokens_macaroon_prefix_retired: None,
1114            talos_credentials_issuer: None,
1115            talos_credentials_issuer_retired: None,
1116            talos_rate_limit_enabled: None,
1117            talos_secrets_hmac_current: None,
1118            talos_secrets_hmac_retired: None,
1119            updated_at: None,
1120        }
1121    }
1122}
1123/// Defines access token type  This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt
1124#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1125pub enum HydraStrategiesAccessTokenEnum {
1126    #[serde(rename = "opaque")]
1127    Opaque,
1128    #[serde(rename = "jwt")]
1129    Jwt,
1130}
1131
1132impl Default for HydraStrategiesAccessTokenEnum {
1133    fn default() -> HydraStrategiesAccessTokenEnum {
1134        Self::Opaque
1135    }
1136}
1137/// 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
1138#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1139pub enum HydraStrategiesJwtScopeClaimEnum {
1140    #[serde(rename = "list")]
1141    List,
1142    #[serde(rename = "string")]
1143    String,
1144    #[serde(rename = "both")]
1145    Both,
1146}
1147
1148impl Default for HydraStrategiesJwtScopeClaimEnum {
1149    fn default() -> HydraStrategiesJwtScopeClaimEnum {
1150        Self::List
1151    }
1152}
1153/// 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
1154#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1155pub enum HydraStrategiesScopeEnum {
1156    #[serde(rename = "exact")]
1157    Exact,
1158    #[serde(rename = "wildcard")]
1159    Wildcard,
1160}
1161
1162impl Default for HydraStrategiesScopeEnum {
1163    fn default() -> HydraStrategiesScopeEnum {
1164        Self::Exact
1165    }
1166}
1167/// Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\")  This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
1168#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1169pub enum KratosSelfserviceFlowsRecoveryUseEnum {
1170    #[serde(rename = "link")]
1171    Link,
1172    #[serde(rename = "code")]
1173    Code,
1174}
1175
1176impl Default for KratosSelfserviceFlowsRecoveryUseEnum {
1177    fn default() -> KratosSelfserviceFlowsRecoveryUseEnum {
1178        Self::Link
1179    }
1180}
1181/// Configures the Ory Kratos Strategy to use for Verification  This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
1182#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
1183pub enum KratosSelfserviceFlowsVerificationUseEnum {
1184    #[serde(rename = "link")]
1185    Link,
1186    #[serde(rename = "code")]
1187    Code,
1188}
1189
1190impl Default for KratosSelfserviceFlowsVerificationUseEnum {
1191    fn default() -> KratosSelfserviceFlowsVerificationUseEnum {
1192        Self::Link
1193    }
1194}
1195