phrase setting

Uses http://json-schema.org/draft-04/schema#

Return to index
{
"patternProperties":
"description":

a named group of phrases

".*":
"type":

object

"properties":
"target":
"title":

single string or multiple strings

"oneOf":
"one string":
"title":

one string

"type":

string

"array of strings":
"title":

array of strings

"type":

array

"items":
"type":

string

"rank":
"description":

describe factors how an item will be selected

"type":

object

"properties":
"kind":
"type":
"enum":
[ WEIGHT, PERCENTAGE ]
"default":

WEIGHT

"value":
"type":

integer

"minimum":
1
"default":
1
"period":
"description":

restrict the hours an item can appear, format: hhmm-hhmm

"example":

0900-1600

"type":

string

"pattern":

^[0-2][0-9][0-5][0-9]-[0-2][0-9][0-5][0-9]$

"default":

0000-2400

"sentence":
"oneOf":
"one sentence":
"title":

one sentence

"type":

string

"sentences":
"title":

sentences

"type":

array

"items":
"type":

string

"minItems":
1
"uniqueItems":
true
"unresolved sentences":
"title":

unresolved sentences

"type":

object

"description":

sentences with rank or unresolved words by var(attribute_name)

"patternProperties":
".*":
"type":

object

"properties":
"rank":
"description":

describe factors how an item will be selected

"type":

object

"properties":
"kind":
"type":
"enum":
[ WEIGHT, PERCENTAGE ]
"default":

WEIGHT

"value":
"type":

integer

"minimum":
1
"default":
1
"period":
"description":

restrict the hours an item can appear, format: hhmm-hhmm

"example":

0900-1600

"type":

string

"pattern":

^[0-2][0-9][0-5][0-9]-[0-2][0-9][0-5][0-9]$

"default":

0000-2400

"default_value":
"description":

the referenced attribute

"type":

object

"patternProperties":
".*":
"description":

the default value (use when attribute not in image)

"type":

string

"restrict":
"description":

one of the patterns from 'target'

"type":

string

"restrict":
"description":

a subset pattern of 'target'

"patternProperties":
".*":
"oneOf":
"one sentence":
"title":

one sentence

"type":

string

"sentences":
"title":

sentences

"type":

array

"items":
"type":

string

"minItems":
1
"uniqueItems":
true
"unresolved sentences":
"title":

unresolved sentences

"type":

object

"description":

sentences with rank or unresolved words by var(attribute_name)

"patternProperties":
".*":
"type":

object

"properties":
"rank":
"description":

describe factors how an item will be selected

"type":

object

"properties":
"kind":
"type":
"enum":
[ WEIGHT, PERCENTAGE ]
"default":

WEIGHT

"value":
"type":

integer

"minimum":
1
"default":
1
"period":
"description":

restrict the hours an item can appear, format: hhmm-hhmm

"example":

0900-1600

"type":

string

"pattern":

^[0-2][0-9][0-5][0-9]-[0-2][0-9][0-5][0-9]$

"default":

0000-2400

"default_value":
"description":

the referenced attribute

"type":

object

"patternProperties":
".*":
"description":

the default value (use when attribute not in image)

"type":

string

"restrict":
"description":

one of the patterns from 'target'

"type":

string

"required":
[ target ]
}