{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-public-credit-line-blueprint-all-schema.json",
  "title": "Public.CreditLineBlueprint_all",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hint-health-credit-line-api-openapi.yml#/components/schemas/Public.CreditLineBlueprint_all",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "amount_in_cents": {
        "type": "integer",
        "format": "int32"
      },
      "created_at": {
        "type": "string",
        "format": "date-time"
      },
      "transaction_date": {
        "type": "string",
        "format": "date"
      },
      "type": {
        "type": "string"
      },
      "credit": {
        "$ref": "#/$defs/Public.CreditBlueprint_min"
      },
      "invoice": {
        "$ref": "#/$defs/Public.Payable.InvoiceBlueprint_min_with_owner"
      }
    }
  },
  "$defs": {
    "Public.CreditBlueprint_min": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        }
      }
    },
    "Public.Payable.InvoiceBlueprint_min_with_owner": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "invoice_number": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "owner": {
          "$ref": "#/$defs/Public.Payable.OwnerBlueprint_min"
        }
      }
    },
    "Public.Payable.OwnerBlueprint_min": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      }
    }
  }
}