Coactive · Schema

UserResponse

Complete user response model including roles. This model extends the base user response to include the user's assigned roles. It is used when the complete user information, including roles, is required.

CompanyArtificial IntelligenceMultimodal AIComputer VisionVideo IntelligenceImage SearchContent IntelligenceSemantic SearchContextual AdvertisingMetadataMachine LearningMedia

Properties

Name Type Description
user_id string Unique identifier for the user
name string Display name of the user
email stringnull Email address of the user
picture stringnull URL to the user's profile picture
created_at string Timestamp when the user was created
last_login stringnull Timestamp of the user's last login
roles array List of roles assigned to the user
View JSON Schema on GitHub

JSON Schema

coactive-user-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/coactive/main/json-schema/coactive-user-response-schema.json",
  "title": "UserResponse",
  "description": "Complete user response model including roles.\n\nThis model extends the base user response to include the user's assigned roles.\nIt is used when the complete user information, including roles, is required.",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/coactive-user-management-api-openapi.yml#/components/schemas/UserResponse",
  "type": "object",
  "properties": {
    "user_id": {
      "type": "string",
      "description": "Unique identifier for the user"
    },
    "name": {
      "type": "string",
      "description": "Display name of the user"
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "description": "Email address of the user"
    },
    "picture": {
      "type": [
        "string",
        "null"
      ],
      "description": "URL to the user's profile picture"
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the user was created"
    },
    "last_login": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "Timestamp of the user's last login"
    },
    "roles": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Role"
      },
      "description": "List of roles assigned to the user"
    }
  },
  "required": [
    "user_id",
    "name",
    "created_at",
    "roles"
  ],
  "$defs": {
    "Role": {
      "type": "object",
      "properties": {
        "role_id": {
          "type": "string",
          "description": "Name of the role (e.g., 'admin', 'editor', 'viewer')"
        },
        "resource": {
          "type": [
            "string",
            "null"
          ],
          "description": "Optional resource type the role applies to (e.g., 'dataset')"
        },
        "resource_instance": {
          "type": [
            "string",
            "null"
          ],
          "description": "Optional resource instance ID the role applies to"
        }
      },
      "required": [
        "role_id"
      ],
      "description": "Role model for user and client roles",
      "title": "Role"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/coactive-user-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.