{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/availity/refs/heads/main/json-schema/service-reviews-attachment-request-schema.json", "title": "AttachmentRequest", "description": "AttachmentRequest schema from Availity API", "type": "object", "required": [ "payerId", "patient", "subscriber", "provider", "certificationNumber", "attachments" ], "properties": { "payerId": { "type": "string", "example": "BCBS001" }, "patient": { "type": "object", "properties": { "firstName": { "type": "string", "example": "Jane" }, "lastName": { "type": "string", "example": "Smith" } } }, "subscriber": { "type": "object", "properties": { "memberId": { "type": "string", "example": "MEM123456" } } }, "provider": { "type": "object", "properties": { "npi": { "type": "string", "example": "1234567890" } } }, "certificationNumber": { "type": "string", "example": "AUTH-2025-001234" }, "attachments": { "type": "array", "items": { "type": "object", "properties": { "contentType": { "type": "string", "example": "application/pdf" }, "title": { "type": "string", "example": "Clinical Notes" }, "data": { "type": "string", "format": "byte" } } } } } }