{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/chronosphere/main/json-schema/chronosphere-configunstable-read-log-primary-key-response-schema.json",
  "title": "configunstableReadLogPrimaryKeyResponse",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chronosphere-logprimarykey-api-openapi.yml#/components/schemas/configunstableReadLogPrimaryKeyResponse",
  "properties": {
    "log_primary_key": {
      "$ref": "#/$defs/configunstableLogPrimaryKey"
    }
  },
  "type": "object",
  "$defs": {
    "LogPrimaryKeyLogPrimaryKeyField": {
      "properties": {
        "name": {
          "description": "name of the field as it will be referred to in queries; could be omitted and targeted_field would be used as the PK name in that case",
          "type": "string"
        },
        "source": {
          "description": "source is the name of the source field",
          "type": "string"
        }
      },
      "type": "object"
    },
    "configunstableLogPrimaryKey": {
      "properties": {
        "slug": {
          "description": "The unique identifier of the LogPrimaryKey. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the LogPrimaryKey is created.",
          "type": "string"
        },
        "name": {
          "description": "The name of the LogPrimaryKey. You can modify this value after the LogPrimaryKey is created.",
          "type": "string"
        },
        "created_at": {
          "description": "Timestamp of when the LogPrimaryKey was created. Cannot be set by clients.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "updated_at": {
          "description": "Timestamp of when the LogPrimaryKey was last updated. Cannot be set by clients.",
          "format": "date-time",
          "readOnly": true,
          "type": "string"
        },
        "version": {
          "format": "int64",
          "type": "integer"
        },
        "fields": {
          "items": {
            "$ref": "#/$defs/LogPrimaryKeyLogPrimaryKeyField"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  }
}