{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clarifymedical/json-schema/clarifymedical-get-signed-url-for-record-attachment-upload-response-schema.json",
  "title": "GetSignedUrlForRecordAttachmentUploadResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clarifymedical-recordattachments-api-openapi.yml#/components/schemas/GetSignedUrlForRecordAttachmentUploadResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "signedUrl": {
          "type": "string",
          "description": "Pre-signed URL to upload the file contents to via HTTP PUT."
        },
        "key": {
          "type": "string",
          "description": "The storage key to pass back when attaching the file."
        },
        "attachmentId": {
          "type": "string",
          "description": "The attachment ID to pass back when attaching the file."
        },
        "entity": {
          "type": "string",
          "description": "The object type of the target record."
        },
        "_id": {
          "type": "string",
          "description": "The unique ID of the target record."
        }
      },
      "required": [
        "signedUrl",
        "key",
        "attachmentId",
        "entity",
        "_id"
      ],
      "description": "The signed upload URL and identifiers to attach the file."
    }
  },
  "required": [
    "data"
  ]
}