UserProfileUpdatedEvent
v1

User profile informations are updated

Details

UserUpdatedEvent payload

UserProfileUpdatedEvent Schema (json)
{
  "$id": "UserProfileUpdatedEventPayloadTSchema",
  "type": "object",
  "properties": {
    "userProfile": {
      "$id": "UpdateUserProfileInput",
      "type": "object",
      "properties": {
        "userId": { "type": "string" },
        "firstName": { "type": "string" },
        "lastName": { "type": "string" },
        "email": { "type": "string" },
        "avatarUrl": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "linkedinUrl": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "currentJob": { "type": "string" },
        "currentCompany": {
          "anyOf": [{ "type": "string" }, { "type": "null" }]
        },
        "previousJob": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "jobStatus": {
          "type": "array",
          "items": {
            "anyOf": [
              { "const": "EMPLOYEE", "type": "string" },
              { "const": "LIBERAL", "type": "string" },
              { "const": "HEAD_OF_COMPANY", "type": "string" },
              { "const": "ARTISAN", "type": "string" },
              { "const": "MERCHANT", "type": "string" },
              { "const": "FARMER", "type": "string" },
              { "const": "PUBLIC_EMPLOYEE", "type": "string" },
              { "const": "INTERMITTENT_FROM_THE_SHOW", "type": "string" },
              { "const": "FREELANCE", "type": "string" },
              { "const": "SEASONAL", "type": "string" },
              { "const": "OTHER", "type": "string" },
              { "const": "NO_ANSWER", "type": "string" }
            ]
          }
        },
        "jobStatusOtherAnswer": {
          "anyOf": [{ "type": "string" }, { "type": "null" }]
        },
        "jobSectors": {
          "type": "array",
          "items": {
            "anyOf": [
              { "const": "AGRICULTURE_AND_AGRIFOOD", "type": "string" },
              { "const": "ARCHITECTURE_STUDY_AND_STANDARDS", "type": "string" },
              { "const": "ART_CRAFTS", "type": "string" },
              { "const": "AUDIOVISUAL_SHOW_AND_CINEMA", "type": "string" },
              { "const": "AUTOMOTIVE", "type": "string" },
              { "const": "BTP", "type": "string" },
              {
                "const": "COMMERCE_DISTRIBUTION_AND_E_COMMERCE",
                "type": "string"
              },
              {
                "const": "COMMUNICATION_MARKETING_AND_ADVERTISEMENT",
                "type": "string"
              },
              {
                "const": "ACCOUNTING_MANAGEMENT_AND_HUMAN_RESOURCES",
                "type": "string"
              },
              { "const": "CULTURE_AND_HERITAGE", "type": "string" },
              { "const": "DEFENSE_AND_SECURITY", "type": "string" },
              { "const": "LAW_AND_JUSTICE", "type": "string" },
              { "const": "EDUCATION_AND_TRAINING", "type": "string" },
              {
                "const": "ENVIRONMENT_ECOLOGY_AND_SUSTAINABLE_DEVELOPMENT",
                "type": "string"
              },
              { "const": "FINANCE_BANKING_AND_INSURANCE", "type": "string" },
              { "const": "HOTELS_AND_RESTAURANTS", "type": "string" },
              { "const": "REAL_ESTATE", "type": "string" },
              { "const": "CHEMISTRY_AND_PHARMACY", "type": "string" },
              {
                "const": "ELECTRONICS_AND_ELECTRICAL_ENGINEERING",
                "type": "string"
              },
              {
                "const": "COMPUTERS_NUMERIC_AND_TELECOMMUNICATIONS",
                "type": "string"
              },
              { "const": "JOURNALISM_AND_PUBLISHING", "type": "string" },
              { "const": "LOGISTIC_AND_TRANSPORT", "type": "string" },
              { "const": "MAINTENANCE_UPKEEP_AND_CLEANING", "type": "string" },
              { "const": "FASHION_AND_TEXTILE", "type": "string" },
              { "const": "RESEARCH", "type": "string" },
              { "const": "HEALTH_AND_MEDICAL", "type": "string" },
              {
                "const": "COMMUNITY_SERVICE_AND_PUBLIC_SERVICE",
                "type": "string"
              },
              { "const": "SERVICE_FOR_INDIVIDUALS", "type": "string" },
              { "const": "SOCIAL", "type": "string" },
              { "const": "SPORT_ANIMATION_AND_LEISURE", "type": "string" },
              { "const": "TOURISM", "type": "string" },
              { "const": "AUDIT_CONSULTING_EXPERTISE", "type": "string" },
              { "const": "CONSTRUCTION", "type": "string" },
              { "const": "ENERGY", "type": "string" },
              { "const": "INDUSTRIES", "type": "string" },
              { "const": "MATERIALS_AND_TRANSFORMATIONS", "type": "string" },
              { "const": "MECHANICAL", "type": "string" },
              { "const": "OTHER", "type": "string" },
              { "const": "NO_ANSWER", "type": "string" }
            ]
          }
        },
        "jobSectorsOtherAnswer": {
          "anyOf": [{ "type": "string" }, { "type": "null" }]
        },
        "specificJobFields": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "anyOf": [
                  { "const": "POLITICAL_ENVIRONMENT", "type": "string" },
                  { "const": "ACADEMIA_ENVIRONMENT", "type": "string" },
                  { "const": "ASSOCIATIVE_ENVIRONMENT", "type": "string" },
                  { "const": "HUMANITARIAN_ENVIRONMENT", "type": "string" },
                  { "const": "NO_ANSWER", "type": "string" }
                ]
              }
            },
            { "type": "null" }
          ]
        },
        "contactRegions": {
          "type": "array",
          "items": {
            "anyOf": [
              { "const": "AUVERGNE_RHONE_ALPES", "type": "string" },
              { "const": "BOURGOGNE_FRANCHE_COMTE", "type": "string" },
              { "const": "BRETAGNE", "type": "string" },
              { "const": "CENTRE_VAL_DE_LOIRE", "type": "string" },
              { "const": "CORSE", "type": "string" },
              { "const": "GRAND_EST", "type": "string" },
              { "const": "GUADELOUPE", "type": "string" },
              { "const": "GUYANE", "type": "string" },
              { "const": "HAUTS_DE_FRANCE", "type": "string" },
              { "const": "ILE_DE_FRANCE", "type": "string" },
              { "const": "MARTINIQUE", "type": "string" },
              { "const": "MAYOTTE", "type": "string" },
              { "const": "NORMANDIE", "type": "string" },
              { "const": "NOUVELLE_AQUITAINE", "type": "string" },
              { "const": "OCCITANIE", "type": "string" },
              { "const": "PAYS_DE_LA_LOIRE", "type": "string" },
              { "const": "PROVENCE_ALPES_COTE_D_AZUR", "type": "string" },
              { "const": "REUNION", "type": "string" },
              { "const": "ABROAD_INSIDE_UE", "type": "string" },
              { "const": "ABROAD_OUTSIDE_UE", "type": "string" },
              { "const": "NO_ANSWER", "type": "string" }
            ]
          }
        },
        "currentCity": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "professionalMissionCauses": {
          "anyOf": [
            {
              "type": "array",
              "items": {
                "anyOf": [
                  { "const": "FIGHT_AGAINST_POVERTY", "type": "string" },
                  { "const": "FIGHT_AGAINST_HUNGER", "type": "string" },
                  { "const": "HEALTH_AND_WELL_BEING", "type": "string" },
                  { "const": "EDUCATION", "type": "string" },
                  { "const": "GENDER_EQUALITY", "type": "string" },
                  { "const": "CLEAN_AND_ACCESSIBLE_WATER", "type": "string" },
                  { "const": "SUSTAINABLE_ENERGY", "type": "string" },
                  {
                    "const": "SUSTAINABLE_GROWTH_AND_ACCESS_TO_EMPLOYMENT",
                    "type": "string"
                  },
                  {
                    "const": "INDUSTRY_INNOVATION_AND_INFRASTRUCTURE",
                    "type": "string"
                  },
                  { "const": "FIGHT_AGAINST_INEQUALITIES", "type": "string" },
                  {
                    "const": "SUSTAINABLE_CITIES_AND_COMMUNITIES",
                    "type": "string"
                  },
                  {
                    "const": "SUSTAINABLE_CONSUMPTION_AND_PRODUCTION",
                    "type": "string"
                  },
                  { "const": "FIGHT_AGAINST_CLIMATE_CHANGE", "type": "string" },
                  { "const": "AQUATIC_LIFE", "type": "string" },
                  { "const": "LAND_LIFE", "type": "string" },
                  {
                    "const": "PEACE_JUSTICE_AND_EFFECTIVE_INSTITUTIONS",
                    "type": "string"
                  },
                  { "const": "INTERNATIONAL_COLLABORATION", "type": "string" },
                  { "const": "ART_CULTURE_AND_PATRIMONY", "type": "string" },
                  { "const": "NO_ANSWER", "type": "string" }
                ]
              }
            },
            { "type": "null" }
          ]
        },
        "commitmentMotivations": {
          "anyOf": [{ "type": "string" }, { "type": "null" }]
        },
        "leadSource": {
          "anyOf": [
            { "const": "ACQUAINTANCE", "type": "string" },
            { "const": "NEWSLETTER", "type": "string" },
            { "const": "CHANCE", "type": "string" },
            { "const": "COACH", "type": "string" },
            { "const": "REFERRAL", "type": "string" },
            { "const": "PROFILE_TRANSFERED", "type": "string" },
            { "const": "ORGANISM_OR_SUPPORT_STRUCTURE", "type": "string" },
            { "const": "SOCIAL_NETWORK", "type": "string" },
            { "const": "MEDIA", "type": "string" },
            { "const": "GOOGLE_SEARCH", "type": "string" },
            { "const": "OTHER", "type": "string" },
            { "const": "NO_ANSWER", "type": "string" }
          ]
        },
        "leadSourcePrecision": {
          "anyOf": [{ "type": "string" }, { "type": "null" }]
        },
        "source": {
          "anyOf": [
            { "const": "COMMUNITY", "type": "string" },
            { "type": "null" }
          ]
        }
      },
      "required": [
        "userId",
        "firstName",
        "lastName",
        "email",
        "currentJob",
        "jobStatus",
        "jobSectors",
        "contactRegions",
        "leadSource"
      ]
    }
  },
  "required": ["userProfile"]
}


Edit this pageLast updated on 2024/8/5