Sha256: 7db3021622d146c960f0a18c1f5a6f98bba55232675cbd57d0c8a73d3f76c188

Contents?: true

Size: 939 Bytes

Versions: 6

Compression:

Stored size: 939 Bytes

Contents

{
  "individual": {
    "belongs_to": {
      "party": {
        "type": "group",
        "required": true,
        "description": "Which funtime party this individual happy with is"
      }
    },
    "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

6 entries across 6 versions & 1 rubygems

Version Path
spectifly-0.0.6 spec/expectations/presented/positionless_individual.json
spectifly-0.0.5 spec/expectations/presented/positionless_individual.json
spectifly-0.0.4 spec/expectations/presented/positionless_individual.json
spectifly-0.0.3 spec/expectations/presented/positionless_individual.json
spectifly-0.0.2 spec/expectations/presented/positionless_individual.json
spectifly-0.0.1 spec/expectations/presented/positionless_individual.json