Class PropertyValueSchema
Represents the schema information for a property editor value.
Inheritance
object
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public sealed class PropertyValueSchema
Constructors
View SourcePropertyValueSchema(Type?, JsonObject?)
Initializes a new instance of the PropertyValueSchema class.
Declaration
public PropertyValueSchema(Type? valueType, JsonObject? jsonSchema)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | valueType | The CLR type of stored values. |
| JsonObject | jsonSchema | The JSON Schema describing the value structure. |
Properties
View SourceJsonSchema
Gets the JSON Schema (draft 2020-12) describing the value structure, or null if not provided.
Declaration
public JsonObject? JsonSchema { get; }
Property Value
| Type | Description |
|---|---|
| JsonObject |
ValueType
Gets the CLR type of stored values, or null if the type cannot be determined.
Declaration
public Type? ValueType { get; }
Property Value
| Type | Description |
|---|---|
| Type |