Show / Hide Table of Contents

Class SchemaBasedStacExtension

A schema based extension

Inheritance
System.Object
StacPropertiesContainerExtension
SchemaBasedStacExtension
Implements
IStacExtension
Inherited Members
StacPropertiesContainerExtension.StacPropertiesContainer
StacPropertiesContainerExtension.IsDeclared
StacPropertiesContainerExtension.CreateRangeSummaryObject<T>(IEnumerable<T>)
StacPropertiesContainerExtension.CreateSummaryValueSet<T>(IEnumerable<T>)
StacPropertiesContainerExtension.GetSummaryFunctions()
StacPropertiesContainerExtension.SetProperty(String, Object)
StacPropertiesContainerExtension.RemoveProperty(String)
StacPropertiesContainerExtension.DeclareStacExtension()
StacPropertiesContainerExtension.RemoveStacExtension()
Namespace: Stac.Extensions
Assembly: DotNetStac.dll
Syntax
public class SchemaBasedStacExtension : StacPropertiesContainerExtension, IStacExtension

Constructors

| Improve this Doc View Source

SchemaBasedStacExtension(Uri, IStacObject)

Initializes a new instance of the SchemaBasedStacExtension class.

Declaration
public SchemaBasedStacExtension(Uri jsonSchema, IStacObject stacObject)
Parameters
Type Name Description
Uri jsonSchema

The json schema.

IStacObject stacObject

The stac object.

| Improve this Doc View Source

SchemaBasedStacExtension(Uri, StacSchemaResolver, IStacObject)

Initializes a new instance of the SchemaBasedStacExtension class.

Declaration
public SchemaBasedStacExtension(Uri schemaUri, StacSchemaResolver stacSchemaResolver, IStacObject stacObject)
Parameters
Type Name Description
Uri schemaUri

The schema URI.

StacSchemaResolver stacSchemaResolver

The stac schema resolver.

IStacObject stacObject

The stac object.

Properties

| Improve this Doc View Source

Identifier

Gets identifier of the extension

Declaration
public override string Identifier { get; }
Property Value
Type Description
System.String

Identifier of the extension

Overrides
StacPropertiesContainerExtension.Identifier
| Improve this Doc View Source

ItemFields

Gets get the potential fields of the extensions and their type

Declaration
public override IDictionary<string, Type> ItemFields { get; }
Property Value
Type Description
IDictionary<System.String, Type>

Get the potential fields of the extensions and their type

Overrides
StacPropertiesContainerExtension.ItemFields
| Improve this Doc View Source

JsonSchema

Gets the json schema.

Declaration
public Uri JsonSchema { get; }
Property Value
Type Description
Uri

The schema URI

Methods

| Improve this Doc View Source

Create(String, StacSchemaResolver, IStacObject)

Creates a new instance of the SchemaBasedStacExtension class.

Declaration
public static SchemaBasedStacExtension Create(string shortcut, StacSchemaResolver stacSchemaResolver, IStacObject stacObject)
Parameters
Type Name Description
System.String shortcut

The shortcut.

StacSchemaResolver stacSchemaResolver

The stac schema resolver.

IStacObject stacObject

The stac object.

Returns
Type Description
SchemaBasedStacExtension

The extension

Implements

IStacExtension

Extension Methods

StacAccessorsHelpers.ToStringByAttributes(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX