Sha256: 65f07be3b3c7338a4d17435e9766452cf32ea6a60b4aa19a3b82999f2e020f07

Contents?: true

Size: 1.13 KB

Versions: 4

Compression:

Stored size: 1.13 KB

Contents

{
  "individual": {
    "belongs_to": {
      "stupid_club": {
        "type": "group",
        "required": false,
        "description": "Which stupid club this individual was manipulated into joining"
      }
    },
    "belongs_to_many": {
      "parties": {
        "type": "group",
        "required": false,
        "description": "Which funtime party/parties 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

4 entries across 4 versions & 1 rubygems

Version Path
spectifly-0.0.11 spec/expectations/presented/positionless_individual.json
spectifly-0.0.10 spec/expectations/presented/positionless_individual.json
spectifly-0.0.9 spec/expectations/presented/positionless_individual.json
spectifly-0.0.8 spec/expectations/presented/positionless_individual.json