Sha256: a65a8028dde4b368add143af705e6f4e3a8ab521001fd68f8b7edc44b2ba23e3
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
{ "individual": { "belongs_to": { "party": { "type": "group", "required": true, "description": "Which funtime party this individual happy with is" }, "stupid_club": { "type": "group", "required": false, "description": "Which stupid club this individual was manipulated into joining" } }, "name": { "type": "string", "multiple": false, "required": true, "description": "The individual's name", "example": "Randy McTougherson", "restrictions": { "unique": true } }, "age": { "type": "integer", "multiple": false, "required": false, "validations": [ "Must be non-negative" ] }, "happiness": { "type": "percent", "multiple": false, "required": false, "restrictions": { "minimum_value": 0, "maximum_value": 100 } }, "positions": { "type": "string", "multiple": true, "required": false, "description": "Which positions individual occupies in a group", "restrictions": { "valid_values": [ "Lotus", "Pole", "Third" ] } }, "pickled": { "type": "boolean", "multiple": false, "required": true, "description": "Whether or not this individual is pickled" } } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spectifly-0.0.7 | spec/expectations/individual.json |