Sha256: c2406d118629d8f1588e4bd4ad31266cd1354b696b2b8c9a64f2d7f5e14f0202

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 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": "Wussy O'Weakling",
      "restrictions": {
        "unique": true
      }
    },
    "age": {
      "type": "integer",
      "multiple": false,
      "required": false,
      "validations": [
        "Must be non-negative"
      ]
    },
    "joy": {
      "type": "percent",
      "multiple": false,
      "required": false,
      "restrictions": {
        "minimum_value": 0,
        "maximum_value": 100
      }
    },
    "pickled": {
      "type": "boolean",
      "multiple": false,
      "required": false,
      "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/presented/positionless_individual.json