Argument

Represents argument/field schema.

Argument Properties

Name : String
Argument/field name.

Type : ArgumentType
Argument/field type.

Description : String
Argument/field description.

IsRequired : Boolean
Indicates that the argument is required.

IsInternal : Boolean
Indicates that the argument/field is internal/servant.

IsLazy : Boolean
Indicates that the argument is lazy (evaluates on demand).

DefaultValue
Default value of the argument if missing.

ValueList : []
List of values the argument/field can get.

ArgumentType

Describes argument/field type.

ArgumentType Properties

ValueType : String
Value type if it is one of standard types.

  • Unknown
  • String
  • Integer
  • Long
  • Float
  • Decimal
  • Money
  • Boolean
  • Date
  • Time
  • DateTime
  • Duration
  • Url
  • Resource
  • Document
  • Binary
  • Guid
  • Function
  • Error
  • Dict

IsNullable : Boolean
Indicates that the value can be null.

IsArray : Boolean
Indicates that the value is array.

IsUnique : Boolean
Indicates that the value is unique.

IsIdentity : Boolean
Indicates that the value is identity (e.g. used to identicate objects).

Reference : String
Value type if it is not one of standard types.

Schema

Represents data or type schema.

Schema Properties

Name : String
Argument/field name.

Type : ArgumentType
Argument/field type.

Description : String
Argument/field description.

IsRequired : Boolean
Indicates that the argument is required.

IsInternal : Boolean
Indicates that the argument/field is internal/servant.

IsLazy : Boolean
Indicates that the argument is lazy (evaluates on demand).

DefaultValue
Default value of the argument if missing.

ValueList : []
List of values the argument/field can get.

Arguments : Dict
Arguments/fields dictionary (name -> argument).

Leave a Comment

Your email address will not be published. Required fields are marked *