New in 1.43.0 (BETA)

attributeDefinitions()

Returns the schema provided via Scrivito.provideDataClass or Scrivito.provideDataItem.

Returns

attributeDefinition (Object) – Attribute definitions for this DataItem. An attribute definition is a two-element tuple where the first element is a String representing the type of the attribute in question, (e.g. "string", "enum" and so on), and the second element is a configuration object for the attribute in question – the same configuration object that has been provided through the schema via Scrivito.provideDataClass or Scrivito.provideDataItem. In case no configuration object is available, an empty object {} is returned.