Jaa


PropertySchema Class

Definition

Represents a property found in a JSON schema.

public class PropertySchema
type PropertySchema = class
Public Class PropertySchema
Inheritance
PropertySchema

Constructors

PropertySchema(String, JObject, List<PropertySchema>)

Initializes a new instance of the PropertySchema class.

Properties

Children

Gets child properties if there are any.

Entities

Gets mappings to possible entities for property.

ExpectedOnly

Gets list of entities that are only recognized for this property when expected.

IsArray

Gets a value indicating whether type is an array.

IsEnum

Gets a value indicating whether property is an enum.

Name

Gets name for this property.

Parent

Gets parent schema.

Path

Gets path to schema with [] for arrays and otherwise . for path accessors.

Schema

Gets JSON Schema object for this property.

Type

Gets the JSON Schema type for this property.

Methods

ToString()

Returns a string that represents the current object.

Applies to