{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/invoicepdfs-com/json-schema/invoicepdfs-com-invoice-attachment-response-schema.json",
  "title": "InvoiceAttachmentResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/invoicepdfs-com-document-attachments-api-openapi.yml#/components/schemas/InvoiceAttachmentResponse",
  "properties": {
    "data": {
      "$ref": "#/$defs/InvoiceAttachmentOut"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "$defs": {
    "InvoiceAttachmentOut": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "invoice_id": {
          "type": "string",
          "title": "Invoice Id"
        },
        "file_id": {
          "type": "string",
          "title": "File Id"
        },
        "label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Label"
        },
        "created_at": {
          "type": "string",
          "title": "Created At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "invoice_id",
        "file_id",
        "created_at"
      ],
      "title": "InvoiceAttachmentOut"
    }
  }
}