Skip to content

Commit

Permalink
#1 metadata template wip
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-conway committed Mar 27, 2017
1 parent 43a317f commit 1a66ed0
Showing 1 changed file with 33 additions and 7 deletions.
40 changes: 33 additions & 7 deletions metadata_templates/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ definitions:
- i18nDescription
- required
- elementType
- validationStyle
properties:
uuid:
type: string
Expand Down Expand Up @@ -143,13 +144,38 @@ definitions:
- LIST_STRING
- LIST_INT
- LIST_FLOAT







validationStyle:
description: describes how validation will be done on the element
type: array
items:
type: string
enum:
- DEFAULT
- IS
- IN_LIST
- IN_RANGE
- IN_RANGE_EXCLUSIVE
- REGEX
- FOLLOW_REF
- DO_NOT_VALIDATE
validationOptions:
type: array
description: additional validation information allowing specification of the options for an element. For example, these can be shown in a drop down list of the element must be in-list
items:
type: string
defaultValue:
type: array
description: defines the default value for this element. Ref query dot notation appears here, signaling the default will be derived from information held elsewhere in the catalog
items:
type: string
currentValue:
type: array
description: defines the current value of this element in a retrieved and resolved instance of the metadata template. That is, after a merge of templates and stored metadata values is done
items:
type: string






Expand Down

0 comments on commit 1a66ed0

Please sign in to comment.