{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/getrhythms-ai/main/json-schema/getrhythms-ai-post-rest-v2-key-results-request-schema.json",
  "title": "PostRestV2KeyResultsRequest",
  "x-generated": "2026-10-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/getrhythms-ai-openapi-generated.yml#/components/schemas/PostRestV2KeyResultsRequest",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Goal title."
    },
    "description": {
      "type": "string",
      "description": "Goal description."
    },
    "time_period_uuid": {
      "type": "string",
      "description": "Time period UUID."
    },
    "start_date": {
      "type": "string",
      "description": "YYYY-MM-DD."
    },
    "end_date": {
      "type": "string",
      "description": "YYYY-MM-DD."
    },
    "goal_type": {
      "type": "string",
      "description": "Goal type."
    },
    "visibility": {
      "type": "string",
      "description": "Visibility."
    },
    "team_uuids": {
      "type": "array",
      "description": "Team UUIDs."
    },
    "owner_uuids": {
      "type": "array",
      "description": "Owner UUIDs."
    },
    "labels": {
      "type": "array",
      "description": "Label names."
    },
    "delegate_uuids": {
      "type": "array",
      "description": "Delegate UUIDs."
    },
    "metric": {
      "type": "object",
      "description": "Metric configuration."
    },
    "parents": {
      "type": "array",
      "description": "Parent goal objects."
    },
    "visible_entities": {
      "type": "array",
      "description": "Visibility entities."
    }
  },
  "required": [
    "title",
    "time_period_uuid"
  ]
}