Definitively.Spec.AgentProfileValidator (definitively v0.4.0)

Copy Markdown

Schema validation for loaded agent profiles.

Summary

Functions

Validates a loaded agent profile struct.

Functions

validate(profile)

@spec validate(Definitively.Domain.AgentProfile.t()) ::
  :ok | {:error, Definitively.Spec.Error.t()}

Validates a loaded agent profile struct.