CAIN-42 CAIN Studio

API reference · schema

SensorIn

12 fields · used by 0 operations

Last reviewed 2026-11-13

Fields

FieldTypeMeaning
sensor_id requiredstringmin length 1 · max length 128
asset requiredstring
kind requiredstring
unit requiredstring
pub requiredstring
calibration_id requiredstring
calibration_valid_until requirednumber
attestationstringdefault "SOFTWARE_ASSERTION"
attestation_evidencestringdefault ""
max_age_snumberdefault 0.5
tolerancenumberdefault 0.02
verifiedbooleandefault false

Smallest valid example

{
  "sensor_id": "sensor-id",
  "asset": "asset",
  "kind": "kind",
  "unit": "unit",
  "pub": "pub",
  "calibration_id": "calibration-id",
  "calibration_valid_until": 1.0,
  "attestation": "SOFTWARE_ASSERTION",
  "attestation_evidence": "",
  "max_age_s": 0.5,
  "tolerance": 0.02,
  "verified": false
}

JSON Schema

Show the raw definition
{
  "properties": {
    "sensor_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "title": "Sensor Id"
    },
    "asset": {
      "type": "string",
      "title": "Asset"
    },
    "kind": {
      "type": "string",
      "title": "Kind"
    },
    "unit": {
      "type": "string",
      "title": "Unit"
    },
    "pub": {
      "type": "string",
      "title": "Pub"
    },
    "calibration_id": {
      "type": "string",
      "title": "Calibration Id"
    },
    "calibration_valid_until": {
      "type": "number",
      "title": "Calibration Valid Until"
    },
    "attestation": {
      "type": "string",
      "title": "Attestation",
      "default": "SOFTWARE_ASSERTION"
    },
    "attestation_evidence": {
      "type": "string",
      "title": "Attestation Evidence",
      "default": ""
    },
    "max_age_s": {
      "type": "number",
      "title": "Max Age S",
      "default": 0.5
    },
    "tolerance": {
      "type": "number",
      "title": "Tolerance",
      "default": 0.02
    },
    "verified": {
      "type": "boolean",
      "title": "Verified",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "sensor_id",
    "asset",
    "kind",
    "unit",
    "pub",
    "calibration_id",
    "calibration_valid_until"
  ],
  "title": "SensorIn"
}

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 30-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem