Przejdź do treści

Messaging Current Receive Authority Decision v2

Source schema: doc/schemas/messaging-receive-decision.local.v2.schema.json

Fields

Field Required Shape Description
schema yes const: messaging-receive-decision.local.v2
authorized yes boolean
basis yes unspecified
reasons yes array
observed_at yes string
evidence yes object
authority/failure no object

Conditional Rules

Rule 1

When:

{
  "properties": {
    "authorized": {
      "const": true
    }
  }
}

Then:

{
  "properties": {
    "basis": {
      "type": "object"
    },
    "reasons": {
      "maxItems": 0
    }
  }
}

Field Semantics

schema

  • Required: yes
  • Shape: const: messaging-receive-decision.local.v2

authorized

  • Required: yes
  • Shape: boolean

basis

  • Required: yes
  • Shape: unspecified

reasons

  • Required: yes
  • Shape: array

observed_at

  • Required: yes
  • Shape: string

evidence

  • Required: yes
  • Shape: object

authority/failure

  • Required: no
  • Shape: object