Przejdź do treści

Responsibility-lifecycle-readiness.local.v1

Source schema: doc/schemas/responsibility-lifecycle-readiness.local.v1.schema.json

Draft local contract. Shape validation confers no admission, mandate, application receipt or lifecycle readiness.

Governing Basis

Project Lineage

Requirements

Stories

Fields

Field Required Shape Description
schema yes const: responsibility-lifecycle-readiness.local.v1
host/id yes string
host/incarnation yes string
observed-at yes string
lifecycle/v2 yes boolean
components yes object

Conditional Rules

Rule 1

When:

{
  "properties": {
    "lifecycle/v2": {
      "const": true
    }
  }
}

Then:

{
  "properties": {
    "components": {
      "properties": {
        "storage": {
          "const": true
        },
        "composition": {
          "const": true
        },
        "writers": {
          "const": true
        },
        "replay": {
          "const": true
        },
        "receipts": {
          "const": true
        }
      }
    }
  }
}

Rule 2

When:

{
  "properties": {
    "components": {
      "properties": {
        "storage": {
          "const": true
        },
        "composition": {
          "const": true
        },
        "writers": {
          "const": true
        },
        "replay": {
          "const": true
        },
        "receipts": {
          "const": true
        }
      }
    }
  }
}

Then:

{
  "properties": {
    "lifecycle/v2": {
      "const": true
    }
  }
}

Field Semantics

schema

  • Required: yes
  • Shape: const: responsibility-lifecycle-readiness.local.v1

host/id

  • Required: yes
  • Shape: string

host/incarnation

  • Required: yes
  • Shape: string

observed-at

  • Required: yes
  • Shape: string

lifecycle/v2

  • Required: yes
  • Shape: boolean

components

  • Required: yes
  • Shape: object