{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vertesiahq/json-schema/vertesiahq-account-projects-response-schema.json",
  "title": "AccountProjectsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vertesiahq-accounts-api-openapi.yml#/components/schemas/AccountProjectsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ProjectRef"
      }
    }
  },
  "required": [
    "data"
  ],
  "additionalProperties": false,
  "$defs": {
    "ProjectRef": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "account": {
          "type": "string"
        },
        "restricted": {
          "type": "boolean",
          "description": "Only set when fetching the list of projects visible to an user which is an org admin or owner. If present and true, it means that the project is not accessible to the user.(even if it visible in listing) If not present or false then the project is accessible to the user."
        }
      },
      "required": [
        "id",
        "name",
        "account"
      ],
      "additionalProperties": false
    }
  }
}