---
title: "network.avatar-write-result@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/network.avatar-write-result"
updated: null
---

# network.avatar-write-result@1 · OpenVibe.Services

HTML: [network.avatar-write-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/network.avatar-write-result)

# NetworkAvatarWriteResult `network.avatar-write-result@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: network
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/network/avatar-write-result.v1.json`](/docs/contracts/network.avatar-write-result.json)

network.avatar-write-result@1: the answer of POST /internal/user-avatar on OpenVibe.Network: { ok: true, changed } — changed is false when the account already had this picture (nothing was written, and nothing is fanned out to the sites). Refusals are { error } (400, 404, 422, 503).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `ok` | const | yes |  | - `= true` |
| `changed` | boolean | yes |  |  |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: changed

~~~~
{
  "ok": true,
  "changed": true
}
~~~~

Rejected: not-ok

~~~~
{
  "ok": false,
  "changed": true
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('network.avatar-write-result@1', value);   // { valid, errors: [{ path, message }] }
~~~~
