{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/threatconnect/main/json-schema/threatconnect-post-v2-custommetrics-taskscompleted-data-request-schema.json",
  "title": "PostV2CustommetricsTaskscompletedDataRequest",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/threatconnect-openapi-generated.yml#/components/schemas/PostV2CustommetricsTaskscompletedDataRequest",
  "type": "object",
  "properties": {
    "value": {
      "type": "integer",
      "description": "The value to add to the non‑keyed metric. Not required if the metric’s data type is Count."
    },
    "date": {
      "type": "string",
      "description": "The date and time when the provided value was added to the metric (ISO‑8601). If omitted, defaults to today’s date."
    },
    "weight": {
      "type": "integer",
      "description": "The weight of the provided value."
    }
  },
  "required": [
    "value"
  ]
}