Přeskočit obsah

Inference Execution Posture v1

Source schema: doc/schemas/inference-execution-posture.v1.schema.json

Fields

Field Required Shape Description
schema yes const: inference-execution-posture.v1
posture/id yes ref: inference-provenance-common.v1.schema.json#/$defs/digest
assertion/owner yes ref: inference-provenance-common.v1.schema.json#/$defs/ref
subject/ref yes ref: inference-provenance-common.v1.schema.json#/$defs/ref
scope/ref yes ref: inference-provenance-common.v1.schema.json#/$defs/ref
generation yes integer
processing-boundary/ref yes ref: inference-provenance-common.v1.schema.json#/$defs/ref
locality yes enum: local-only, may-use-non-local, non-local-required, unknown
provider/disclosure yes ref: inference-provenance-common.v1.schema.json#/$defs/provider-disclosure
provider/refs yes array
valid/from yes string
valid/until no string
evidence/requirements yes array
extensions yes ref: inference-provenance-common.v1.schema.json#/$defs/extensions

Conditional Rules

Rule 1

When:

{
  "required": [
    "provider/disclosure"
  ],
  "properties": {
    "provider/disclosure": {
      "const": "partial"
    }
  }
}

Then:

{
  "properties": {
    "provider/refs": {
      "minItems": 1
    }
  }
}

Rule 2

When:

{
  "required": [
    "provider/disclosure"
  ],
  "properties": {
    "provider/disclosure": {
      "enum": [
        "withheld",
        "unknown"
      ]
    }
  }
}

Then:

{
  "properties": {
    "provider/refs": {
      "maxItems": 0
    }
  }
}

Field Semantics

schema

  • Required: yes
  • Shape: const: inference-execution-posture.v1

posture/id

  • Required: yes
  • Shape: ref: inference-provenance-common.v1.schema.json#/$defs/digest

assertion/owner

  • Required: yes
  • Shape: ref: inference-provenance-common.v1.schema.json#/$defs/ref

subject/ref

  • Required: yes
  • Shape: ref: inference-provenance-common.v1.schema.json#/$defs/ref

scope/ref

  • Required: yes
  • Shape: ref: inference-provenance-common.v1.schema.json#/$defs/ref

generation

  • Required: yes
  • Shape: integer

processing-boundary/ref

  • Required: yes
  • Shape: ref: inference-provenance-common.v1.schema.json#/$defs/ref

locality

  • Required: yes
  • Shape: enum: local-only, may-use-non-local, non-local-required, unknown

provider/disclosure

  • Required: yes
  • Shape: ref: inference-provenance-common.v1.schema.json#/$defs/provider-disclosure

provider/refs

  • Required: yes
  • Shape: array

valid/from

  • Required: yes
  • Shape: string

valid/until

  • Required: no
  • Shape: string

evidence/requirements

  • Required: yes
  • Shape: array

extensions

  • Required: yes
  • Shape: ref: inference-provenance-common.v1.schema.json#/$defs/extensions