{
  "type": "object",
  "properties": {
    "mailAuthToken": {
      "type": "string"
    },
    "parentPassword": {
      "$ref": "#/definitions/PlaintextParentPassword"
    },
    "parentDevice": {
      "$ref": "#/definitions/NewDeviceInfo"
    },
    "deviceName": {
      "type": "string"
    },
    "timeZone": {
      "type": "string"
    },
    "parentName": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "deviceName",
    "mailAuthToken",
    "parentDevice",
    "parentName",
    "parentPassword",
    "timeZone"
  ],
  "definitions": {
    "PlaintextParentPassword": {
      "type": "object",
      "properties": {
        "hash": {
          "type": "string"
        },
        "secondHash": {
          "type": "string"
        },
        "secondSalt": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "hash",
        "secondHash",
        "secondSalt"
      ],
      "title": "PlaintextParentPassword"
    },
    "NewDeviceInfo": {
      "type": "object",
      "properties": {
        "model": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "model"
      ],
      "title": "NewDeviceInfo"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CreateFamilyByMailTokenRequest",
  "$id": "https://timelimit.io/CreateFamilyByMailTokenRequest"
}