From 528ed65e23acdad7277cfcbfb85689f7bdb28b1b Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Tue, 31 Aug 2021 18:17:08 +0300 Subject: [PATCH] Add spec for kratos:v0.7.3-alpha.5 --- spec/kratos/v0.7.3-alpha.5.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 spec/kratos/v0.7.3-alpha.5.json diff --git a/spec/kratos/v0.7.3-alpha.5.json b/spec/kratos/v0.7.3-alpha.5.json new file mode 100644 index 00000000000..2136f674167 --- /dev/null +++ b/spec/kratos/v0.7.3-alpha.5.json @@ -0,0 +1 @@ +{"components":{"responses":{"emptyResponse":{"description":"Empty responses are sent when, for example, resources are deleted. The HTTP status code for empty responses is typically 201."}},"schemas":{"AdminUpdateIdentityBody":{"properties":{"schema_id":{"description":"SchemaID is the ID of the JSON Schema to be used for validating the identity's traits. If set\nwill update the Identity's SchemaID.","type":"string"},"state":{"$ref":"#/components/schemas/identityState"},"traits":{"description":"Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_id`.","type":"object"}},"required":["traits","state"],"type":"object"},"AuthenticateOKBody":{"description":"AuthenticateOKBody authenticate o k body","properties":{"IdentityToken":{"description":"An opaque token used to authenticate a user after a successful login","type":"string"},"Status":{"description":"The status of the authentication","type":"string"}},"required":["IdentityToken","Status"],"type":"object"},"ContainerChangeResponseItem":{"description":"ContainerChangeResponseItem change item in response to ContainerChanges operation","properties":{"Kind":{"description":"Kind of change","format":"uint8","type":"integer"},"Path":{"description":"Path to file that has changed","type":"string"}},"required":["Kind","Path"],"type":"object"},"ContainerCreateCreatedBody":{"description":"ContainerCreateCreatedBody OK response to ContainerCreate operation","properties":{"Id":{"description":"The ID of the created container","type":"string"},"Warnings":{"description":"Warnings encountered when creating the container","items":{"type":"string"},"type":"array"}},"required":["Id","Warnings"],"type":"object"},"ContainerTopOKBody":{"description":"ContainerTopOKBody OK response to ContainerTop operation","properties":{"Processes":{"description":"Each process running in the container, where each is process is an array of values corresponding to the titles","items":{"items":{"type":"string"},"type":"array"},"type":"array"},"Titles":{"description":"The ps column titles","items":{"type":"string"},"type":"array"}},"required":["Processes","Titles"],"type":"object"},"ContainerUpdateOKBody":{"description":"ContainerUpdateOKBody OK response to ContainerUpdate operation","properties":{"Warnings":{"description":"warnings","items":{"type":"string"},"type":"array"}},"required":["Warnings"],"type":"object"},"ContainerWaitOKBody":{"description":"ContainerWaitOKBody OK response to ContainerWait operation","properties":{"Error":{"$ref":"#/components/schemas/ContainerWaitOKBodyError"},"StatusCode":{"description":"Exit code of the container","format":"int64","type":"integer"}},"required":["Error","StatusCode"],"type":"object"},"ContainerWaitOKBodyError":{"description":"ContainerWaitOKBodyError container waiting error, if any","properties":{"Message":{"description":"Details of an error","type":"string"}},"type":"object"},"CredentialsType":{"description":"and so on.","title":"CredentialsType represents several different credential types, like password credentials, passwordless credentials,","type":"string"},"ErrorResponse":{"properties":{"message":{"description":"The error message.","type":"string"}},"required":["message"],"title":"ErrorResponse Represents an error.","type":"object"},"GraphDriverData":{"properties":{"Data":{"additionalProperties":{"type":"string"},"description":"data","type":"object"},"Name":{"description":"name","type":"string"}},"required":["Data","Name"],"title":"GraphDriverData Information about a container's graph driver.","type":"object"},"ID":{"format":"int64","type":"integer"},"IdResponse":{"description":"IDResponse Response to an API call that returns just an Id","properties":{"Id":{"description":"The id of the newly created object.","type":"string"}},"required":["Id"],"type":"object"},"ImageDeleteResponseItem":{"description":"ImageDeleteResponseItem image delete response item","properties":{"Deleted":{"description":"The image ID of an image that was deleted","type":"string"},"Untagged":{"description":"The image ID of an image that was untagged","type":"string"}},"type":"object"},"ImageSummary":{"description":"ImageSummary image summary","properties":{"Containers":{"description":"containers","format":"int64","type":"integer"},"Created":{"description":"created","format":"int64","type":"integer"},"Id":{"description":"Id","type":"string"},"Labels":{"additionalProperties":{"type":"string"},"description":"labels","type":"object"},"ParentId":{"description":"parent Id","type":"string"},"RepoDigests":{"description":"repo digests","items":{"type":"string"},"type":"array"},"RepoTags":{"description":"repo tags","items":{"type":"string"},"type":"array"},"SharedSize":{"description":"shared size","format":"int64","type":"integer"},"Size":{"description":"size","format":"int64","type":"integer"},"VirtualSize":{"description":"virtual size","format":"int64","type":"integer"}},"required":["Containers","Created","Id","Labels","ParentId","RepoDigests","RepoTags","SharedSize","Size","VirtualSize"],"type":"object"},"JSONRawMessage":{"title":"JSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger.","type":"object"},"Meta":{"description":"This might include a label and other information that can optionally\nbe used to render UIs.","properties":{"label":{"$ref":"#/components/schemas/uiText"}},"title":"A Node's Meta Information","type":"object"},"Plugin":{"description":"Plugin A plugin for the Engine API","properties":{"Config":{"$ref":"#/components/schemas/PluginConfig"},"Enabled":{"description":"True if the plugin is running. False if the plugin is not running, only installed.","type":"boolean"},"Id":{"description":"Id","type":"string"},"Name":{"description":"name","type":"string"},"PluginReference":{"description":"plugin remote reference used to push/pull the plugin","type":"string"},"Settings":{"$ref":"#/components/schemas/PluginSettings"}},"required":["Config","Enabled","Name","Settings"],"type":"object"},"PluginConfig":{"properties":{"Args":{"$ref":"#/components/schemas/PluginConfigArgs"},"Description":{"description":"description","type":"string"},"DockerVersion":{"description":"Docker Version used to create the plugin","type":"string"},"Documentation":{"description":"documentation","type":"string"},"Entrypoint":{"description":"entrypoint","items":{"type":"string"},"type":"array"},"Env":{"description":"env","items":{"$ref":"#/components/schemas/PluginEnv"},"type":"array"},"Interface":{"$ref":"#/components/schemas/PluginConfigInterface"},"IpcHost":{"description":"ipc host","type":"boolean"},"Linux":{"$ref":"#/components/schemas/PluginConfigLinux"},"Mounts":{"description":"mounts","items":{"$ref":"#/components/schemas/PluginMount"},"type":"array"},"Network":{"$ref":"#/components/schemas/PluginConfigNetwork"},"PidHost":{"description":"pid host","type":"boolean"},"PropagatedMount":{"description":"propagated mount","type":"string"},"User":{"$ref":"#/components/schemas/PluginConfigUser"},"WorkDir":{"description":"work dir","type":"string"},"rootfs":{"$ref":"#/components/schemas/PluginConfigRootfs"}},"required":["Args","Description","Documentation","Entrypoint","Env","Interface","IpcHost","Linux","Mounts","Network","PidHost","PropagatedMount","WorkDir"],"title":"PluginConfig The config of a plugin.","type":"object"},"PluginConfigArgs":{"description":"PluginConfigArgs plugin config args","properties":{"Description":{"description":"description","type":"string"},"Name":{"description":"name","type":"string"},"Settable":{"description":"settable","items":{"type":"string"},"type":"array"},"Value":{"description":"value","items":{"type":"string"},"type":"array"}},"required":["Description","Name","Settable","Value"],"type":"object"},"PluginConfigInterface":{"description":"PluginConfigInterface The interface between Docker and the plugin","properties":{"Socket":{"description":"socket","type":"string"},"Types":{"description":"types","items":{"$ref":"#/components/schemas/PluginInterfaceType"},"type":"array"}},"required":["Socket","Types"],"type":"object"},"PluginConfigLinux":{"description":"PluginConfigLinux plugin config linux","properties":{"AllowAllDevices":{"description":"allow all devices","type":"boolean"},"Capabilities":{"description":"capabilities","items":{"type":"string"},"type":"array"},"Devices":{"description":"devices","items":{"$ref":"#/components/schemas/PluginDevice"},"type":"array"}},"required":["AllowAllDevices","Capabilities","Devices"],"type":"object"},"PluginConfigNetwork":{"description":"PluginConfigNetwork plugin config network","properties":{"Type":{"description":"type","type":"string"}},"required":["Type"],"type":"object"},"PluginConfigRootfs":{"description":"PluginConfigRootfs plugin config rootfs","properties":{"diff_ids":{"description":"diff ids","items":{"type":"string"},"type":"array"},"type":{"description":"type","type":"string"}},"type":"object"},"PluginConfigUser":{"description":"PluginConfigUser plugin config user","properties":{"GID":{"description":"g ID","format":"uint32","type":"integer"},"UID":{"description":"UID","format":"uint32","type":"integer"}},"type":"object"},"PluginDevice":{"description":"PluginDevice plugin device","properties":{"Description":{"description":"description","type":"string"},"Name":{"description":"name","type":"string"},"Path":{"description":"path","type":"string"},"Settable":{"description":"settable","items":{"type":"string"},"type":"array"}},"required":["Description","Name","Path","Settable"],"type":"object"},"PluginEnv":{"description":"PluginEnv plugin env","properties":{"Description":{"description":"description","type":"string"},"Name":{"description":"name","type":"string"},"Settable":{"description":"settable","items":{"type":"string"},"type":"array"},"Value":{"description":"value","type":"string"}},"required":["Description","Name","Settable","Value"],"type":"object"},"PluginInterfaceType":{"description":"PluginInterfaceType plugin interface type","properties":{"Capability":{"description":"capability","type":"string"},"Prefix":{"description":"prefix","type":"string"},"Version":{"description":"version","type":"string"}},"required":["Capability","Prefix","Version"],"type":"object"},"PluginMount":{"description":"PluginMount plugin mount","properties":{"Description":{"description":"description","type":"string"},"Destination":{"description":"destination","type":"string"},"Name":{"description":"name","type":"string"},"Options":{"description":"options","items":{"type":"string"},"type":"array"},"Settable":{"description":"settable","items":{"type":"string"},"type":"array"},"Source":{"description":"source","type":"string"},"Type":{"description":"type","type":"string"}},"required":["Description","Destination","Name","Options","Settable","Source","Type"],"type":"object"},"PluginSettings":{"properties":{"Args":{"description":"args","items":{"type":"string"},"type":"array"},"Devices":{"description":"devices","items":{"$ref":"#/components/schemas/PluginDevice"},"type":"array"},"Env":{"description":"env","items":{"type":"string"},"type":"array"},"Mounts":{"description":"mounts","items":{"$ref":"#/components/schemas/PluginMount"},"type":"array"}},"required":["Args","Devices","Env","Mounts"],"title":"PluginSettings Settings that can be modified by users.","type":"object"},"Port":{"description":"Port An open port on a container","properties":{"IP":{"description":"IP","type":"string"},"PrivatePort":{"description":"Port on the container","format":"uint16","type":"integer"},"PublicPort":{"description":"Port exposed on the host","format":"uint16","type":"integer"},"Type":{"description":"type","type":"string"}},"required":["PrivatePort","Type"],"type":"object"},"RecoveryAddress":{"properties":{"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"value":{"type":"string"},"via":{"$ref":"#/components/schemas/RecoveryAddressType"}},"required":["id","value","via"],"type":"object"},"RecoveryAddressType":{"type":"string"},"ServiceUpdateResponse":{"description":"ServiceUpdateResponse service update response","properties":{"Warnings":{"description":"Optional warning messages","items":{"type":"string"},"type":"array"}},"type":"object"},"UUID":{"format":"uuid4","type":"string"},"Volume":{"description":"Volume volume","properties":{"CreatedAt":{"description":"Date/Time the volume was created.","type":"string"},"Driver":{"description":"Name of the volume driver used by the volume.","type":"string"},"Labels":{"additionalProperties":{"type":"string"},"description":"User-defined key/value metadata.","type":"object"},"Mountpoint":{"description":"Mount path of the volume on the host.","type":"string"},"Name":{"description":"Name of the volume.","type":"string"},"Options":{"additionalProperties":{"type":"string"},"description":"The driver specific options used when creating the volume.","type":"object"},"Scope":{"description":"The level at which the volume exists. Either `global` for cluster-wide, or `local` for machine level.","type":"string"},"Status":{"additionalProperties":true,"description":"Low-level details about the volume, provided by the volume driver.\nDetails are returned as a map with key/value pairs:\n`{\"key\":\"value\",\"key2\":\"value2\"}`.\n\nThe `Status` field is optional, and is omitted if the volume driver\ndoes not support this feature.","type":"object"},"UsageData":{"$ref":"#/components/schemas/VolumeUsageData"}},"required":["Driver","Labels","Mountpoint","Name","Options","Scope"],"type":"object"},"VolumeUsageData":{"description":"VolumeUsageData Usage details about the volume. This information is used by the\n`GET /system/df` endpoint, and omitted in other endpoints.","properties":{"RefCount":{"description":"The number of containers referencing this volume. This field\nis set to `-1` if the reference-count is not available.","format":"int64","type":"integer"},"Size":{"description":"Amount of disk space used by the volume (in bytes). This information\nis only available for volumes created with the `\"local\"` volume\ndriver. For volumes created with other volume drivers, this field\nis set to `-1` (\"not available\")","format":"int64","type":"integer"}},"required":["RefCount","Size"],"type":"object"},"adminCreateIdentityBody":{"properties":{"schema_id":{"description":"SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.","type":"string"},"traits":{"description":"Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_url`.","type":"object"}},"required":["schema_id","traits"],"type":"object"},"adminCreateSelfServiceRecoveryLinkBody":{"properties":{"expires_in":{"description":"Link Expires In\n\nThe recovery link will expire at that point in time. Defaults to the configuration value of\n`selfservice.flows.recovery.request_lifespan`.","pattern":"^[0-9]+(ns|us|ms|s|m|h)$","type":"string"},"identity_id":{"$ref":"#/components/schemas/UUID"}},"required":["identity_id"],"type":"object"},"genericError":{"properties":{"code":{"description":"The status code","example":404,"format":"int64","type":"integer"},"debug":{"description":"Debug information\n\nThis field is often not exposed to protect against leaking\nsensitive information.","example":"SQL field \"foo\" is not a bool.","type":"string"},"details":{"additionalProperties":false,"description":"Further error details","type":"object"},"message":{"description":"Error message\n\nThe error's message.","example":"The resource could not be found","type":"string"},"reason":{"description":"A human-readable reason for the error","example":"User with ID 1234 does not exist.","type":"string"},"request":{"description":"The request ID\n\nThe request ID is often exposed internally in order to trace\nerrors across service architectures. This is often a UUID.","example":"d7ef54b1-ec15-46e6-bccb-524b82c035e6","type":"string"},"status":{"description":"The status description","example":"Not Found","type":"string"}},"required":["message"],"type":"object"},"healthNotReadyStatus":{"properties":{"errors":{"additionalProperties":{"type":"string"},"description":"Errors contains a list of errors that caused the not ready status.","type":"object"}},"type":"object"},"healthStatus":{"properties":{"status":{"description":"Status always contains \"ok\".","type":"string"}},"type":"object"},"identity":{"description":"An identity can be a real human, a service, an IoT device - everything that\ncan be described as an \"actor\" in a system.","properties":{"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"credentials":{"additionalProperties":{"$ref":"#/components/schemas/identityCredentials"},"description":"Credentials represents all credentials that can be used for authenticating this identity.","type":"object"},"id":{"$ref":"#/components/schemas/UUID"},"recovery_addresses":{"description":"RecoveryAddresses contains all the addresses that can be used to recover an identity.","items":{"$ref":"#/components/schemas/RecoveryAddress"},"type":"array","x-omitempty":true},"schema_id":{"description":"SchemaID is the ID of the JSON Schema to be used for validating the identity's traits.","type":"string"},"schema_url":{"description":"SchemaURL is the URL of the endpoint where the identity's traits schema can be fetched from.\n\nformat: url","type":"string"},"state":{"$ref":"#/components/schemas/identityState"},"state_changed_at":{"$ref":"#/components/schemas/nullTime"},"traits":{"$ref":"#/components/schemas/identityTraits"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"verifiable_addresses":{"description":"VerifiableAddresses contains all the addresses that can be verified by the user.","items":{"$ref":"#/components/schemas/verifiableIdentityAddress"},"type":"array","x-omitempty":true}},"required":["id","schema_id","schema_url","traits"],"title":"Identity represents an Ory Kratos identity","type":"object"},"identityCredentials":{"description":"Credentials represents a specific credential type","properties":{"config":{"$ref":"#/components/schemas/JSONRawMessage"},"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"identifiers":{"description":"Identifiers represents a list of unique identifiers this credential type matches.","items":{"type":"string"},"type":"array"},"type":{"$ref":"#/components/schemas/CredentialsType"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"}},"type":"object"},"identityList":{"items":{"$ref":"#/components/schemas/identity"},"title":"A list of identities.","type":"array"},"identityState":{"description":"The state can either be `active` or `inactive`.","enum":["active","inactive"],"title":"An Identity's State","type":"string"},"identityTraits":{"description":"Traits represent an identity's traits. The identity is able to create, modify, and delete traits\nin a self-service manner. The input will always be validated against the JSON Schema defined\nin `schema_url`."},"identityVerifiableAddressStatus":{"description":"VerifiableAddressStatus must not exceed 16 characters as that is the limitation in the SQL Schema","type":"string"},"identityVerifiableAddressType":{"description":"VerifiableAddressType must not exceed 16 characters as that is the limitation in the SQL Schema","type":"string"},"jsonError":{"description":"The standard Ory JSON API error format.","properties":{"error":{"$ref":"#/components/schemas/genericError"}},"required":["error"],"title":"JSON API Error Response","type":"object"},"jsonSchema":{"description":"Raw JSON Schema","type":"object"},"nullJsonRawMessage":{"description":"NullJSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger and is NULLable-","type":"object"},"nullTime":{"format":"date-time","title":"NullTime implements sql.NullTime functionality.","type":"string"},"selfServiceError":{"properties":{"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"error":{"type":"object"},"id":{"$ref":"#/components/schemas/UUID"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"}},"required":["id"],"type":"object"},"selfServiceFlowType":{"description":"The flow type can either be `api` or `browser`.","title":"Type is the flow type.","type":"string"},"selfServiceLoginFlow":{"description":"This object represents a login flow. A login flow is initiated at the \"Initiate Login API / Browser Flow\"\nendpoint by a client.\n\nOnce a login flow is completed successfully, a session cookie or session token will be issued.","properties":{"active":{"$ref":"#/components/schemas/CredentialsType"},"created_at":{"description":"CreatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in,\na new flow has to be initiated.","format":"date-time","type":"string"},"forced":{"description":"Forced stores whether this login flow should enforce re-authentication.","type":"boolean"},"id":{"$ref":"#/components/schemas/UUID"},"issued_at":{"description":"IssuedAt is the time (UTC) when the flow started.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"},"updated_at":{"description":"UpdatedAt is a helper struct field for gobuffalo.pop.","format":"date-time","type":"string"}},"required":["id","type","expires_at","issued_at","request_url","ui"],"title":"Login Flow","type":"object"},"selfServiceLogoutUrl":{"properties":{"logout_url":{"description":"LogoutURL can be opened in a browser to\n\nformat: uri","type":"string"}},"type":"object"},"selfServiceRecoveryFlow":{"description":"This request is used when an identity wants to recover their account.\n\nWe recommend reading the [Account Recovery Documentation](../self-service/flows/password-reset-account-recovery)","properties":{"active":{"description":"Active, if set, contains the registration method that is being used. It is initially\nnot set.","type":"string"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the request expires. If the user still wishes to update the setting,\na new request has to be initiated.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"issued_at":{"description":"IssuedAt is the time (UTC) when the request occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"state":{"$ref":"#/components/schemas/selfServiceRecoveryFlowState"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","expires_at","issued_at","request_url","ui","state"],"title":"A Recovery Flow","type":"object"},"selfServiceRecoveryFlowState":{"description":"The state represents the state of the recovery flow.\n\nchoose_method: ask the user to choose a method (e.g. recover account via email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the recovery challenge was passed.","enum":["choose_method","sent_email","passed_challenge"],"title":"Recovery Flow State","type":"string"},"selfServiceRecoveryLink":{"properties":{"expires_at":{"description":"Recovery Link Expires At\n\nThe timestamp when the recovery link expires.","format":"date-time","type":"string"},"recovery_link":{"description":"Recovery Link\n\nThis link can be used to recover the account.","type":"string"}},"required":["recovery_link"],"type":"object"},"selfServiceRegistrationFlow":{"properties":{"active":{"$ref":"#/components/schemas/CredentialsType"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to log in,\na new flow has to be initiated.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"issued_at":{"description":"IssuedAt is the time (UTC) when the flow occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","expires_at","issued_at","request_url","ui"],"type":"object"},"selfServiceSettingsFlow":{"description":"This flow is used when an identity wants to update settings\n(e.g. profile data, passwords, ...) in a selfservice manner.\n\nWe recommend reading the [User Settings Documentation](../self-service/flows/user-settings)","properties":{"active":{"description":"Active, if set, contains the registration method that is being used. It is initially\nnot set.","type":"string"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the flow expires. If the user still wishes to update the setting,\na new flow has to be initiated.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"identity":{"$ref":"#/components/schemas/identity"},"issued_at":{"description":"IssuedAt is the time (UTC) when the flow occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"state":{"$ref":"#/components/schemas/selfServiceSettingsFlowState"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","expires_at","issued_at","request_url","ui","identity","state"],"title":"Flow represents a Settings Flow","type":"object"},"selfServiceSettingsFlowState":{"description":"show_form: No user data has been collected, or it is invalid, and thus the form should be shown.\nsuccess: Indicates that the settings flow has been updated successfully with the provided data.\nDone will stay true when repeatedly checking. If set to true, done will revert back to false only\nwhen a flow with invalid (e.g. \"please use a valid phone number\") data was sent.","enum":["show_form","success"],"title":"State represents the state of this flow. It knows two states:","type":"string"},"selfServiceVerificationFlow":{"description":"Used to verify an out-of-band communication\nchannel such as an email address or a phone number.\n\nFor more information head over to: https://www.ory.sh/docs/kratos/selfservice/flows/verify-email-account-activation","properties":{"active":{"description":"Active, if set, contains the registration method that is being used. It is initially\nnot set.","type":"string"},"expires_at":{"description":"ExpiresAt is the time (UTC) when the request expires. If the user still wishes to verify the address,\na new request has to be initiated.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"issued_at":{"description":"IssuedAt is the time (UTC) when the request occurred.","format":"date-time","type":"string"},"request_url":{"description":"RequestURL is the initial URL that was requested from Ory Kratos. It can be used\nto forward information contained in the URL's path or query for example.","type":"string"},"state":{"$ref":"#/components/schemas/selfServiceVerificationFlowState"},"type":{"$ref":"#/components/schemas/selfServiceFlowType"},"ui":{"$ref":"#/components/schemas/uiContainer"}},"required":["id","type","ui","state"],"title":"A Verification Flow","type":"object"},"selfServiceVerificationFlowState":{"description":"The state represents the state of the verification flow.\n\nchoose_method: ask the user to choose a method (e.g. recover account via email)\nsent_email: the email has been sent to the user\npassed_challenge: the request was successful and the recovery challenge was passed.","enum":["choose_method","sent_email","passed_challenge"],"title":"Verification Flow State","type":"string"},"session":{"description":"A Session","properties":{"active":{"description":"Whether or not the session is active.","type":"boolean"},"authenticated_at":{"description":"The Session Authentication Timestamp\n\nWhen this session was authenticated at.","format":"date-time","type":"string"},"expires_at":{"description":"The Session Expiry\n\nWhen this session expires at.","format":"date-time","type":"string"},"id":{"$ref":"#/components/schemas/UUID"},"identity":{"$ref":"#/components/schemas/identity"},"issued_at":{"description":"The Session Issuance Timestamp\n\nWhen this session was authenticated at.","format":"date-time","type":"string"}},"required":["id","identity"],"type":"object"},"settingsProfileFormConfig":{"properties":{"action":{"description":"Action should be used as the form action URL `