{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Model",
  "definitions": {
    "UserState": {
      "type": "string",
      "enum": [
        "UNKNOWN",
        "READY"
      ],
      "title": "UserState",
      "x-enum-varnames": [
        "UNKNOWN",
        "READY"
      ]
    },
    "Payload": {
      "type": "object",
      "title": "Payload",
      "properties": {
        "state": {
          "$ref": "#/definitions/UserState",
          "default": "UNKNOWN"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "metadata": {
          "type": "object",
          "additionalProperties": true
        }
      },
      "additionalProperties": false
    }
  }
}
