{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/daon/json-schema/daon-start-passcode-authentication-response-schema.json",
  "title": "StartPasscodeAuthenticationResponse",
  "description": "The response from the create passcode authentication API",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/daon-user-passcode-management-api-openapi.yml#/components/schemas/StartPasscodeAuthenticationResponse",
  "type": "object",
  "properties": {
    "algorithmInfo": {
      "$ref": "#/$defs/PasscodeAlgorithmInfo"
    },
    "sessionId": {
      "type": "string",
      "description": "The session ID which must be supplied to the server when completing client-validated passcode authentication."
    }
  },
  "$defs": {
    "PasscodeAlgorithmInfo": {
      "type": "object",
      "description": "Passcode algorithm information for client-validated passcode registration.",
      "properties": {
        "type": {
          "type": "string",
          "description": "Identifies the passcode algorithm.",
          "enum": [
            "SRP"
          ]
        },
        "parameters": {
          "type": "object",
          "additionalProperties": {
            "type": "object"
          },
          "description": "The algorithm parameters required by the client."
        }
      }
    }
  }
}