{
  "$id": "https://hash.ai/@h/types/entity-type/user/v/1",
  "$schema": "https://blockprotocol.org/types/modules/graph/0.3/schema/entity-type",
  "description": "A user of the HASH application.",
  "icon": "/icons/types/user.svg",
  "kind": "entityType",
  "links": {
    "https://hash.ai/@h/types/entity-type/has-avatar/v/1": {
      "items": {
        "oneOf": [
          {
            "$ref": "https://hash.ai/@h/types/entity-type/image-file/v/1"
          }
        ]
      },
      "maxItems": 1,
      "minItems": 0,
      "type": "array"
    },
    "https://hash.ai/@h/types/entity-type/has-bio/v/1": {
      "items": {
        "oneOf": [
          {
            "$ref": "https://hash.ai/@h/types/entity-type/profile-bio/v/1"
          }
        ]
      },
      "maxItems": 1,
      "minItems": 0,
      "type": "array"
    },
    "https://hash.ai/@h/types/entity-type/has-cover-image/v/1": {
      "items": {
        "oneOf": [
          {
            "$ref": "https://hash.ai/@h/types/entity-type/image-file/v/1"
          }
        ]
      },
      "maxItems": 1,
      "minItems": 0,
      "type": "array"
    },
    "https://hash.ai/@h/types/entity-type/has-service-account/v/1": {
      "items": {
        "oneOf": [
          {
            "$ref": "https://hash.ai/@h/types/entity-type/service-account/v/1"
          }
        ]
      },
      "type": "array"
    },
    "https://hash.ai/@h/types/entity-type/is-member-of/v/1": {
      "items": {
        "oneOf": [
          {
            "$ref": "https://hash.ai/@h/types/entity-type/organization/v/1"
          }
        ]
      },
      "type": "array"
    }
  },
  "properties": {
    "https://hash.ai/@h/types/property-type/email/": {
      "items": {
        "$ref": "https://hash.ai/@h/types/property-type/email/v/1"
      },
      "minItems": 1,
      "type": "array"
    },
    "https://hash.ai/@h/types/property-type/kratos-identity-id/": {
      "$ref": "https://hash.ai/@h/types/property-type/kratos-identity-id/v/1"
    },
    "https://hash.ai/@h/types/property-type/location/": {
      "$ref": "https://hash.ai/@h/types/property-type/location/v/1"
    },
    "https://hash.ai/@h/types/property-type/pinned-entity-type-base-url/": {
      "items": {
        "$ref": "https://hash.ai/@h/types/property-type/pinned-entity-type-base-url/v/1"
      },
      "maxItems": 5,
      "type": "array"
    },
    "https://hash.ai/@h/types/property-type/preferred-name/": {
      "$ref": "https://hash.ai/@h/types/property-type/preferred-name/v/1"
    },
    "https://hash.ai/@h/types/property-type/preferred-pronouns/": {
      "$ref": "https://hash.ai/@h/types/property-type/preferred-pronouns/v/1"
    },
    "https://hash.ai/@h/types/property-type/shortname/": {
      "$ref": "https://hash.ai/@h/types/property-type/shortname/v/1"
    },
    "https://hash.ai/@h/types/property-type/website-url/": {
      "$ref": "https://hash.ai/@h/types/property-type/website-url/v/1"
    }
  },
  "required": [
    "https://hash.ai/@h/types/property-type/kratos-identity-id/",
    "https://hash.ai/@h/types/property-type/email/"
  ],
  "title": "User",
  "type": "object"
}