Sha256: be5a2abed93d89cfec32c0a438095b575e0da10ddc461f81c131a125621e87b7

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "userId": {
      "type": "string",
      "pattern": "^[A-Fa-f\\d]{24}$"
    },
    "role": {
      "type": "string",
      "enum": [
        "admin",
        "view"
      ]
    }
  },
  "additionalProperties": false,
  "required": [
    "userId",
    "role"
  ]
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
losant_rest-1.13.1 schemas/instanceMemberPost.json
losant_rest-1.13.0 schemas/instanceMemberPost.json