Class ContentTypeSchemaInfo
Represents the subset of content type information that is needed for schema generation.
Inheritance
object
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class ContentTypeSchemaInfo
Constructors
View SourceContentTypeSchemaInfo()
Declaration
public ContentTypeSchemaInfo()
Properties
View SourceAlias
Gets the content type alias.
Declaration
public required string Alias { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
CompositionSchemaIds
Gets the schema IDs of the content type's compositions.
Declaration
public required IReadOnlyList<string> CompositionSchemaIds { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
IsElement
Gets a value indicating whether the content type is an element type.
Declaration
public bool IsElement { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
Properties
Gets the properties for this content type.
Declaration
public required IReadOnlyList<ContentTypePropertySchemaInfo> Properties { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<ContentTypePropertySchemaInfo> |
SchemaId
Gets the content type schema ID.
Declaration
public required string SchemaId { get; init; }
Property Value
| Type | Description |
|---|---|
| string |