{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/talend/json-schema/talend-user-resource-schema.json",
  "title": "UserResource",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/talend-scim-2-0-user-management-api-openapi.yml#/components/schemas/UserResource",
  "type": "object",
  "properties": {
    "schemas": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "uniqueItems": true
    },
    "id": {
      "type": "string"
    },
    "externalId": {
      "type": "string"
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    },
    "userName": {
      "type": "string"
    },
    "name": {
      "$ref": "#/$defs/Name"
    },
    "displayName": {
      "type": "string"
    },
    "nickName": {
      "type": "string"
    },
    "profileUrl": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "userType": {
      "type": "string"
    },
    "preferredLanguage": {
      "type": "string"
    },
    "locale": {
      "type": "string"
    },
    "timezone": {
      "type": "string"
    },
    "active": {
      "type": "boolean"
    },
    "password": {
      "type": "string"
    },
    "emails": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Email"
      }
    },
    "phoneNumbers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PhoneNumber"
      }
    },
    "ims": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/InstantMessagingAddress"
      }
    },
    "photos": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Photo"
      }
    },
    "addresses": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Address"
      }
    },
    "groups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Group"
      }
    },
    "entitlements": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Entitlement"
      }
    },
    "roles": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Role"
      }
    },
    "x509Certificates": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/X509Certificate"
      }
    }
  },
  "x-talend": {
    "section": "Users"
  },
  "$defs": {
    "Address": {
      "type": "object",
      "properties": {
        "formatted": {
          "type": "string"
        },
        "streetAddress": {
          "type": "string"
        },
        "locality": {
          "type": "string"
        },
        "region": {
          "type": "string"
        },
        "postalCode": {
          "type": "string"
        },
        "country": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "primary": {
          "type": "boolean"
        }
      },
      "x-talend": {
        "section": "Users"
      }
    },
    "Email": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "display": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "primary": {
          "type": "boolean"
        }
      },
      "x-talend": {
        "section": "Users"
      }
    },
    "Entitlement": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "display": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "primary": {
          "type": "boolean"
        }
      },
      "x-talend": {
        "section": "Users"
      }
    },
    "Group": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "display": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "$ref": {
          "type": "string"
        }
      },
      "x-talend": {
        "section": "Users"
      }
    },
    "InstantMessagingAddress": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "display": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "primary": {
          "type": "boolean"
        }
      },
      "x-talend": {
        "section": "Users"
      }
    },
    "Meta": {
      "type": "object",
      "properties": {
        "resourceType": {
          "type": "string"
        },
        "created": {
          "type": "string",
          "format": "date-time"
        },
        "lastModified": {
          "type": "string",
          "format": "date-time"
        },
        "location": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      },
      "x-talend": {
        "section": "Common"
      }
    },
    "Name": {
      "type": "object",
      "properties": {
        "formatted": {
          "type": "string"
        },
        "familyName": {
          "type": "string"
        },
        "givenName": {
          "type": "string"
        },
        "middleName": {
          "type": "string"
        },
        "honorificPrefix": {
          "type": "string"
        },
        "honorificSuffix": {
          "type": "string"
        }
      },
      "x-talend": {
        "section": "Users"
      }
    },
    "PhoneNumber": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "display": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "primary": {
          "type": "boolean"
        }
      },
      "x-talend": {
        "section": "Users"
      }
    },
    "Photo": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "display": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "primary": {
          "type": "boolean"
        }
      },
      "x-talend": {
        "section": "Users"
      }
    },
    "Role": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "display": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "primary": {
          "type": "boolean"
        }
      },
      "x-talend": {
        "section": "Users"
      }
    },
    "X509Certificate": {
      "type": "object",
      "properties": {
        "value": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "binary"
          }
        },
        "display": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "primary": {
          "type": "boolean"
        }
      },
      "x-talend": {
        "section": "Users"
      }
    }
  }
}