{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/johnson-controls/json-schema/johnson-controls-repo-trended-object-response-schema.json",
  "title": "Time Series Get Trended Object Retrieval Success",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/johnson-controls-time-series-api-openapi.yml#/components/schemas/repoTrendedObjectResponse",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "description": "Id of trended object."
    },
    "itemReference": {
      "type": "string",
      "description": "Item reference of object Id."
    },
    "name": {
      "type": "string",
      "description": "Name of the object."
    },
    "sampledAttributes": {
      "type": "array",
      "description": "The collection of available sample based on object Id.",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "samplesUrl": {
            "type": "string",
            "format": "uri",
            "description": "A link to this collection of object value samples."
          },
          "attribute": {
            "type": "string",
            "x-metasysType": "enum",
            "x-metasysEnum": "attributeEnumSet",
            "description": "The attribute on which the samples were taken.\n\nThe values for this property come from the `attributeEnumSet` enumeration.\nFind the definition of `attributeEnumSet` at the relative URL of `/schemas/enums/attributeEnumSet`.\n\n**See also:**\n* [Get enumeration](#operation/getEnumerationAsJsonSchema) for more information on retrieving an enumeration."
          },
          "attributeSchema": {
            "type": [
              "object",
              "null"
            ],
            "description": "JSON Schema of the attribute being sampled."
          }
        },
        "required": [
          "samplesUrl",
          "attribute",
          "attributeSchema"
        ]
      }
    },
    "self": {
      "type": "string",
      "format": "uri",
      "description": "A link to this collection."
    }
  },
  "required": [
    "id",
    "itemReference",
    "name",
    "sampledAttributes",
    "self"
  ]
}