Przejdź do treści

Inquirium Model Package Install Plan v1

Source schema: doc/schemas/inquirium.model-package.install-plan.v1.schema.json

Deterministic and inert preview of model-package installation work; this contract cannot report executed effects.

Governing Basis

Project Lineage

Requirements

Stories

Fields

Field Required Shape Description
schema yes const: inquirium.model-package.install-plan.v1
schema/v yes const: 1
plan/ref yes string
package/ref yes string
manifest/digest yes string
target-profile/ref yes string
status yes enum: ready, blocked
blockers yes array
steps yes array
effects/executed yes const: False

Definitions

Definition Shape Description
digest string
assetRef string
blocker object
step object

Conditional Rules

Rule 1

When:

{
  "properties": {
    "status": {
      "const": "ready"
    }
  },
  "required": [
    "status"
  ]
}

Then:

{
  "properties": {
    "blockers": {
      "maxItems": 0
    }
  }
}

Rule 2

When:

{
  "properties": {
    "status": {
      "const": "blocked"
    }
  },
  "required": [
    "status"
  ]
}

Then:

{
  "properties": {
    "blockers": {
      "minItems": 1
    }
  }
}

Field Semantics

schema

  • Required: yes
  • Shape: const: inquirium.model-package.install-plan.v1

schema/v

  • Required: yes
  • Shape: const: 1

plan/ref

  • Required: yes
  • Shape: string

package/ref

  • Required: yes
  • Shape: string

manifest/digest

  • Required: yes
  • Shape: string

target-profile/ref

  • Required: yes
  • Shape: string

status

  • Required: yes
  • Shape: enum: ready, blocked

blockers

  • Required: yes
  • Shape: array

steps

  • Required: yes
  • Shape: array

effects/executed

  • Required: yes
  • Shape: const: False

Definition Semantics

$defs.digest

  • Shape: string

$defs.assetRef

  • Shape: string

$defs.blocker

  • Shape: object

$defs.step

  • Shape: object