{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GetGuardianEnrollmentResponseContent",
  "title": "GetGuardianEnrollmentResponseContent",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "id"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "ID for this enrollment.",
      "default": "dev_0000000000000001"
    },
    "status": {
      "$ref": "#/components/schemas/GuardianEnrollmentStatus"
    },
    "name": {
      "type": "string",
      "description": "Device name (only for push notification).",
      "default": "iPhone 7",
      "minLength": 1,
      "maxLength": 20,
      "pattern": "^\\+[0-9]{8, 20}"
    },
    "identifier": {
      "type": "string",
      "description": "Device identifier. This is usually the phone identifier.",
      "default": "76dc-a90c-a88c-a90c-a88c-a88c-a90c"
    },
    "phone_number": {
      "type": "string",
      "description": "Phone number.",
      "default": "+1 999999999999"
    },
    "enrolled_at": {
      "$ref": "#/components/schemas/GuardianEnrollmentDate"
    },
    "last_auth": {
      "$ref": "#/components/schemas/GuardianEnrollmentDate"
    }
  }
}