Lattice · Schema

Goal

A Lattice goal or OKR created by or assigned to one or more users.

HRPeople ManagementPerformance ManagementOKRsGoalsEmployee EngagementHRISCompensationFeedbackSurveys

Properties

Name Type Description
id string Unique API identifier
object string
url string
name string
description stringnull
state string
status string
goalType string
okrType string
isPrivate boolean
priority integernull
amountType stringnull
startingAmount numbernull
endingAmount numbernull
currentAmount numbernull
startDate stringnull
dueDate stringnull
createdAt integer Unix timestamp
updatedAt integer Unix timestamp
publishedAt integernull
completedAt integernull
archivedAt integernull
owners object ListReference to goal owners
department objectnull ObjectReference to associated department
parentGoal objectnull ObjectReference to parent goal
childGoals object ListReference to child goals
tags object ListReference to goal tags
View JSON Schema on GitHub

JSON Schema

lattice-goal.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.latticehq.com/schemas/goal",
  "title": "Goal",
  "description": "A Lattice goal or OKR created by or assigned to one or more users.",
  "type": "object",
  "properties": {
    "id": { "type": "string", "description": "Unique API identifier" },
    "object": { "type": "string", "const": "goal" },
    "url": { "type": "string", "format": "uri" },
    "name": { "type": "string" },
    "description": { "type": ["string", "null"] },
    "state": {
      "type": "string",
      "enum": ["Draft", "Active", "Ended", "Archived"]
    },
    "status": {
      "type": "string",
      "enum": ["NotUpdated", "OnTrack", "Progressing", "OffTrack"]
    },
    "goalType": {
      "type": "string",
      "enum": ["Company", "Department", "Group", "Individual"]
    },
    "okrType": {
      "type": "string",
      "enum": ["objective", "key_result"]
    },
    "isPrivate": { "type": "boolean" },
    "priority": { "type": ["integer", "null"], "minimum": 1, "maximum": 10 },
    "amountType": {
      "type": ["string", "null"],
      "enum": ["Percent", "Dollar", "Digit", "Binary", null]
    },
    "startingAmount": { "type": ["number", "null"] },
    "endingAmount": { "type": ["number", "null"] },
    "currentAmount": { "type": ["number", "null"] },
    "startDate": { "type": ["string", "null"], "format": "date" },
    "dueDate": { "type": ["string", "null"], "format": "date" },
    "createdAt": { "type": "integer", "description": "Unix timestamp" },
    "updatedAt": { "type": "integer", "description": "Unix timestamp" },
    "publishedAt": { "type": ["integer", "null"] },
    "completedAt": { "type": ["integer", "null"] },
    "archivedAt": { "type": ["integer", "null"] },
    "owners": {
      "type": "object",
      "description": "ListReference to goal owners"
    },
    "department": {
      "type": ["object", "null"],
      "description": "ObjectReference to associated department"
    },
    "parentGoal": {
      "type": ["object", "null"],
      "description": "ObjectReference to parent goal"
    },
    "childGoals": {
      "type": "object",
      "description": "ListReference to child goals"
    },
    "tags": {
      "type": "object",
      "description": "ListReference to goal tags"
    }
  },
  "required": ["id", "object", "url", "name", "state", "status", "goalType", "okrType", "isPrivate", "owners", "childGoals", "tags", "createdAt", "updatedAt"]
}

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/lattice-goal"
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.