{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/certifyos/main/json-schema/certifyos-provider-outreach-portal-details-response-schema.json",
  "title": "ProviderOutreachPortalDetailsResponse",
  "description": "Provider portal outreach details for a signed outreach token",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/certifyos-provider-outreach-portal-resource-api-openapi.yml#/components/schemas/ProviderOutreachPortalDetailsResponse",
  "type": "object",
  "properties": {
    "workflowId": {
      "type": "string"
    },
    "outreachId": {
      "type": "string"
    },
    "providerName": {
      "type": "string"
    },
    "npi": {
      "type": "string"
    },
    "reasons": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Reason2"
      }
    },
    "tenants": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tenant"
      }
    }
  },
  "$defs": {
    "Reason2": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "resolutionSteps": {
          "type": "string"
        },
        "isCaqhResolvable": {
          "type": "boolean"
        }
      }
    },
    "Tenant": {
      "type": "object",
      "description": "Tenant the outreach workflow belongs to, with optional email-settings logo branding",
      "properties": {
        "name": {
          "type": "string"
        },
        "logoUrl": {
          "type": "string"
        }
      }
    }
  }
}