{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/ecmwf/main/json-schema/ecmwf-user-data-schema.json",
  "title": "UserData",
  "description": "Information set to update user record.",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ecmwf-data-stores-profiles-openapi.yml#/components/schemas/UserData",
  "properties": {
    "thematic_activity_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Thematic Activity Id"
    },
    "affiliation_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Affiliation Id"
    },
    "activity_sector_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Activity Sector Id"
    },
    "country_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Country Id"
    },
    "organisation": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 128,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Organisation"
    },
    "contactable": {
      "type": "boolean",
      "title": "Contactable",
      "default": true
    }
  },
  "type": "object"
}