Sha256: 256537ae15c2f6e869769d82d29f42e650a1c3aeb8041673d072130ad2fa5775

Contents?: true

Size: 577 Bytes

Versions: 19

Compression:

Stored size: 577 Bytes

Contents

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
losant_rest-1.21.0 schemas/instanceMemberPost.json
losant_rest-1.20.1 schemas/instanceMemberPost.json
losant_rest-1.20.0 schemas/instanceMemberPost.json
losant_rest-1.19.9 schemas/instanceMemberPost.json
losant_rest-1.19.8 schemas/instanceMemberPost.json
losant_rest-1.19.6 schemas/instanceMemberPost.json
losant_rest-1.19.4 schemas/instanceMemberPost.json
losant_rest-1.19.3 schemas/instanceMemberPost.json
losant_rest-1.19.2 schemas/instanceMemberPost.json
losant_rest-1.19.1 schemas/instanceMemberPost.json
losant_rest-1.19.0 schemas/instanceMemberPost.json
losant_rest-1.18.0 schemas/instanceMemberPost.json
losant_rest-1.17.5 schemas/instanceMemberPost.json
losant_rest-1.17.4 schemas/instanceMemberPost.json
losant_rest-1.17.3 schemas/instanceMemberPost.json
losant_rest-1.17.2 schemas/instanceMemberPost.json
losant_rest-1.17.1 schemas/instanceMemberPost.json
losant_rest-1.17.0 schemas/instanceMemberPost.json
losant_rest-1.16.6 schemas/instanceMemberPost.json