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

# network.project-read-result@1 · OpenVibe.Services

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

# NetworkProjectReadResult `network.project-read-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
- Decision: [ADR-014](/docs/adr/ADR-014)
- Schema: [`https://openvibe.network/contracts/network/project-read-result.v1.json`](/docs/contracts/network.project-read-result.json)

network.project-read-result@1: the service-facing answer from OpenVibe.Network GET /internal/projects/:project\_id (network.project.read). It carries project tenancy, allowances, quotas, apps and each app's grants (requested, approved, denied or revoked) without credentials or member identities beyond the owner.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `project` | object | yes |  | - `no other fields` |
| `project.id` | string | yes |  | - `pattern ^prj_[0-9A-HJKMNP-TV-Z]{26}$` |
| `project.name` | string | yes |  |  |
| `project.owner` | object | yes |  | - `no other fields` |
| `project.owner.type` | const | yes |  | - `= "user"` |
| `project.owner.id` | string | yes |  | - `pattern ^usr_[0-9A-HJKMNP-TV-Z]{26}$` |
| `project.environment_policy` | string | yes |  |  |
| `project.home_cell` | string \| null | yes |  |  |
| `project.residency` | string \| null | yes |  |  |
| `project.preferred_regions` | array of string | yes |  |  |
| `project.archived_at` | string \| null | yes |  |  |
| `project.created_at` | string | yes |  |  |
| `allowance` | array of string | yes |  |  |
| `quotas` | array of object | yes |  | - `items: no other fields` |
| `quotas[].capability` | string | yes |  |  |
| `quotas[].limit` | number | yes |  | - `minimum 0` |
| `quotas[].window` | string | yes |  |  |
| `quotas[].unit` | string | yes |  |  |
| `quotas[].enforced_by` | string \| null | yes |  |  |
| `apps` | array of object | yes |  | - `items: no other fields` |
| `apps[].id` | string | yes |  | - `pattern ^app_[0-9A-HJKMNP-TV-Z]{26}$` |
| `apps[].name` | string | yes |  |  |
| `apps[].environment` | string | yes |  |  |
| `apps[].status` | enum | yes |  | - `one of "active", "revoked"` |
| `apps[].created_at` | string | yes |  |  |
| `apps[].revoked_at` | string \| null | yes |  |  |
| `grants` | array of object | yes |  | - `items: no other fields` |
| `grants[].app_id` | string | yes |  | - `pattern ^app_[0-9A-HJKMNP-TV-Z]{26}$` |
| `grants[].capability` | string | yes |  |  |
| `grants[].audience` | string | yes |  |  |
| `grants[].status` | enum | yes |  | - `one of "requested", "approved", "denied", "revoked"` |
| `grants[].decided_at` | string \| null | yes |  |  |

## Examples

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

 Valid: project

~~~~
{
  "project": {
    "id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",
    "name": "Example",
    "owner": {
      "type": "user",
      "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
    },
    "environment_policy": "production",
    "home_cell": null,
    "residency": null,
    "preferred_regions": [],
    "archived_at": null,
    "created_at": "2026-10-03T00:00:00Z"
  },
  "allowance": [],
  "quotas": [],
  "apps": [],
  "grants": []
}
~~~~

Valid: tenancy-with-apps-and-grants

~~~~
{
  "project": {
    "id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",
    "name": "Tenancy",
    "owner": {
      "type": "user",
      "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
    },
    "environment_policy": "sandbox",
    "home_cell": "cel_01JAB2C3D4E5F6G7H8J9K0MNPQ",
    "residency": "eu-west",
    "preferred_regions": [],
    "created_at": "2026-10-03T00:00:00Z",
    "archived_at": null
  },
  "allowance": [
    "media.object.read",
    "media.object.upload"
  ],
  "quotas": [
    {
      "capability": "media.object.upload",
      "limit": 1073741824,
      "window": "total",
      "unit": "bytes",
      "enforced_by": "openvibe.media"
    }
  ],
  "apps": [
    {
      "id": "app_01JAB2C3D4E5F6G7H8J9K0MNPQ",
      "name": "Uploader",
      "environment": "sandbox",
      "status": "active",
      "created_at": "2026-10-03T00:00:00Z",
      "revoked_at": null
    },
    {
      "id": "app_01JAB2C3D4E5F6G7H8J9K0MPRQ",
      "name": "Reader",
      "environment": "sandbox",
      "status": "revoked",
      "created_at": "2026-10-03T00:00:00Z",
      "revoked_at": "2026-10-03T01:00:00Z"
    }
  ],
  "grants": [
    {
      "app_id": "app_01JAB2C3D4E5F6G7H8J9K0MNPQ",
      "capability": "media.object.upload",
      "audience": "openvibe.media",
      "status": "approved",
      "decided_at": "2026-10-03T00:30:00Z"
    },
    {
      "app_id": "app_01JAB2C3D4E5F6G7H8J9K0MPRQ",
      "capability": "media.object.read",
      "audience": "openvibe.media",
      "status": "revoked",
      "decided_at": "2026-10-03T01:00:00Z"
    }
  ]
}
~~~~

Rejected: secret

~~~~
{
  "project": {
    "id": "prj_01JAB2C3D4E5F6G7H8J9K0MNPQ",
    "name": "Example",
    "owner": {
      "type": "user",
      "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
    },
    "environment_policy": "production",
    "home_cell": null,
    "residency": null,
    "preferred_regions": [],
    "archived_at": null,
    "created_at": "2026-10-03T00:00:00Z"
  },
  "allowance": [],
  "quotas": [],
  "apps": [
    {
      "id": "app_01JAB2C3D4E5F6G7H8J9K0MNPQ",
      "name": "App",
      "environment": "production",
      "status": "active",
      "created_at": "2026-10-03T00:00:00Z",
      "revoked_at": null,
      "client_secret": "must never be exposed"
    }
  ],
  "grants": []
}
~~~~

## Validate

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