{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://real-life.org/trust-tasks/encounter-bundle/0.1",
  "title": "Payload: encounter-bundle/0.1 (rltp-delivery@0.17, target Trust Tasks framework 0.4)",
  "description": "Payload schema per Trust Tasks 6.3 ($id = Type URI, describes only the payload). One-scan transmission per Delivery Contract 4.1: the scanner's sent card and step credential. Consistency and validate-then-consume rules are normative in Delivery Contract 4.1/6.2.",
  "type": "object",
  "required": ["card", "credential"],
  "additionalProperties": false,
  "properties": {
    "card": {
      "$ref": "https://real-life.org/rltp/v1/schemas/contact-card.schema.json",
      "description": "the scanner's sent card: fresh sent-challenge, sentTo = the document recipient"
    },
    "credential": {
      "$ref": "https://real-life.org/rltp/v1/schemas/encounter-credential.schema.json",
      "description": "the scanner's step credential binding the recipient's displayed challenge"
    }
  }
}
