Class KnownCatalogueSource
- Namespace
- EncDotNet.S100.Collections.KnownSources
- Assembly
- EncDotNet.S100.Collections.dll
One online chart catalogue in the curated list of known sources (issue #670): where it is, who publishes it, and what it provides.
public sealed record KnownCatalogueSource : IEquatable<KnownCatalogueSource>
- Inheritance
-
KnownCatalogueSource
- Implements
- Inherited Members
Constructors
KnownCatalogueSource(string, string, string, IReadOnlyList<string>, KnownCatalogueFormat, Uri, Uri?, KnownCatalogueCoverage, bool, bool, string?, string?, bool, IReadOnlyList<ForecastModel>?, bool, WeatherService?, string?, string?)
One online chart catalogue in the curated list of known sources (issue #670): where it is, who publishes it, and what it provides.
public KnownCatalogueSource(string Id, string Name, string Provider, IReadOnlyList<string> Region, KnownCatalogueFormat Format, Uri CatalogUri, Uri? Homepage, KnownCatalogueCoverage Coverage, bool Editions, bool Sizes, string? Note = null, string? Product = null, bool NotForNavigation = false, IReadOnlyList<ForecastModel>? Models = null, bool Pilot = false, WeatherService? Weather = null, string? Licence = null, string? Attribution = null)
Parameters
IdstringA stable identifier (e.g.
noaa-enc).NamestringThe display name.
ProviderstringWho publishes the catalogue.
RegionIReadOnlyList<string>Where it applies, broadest first (e.g.
North America › United States).FormatKnownCatalogueFormatThe catalogue format.
CatalogUriUriThe catalogue's URL.
HomepageUriThe provider's page for the data (terms, notices), if any.
CoverageKnownCatalogueCoverageWhat coverage the catalogue publishes.
EditionsboolTrue when the catalogue lists editions and updates (so UPDATE can be detected).
SizesboolTrue when the catalogue lists download sizes.
NotestringA short description shown with the entry, if any.
ProductstringThe one product specification the catalogue publishes (e.g.
S-102), if it says.NotForNavigationboolTrue when the provider marks all of the catalogue's data as not for navigation.
ModelsIReadOnlyList<ForecastModel>For a forecast feed, its models (curated: names, cadence and forecast horizon); otherwise empty.
PilotboolTrue for a pilot service, which may cover little and lapse (shown with a "Pilot" chip).
WeatherWeatherServiceFor a weather service, what it offers and how it is asked; otherwise null.
LicencestringThe data's licence ("Public domain", "CC BY 4.0"), if the list says.
AttributionstringThe attribution the provider asks for, if any; carried onto loaded layers and pick reports.
Properties
Attribution
The attribution the provider asks for, if any; carried onto loaded layers and pick reports.
public string? Attribution { get; init; }
Property Value
CatalogUri
The catalogue's URL.
public Uri CatalogUri { get; init; }
Property Value
Coverage
What coverage the catalogue publishes.
public KnownCatalogueCoverage Coverage { get; init; }
Property Value
Editions
True when the catalogue lists editions and updates (so UPDATE can be detected).
public bool Editions { get; init; }
Property Value
Format
The catalogue format.
public KnownCatalogueFormat Format { get; init; }
Property Value
Homepage
The provider's page for the data (terms, notices), if any.
public Uri? Homepage { get; init; }
Property Value
Id
A stable identifier (e.g. noaa-enc).
public string Id { get; init; }
Property Value
Licence
The data's licence ("Public domain", "CC BY 4.0"), if the list says.
public string? Licence { get; init; }
Property Value
Models
For a forecast feed, its models; otherwise empty.
public IReadOnlyList<ForecastModel> Models { get; init; }
Property Value
Name
The display name.
public string Name { get; init; }
Property Value
NotForNavigation
True when the provider marks all of the catalogue's data as not for navigation.
public bool NotForNavigation { get; init; }
Property Value
Note
A short description shown with the entry, if any.
public string? Note { get; init; }
Property Value
Pilot
True for a pilot service, which may cover little and lapse (shown with a "Pilot" chip).
public bool Pilot { get; init; }
Property Value
Product
The one product specification the catalogue publishes (e.g. S-102), if it says.
public string? Product { get; init; }
Property Value
Provider
Who publishes the catalogue.
public string Provider { get; init; }
Property Value
Region
Where it applies, broadest first (e.g. North America › United States).
public IReadOnlyList<string> Region { get; init; }
Property Value
ServiceMrn
For a SECOM service from a service registry, its MRN (e.g.
urn:mrn:mcp:service:mcc:khra:s-124), which says which MCP
instance it accepts identities from (#883); otherwise null.
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public string? ServiceMrn { get; init; }
Property Value
Sizes
True when the catalogue lists download sizes.
public bool Sizes { get; init; }
Property Value
Weather
For a weather service, what it offers and how it is asked; otherwise null.
public WeatherService? Weather { get; init; }