DataFirst Study Variable

A single measured variable inside a DataFirst study data file, as returned by GET /catalog/variables/{idno}. Field set observed live on 2026-08-30.

UniversityHigher EducationEducationPublic Research UniversitySouth AfricaAfricaResearch DataOpen DataInstitutional RepositoryOAI-PMHIdentity FederationMicrodataResearch Computing

Properties

Name Type Description
uid integer Globally unique variable identifier.
sid integer Internal id of the owning study.
fid string File id the variable belongs to.
vid string Variable id within the file.
name string Variable name as stored in the data file.
labl stringnull Human-readable variable label.
View JSON Schema on GitHub

JSON Schema

university-of-cape-town-variable-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/university-of-cape-town/main/json-schema/university-of-cape-town-variable-schema.json",
  "title": "DataFirst Study Variable",
  "description": "A single measured variable inside a DataFirst study data file, as returned by GET /catalog/variables/{idno}. Field set observed live on 2026-08-30.",
  "type": "object",
  "required": ["uid", "sid", "fid", "vid", "name"],
  "properties": {
    "uid": { "type": "integer", "description": "Globally unique variable identifier.", "examples": [1736429] },
    "sid": { "type": "integer", "description": "Internal id of the owning study.", "examples": [890] },
    "fid": { "type": "string", "description": "File id the variable belongs to.", "examples": ["F3"] },
    "vid": { "type": "string", "description": "Variable id within the file.", "examples": ["V21"] },
    "name": { "type": "string", "description": "Variable name as stored in the data file.", "examples": ["sex"] },
    "labl": { "type": ["string", "null"], "description": "Human-readable variable label.", "examples": ["Sex"] }
  },
  "additionalProperties": true
}

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/university-of-cape-town-variable"
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.