Kong · Schema

BillingWorkflowCollectionAlignmentAnchored

BillingWorkflowCollectionAlignmentAnchored specifies the alignment for collecting the pending line items into an invoice.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen-Source

Properties

Name Type Description
type string The type of alignment.
recurring_period object The recurring period for the alignment.
View JSON Schema on GitHub

JSON Schema

kong-billingworkflowcollectionalignmentanchored-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BillingWorkflowCollectionAlignmentAnchored",
  "title": "BillingWorkflowCollectionAlignmentAnchored",
  "description": "BillingWorkflowCollectionAlignmentAnchored specifies the alignment for collecting the pending line items\ninto an invoice.",
  "type": "object",
  "properties": {
    "type": {
      "description": "The type of alignment.",
      "type": "string",
      "enum": [
        "anchored"
      ]
    },
    "recurring_period": {
      "description": "The recurring period for the alignment.",
      "type": "object",
      "properties": {
        "anchor": {
          "description": "A date-time anchor to base the recurring period on.",
          "type": "string",
          "format": "date-time",
          "example": "2023-01-01T01:01:01.001Z",
          "title": "Anchor time"
        },
        "interval": {
          "description": "The interval duration in ISO 8601 format.",
          "type": "string",
          "format": "ISO8601",
          "example": "P1M",
          "pattern": "^P(?:\\d+(?:\\.\\d+)?Y)?(?:\\d+(?:\\.\\d+)?M)?(?:\\d+(?:\\.\\d+)?W)?(?:\\d+(?:\\.\\d+)?D)?(?:T(?:\\d+(?:\\.\\d+)?H)?(?:\\d+(?:\\.\\d+)?M)?(?:\\d+(?:\\.\\d+)?S)?)?$",
          "title": "Interval in ISO 8601 duration format"
        }
      },
      "required": [
        "anchor",
        "interval"
      ]
    }
  },
  "required": [
    "type",
    "recurring_period"
  ]
}