{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/power-bi/json-schema/power-bi-goal-value-create-request-schema.json",
  "title": "GoalValueCreateRequest",
  "description": "A creation request for a Power BI goal value check-in",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/power-bi-goalvalues-preview-api-openapi.yml#/components/schemas/GoalValueCreateRequest",
  "required": [
    "timestamp"
  ],
  "properties": {
    "timestamp": {
      "description": "The UTC timestamp of the goal value check-in. The time portion of the timestamp is zero.",
      "type": "string",
      "format": "date-time"
    },
    "value": {
      "description": "Optional. The current value of the goal.",
      "type": "number",
      "format": "double"
    },
    "target": {
      "description": "Optional. The target value of the goal.",
      "type": "number",
      "format": "double"
    },
    "trend": {
      "description": "Optional. The value trend of the goal.",
      "type": "integer",
      "format": "int32"
    },
    "forecast": {
      "description": "Optional. The value trend forecast of the goal.",
      "type": "number",
      "format": "double"
    },
    "status": {
      "description": "Optional. The goal status ID.\n\n| ID | Description |\n|-|-|\n| 0 | Not started |\n| 1 | On track |\n| 2 | At risk |\n| 3 | Behind |\n| 4 | Overdue |\n| 5 | Completed |",
      "type": "integer",
      "format": "int32"
    }
  }
}