Skip to content

ManifestValidationOptions

How strictly to read a manifest, and what the caller knows that the manifest cannot say for itself.

PropertyTypeDescription
directoryProviderExists?(provider: string) => booleanWhether a directory provider of the given name exists. Only a catalog knows which providers it ships, so it supplies the resolver; the default accepts any non-empty name, which is the right answer for an author validating a manifest on their own machine.
implemented?booleanWhether the source has code. Passing this at all means the manifest is being admitted to a catalog, where a source that has not declared its kind, transport, cursor, ingest and location is incomplete — so those five become required. Omitting it is authoring mode: whatever is declared is checked, and what has not been written yet is not an error, so validation stays useful while a source is being built. The value itself decides whether the MVP cut binds: true holds the source to what runs today, false lets a stub name a reserved value to record where it is headed.