{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://openssom.org/schema/signal.json",
  "title": "SSOM Signal",
  "description": "The standing definition of one series of Observations on one subject: what it measures, how its values are read, and which source point supplies it over which period. It holds once what `signal_context` otherwise repeats on every Observation.",
  "type": "object",
  "required": [
    "signal_id",
    "subject_ref",
    "metric",
    "signal_context",
    "provenance",
    "ssom_version"
  ],
  "properties": {
    "signal_id": {
      "type": "string",
      "pattern": "^urn:ssom:signal:"
    },
    "ssom_version": {
      "type": "string"
    },
    "subject_ref": {
      "type": "string"
    },
    "metric": {
      "type": "string"
    },
    "display_name": {
      "type": "string"
    },
    "quantity_kind": {
      "$ref": "common.json#/$defs/quantityKind"
    },
    "signal_context": {
      "$ref": "common.json#/$defs/signalContext"
    },
    "calibration_context": {
      "$ref": "common.json#/$defs/calibrationContext"
    },
    "source_identifier_assignments": {
      "type": "array",
      "items": {
        "$ref": "common.json#/$defs/identifierAssignment"
      }
    },
    "state_lineage": {
      "$ref": "common.json#/$defs/stateLineage"
    },
    "confidence": {
      "$ref": "common.json#/$defs/confidenceScore"
    },
    "provenance": {
      "$ref": "common.json#/$defs/provenance"
    },
    "extensions": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}
