Przejdź do treści

Package Capability Invoke v1

Source schema: doc/schemas/package-capability-invoke.v1.schema.json

One local invocation of a package capability (P093 §11, R13). use-binding/ref may name the approved use the caller acts under; the host attests the caller from its own session and records and never from this field. The request fingerprint covers capability/id, contract/digest, issued-at, deadline and input.

Governing Basis

Project Lineage

Fields

Field Required Shape Description
schema yes const: package-capability-invoke.v1
schema/v yes const: 1
capability/id yes ref: #/$defs/capability-id
contract/digest yes ref: #/$defs/digest
invocation/id yes ref: #/$defs/invocation-id
issued-at yes ref: #/$defs/timestamp
deadline yes ref: #/$defs/timestamp
use-binding/ref no ref: #/$defs/ref
input yes unspecified Validated by the host against the contract's input schema before the admission point.

Definitions

Definition Shape Description
capability-id string A package capability identifier (P093 §2); the host parses it with the one grammar.
digest string
invocation-id string
timestamp string
ref string
## Field Semantics

schema

  • Required: yes
  • Shape: const: package-capability-invoke.v1

schema/v

  • Required: yes
  • Shape: const: 1

capability/id

  • Required: yes
  • Shape: ref: #/$defs/capability-id

contract/digest

  • Required: yes
  • Shape: ref: #/$defs/digest

invocation/id

  • Required: yes
  • Shape: ref: #/$defs/invocation-id

issued-at

  • Required: yes
  • Shape: ref: #/$defs/timestamp

deadline

  • Required: yes
  • Shape: ref: #/$defs/timestamp

use-binding/ref

  • Required: no
  • Shape: ref: #/$defs/ref

input

  • Required: yes
  • Shape: unspecified

Validated by the host against the contract's input schema before the admission point.

Definition Semantics

$defs.capability-id

  • Shape: string

A package capability identifier (P093 §2); the host parses it with the one grammar.

$defs.digest

  • Shape: string

$defs.invocation-id

  • Shape: string

$defs.timestamp

  • Shape: string

$defs.ref

  • Shape: string