Sha256: e96654256ba174f4c5df04d48087a8421f92dd6b5c812d55a4c42d3c5dee7433

Contents?: true

Size: 577 Bytes

Versions: 10

Compression:

Stored size: 577 Bytes

Contents

{
  "$schema": "http://json-schema.org/draft-04/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

10 entries across 10 versions & 1 rubygems

Version Path
losant_rest-1.16.5 schemas/instanceMemberPost.json
losant_rest-1.16.3 schemas/instanceMemberPost.json
losant_rest-1.16.2 schemas/instanceMemberPost.json
losant_rest-1.16.1 schemas/instanceMemberPost.json
losant_rest-1.16.0 schemas/instanceMemberPost.json
losant_rest-1.15.2 schemas/instanceMemberPost.json
losant_rest-1.15.1 schemas/instanceMemberPost.json
losant_rest-1.15.0 schemas/instanceMemberPost.json
losant_rest-1.14.1 schemas/instanceMemberPost.json
losant_rest-1.14.0 schemas/instanceMemberPost.json