ArchAstro. SDK. Types. ConfigKindSchema
(archastro v0.3.2)
Copy Markdown
The JSON Schema definition and sample YAML for a specific config kind, used to validate and scaffold new configs of that kind.
Summary
Types
@type t() :: %ArchAstro.SDK.Types.ConfigKindSchema{ json_schema: %{optional(String.t()) => ArchAstro.SDK.JSON.t()} | ArchAstro.SDK.Unset.t(), kind: String.t(), sample_yaml: String.t() | ArchAstro.SDK.Unset.t() }
Functions
@spec from_map(ArchAstro.SDK.JSON.object()) :: t()
@spec matches?(ArchAstro.SDK.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.SDK.JSON.object()