Skip to content

Commit

Permalink
Add description field in dataschema as localizedText
Browse files Browse the repository at this point in the history
  • Loading branch information
Paola Nicosia committed Feb 1, 2023
1 parent 99fb411 commit 5e7906b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/schemas/data-schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ export interface ExtendedJSONSchema7Definition extends Omit<JSONSchema7, 'type'
*/
label?: LocalizedText

/**
* Human readable description of the property.
* It will be displayed in the form as info tooltip next to the label
*/
description?: LocalizedText

/**
* Options for lookups. Only applicable for type "string" and
* format "lookup" or type "array" and format
Expand Down

0 comments on commit 5e7906b

Please sign in to comment.