Dear Wiki user, You have subscribed to a wiki page or wiki category on "Devicemap Wiki" for change notification.
The "DataSpec2" page has been changed by rezan: https://wiki.apache.org/devicemap/DataSpec2?action=diff&rev1=49&rev2=50 {{{ { - "SpecVersion": 2.0, + "specVersion": 2.0, - "Type": "pattern|attribute", + "type": "pattern|attribute", - "Domain": "example", + "domain": "example", - "DomainVersion": "1.0", + "domainVersion": "1.0", - "Description": "this is an example", + "description": "this is an example", - "PublishDate": "2015-06-19T09:17:37Z", + "publishDate": "2015-06-19T09:17:37Z", - "InputParser": { InputParser }, + "inputParser": { InputParser }, - "PatternSet": { PatternSet }, + "patternSet": { PatternSet }, - "Attributes": [ { Attribute } ] + "attributes": [ { Attribute } ] } }}} @@ -432, +432 @@ {{{ { - "Transformers": [ { Transformer } ], + "transformers": [ { Transformer } ], - "TokenSeperators": [ "1", "two", "3" ], + "tokenSeperators": [ "1", "two", "3" ], - "NgramConcatSize": 2 + "ngramConcatSize": 2 } }}} @@ -443, +443 @@ {{{ { - "DefaultId": "someid", + "defaultId": "someid", - "SimpleHashCount": 1400, + "simpleHashCount": 1400, - "Patterns" [ { Pattern } ] + "patterns" [ { Pattern } ] } }}} @@ -456, +456 @@ {{{ { - "PatternId": "someid", + "patternId": "someid", - "RankType": "Strong|Weak|None", + "rankType": "Strong|Weak|None", - "RankValue": 150, + "rankValue": 150, - "PatternType": "SimpleOrderedAnd|SimpleAnd|Simple", + "patternType": "SimpleOrderedAnd|SimpleAnd|Simple", - "PatternTokens" [ "token1", "token2", "token3" ] + "patternTokens" [ "token1", "token2", "token3" ] } }}} - ... + NOTE: the JSON spec is a work in progress. Please see SVN for the latest. + When the test domain and reference client have been finalized, this document will be updated.
