{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/peoplescourt-ai/json-schema/peoplescourt-ai-canonical-invitation-envelope-schema.json",
  "title": "CanonicalInvitationEnvelope",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peoplescourt-ai-cases-and-participation-api-openapi.yml#/components/schemas/CanonicalInvitationEnvelope",
  "type": "object",
  "required": [
    "data",
    "requestId"
  ],
  "properties": {
    "data": {
      "$ref": "#/$defs/CanonicalInvitationResult"
    },
    "requestId": {
      "type": "string"
    }
  },
  "$defs": {
    "CanonicalInvitationResult": {
      "type": "object",
      "required": [
        "caseId",
        "hostedLink",
        "capabilityDelivery"
      ],
      "description": "Invitation rotation result. A show-once capability is never returned again on replay; hostedLink then addresses the hosted join page.",
      "properties": {
        "caseId": {
          "type": "string"
        },
        "hostedLink": {
          "type": "string"
        },
        "capabilityDelivery": {
          "type": "string"
        }
      }
    }
  }
}