{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datazone/json-schema/amazon-datazone-post-time-series-data-points-input-schema.json",
  "title": "PostTimeSeriesDataPointsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datazone-time-series-data-points-api-openapi.yml#/components/schemas/PostTimeSeriesDataPointsInput",
  "type": "object",
  "properties": {
    "domainIdentifier": {
      "type": "string",
      "description": "The ID of the Amazon DataZone domain in which you want to post time series data points."
    },
    "entityIdentifier": {
      "type": "string",
      "description": "The ID of the asset for which you want to post time series data points."
    },
    "entityType": {
      "type": "string",
      "enum": [
        "ASSET",
        "LISTING"
      ],
      "description": "The type of the asset for which you want to post data points."
    },
    "forms": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TimeSeriesDataPointFormInput"
      },
      "description": "The forms that contain the data points that you want to post."
    },
    "clientToken": {
      "type": "string",
      "description": "A unique, case-sensitive identifier that is provided to ensure the idempotency of the request."
    }
  },
  "required": [
    "domainIdentifier",
    "entityIdentifier",
    "entityType",
    "forms"
  ],
  "$defs": {
    "TimeSeriesDataPointFormInput": {
      "type": "object",
      "properties": {
        "formName": {
          "type": "string",
          "description": "The name of the time series data points form."
        },
        "typeIdentifier": {
          "type": "string",
          "description": "The ID of the type of the time series data points form."
        },
        "typeRevision": {
          "type": "string",
          "description": "The revision type of the time series data points form."
        },
        "timestamp": {
          "type": "string",
          "description": "The timestamp of the time series data points form."
        },
        "content": {
          "type": "string",
          "description": "The content of the time series data points form."
        }
      },
      "required": [
        "formName",
        "typeIdentifier",
        "timestamp"
      ]
    }
  }
}