{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aristocles-com-au/json-schema/aristocles-com-au-api-response-list-invoice-out-schema.json",
  "title": "ApiResponse[list[InvoiceOut]]",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/aristocles-com-au-openapi.json#/components/schemas/ApiResponse_list_InvoiceOut__",
  "properties": {
    "data": {
      "items": {
        "$ref": "#/$defs/InvoiceOut"
      },
      "type": "array",
      "title": "Data"
    },
    "meta": {
      "$ref": "#/$defs/Meta"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "$defs": {
    "InvoiceOut": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "amount_due": {
          "type": "integer",
          "title": "Amount Due"
        },
        "currency": {
          "type": "string",
          "title": "Currency"
        },
        "status": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Status"
        },
        "created": {
          "type": "string",
          "format": "date-time",
          "title": "Created"
        },
        "hosted_invoice_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Hosted Invoice Url"
        },
        "pdf_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pdf Url"
        }
      },
      "type": "object",
      "required": [
        "id",
        "amount_due",
        "currency",
        "status",
        "created"
      ],
      "title": "InvoiceOut"
    },
    "Meta": {
      "properties": {
        "timestamp": {
          "type": "string",
          "format": "date-time",
          "title": "Timestamp"
        },
        "source": {
          "type": "string",
          "title": "Source",
          "default": "aristocles-api"
        },
        "version": {
          "type": "string",
          "title": "Version",
          "default": "1.0"
        }
      },
      "type": "object",
      "title": "Meta"
    }
  }
}