Sha256: 0a2bd3a00314302c95b0929b75f35175bf14178607c8419e3705f6092465056c

Contents?: true

Size: 796 Bytes

Versions: 11

Compression:

Stored size: 796 Bytes

Contents

{
  "group": {
    "has_many": {
      "peeps": {
        "type": "individual",
        "required": false,
        "description": "Who is in the group"
      }
    },
    "has_one": {
      "master": {
        "type": "individual",
        "required": true,
        "description": "Who is the master of the group"
      }
    },
    "group_id": {
      "type": "string",
      "multiple": false,
      "required": false,
      "description": "Identifier used to register group for scams",
      "restrictions": {
        "unique": true,
        "regex": "^[0-9]{2}(-?[0-9]{5})$"
      }
    },
    "name": {
      "type": "string",
      "multiple": false,
      "required": true,
      "description": "The name of this group",
      "restrictions": {
        "regex": "group"
      }
    }
  }
}

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
spectifly-0.0.11 spec/expectations/group.json
spectifly-0.0.10 spec/expectations/group.json
spectifly-0.0.9 spec/expectations/group.json
spectifly-0.0.8 spec/expectations/group.json
spectifly-0.0.7 spec/expectations/group.json
spectifly-0.0.6 spec/expectations/group.json
spectifly-0.0.5 spec/expectations/group.json
spectifly-0.0.4 spec/expectations/group.json
spectifly-0.0.3 spec/expectations/group.json
spectifly-0.0.2 spec/expectations/group.json
spectifly-0.0.1 spec/expectations/group.json