Přeskočit obsah

Sensorium-biosignal-sample-block.v1

Source schema: doc/schemas/sensorium-biosignal-sample-block.v1.schema.json

Closed sample-block contract. buffer is the nested sensorium-biosignal-buffer.v1 signal tensor; source-time and package-num are separate 1 by N tensors. All shapes and stream mappings require semantic validation. Host binds metadata to current admitted identity, epoch, generation, profile and classification before hashing; a worker metadata assertion grants no authority. Optional host/digest is attached to this block after host validation, preserved in a P082 frame payload, and excluded from its own preimage. Worker ingress must omit the field, including null. Presence or a matching digest grants no authority. Preimage: UTF-8 domain orbiplex.sensorium.sample-block.v1 followed by NUL; seven independently u64BE length-prefixed segments: JCS metadata with derived tensor descriptors, signal values, signal mask, source-time values, source-time mask, package-num values, package-num mask. Real and real-derived playback data enter as Personal, sensitive-personal/health-wearable.

Governing Basis

Project Lineage

Requirements

Stories

Fields

Field Required Shape Description
schema yes const: sensorium-biosignal-sample-block.v1
schema/v yes const: 1
metadata yes object
buffer yes ref: sensorium-biosignal-buffer.v1.schema.json
source-time yes ref: sensorium-biosignal-buffer.v1.schema.json
package-num yes ref: sensorium-biosignal-buffer.v1.schema.json
host/digest no string Host-computed unkeyed SHA-256 content digest after normalization: consistency, not authenticity or cryptographic host attestation; workers must omit. Excluded from the seven-segment preimage. Ordinary logs and control/status remain payload- and digest-free.

Conditional Rules

Rule 1

When:

{
  "properties": {
    "metadata": {
      "properties": {
        "evidence/class": {
          "enum": [
            "real-device",
            "playback"
          ]
        }
      }
    }
  }
}

Then:

{
  "properties": {
    "metadata": {
      "properties": {
        "classification": {
          "properties": {
            "source_tier": {
              "const": "Personal"
            },
            "effective_tier": {
              "const": "Personal"
            }
          }
        }
      }
    }
  }
}

Field Semantics

schema

  • Required: yes
  • Shape: const: sensorium-biosignal-sample-block.v1

schema/v

  • Required: yes
  • Shape: const: 1

metadata

  • Required: yes
  • Shape: object

buffer

  • Required: yes
  • Shape: ref: sensorium-biosignal-buffer.v1.schema.json

source-time

  • Required: yes
  • Shape: ref: sensorium-biosignal-buffer.v1.schema.json

package-num

  • Required: yes
  • Shape: ref: sensorium-biosignal-buffer.v1.schema.json

host/digest

  • Required: no
  • Shape: string

Host-computed unkeyed SHA-256 content digest after normalization: consistency, not authenticity or cryptographic host attestation; workers must omit. Excluded from the seven-segment preimage. Ordinary logs and control/status remain payload- and digest-free.