1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
/*
 * Ory APIs
 *
 * 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. 
 *
 * The version of the OpenAPI document: v1.1.13
 * Contact: support@ory.sh
 * Generated by: https://openapi-generator.tech
 */




#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
pub struct NormalizedProjectRevision {
    /// The Project's Revision Creation Date
    #[serde(rename = "created_at", skip_serializing_if = "Option::is_none")]
    pub created_at: Option<String>,
    #[serde(rename = "hydra_oauth2_allowed_top_level_claims", skip_serializing_if = "Option::is_none")]
    pub hydra_oauth2_allowed_top_level_claims: Option<Vec<String>>,
    /// 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.
    #[serde(rename = "hydra_oauth2_client_credentials_default_grant_allowed_scope", skip_serializing_if = "Option::is_none")]
    pub hydra_oauth2_client_credentials_default_grant_allowed_scope: Option<bool>,
    /// Set to true if you want to exclude claim `nbf (not before)` part of access token.  This governs the \"oauth2.exclude_not_before_claim\" setting.
    #[serde(rename = "hydra_oauth2_exclude_not_before_claim", skip_serializing_if = "Option::is_none")]
    pub hydra_oauth2_exclude_not_before_claim: Option<bool>,
    /// 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.
    #[serde(rename = "hydra_oauth2_grant_jwt_iat_optional", skip_serializing_if = "Option::is_none")]
    pub hydra_oauth2_grant_jwt_iat_optional: Option<bool>,
    /// 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.
    #[serde(rename = "hydra_oauth2_grant_jwt_jti_optional", skip_serializing_if = "Option::is_none")]
    pub hydra_oauth2_grant_jwt_jti_optional: Option<bool>,
    /// 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.
    #[serde(rename = "hydra_oauth2_grant_jwt_max_ttl", skip_serializing_if = "Option::is_none")]
    pub hydra_oauth2_grant_jwt_max_ttl: Option<String>,
    /// Configures whether PKCE should be enforced for all OAuth2 Clients.  This governs the \"oauth2.pkce.enforced\" setting.
    #[serde(rename = "hydra_oauth2_pkce_enforced", skip_serializing_if = "Option::is_none")]
    pub hydra_oauth2_pkce_enforced: Option<bool>,
    /// 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.
    #[serde(rename = "hydra_oauth2_pkce_enforced_for_public_clients", skip_serializing_if = "Option::is_none")]
    pub hydra_oauth2_pkce_enforced_for_public_clients: Option<bool>,
    /// 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.
    #[serde(rename = "hydra_oauth2_refresh_token_hook", skip_serializing_if = "Option::is_none")]
    pub hydra_oauth2_refresh_token_hook: Option<String>,
    #[serde(rename = "hydra_oidc_dynamic_client_registration_default_scope", skip_serializing_if = "Option::is_none")]
    pub hydra_oidc_dynamic_client_registration_default_scope: Option<Vec<String>>,
    /// Configures OpenID Connect Dynamic Client Registration.  This governs the \"oidc.dynamic_client_registration.enabled\" setting.
    #[serde(rename = "hydra_oidc_dynamic_client_registration_enabled", skip_serializing_if = "Option::is_none")]
    pub hydra_oidc_dynamic_client_registration_enabled: Option<bool>,
    /// Configures OpenID Connect Discovery and overwrites the pairwise algorithm  This governs the \"oidc.subject_identifiers.pairwise_salt\" setting.
    #[serde(rename = "hydra_oidc_subject_identifiers_pairwise_salt", skip_serializing_if = "Option::is_none")]
    pub hydra_oidc_subject_identifiers_pairwise_salt: Option<String>,
    #[serde(rename = "hydra_oidc_subject_identifiers_supported_types", skip_serializing_if = "Option::is_none")]
    pub hydra_oidc_subject_identifiers_supported_types: Option<Vec<String>>,
    #[serde(rename = "hydra_secrets_cookie", skip_serializing_if = "Option::is_none")]
    pub hydra_secrets_cookie: Option<Vec<String>>,
    #[serde(rename = "hydra_secrets_system", skip_serializing_if = "Option::is_none")]
    pub hydra_secrets_system: Option<Vec<String>>,
    #[serde(rename = "hydra_serve_admin_cors_allowed_origins", skip_serializing_if = "Option::is_none")]
    pub hydra_serve_admin_cors_allowed_origins: Option<Vec<String>>,
    /// Configures the Ory Hydra CORS Settings  This governs the \"serve.admin.cors.enabled\" setting.
    #[serde(rename = "hydra_serve_admin_cors_enabled", skip_serializing_if = "Option::is_none")]
    pub hydra_serve_admin_cors_enabled: Option<bool>,
    /// Configures the Ory Hydra Cookie Same Site Legacy Workaround  This governs the \"serve.cookies.same_site_legacy_workaround\" setting.
    #[serde(rename = "hydra_serve_cookies_same_site_legacy_workaround", skip_serializing_if = "Option::is_none")]
    pub hydra_serve_cookies_same_site_legacy_workaround: Option<bool>,
    /// Configures the Ory Hydra Cookie Same Site Mode  This governs the \"serve.cookies.same_site_mode\" setting.
    #[serde(rename = "hydra_serve_cookies_same_site_mode", skip_serializing_if = "Option::is_none")]
    pub hydra_serve_cookies_same_site_mode: Option<String>,
    #[serde(rename = "hydra_serve_public_cors_allowed_origins", skip_serializing_if = "Option::is_none")]
    pub hydra_serve_public_cors_allowed_origins: Option<Vec<String>>,
    /// Configures the Ory Hydra CORS Settings  This governs the \"serve.public.cors.enabled\" setting.
    #[serde(rename = "hydra_serve_public_cors_enabled", skip_serializing_if = "Option::is_none")]
    pub hydra_serve_public_cors_enabled: Option<bool>,
    /// Defines access token type. jwt is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens  This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt
    #[serde(rename = "hydra_strategies_access_token", skip_serializing_if = "Option::is_none")]
    pub hydra_strategies_access_token: Option<HydraStrategiesAccessTokenEnum>,
    /// 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
    #[serde(rename = "hydra_strategies_scope", skip_serializing_if = "Option::is_none")]
    pub hydra_strategies_scope: Option<HydraStrategiesScopeEnum>,
    /// This governs the \"ttl.access_token\" setting.
    #[serde(rename = "hydra_ttl_access_token", skip_serializing_if = "Option::is_none")]
    pub hydra_ttl_access_token: Option<String>,
    /// 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.
    #[serde(rename = "hydra_ttl_auth_code", skip_serializing_if = "Option::is_none")]
    pub hydra_ttl_auth_code: Option<String>,
    /// This governs the \"ttl.id_token\" setting.
    #[serde(rename = "hydra_ttl_id_token", skip_serializing_if = "Option::is_none")]
    pub hydra_ttl_id_token: Option<String>,
    /// Configures how long a user login and consent flow may take.  This governs the \"ttl.login_consent_request\" setting.
    #[serde(rename = "hydra_ttl_login_consent_request", skip_serializing_if = "Option::is_none")]
    pub hydra_ttl_login_consent_request: Option<String>,
    /// 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.
    #[serde(rename = "hydra_ttl_refresh_token", skip_serializing_if = "Option::is_none")]
    pub hydra_ttl_refresh_token: Option<String>,
    /// 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.
    #[serde(rename = "hydra_urls_consent", skip_serializing_if = "Option::is_none")]
    pub hydra_urls_consent: Option<String>,
    /// 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.
    #[serde(rename = "hydra_urls_error", skip_serializing_if = "Option::is_none")]
    pub hydra_urls_error: Option<String>,
    /// 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.
    #[serde(rename = "hydra_urls_login", skip_serializing_if = "Option::is_none")]
    pub hydra_urls_login: Option<String>,
    /// Sets the logout endpoint.  Defaults to the Ory Account Experience if left empty.  This governs the \"urls.logout\" setting.
    #[serde(rename = "hydra_urls_logout", skip_serializing_if = "Option::is_none")]
    pub hydra_urls_logout: Option<String>,
    /// 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.
    #[serde(rename = "hydra_urls_post_logout_redirect", skip_serializing_if = "Option::is_none")]
    pub hydra_urls_post_logout_redirect: Option<String>,
    /// 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.
    #[serde(rename = "hydra_urls_self_issuer", skip_serializing_if = "Option::is_none")]
    pub hydra_urls_self_issuer: Option<String>,
    #[serde(rename = "hydra_webfinger_jwks_broadcast_keys", skip_serializing_if = "Option::is_none")]
    pub hydra_webfinger_jwks_broadcast_keys: Option<Vec<String>>,
    /// Configures OpenID Connect Discovery and overwrites the OAuth2 Authorization URL.  This governs the \"webfinger.oidc.discovery.auth_url\" setting.
    #[serde(rename = "hydra_webfinger_oidc_discovery_auth_url", skip_serializing_if = "Option::is_none")]
    pub hydra_webfinger_oidc_discovery_auth_url: Option<String>,
    /// Configures OpenID Connect Discovery and overwrites the OpenID Connect Dynamic Client Registration Endpoint.  This governs the \"webfinger.oidc.discovery.client_registration_url\" setting.
    #[serde(rename = "hydra_webfinger_oidc_discovery_client_registration_url", skip_serializing_if = "Option::is_none")]
    pub hydra_webfinger_oidc_discovery_client_registration_url: Option<String>,
    /// Configures OpenID Connect Discovery and overwrites the JWKS URL.  This governs the \"webfinger.oidc.discovery.jwks_url\" setting.
    #[serde(rename = "hydra_webfinger_oidc_discovery_jwks_url", skip_serializing_if = "Option::is_none")]
    pub hydra_webfinger_oidc_discovery_jwks_url: Option<String>,
    #[serde(rename = "hydra_webfinger_oidc_discovery_supported_claims", skip_serializing_if = "Option::is_none")]
    pub hydra_webfinger_oidc_discovery_supported_claims: Option<Vec<String>>,
    #[serde(rename = "hydra_webfinger_oidc_discovery_supported_scope", skip_serializing_if = "Option::is_none")]
    pub hydra_webfinger_oidc_discovery_supported_scope: Option<Vec<String>>,
    /// Configures OpenID Connect Discovery and overwrites the OAuth2 Token URL.  This governs the \"webfinger.oidc.discovery.token_url\" setting.
    #[serde(rename = "hydra_webfinger_oidc_discovery_token_url", skip_serializing_if = "Option::is_none")]
    pub hydra_webfinger_oidc_discovery_token_url: Option<String>,
    /// 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.
    #[serde(rename = "hydra_webfinger_oidc_discovery_userinfo_url", skip_serializing_if = "Option::is_none")]
    pub hydra_webfinger_oidc_discovery_userinfo_url: Option<String>,
    /// The revision ID.
    #[serde(rename = "id", skip_serializing_if = "Option::is_none")]
    pub id: Option<String>,
    /// The Revisions' Keto Namespace Configuration  The string is a URL pointing to an OPL file with the configuration.
    #[serde(rename = "keto_namespace_configuration", skip_serializing_if = "Option::is_none")]
    pub keto_namespace_configuration: Option<String>,
    #[serde(rename = "keto_namespaces", skip_serializing_if = "Option::is_none")]
    pub keto_namespaces: Option<Vec<crate::models::KetoNamespace>>,
    #[serde(rename = "keto_read_max_depth", skip_serializing_if = "Option::is_none")]
    pub keto_read_max_depth: Option<i32>,
    /// Configures the Ory Kratos Cookie SameSite Attribute  This governs the \"cookies.same_site\" setting.
    #[serde(rename = "kratos_cookies_same_site", skip_serializing_if = "Option::is_none")]
    pub kratos_cookies_same_site: Option<String>,
    /// Configures the Ory Kratos SMTP Connection URI  This governs the \"courier.smtp.connection_uri\" setting.
    #[serde(rename = "kratos_courier_smtp_connection_uri", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_smtp_connection_uri: Option<String>,
    /// Configures the Ory Kratos SMTP From Address  This governs the \"courier.smtp.from_address\" setting.
    #[serde(rename = "kratos_courier_smtp_from_address", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_smtp_from_address: Option<String>,
    /// Configures the Ory Kratos SMTP From Name  This governs the \"courier.smtp.from_name\" setting.
    #[serde(rename = "kratos_courier_smtp_from_name", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_smtp_from_name: Option<String>,
    /// NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-
    #[serde(rename = "kratos_courier_smtp_headers", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_smtp_headers: Option<serde_json::Value>,
    /// Configures the Ory Kratos Invalid Recovery via Code Email Body HTML Template  This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.
    #[serde(rename = "kratos_courier_templates_recovery_code_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_recovery_code_invalid_email_body_html: Option<String>,
    /// Configures the Ory Kratos Invalid Recovery via Code Email Body Plaintext Template  This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.plaintext\" setting.
    #[serde(rename = "kratos_courier_templates_recovery_code_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_recovery_code_invalid_email_body_plaintext: Option<String>,
    /// Configures the Ory Kratos Invalid Recovery via Code Email Subject Template  This governs the \"courier.smtp.templates.recovery_code.invalid.email.body.html\" setting.
    #[serde(rename = "kratos_courier_templates_recovery_code_invalid_email_subject", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_recovery_code_invalid_email_subject: Option<String>,
    /// Configures the Ory Kratos Valid Recovery via Code Email Body HTML Template  This governs the \"courier.smtp.templates.recovery_code.valid.email.body.html\" setting.
    #[serde(rename = "kratos_courier_templates_recovery_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_recovery_code_valid_email_body_html: Option<String>,
    /// Configures the Ory Kratos Valid Recovery via Code Email Body Plaintext Template  This governs the \"courier.smtp.templates.recovery_code.valid.email.body.plaintext\" setting.
    #[serde(rename = "kratos_courier_templates_recovery_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_recovery_code_valid_email_body_plaintext: Option<String>,
    /// Configures the Ory Kratos Valid Recovery via Code Email Subject Template  This governs the \"courier.smtp.templates.recovery_code.valid.email.subject\" setting.
    #[serde(rename = "kratos_courier_templates_recovery_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_recovery_code_valid_email_subject: Option<String>,
    /// Configures the Ory Kratos Invalid Recovery Email Body HTML Template  This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.
    #[serde(rename = "kratos_courier_templates_recovery_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_recovery_invalid_email_body_html: Option<String>,
    /// Configures the Ory Kratos Invalid Recovery Email Body Plaintext Template  This governs the \"courier.smtp.templates.recovery.invalid.email.body.plaintext\" setting.
    #[serde(rename = "kratos_courier_templates_recovery_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_recovery_invalid_email_body_plaintext: Option<String>,
    /// Configures the Ory Kratos Invalid Recovery Email Subject Template  This governs the \"courier.smtp.templates.recovery.invalid.email.body.html\" setting.
    #[serde(rename = "kratos_courier_templates_recovery_invalid_email_subject", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_recovery_invalid_email_subject: Option<String>,
    /// Configures the Ory Kratos Valid Recovery Email Body HTML Template  This governs the \"courier.smtp.templates.recovery.valid.email.body.html\" setting.
    #[serde(rename = "kratos_courier_templates_recovery_valid_email_body_html", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_recovery_valid_email_body_html: Option<String>,
    /// Configures the Ory Kratos Valid Recovery Email Body Plaintext Template  This governs the \"courier.smtp.templates.recovery.valid.email.body.plaintext\" setting.
    #[serde(rename = "kratos_courier_templates_recovery_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_recovery_valid_email_body_plaintext: Option<String>,
    /// Configures the Ory Kratos Valid Recovery Email Subject Template  This governs the \"courier.smtp.templates.recovery.valid.email.subject\" setting.
    #[serde(rename = "kratos_courier_templates_recovery_valid_email_subject", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_recovery_valid_email_subject: Option<String>,
    /// Configures the Ory Kratos Invalid Verification via Code Email Body HTML Template  This governs the \"courier.smtp.templates.verification_code.invalid.email.body.html\" setting.
    #[serde(rename = "kratos_courier_templates_verification_code_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_verification_code_invalid_email_body_html: Option<String>,
    /// Configures the Ory Kratos Invalid Verification via Code Email Body Plaintext Template  This governs the \"courier.smtp.templates.verification_code.invalid.email.body.plaintext\" setting.
    #[serde(rename = "kratos_courier_templates_verification_code_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_verification_code_invalid_email_body_plaintext: Option<String>,
    /// Configures the Ory Kratos Invalid Verification via Code Email Subject Template  This governs the \"courier.smtp.templates.verification_code.invalid.email.subject\" setting.
    #[serde(rename = "kratos_courier_templates_verification_code_invalid_email_subject", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_verification_code_invalid_email_subject: Option<String>,
    /// Configures the Ory Kratos Valid Verification via Code Email Body HTML Template  This governs the \"courier.smtp.templates.verification_code.valid.email.body.html\" setting.
    #[serde(rename = "kratos_courier_templates_verification_code_valid_email_body_html", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_verification_code_valid_email_body_html: Option<String>,
    /// Configures the Ory Kratos Valid Verification via Code Email Body Plaintext Template  This governs the \"courier.smtp.templates.verification_code.valid.email.body.plaintext\" setting.
    #[serde(rename = "kratos_courier_templates_verification_code_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_verification_code_valid_email_body_plaintext: Option<String>,
    /// Configures the Ory Kratos Valid Verification via Code Email Subject Template  This governs the \"courier.smtp.templates.verification_code.valid.email.subject\" setting.
    #[serde(rename = "kratos_courier_templates_verification_code_valid_email_subject", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_verification_code_valid_email_subject: Option<String>,
    /// Configures the Ory Kratos Invalid Verification Email Body HTML Template  This governs the \"courier.smtp.templates.verification.invalid.email.body.html\" setting.
    #[serde(rename = "kratos_courier_templates_verification_invalid_email_body_html", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_verification_invalid_email_body_html: Option<String>,
    /// Configures the Ory Kratos Invalid Verification Email Body Plaintext Template  This governs the \"courier.smtp.templates.verification.invalid.email.body.plaintext\" setting.
    #[serde(rename = "kratos_courier_templates_verification_invalid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_verification_invalid_email_body_plaintext: Option<String>,
    /// Configures the Ory Kratos Invalid Verification Email Subject Template  This governs the \"courier.smtp.templates.verification.invalid.email.subject\" setting.
    #[serde(rename = "kratos_courier_templates_verification_invalid_email_subject", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_verification_invalid_email_subject: Option<String>,
    /// Configures the Ory Kratos Valid Verification Email Body HTML Template  This governs the \"courier.smtp.templates.verification.valid.email.body.html\" setting.
    #[serde(rename = "kratos_courier_templates_verification_valid_email_body_html", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_verification_valid_email_body_html: Option<String>,
    /// Configures the Ory Kratos Valid Verification Email Body Plaintext Template  This governs the \"courier.smtp.templates.verification.valid.email.body.plaintext\" setting.
    #[serde(rename = "kratos_courier_templates_verification_valid_email_body_plaintext", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_verification_valid_email_body_plaintext: Option<String>,
    /// Configures the Ory Kratos Valid Verification Email Subject Template  This governs the \"courier.smtp.templates.verification.valid.email.subject\" setting.
    #[serde(rename = "kratos_courier_templates_verification_valid_email_subject", skip_serializing_if = "Option::is_none")]
    pub kratos_courier_templates_verification_valid_email_subject: Option<String>,
    /// Configures the Ory Kratos Session caching feature flag  This governs the \"feature_flags.cacheable_sessions\" setting.
    #[serde(rename = "kratos_feature_flags_cacheable_sessions", skip_serializing_if = "Option::is_none")]
    pub kratos_feature_flags_cacheable_sessions: Option<bool>,
    #[serde(rename = "kratos_identity_schemas", skip_serializing_if = "Option::is_none")]
    pub kratos_identity_schemas: Option<Vec<crate::models::NormalizedProjectRevisionIdentitySchema>>,
    /// NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-
    #[serde(rename = "kratos_oauth2_provider_headers", skip_serializing_if = "Option::is_none")]
    pub kratos_oauth2_provider_headers: Option<serde_json::Value>,
    /// The Revisions' OAuth2 Provider Integration URL  This governs the \"oauth2_provider.url\" setting.
    #[serde(rename = "kratos_oauth2_provider_url", skip_serializing_if = "Option::is_none")]
    pub kratos_oauth2_provider_url: Option<String>,
    #[serde(rename = "kratos_secrets_cipher", skip_serializing_if = "Option::is_none")]
    pub kratos_secrets_cipher: Option<Vec<String>>,
    #[serde(rename = "kratos_secrets_cookie", skip_serializing_if = "Option::is_none")]
    pub kratos_secrets_cookie: Option<Vec<String>>,
    #[serde(rename = "kratos_secrets_default", skip_serializing_if = "Option::is_none")]
    pub kratos_secrets_default: Option<Vec<String>>,
    #[serde(rename = "kratos_selfservice_allowed_return_urls", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_allowed_return_urls: Option<Vec<String>>,
    /// Configures the Ory Kratos Default Return URL  This governs the \"selfservice.allowed_return_urls\" setting.
    #[serde(rename = "kratos_selfservice_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Error UI URL  This governs the \"selfservice.flows.error.ui_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_error_ui_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_error_ui_url: Option<String>,
    #[serde(rename = "kratos_selfservice_flows_hooks", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_hooks: Option<Vec<crate::models::NormalizedProjectRevisionHook>>,
    /// Configures the Ory Kratos Login Default Return URL  This governs the \"selfservice.flows.login.after.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_login_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_login_after_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Login After OIDC Default Return URL  This governs the \"selfservice.flows.login.after.oidc.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_login_after_oidc_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_login_after_oidc_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Login After Password Default Return URL  This governs the \"selfservice.flows.login.after.password.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_login_after_password_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_login_after_password_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Login After WebAuthn Default Return URL  This governs the \"selfservice.flows.login.after.webauthn.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_login_after_webauthn_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_login_after_webauthn_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Login Lifespan  This governs the \"selfservice.flows.login.lifespan\" setting.
    #[serde(rename = "kratos_selfservice_flows_login_lifespan", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_login_lifespan: Option<String>,
    /// Configures the Ory Kratos Login UI URL  This governs the \"selfservice.flows.login.ui_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_login_ui_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_login_ui_url: Option<String>,
    /// Configures the Ory Kratos Logout Default Return URL  This governs the \"selfservice.flows.logout.after.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_logout_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_logout_after_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Recovery Default Return URL  This governs the \"selfservice.flows.recovery.after.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_recovery_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_recovery_after_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Recovery Enabled Setting  This governs the \"selfservice.flows.recovery.enabled\" setting.
    #[serde(rename = "kratos_selfservice_flows_recovery_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_recovery_enabled: Option<bool>,
    /// Configures the Ory Kratos Recovery Lifespan  This governs the \"selfservice.flows.recovery.lifespan\" setting.
    #[serde(rename = "kratos_selfservice_flows_recovery_lifespan", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_recovery_lifespan: Option<String>,
    /// Configures the Ory Kratos Recovery UI URL  This governs the \"selfservice.flows.recovery.ui_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_recovery_ui_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_recovery_ui_url: Option<String>,
    /// Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\")  This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
    #[serde(rename = "kratos_selfservice_flows_recovery_use", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_recovery_use: Option<KratosSelfserviceFlowsRecoveryUseEnum>,
    /// Configures the Ory Kratos Registration Default Return URL  This governs the \"selfservice.flows.registration.after.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_registration_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_registration_after_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Registration After OIDC Default Return URL  This governs the \"selfservice.flows.registration.after.oidc.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_registration_after_oidc_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_registration_after_oidc_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Registration After Password Default Return URL  This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_registration_after_password_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_registration_after_password_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Registration After Password Default Return URL  This governs the \"selfservice.flows.registration.after.password.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url: Option<String>,
    /// Configures the Whether Ory Kratos Registration is Enabled  This governs the \"selfservice.flows.registration.enabled\" setting.0
    #[serde(rename = "kratos_selfservice_flows_registration_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_registration_enabled: Option<bool>,
    /// Configures the Ory Kratos Registration Lifespan  This governs the \"selfservice.flows.registration.lifespan\" setting.
    #[serde(rename = "kratos_selfservice_flows_registration_lifespan", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_registration_lifespan: Option<String>,
    /// Configures the Ory Kratos Registration UI URL  This governs the \"selfservice.flows.registration.ui_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_registration_ui_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_registration_ui_url: Option<String>,
    /// Configures the Ory Kratos Settings Default Return URL  This governs the \"selfservice.flows.settings.after.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_settings_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_settings_after_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Settings Default Return URL After Updating Passwords  This governs the \"selfservice.flows.settings.after.password.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_settings_after_password_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_settings_after_password_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Settings Default Return URL After Updating Profiles  This governs the \"selfservice.flows.settings.after.profile.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_settings_after_profile_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_settings_after_profile_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Settings Lifespan  This governs the \"selfservice.flows.settings.lifespan\" setting.
    #[serde(rename = "kratos_selfservice_flows_settings_lifespan", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_settings_lifespan: Option<String>,
    /// Configures the Ory Kratos Settings Privileged Session Max Age  This governs the \"selfservice.flows.settings.privileged_session_max_age\" setting.
    #[serde(rename = "kratos_selfservice_flows_settings_privileged_session_max_age", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_settings_privileged_session_max_age: Option<String>,
    /// Configures the Ory Kratos Settings Required AAL  This governs the \"selfservice.flows.settings.required_aal\" setting.
    #[serde(rename = "kratos_selfservice_flows_settings_required_aal", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_settings_required_aal: Option<String>,
    /// Configures the Ory Kratos Settings UI URL  This governs the \"selfservice.flows.settings.ui_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_settings_ui_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_settings_ui_url: Option<String>,
    /// Configures the Ory Kratos Verification Default Return URL  This governs the \"selfservice.flows.verification.after.default_browser_return_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_verification_after_default_browser_return_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_verification_after_default_browser_return_url: Option<String>,
    /// Configures the Ory Kratos Verification Enabled Setting  This governs the \"selfservice.flows.verification.enabled\" setting.
    #[serde(rename = "kratos_selfservice_flows_verification_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_verification_enabled: Option<bool>,
    /// Configures the Ory Kratos Verification Lifespan  This governs the \"selfservice.flows.verification.lifespan\" setting.
    #[serde(rename = "kratos_selfservice_flows_verification_lifespan", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_verification_lifespan: Option<String>,
    /// Configures the Ory Kratos Verification UI URL  This governs the \"selfservice.flows.verification.ui_url\" setting.
    #[serde(rename = "kratos_selfservice_flows_verification_ui_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_verification_ui_url: Option<String>,
    /// Configures the Ory Kratos Strategy to use for Verification  This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
    #[serde(rename = "kratos_selfservice_flows_verification_use", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_flows_verification_use: Option<KratosSelfserviceFlowsVerificationUseEnum>,
    /// Configures the Ory Kratos Code Method's lifespan  This governs the \"selfservice.methods.code.config.lifespan\" setting.
    #[serde(rename = "kratos_selfservice_methods_code_config_lifespan", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_code_config_lifespan: Option<String>,
    /// Configures whether Ory Kratos Code Method is enabled  This governs the \"selfservice.methods.code.enabled\" setting.
    #[serde(rename = "kratos_selfservice_methods_code_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_code_enabled: Option<bool>,
    /// 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.
    #[serde(rename = "kratos_selfservice_methods_link_config_base_url", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_link_config_base_url: Option<String>,
    /// Configures the Ory Kratos Link Method's lifespan  This governs the \"selfservice.methods.link.config.lifespan\" setting.
    #[serde(rename = "kratos_selfservice_methods_link_config_lifespan", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_link_config_lifespan: Option<String>,
    /// Configures whether Ory Kratos Link Method is enabled  This governs the \"selfservice.methods.link.enabled\" setting.
    #[serde(rename = "kratos_selfservice_methods_link_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_link_enabled: Option<bool>,
    /// Configures whether Ory Kratos TOTP Lookup Secret is enabled  This governs the \"selfservice.methods.lookup_secret.enabled\" setting.
    #[serde(rename = "kratos_selfservice_methods_lookup_secret_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_lookup_secret_enabled: Option<bool>,
    /// Configures the Ory Kratos Third Party / OpenID Connect base redirect URI  This governs the \"selfservice.methods.oidc.config.base_redirect_uri\" setting.
    #[serde(rename = "kratos_selfservice_methods_oidc_config_base_redirect_uri", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_oidc_config_base_redirect_uri: Option<String>,
    #[serde(rename = "kratos_selfservice_methods_oidc_config_providers", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_oidc_config_providers: Option<Vec<crate::models::NormalizedProjectRevisionThirdPartyProvider>>,
    /// Configures whether Ory Kratos Third Party / OpenID Connect Login is enabled  This governs the \"selfservice.methods.oidc.enabled\" setting.
    #[serde(rename = "kratos_selfservice_methods_oidc_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_oidc_enabled: Option<bool>,
    /// Configures whether Ory Kratos Password HIBP Checks is enabled  This governs the \"selfservice.methods.password.config.haveibeenpwned_enabled\" setting.
    #[serde(rename = "kratos_selfservice_methods_password_config_haveibeenpwned_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_password_config_haveibeenpwned_enabled: Option<bool>,
    /// Configures whether Ory Kratos Password should disable the similarity policy.  This governs the \"selfservice.methods.password.config.identifier_similarity_check_enabled\" setting.
    #[serde(rename = "kratos_selfservice_methods_password_config_identifier_similarity_check_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_password_config_identifier_similarity_check_enabled: Option<bool>,
    /// Configures whether Ory Kratos Password Should ignore HIBPWND Network Errors  This governs the \"selfservice.methods.password.config.ignore_network_errors\" setting.
    #[serde(rename = "kratos_selfservice_methods_password_config_ignore_network_errors", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_password_config_ignore_network_errors: Option<bool>,
    /// Configures Ory Kratos Password Max Breaches Detection  This governs the \"selfservice.methods.password.config.max_breaches\" setting.
    #[serde(rename = "kratos_selfservice_methods_password_config_max_breaches", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_password_config_max_breaches: Option<i64>,
    /// Configures the minimum length of passwords.  This governs the \"selfservice.methods.password.config.min_password_length\" setting.
    #[serde(rename = "kratos_selfservice_methods_password_config_min_password_length", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_password_config_min_password_length: Option<i64>,
    /// Configures whether Ory Kratos Password Method is enabled  This governs the \"selfservice.methods.password.enabled\" setting.
    #[serde(rename = "kratos_selfservice_methods_password_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_password_enabled: Option<bool>,
    /// Configures whether Ory Kratos Profile Method is enabled  This governs the \"selfservice.methods.profile.enabled\" setting.
    #[serde(rename = "kratos_selfservice_methods_profile_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_profile_enabled: Option<bool>,
    /// Configures Ory Kratos TOTP Issuer  This governs the \"selfservice.methods.totp.config.issuer\" setting.
    #[serde(rename = "kratos_selfservice_methods_totp_config_issuer", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_totp_config_issuer: Option<String>,
    /// Configures whether Ory Kratos TOTP Method is enabled  This governs the \"selfservice.methods.totp.enabled\" setting.
    #[serde(rename = "kratos_selfservice_methods_totp_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_totp_enabled: Option<bool>,
    /// Configures whether Ory Kratos Webauthn is used for passwordless flows  This governs the \"selfservice.methods.webauthn.config.passwordless\" setting.
    #[serde(rename = "kratos_selfservice_methods_webauthn_config_passwordless", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_webauthn_config_passwordless: Option<bool>,
    /// Configures the Ory Kratos Webauthn RP Display Name  This governs the \"selfservice.methods.webauthn.config.rp.display_name\" setting.
    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_display_name", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_webauthn_config_rp_display_name: Option<String>,
    /// Configures the Ory Kratos Webauthn RP Icon  This governs the \"selfservice.methods.webauthn.config.rp.icon\" setting.
    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_icon", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_webauthn_config_rp_icon: Option<String>,
    /// Configures the Ory Kratos Webauthn RP ID  This governs the \"selfservice.methods.webauthn.config.rp.id\" setting.
    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_id", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_webauthn_config_rp_id: Option<String>,
    /// Configures the Ory Kratos Webauthn RP Origin  This governs the \"selfservice.methods.webauthn.config.rp.origin\" setting.
    #[serde(rename = "kratos_selfservice_methods_webauthn_config_rp_origin", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_webauthn_config_rp_origin: Option<String>,
    /// Configures whether Ory Kratos Webauthn is enabled  This governs the \"selfservice.methods.webauthn.enabled\" setting.
    #[serde(rename = "kratos_selfservice_methods_webauthn_enabled", skip_serializing_if = "Option::is_none")]
    pub kratos_selfservice_methods_webauthn_enabled: Option<bool>,
    /// Configures the Ory Kratos Session Cookie Persistent Attribute  This governs the \"session.cookie.persistent\" setting.
    #[serde(rename = "kratos_session_cookie_persistent", skip_serializing_if = "Option::is_none")]
    pub kratos_session_cookie_persistent: Option<bool>,
    /// Configures the Ory Kratos Session Cookie SameSite Attribute  This governs the \"session.cookie.same_site\" setting.
    #[serde(rename = "kratos_session_cookie_same_site", skip_serializing_if = "Option::is_none")]
    pub kratos_session_cookie_same_site: Option<String>,
    /// Configures the Ory Kratos Session Lifespan  This governs the \"session.lifespan\" setting.
    #[serde(rename = "kratos_session_lifespan", skip_serializing_if = "Option::is_none")]
    pub kratos_session_lifespan: Option<String>,
    /// Configures the Ory Kratos Session Whoami AAL requirement  This governs the \"session.whoami.required_aal\" setting.
    #[serde(rename = "kratos_session_whoami_required_aal", skip_serializing_if = "Option::is_none")]
    pub kratos_session_whoami_required_aal: Option<String>,
    /// The project's name.
    #[serde(rename = "name")]
    pub name: String,
    /// Whether this project is in production mode or not.  In development mode, a low-security profile is used making it easier to develop against your, for example, local environment.
    #[serde(rename = "production", skip_serializing_if = "Option::is_none")]
    pub production: Option<bool>,
    /// The Revision's Project ID
    #[serde(rename = "project_id", skip_serializing_if = "Option::is_none")]
    pub project_id: Option<String>,
    /// Last Time Project's Revision was Updated
    #[serde(rename = "updated_at", skip_serializing_if = "Option::is_none")]
    pub updated_at: Option<String>,
}


impl NormalizedProjectRevision {
    pub fn new(name: String) -> NormalizedProjectRevision {
        NormalizedProjectRevision {
                created_at: None,
                hydra_oauth2_allowed_top_level_claims: None,
                hydra_oauth2_client_credentials_default_grant_allowed_scope: None,
                hydra_oauth2_exclude_not_before_claim: None,
                hydra_oauth2_grant_jwt_iat_optional: None,
                hydra_oauth2_grant_jwt_jti_optional: None,
                hydra_oauth2_grant_jwt_max_ttl: None,
                hydra_oauth2_pkce_enforced: None,
                hydra_oauth2_pkce_enforced_for_public_clients: None,
                hydra_oauth2_refresh_token_hook: None,
                hydra_oidc_dynamic_client_registration_default_scope: None,
                hydra_oidc_dynamic_client_registration_enabled: None,
                hydra_oidc_subject_identifiers_pairwise_salt: None,
                hydra_oidc_subject_identifiers_supported_types: None,
                hydra_secrets_cookie: None,
                hydra_secrets_system: None,
                hydra_serve_admin_cors_allowed_origins: None,
                hydra_serve_admin_cors_enabled: None,
                hydra_serve_cookies_same_site_legacy_workaround: None,
                hydra_serve_cookies_same_site_mode: None,
                hydra_serve_public_cors_allowed_origins: None,
                hydra_serve_public_cors_enabled: None,
                hydra_strategies_access_token: None,
                hydra_strategies_scope: None,
                hydra_ttl_access_token: None,
                hydra_ttl_auth_code: None,
                hydra_ttl_id_token: None,
                hydra_ttl_login_consent_request: None,
                hydra_ttl_refresh_token: None,
                hydra_urls_consent: None,
                hydra_urls_error: None,
                hydra_urls_login: None,
                hydra_urls_logout: None,
                hydra_urls_post_logout_redirect: None,
                hydra_urls_self_issuer: None,
                hydra_webfinger_jwks_broadcast_keys: None,
                hydra_webfinger_oidc_discovery_auth_url: None,
                hydra_webfinger_oidc_discovery_client_registration_url: None,
                hydra_webfinger_oidc_discovery_jwks_url: None,
                hydra_webfinger_oidc_discovery_supported_claims: None,
                hydra_webfinger_oidc_discovery_supported_scope: None,
                hydra_webfinger_oidc_discovery_token_url: None,
                hydra_webfinger_oidc_discovery_userinfo_url: None,
                id: None,
                keto_namespace_configuration: None,
                keto_namespaces: None,
                keto_read_max_depth: None,
                kratos_cookies_same_site: None,
                kratos_courier_smtp_connection_uri: None,
                kratos_courier_smtp_from_address: None,
                kratos_courier_smtp_from_name: None,
                kratos_courier_smtp_headers: None,
                kratos_courier_templates_recovery_code_invalid_email_body_html: None,
                kratos_courier_templates_recovery_code_invalid_email_body_plaintext: None,
                kratos_courier_templates_recovery_code_invalid_email_subject: None,
                kratos_courier_templates_recovery_code_valid_email_body_html: None,
                kratos_courier_templates_recovery_code_valid_email_body_plaintext: None,
                kratos_courier_templates_recovery_code_valid_email_subject: None,
                kratos_courier_templates_recovery_invalid_email_body_html: None,
                kratos_courier_templates_recovery_invalid_email_body_plaintext: None,
                kratos_courier_templates_recovery_invalid_email_subject: None,
                kratos_courier_templates_recovery_valid_email_body_html: None,
                kratos_courier_templates_recovery_valid_email_body_plaintext: None,
                kratos_courier_templates_recovery_valid_email_subject: None,
                kratos_courier_templates_verification_code_invalid_email_body_html: None,
                kratos_courier_templates_verification_code_invalid_email_body_plaintext: None,
                kratos_courier_templates_verification_code_invalid_email_subject: None,
                kratos_courier_templates_verification_code_valid_email_body_html: None,
                kratos_courier_templates_verification_code_valid_email_body_plaintext: None,
                kratos_courier_templates_verification_code_valid_email_subject: None,
                kratos_courier_templates_verification_invalid_email_body_html: None,
                kratos_courier_templates_verification_invalid_email_body_plaintext: None,
                kratos_courier_templates_verification_invalid_email_subject: None,
                kratos_courier_templates_verification_valid_email_body_html: None,
                kratos_courier_templates_verification_valid_email_body_plaintext: None,
                kratos_courier_templates_verification_valid_email_subject: None,
                kratos_feature_flags_cacheable_sessions: None,
                kratos_identity_schemas: None,
                kratos_oauth2_provider_headers: None,
                kratos_oauth2_provider_url: None,
                kratos_secrets_cipher: None,
                kratos_secrets_cookie: None,
                kratos_secrets_default: None,
                kratos_selfservice_allowed_return_urls: None,
                kratos_selfservice_default_browser_return_url: None,
                kratos_selfservice_flows_error_ui_url: None,
                kratos_selfservice_flows_hooks: None,
                kratos_selfservice_flows_login_after_default_browser_return_url: None,
                kratos_selfservice_flows_login_after_oidc_default_browser_return_url: None,
                kratos_selfservice_flows_login_after_password_default_browser_return_url: None,
                kratos_selfservice_flows_login_after_webauthn_default_browser_return_url: None,
                kratos_selfservice_flows_login_lifespan: None,
                kratos_selfservice_flows_login_ui_url: None,
                kratos_selfservice_flows_logout_after_default_browser_return_url: None,
                kratos_selfservice_flows_recovery_after_default_browser_return_url: None,
                kratos_selfservice_flows_recovery_enabled: None,
                kratos_selfservice_flows_recovery_lifespan: None,
                kratos_selfservice_flows_recovery_ui_url: None,
                kratos_selfservice_flows_recovery_use: None,
                kratos_selfservice_flows_registration_after_default_browser_return_url: None,
                kratos_selfservice_flows_registration_after_oidc_default_browser_return_url: None,
                kratos_selfservice_flows_registration_after_password_default_browser_return_url: None,
                kratos_selfservice_flows_registration_after_webauthn_default_browser_return_url: None,
                kratos_selfservice_flows_registration_enabled: None,
                kratos_selfservice_flows_registration_lifespan: None,
                kratos_selfservice_flows_registration_ui_url: None,
                kratos_selfservice_flows_settings_after_default_browser_return_url: None,
                kratos_selfservice_flows_settings_after_password_default_browser_return_url: None,
                kratos_selfservice_flows_settings_after_profile_default_browser_return_url: None,
                kratos_selfservice_flows_settings_lifespan: None,
                kratos_selfservice_flows_settings_privileged_session_max_age: None,
                kratos_selfservice_flows_settings_required_aal: None,
                kratos_selfservice_flows_settings_ui_url: None,
                kratos_selfservice_flows_verification_after_default_browser_return_url: None,
                kratos_selfservice_flows_verification_enabled: None,
                kratos_selfservice_flows_verification_lifespan: None,
                kratos_selfservice_flows_verification_ui_url: None,
                kratos_selfservice_flows_verification_use: None,
                kratos_selfservice_methods_code_config_lifespan: None,
                kratos_selfservice_methods_code_enabled: None,
                kratos_selfservice_methods_link_config_base_url: None,
                kratos_selfservice_methods_link_config_lifespan: None,
                kratos_selfservice_methods_link_enabled: None,
                kratos_selfservice_methods_lookup_secret_enabled: None,
                kratos_selfservice_methods_oidc_config_base_redirect_uri: None,
                kratos_selfservice_methods_oidc_config_providers: None,
                kratos_selfservice_methods_oidc_enabled: None,
                kratos_selfservice_methods_password_config_haveibeenpwned_enabled: None,
                kratos_selfservice_methods_password_config_identifier_similarity_check_enabled: None,
                kratos_selfservice_methods_password_config_ignore_network_errors: None,
                kratos_selfservice_methods_password_config_max_breaches: None,
                kratos_selfservice_methods_password_config_min_password_length: None,
                kratos_selfservice_methods_password_enabled: None,
                kratos_selfservice_methods_profile_enabled: None,
                kratos_selfservice_methods_totp_config_issuer: None,
                kratos_selfservice_methods_totp_enabled: None,
                kratos_selfservice_methods_webauthn_config_passwordless: None,
                kratos_selfservice_methods_webauthn_config_rp_display_name: None,
                kratos_selfservice_methods_webauthn_config_rp_icon: None,
                kratos_selfservice_methods_webauthn_config_rp_id: None,
                kratos_selfservice_methods_webauthn_config_rp_origin: None,
                kratos_selfservice_methods_webauthn_enabled: None,
                kratos_session_cookie_persistent: None,
                kratos_session_cookie_same_site: None,
                kratos_session_lifespan: None,
                kratos_session_whoami_required_aal: None,
                name,
                production: None,
                project_id: None,
                updated_at: None,
        }
    }
}

/// Defines access token type. jwt is a bad idea, see https://www.ory.sh/docs/hydra/advanced#json-web-tokens  This governs the \"strategies.access_token\" setting. opaque Oauth2AccessTokenStrategyOpaque jwt Oauth2AccessTokenStrategyJwt
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum HydraStrategiesAccessTokenEnum {
    #[serde(rename = "opaque")]
    Opaque,
    #[serde(rename = "jwt")]
    Jwt,
}
/// 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
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum HydraStrategiesScopeEnum {
    #[serde(rename = "exact")]
    Exact,
    #[serde(rename = "wildcard")]
    Wildcard,
}
/// Configures the Ory Kratos Recovery strategy to use (\"link\" or \"code\")  This governs the \"selfservice.flows.recovery.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum KratosSelfserviceFlowsRecoveryUseEnum {
    #[serde(rename = "link")]
    Link,
    #[serde(rename = "code")]
    Code,
}
/// Configures the Ory Kratos Strategy to use for Verification  This governs the \"selfservice.flows.verification.use\" setting. link SelfServiceMessageVerificationStrategyLink code SelfServiceMessageVerificationStrategyCode
#[derive(Clone, Copy, Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Serialize, Deserialize)]
pub enum KratosSelfserviceFlowsVerificationUseEnum {
    #[serde(rename = "link")]
    Link,
    #[serde(rename = "code")]
    Code,
}