Kong · Schema

BillingWorkflowCollectionAlignment

The alignment for collecting the pending line items into an invoice. Defaults to subscription, which means that we are to create a new invoice every time the a subscription period starts (for in advance items) or ends (for in arrears items).

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source
View JSON Schema on GitHub

JSON Schema

kong-billingworkflowcollectionalignment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BillingWorkflowCollectionAlignment",
  "title": "BillingWorkflowCollectionAlignment",
  "description": "The alignment for collecting the pending line items into an invoice.\n\nDefaults to subscription, which means that we are to create a new invoice every time the\na subscription period starts (for in advance items) or ends (for in arrears items).",
  "type": "object",
  "discriminator": {
    "propertyName": "type",
    "mapping": {
      "subscription": "#/components/schemas/BillingWorkflowCollectionAlignmentSubscription",
      "anchored": "#/components/schemas/BillingWorkflowCollectionAlignmentAnchored"
    }
  },
  "oneOf": [
    {
      "$ref": "#/components/schemas/BillingWorkflowCollectionAlignmentSubscription"
    },
    {
      "$ref": "#/components/schemas/BillingWorkflowCollectionAlignmentAnchored"
    }
  ]
}