Class StacSchemaResolver
Stac Schema Resolver.
Inheritance
System.Object
StacSchemaResolver
Namespace: Stac.Schemas
Assembly: DotNetStac.dll
Syntax
public class StacSchemaResolver : object
Constructors
| Improve this Doc View SourceStacSchemaResolver(JSchemaResolver)
Initializes a new instance of the StacSchemaResolver class.
Declaration
public StacSchemaResolver(JSchemaResolver jsonSchemaResolver)
Parameters
Type | Name | Description |
---|---|---|
JSchemaResolver | jsonSchemaResolver | Json schema resolver. |
Fields
| Improve this Doc View SourceCoreTypes
Core types.
Declaration
public static readonly string[] CoreTypes
Field Value
Type | Description |
---|---|
System.String[] |
Methods
| Improve this Doc View SourceLoadSchema(String, String, String)
Loads the schema from url or shortcut.
Declaration
public JSchema LoadSchema(string baseUrl = null, string version = null, string shortcut = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | baseUrl | Base url. |
System.String | version | Version. |
System.String | shortcut | Shortcut. |
Returns
Type | Description |
---|---|
JSchema | The schema. |