{
  "openapi": "3.1.0",
  "info": {
    "title": "Nambikk CPQ — Order & Service Lifecycle Integration Profile",
    "version": "1.0.0-beta.1",
    "description": "Read operational Orders, Subscriptions, Services and Deliverables, update their controlled lifecycle fields and inspect activity.",
    "contact": {
      "name": "Nambikk API Support"
    },
    "license": {
      "name": "Commercial",
      "identifier": "LicenseRef-Commercial"
    },
    "x-nambikk-lifecycle": "BETA"
  },
  "servers": [
    {
      "url": "https://{host}",
      "description": "Nambikk CPQ API",
      "variables": {
        "host": {
          "default": "api.example.nambikk.ai"
        }
      }
    }
  ],
  "tags": [
    {
      "name": "Orders",
      "description": "Search, read and update controlled Order lifecycle fields."
    },
    {
      "name": "Subscriptions",
      "description": "Search, read and update controlled Subscription lifecycle fields."
    },
    {
      "name": "Services",
      "description": "Search, read and update controlled Service lifecycle fields."
    },
    {
      "name": "Deliverables",
      "description": "Search, read and update controlled Deliverable lifecycle fields."
    },
    {
      "name": "Lifecycle Activity",
      "description": "Read the auditable change history of operational resources."
    }
  ],
  "paths": {
    "/api/v1/orders": {
      "get": {
        "operationId": "listOrders",
        "summary": "List orders",
        "tags": [
          "Orders"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "in": "query",
            "name": "q",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "in": "query",
            "name": "orderNumber",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "sourceCartId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "sourceSubscriptionId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "accountId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "CREATED",
                "IN_PROGRESS",
                "PARTIALLY_COMPLETED",
                "COMPLETED",
                "FAILED",
                "CANCELLED"
              ]
            },
            "in": "query",
            "name": "status",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "in": "query",
            "name": "subStatus",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "in": "query",
            "name": "externalRef",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "in": "query",
            "name": "customerReference",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "NEW_SALE",
                "SUBSCRIPTION_CHANGE",
                "NON_COMMERCIAL_CHANGE"
              ]
            },
            "in": "query",
            "name": "orderType",
            "required": false
          },
          {
            "schema": {
              "type": "boolean"
            },
            "in": "query",
            "name": "pointOfNoReturn",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "createdFrom",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "createdTo",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "updatedFrom",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "updatedTo",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "createdAt:asc",
                "createdAt:desc",
                "updatedAt:asc",
                "updatedAt:desc",
                "status:asc",
                "status:desc",
                "orderNumber:asc",
                "orderNumber:desc"
              ]
            },
            "in": "query",
            "name": "sort",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "items",
                    "nextCursor"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "orderNumber",
                          "revisionNumber",
                          "sourceCartId",
                          "sourceSubscriptionId",
                          "idempotencyKey",
                          "accountId",
                          "primaryContactId",
                          "orderType",
                          "status",
                          "subStatus",
                          "catalogueCode",
                          "catalogueViewCode",
                          "pricebookCode",
                          "currency",
                          "totals",
                          "externalRef",
                          "metadata",
                          "pointOfNoReturnAt",
                          "customerReference",
                          "customerAcceptedAt",
                          "note",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt",
                          "account"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "orderNumber": {
                            "type": "string"
                          },
                          "revisionNumber": {
                            "type": "integer"
                          },
                          "sourceCartId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceSubscriptionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "idempotencyKey": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "primaryContactId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "orderType": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "catalogueCode": {
                            "type": "string"
                          },
                          "catalogueViewCode": {
                            "type": "string"
                          },
                          "pricebookCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "currency": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "totals": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "currency",
                              "oneTimeTotal",
                              "recurringTotalsByPeriod",
                              "meteredTariffCount",
                              "list",
                              "adjusted",
                              "sales"
                            ],
                            "properties": {
                              "currency": {
                                "anyOf": [
                                  {
                                    "type": "string"
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "oneTimeTotal": {
                                "type": "number"
                              },
                              "recurringTotalsByPeriod": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": false,
                                  "required": [
                                    "billingPeriod",
                                    "listAmount",
                                    "adjustmentAmount",
                                    "salesAmount"
                                  ],
                                  "properties": {
                                    "billingPeriod": {
                                      "type": "string"
                                    },
                                    "listAmount": {
                                      "type": "number"
                                    },
                                    "adjustmentAmount": {
                                      "type": "number"
                                    },
                                    "salesAmount": {
                                      "type": "number"
                                    }
                                  }
                                }
                              },
                              "meteredTariffCount": {
                                "type": "integer"
                              },
                              "list": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "recurringAmount",
                                  "oneTimeAmount",
                                  "totalAmount"
                                ],
                                "properties": {
                                  "recurringAmount": {
                                    "type": "number"
                                  },
                                  "oneTimeAmount": {
                                    "type": "number"
                                  },
                                  "totalAmount": {
                                    "type": "number"
                                  }
                                }
                              },
                              "adjusted": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "recurringAmount",
                                  "oneTimeAmount",
                                  "totalAmount"
                                ],
                                "properties": {
                                  "recurringAmount": {
                                    "type": "number"
                                  },
                                  "oneTimeAmount": {
                                    "type": "number"
                                  },
                                  "totalAmount": {
                                    "type": "number"
                                  }
                                }
                              },
                              "sales": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "recurringAmount",
                                  "oneTimeAmount",
                                  "totalAmount"
                                ],
                                "properties": {
                                  "recurringAmount": {
                                    "type": "number"
                                  },
                                  "oneTimeAmount": {
                                    "type": "number"
                                  },
                                  "totalAmount": {
                                    "type": "number"
                                  }
                                }
                              }
                            }
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "pointOfNoReturnAt": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "date-time"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "customerReference": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "customerAcceptedAt": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "date-time"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "note": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "account": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "accountNumber",
                                  "name",
                                  "status"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "accountNumber": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "status": {
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.order.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "List Orders with stable cursor pagination"
      }
    },
    "/api/v1/orders/{orderId}": {
      "get": {
        "operationId": "getOrder",
        "summary": "Get an order",
        "tags": [
          "Orders"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "orderId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "order",
                    "subscriptions",
                    "services",
                    "deliverableItems"
                  ],
                  "properties": {
                    "execution": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "commandId",
                        "cartVersion"
                      ],
                      "properties": {
                        "commandId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "cartVersion": {
                          "type": "integer",
                          "minimum": 1
                        }
                      }
                    },
                    "order": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "id",
                        "orderNumber",
                        "revisionNumber",
                        "sourceCartId",
                        "sourceSubscriptionId",
                        "idempotencyKey",
                        "accountId",
                        "primaryContactId",
                        "orderType",
                        "status",
                        "subStatus",
                        "catalogueCode",
                        "catalogueViewCode",
                        "pricebookCode",
                        "currency",
                        "totals",
                        "externalRef",
                        "metadata",
                        "pointOfNoReturnAt",
                        "customerReference",
                        "customerAcceptedAt",
                        "note",
                        "createdBy",
                        "updatedBy",
                        "createdAt",
                        "updatedAt"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "orderNumber": {
                          "type": "string"
                        },
                        "revisionNumber": {
                          "type": "integer"
                        },
                        "sourceCartId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "sourceSubscriptionId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "idempotencyKey": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "accountId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "primaryContactId": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "uuid"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "orderType": {
                          "type": "string"
                        },
                        "status": {
                          "type": "string"
                        },
                        "subStatus": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "catalogueCode": {
                          "type": "string"
                        },
                        "catalogueViewCode": {
                          "type": "string"
                        },
                        "pricebookCode": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "currency": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "totals": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "currency",
                            "oneTimeTotal",
                            "recurringTotalsByPeriod",
                            "meteredTariffCount",
                            "list",
                            "adjusted",
                            "sales"
                          ],
                          "properties": {
                            "currency": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "oneTimeTotal": {
                              "type": "number"
                            },
                            "recurringTotalsByPeriod": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "billingPeriod",
                                  "listAmount",
                                  "adjustmentAmount",
                                  "salesAmount"
                                ],
                                "properties": {
                                  "billingPeriod": {
                                    "type": "string"
                                  },
                                  "listAmount": {
                                    "type": "number"
                                  },
                                  "adjustmentAmount": {
                                    "type": "number"
                                  },
                                  "salesAmount": {
                                    "type": "number"
                                  }
                                }
                              }
                            },
                            "meteredTariffCount": {
                              "type": "integer"
                            },
                            "list": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "recurringAmount",
                                "oneTimeAmount",
                                "totalAmount"
                              ],
                              "properties": {
                                "recurringAmount": {
                                  "type": "number"
                                },
                                "oneTimeAmount": {
                                  "type": "number"
                                },
                                "totalAmount": {
                                  "type": "number"
                                }
                              }
                            },
                            "adjusted": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "recurringAmount",
                                "oneTimeAmount",
                                "totalAmount"
                              ],
                              "properties": {
                                "recurringAmount": {
                                  "type": "number"
                                },
                                "oneTimeAmount": {
                                  "type": "number"
                                },
                                "totalAmount": {
                                  "type": "number"
                                }
                              }
                            },
                            "sales": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "recurringAmount",
                                "oneTimeAmount",
                                "totalAmount"
                              ],
                              "properties": {
                                "recurringAmount": {
                                  "type": "number"
                                },
                                "oneTimeAmount": {
                                  "type": "number"
                                },
                                "totalAmount": {
                                  "type": "number"
                                }
                              }
                            }
                          }
                        },
                        "externalRef": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "metadata": {
                          "type": "object",
                          "additionalProperties": true
                        },
                        "pointOfNoReturnAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "customerReference": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "customerAcceptedAt": {
                          "anyOf": [
                            {
                              "type": "string",
                              "format": "date-time"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "note": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "createdBy": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "updatedBy": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time"
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time"
                        }
                      }
                    },
                    "subscriptions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "subscriptionNumber",
                          "orderId",
                          "sourceCartId",
                          "sourceCartItemId",
                          "accountId",
                          "subscriptionType",
                          "status",
                          "subStatus",
                          "contextCode",
                          "name",
                          "externalRef",
                          "metadata",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "subscriptionNumber": {
                            "type": "string"
                          },
                          "orderId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "subscriptionType": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "contextCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "services": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "serviceNumber",
                          "subscriptionId",
                          "orderId",
                          "accountId",
                          "sourceCartId",
                          "sourceCartItemId",
                          "sourceCartItemUnitId",
                          "parentServiceId",
                          "replacesServiceId",
                          "replacedByServiceId",
                          "itemType",
                          "productCode",
                          "name",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "commonAttributes",
                          "unitAttributes",
                          "status",
                          "subStatus",
                          "externalRef",
                          "metadata",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "serviceNumber": {
                            "type": "string"
                          },
                          "subscriptionId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "orderId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemUnitId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "replacesServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "replacedByServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "itemType": {
                            "type": "string"
                          },
                          "productCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "action": {
                            "type": "string"
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string"
                          },
                          "commonAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "unitAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "deliverableItems": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "deliverableNumber",
                          "orderId",
                          "accountId",
                          "sourceCartId",
                          "sourceCartItemId",
                          "sourceCartItemUnitId",
                          "relatedServiceId",
                          "productCode",
                          "name",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "commonAttributes",
                          "unitAttributes",
                          "status",
                          "subStatus",
                          "externalRef",
                          "metadata",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "deliverableNumber": {
                            "type": "string"
                          },
                          "orderId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemUnitId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "relatedServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "action": {
                            "type": "string"
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string"
                          },
                          "commonAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "unitAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "nonCommercialChange": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "changeCode",
                        "sourceSubscriptionId",
                        "affectedServiceIds"
                      ],
                      "properties": {
                        "changeCode": {
                          "type": "string"
                        },
                        "sourceSubscriptionId": {
                          "type": "string",
                          "format": "uuid"
                        },
                        "affectedServiceIds": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid"
                          }
                        }
                      }
                    },
                    "amendment": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "benchmark": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "durationMs",
                        "cartItemCount",
                        "unitCount",
                        "subscriptionCount",
                        "serviceCount",
                        "deliverableItemCount"
                      ],
                      "properties": {
                        "durationMs": {
                          "type": "number"
                        },
                        "cartItemCount": {
                          "type": "integer"
                        },
                        "unitCount": {
                          "type": "integer"
                        },
                        "subscriptionCount": {
                          "type": "integer"
                        },
                        "serviceCount": {
                          "type": "integer"
                        },
                        "deliverableItemCount": {
                          "type": "integer"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.order.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get an Order with its decomposed subscriptions, services and deliverables"
      },
      "patch": {
        "operationId": "patchOrderLifecycle",
        "summary": "Update an order",
        "tags": [
          "Orders"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "CREATED",
                      "IN_PROGRESS",
                      "PARTIALLY_COMPLETED",
                      "COMPLETED",
                      "FAILED",
                      "CANCELLED"
                    ]
                  },
                  "subStatus": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "externalRef": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "metadata": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "pointOfNoReturnAt": {
                    "anyOf": [
                      {},
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "changeSource": {
                    "type": "string",
                    "enum": [
                      "USER",
                      "EXTENSION"
                    ]
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "correlationId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "orderId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "orderNumber",
                    "revisionNumber",
                    "sourceCartId",
                    "sourceSubscriptionId",
                    "idempotencyKey",
                    "accountId",
                    "primaryContactId",
                    "orderType",
                    "status",
                    "subStatus",
                    "catalogueCode",
                    "catalogueViewCode",
                    "pricebookCode",
                    "currency",
                    "totals",
                    "externalRef",
                    "metadata",
                    "pointOfNoReturnAt",
                    "customerReference",
                    "customerAcceptedAt",
                    "note",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "orderNumber": {
                      "type": "string"
                    },
                    "revisionNumber": {
                      "type": "integer"
                    },
                    "sourceCartId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "sourceSubscriptionId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "idempotencyKey": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "accountId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "primaryContactId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "orderType": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "subStatus": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "catalogueCode": {
                      "type": "string"
                    },
                    "catalogueViewCode": {
                      "type": "string"
                    },
                    "pricebookCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "currency": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "totals": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "currency",
                        "oneTimeTotal",
                        "recurringTotalsByPeriod",
                        "meteredTariffCount",
                        "list",
                        "adjusted",
                        "sales"
                      ],
                      "properties": {
                        "currency": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "oneTimeTotal": {
                          "type": "number"
                        },
                        "recurringTotalsByPeriod": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "billingPeriod",
                              "listAmount",
                              "adjustmentAmount",
                              "salesAmount"
                            ],
                            "properties": {
                              "billingPeriod": {
                                "type": "string"
                              },
                              "listAmount": {
                                "type": "number"
                              },
                              "adjustmentAmount": {
                                "type": "number"
                              },
                              "salesAmount": {
                                "type": "number"
                              }
                            }
                          }
                        },
                        "meteredTariffCount": {
                          "type": "integer"
                        },
                        "list": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "recurringAmount",
                            "oneTimeAmount",
                            "totalAmount"
                          ],
                          "properties": {
                            "recurringAmount": {
                              "type": "number"
                            },
                            "oneTimeAmount": {
                              "type": "number"
                            },
                            "totalAmount": {
                              "type": "number"
                            }
                          }
                        },
                        "adjusted": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "recurringAmount",
                            "oneTimeAmount",
                            "totalAmount"
                          ],
                          "properties": {
                            "recurringAmount": {
                              "type": "number"
                            },
                            "oneTimeAmount": {
                              "type": "number"
                            },
                            "totalAmount": {
                              "type": "number"
                            }
                          }
                        },
                        "sales": {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "recurringAmount",
                            "oneTimeAmount",
                            "totalAmount"
                          ],
                          "properties": {
                            "recurringAmount": {
                              "type": "number"
                            },
                            "oneTimeAmount": {
                              "type": "number"
                            },
                            "totalAmount": {
                              "type": "number"
                            }
                          }
                        }
                      }
                    },
                    "externalRef": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "pointOfNoReturnAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "customerReference": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "customerAcceptedAt": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "date-time"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "note": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.order.update"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Update approved Order lifecycle fields"
      }
    },
    "/api/v1/orders/{orderId}/changes": {
      "get": {
        "operationId": "listOrderChanges",
        "summary": "List order changes",
        "tags": [
          "Orders"
        ],
        "parameters": [
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "orderId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "orderId",
                    "currentRevisionNumber",
                    "items"
                  ],
                  "properties": {
                    "orderId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "currentRevisionNumber": {
                      "type": "integer"
                    },
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "cartId",
                          "cartNumber",
                          "name",
                          "changeCode",
                          "sourceCartId",
                          "revisionNumber",
                          "appliedAt",
                          "appliedBy",
                          "summary",
                          "itemChanges",
                          "totals"
                        ],
                        "properties": {
                          "cartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "cartNumber": {
                            "type": "string"
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "changeCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "revisionNumber": {
                            "type": "integer"
                          },
                          "appliedAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "appliedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "summary": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "addedItems",
                              "modifiedItems",
                              "removedItems",
                              "addedSubscriptions",
                              "modifiedSubscriptions",
                              "cancelledSubscriptions",
                              "addedServices",
                              "modifiedServices",
                              "cancelledServices",
                              "addedDeliverables",
                              "modifiedDeliverables",
                              "cancelledDeliverables",
                              "addedUnits",
                              "modifiedUnits",
                              "removedUnits"
                            ],
                            "properties": {
                              "addedItems": {
                                "type": "integer"
                              },
                              "modifiedItems": {
                                "type": "integer"
                              },
                              "removedItems": {
                                "type": "integer"
                              },
                              "addedSubscriptions": {
                                "type": "integer"
                              },
                              "modifiedSubscriptions": {
                                "type": "integer"
                              },
                              "cancelledSubscriptions": {
                                "type": "integer"
                              },
                              "addedServices": {
                                "type": "integer"
                              },
                              "modifiedServices": {
                                "type": "integer"
                              },
                              "cancelledServices": {
                                "type": "integer"
                              },
                              "addedDeliverables": {
                                "type": "integer"
                              },
                              "modifiedDeliverables": {
                                "type": "integer"
                              },
                              "cancelledDeliverables": {
                                "type": "integer"
                              },
                              "addedUnits": {
                                "type": "integer"
                              },
                              "modifiedUnits": {
                                "type": "integer"
                              },
                              "removedUnits": {
                                "type": "integer"
                              }
                            }
                          },
                          "itemChanges": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "cartItemId",
                                "action",
                                "itemCode",
                                "before",
                                "after"
                              ],
                              "properties": {
                                "cartItemId": {
                                  "type": "string",
                                  "format": "uuid"
                                },
                                "action": {
                                  "type": "string"
                                },
                                "itemCode": {
                                  "type": "string"
                                },
                                "before": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "productCode",
                                        "name",
                                        "quantity",
                                        "quantityStrategy",
                                        "attributes"
                                      ],
                                      "properties": {
                                        "productCode": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "quantity": {
                                          "type": "number"
                                        },
                                        "quantityStrategy": {
                                          "type": "string"
                                        },
                                        "attributes": {
                                          "type": "object",
                                          "additionalProperties": true
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                },
                                "after": {
                                  "anyOf": [
                                    {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "productCode",
                                        "name",
                                        "quantity",
                                        "quantityStrategy",
                                        "attributes"
                                      ],
                                      "properties": {
                                        "productCode": {
                                          "type": "string"
                                        },
                                        "name": {
                                          "type": "string"
                                        },
                                        "quantity": {
                                          "type": "number"
                                        },
                                        "quantityStrategy": {
                                          "type": "string"
                                        },
                                        "attributes": {
                                          "type": "object",
                                          "additionalProperties": true
                                        }
                                      }
                                    },
                                    {
                                      "type": "null"
                                    }
                                  ]
                                }
                              }
                            }
                          },
                          "totals": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "before",
                              "after",
                              "delta"
                            ],
                            "properties": {
                              "before": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "currency",
                                  "oneTimeTotal",
                                  "recurringTotalsByPeriod",
                                  "meteredTariffCount",
                                  "list",
                                  "adjusted",
                                  "sales"
                                ],
                                "properties": {
                                  "currency": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "oneTimeTotal": {
                                    "type": "number"
                                  },
                                  "recurringTotalsByPeriod": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "billingPeriod",
                                        "listAmount",
                                        "adjustmentAmount",
                                        "salesAmount"
                                      ],
                                      "properties": {
                                        "billingPeriod": {
                                          "type": "string"
                                        },
                                        "listAmount": {
                                          "type": "number"
                                        },
                                        "adjustmentAmount": {
                                          "type": "number"
                                        },
                                        "salesAmount": {
                                          "type": "number"
                                        }
                                      }
                                    }
                                  },
                                  "meteredTariffCount": {
                                    "type": "integer"
                                  },
                                  "list": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "recurringAmount",
                                      "oneTimeAmount",
                                      "totalAmount"
                                    ],
                                    "properties": {
                                      "recurringAmount": {
                                        "type": "number"
                                      },
                                      "oneTimeAmount": {
                                        "type": "number"
                                      },
                                      "totalAmount": {
                                        "type": "number"
                                      }
                                    }
                                  },
                                  "adjusted": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "recurringAmount",
                                      "oneTimeAmount",
                                      "totalAmount"
                                    ],
                                    "properties": {
                                      "recurringAmount": {
                                        "type": "number"
                                      },
                                      "oneTimeAmount": {
                                        "type": "number"
                                      },
                                      "totalAmount": {
                                        "type": "number"
                                      }
                                    }
                                  },
                                  "sales": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "recurringAmount",
                                      "oneTimeAmount",
                                      "totalAmount"
                                    ],
                                    "properties": {
                                      "recurringAmount": {
                                        "type": "number"
                                      },
                                      "oneTimeAmount": {
                                        "type": "number"
                                      },
                                      "totalAmount": {
                                        "type": "number"
                                      }
                                    }
                                  }
                                }
                              },
                              "after": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "currency",
                                  "oneTimeTotal",
                                  "recurringTotalsByPeriod",
                                  "meteredTariffCount",
                                  "list",
                                  "adjusted",
                                  "sales"
                                ],
                                "properties": {
                                  "currency": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "oneTimeTotal": {
                                    "type": "number"
                                  },
                                  "recurringTotalsByPeriod": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "billingPeriod",
                                        "listAmount",
                                        "adjustmentAmount",
                                        "salesAmount"
                                      ],
                                      "properties": {
                                        "billingPeriod": {
                                          "type": "string"
                                        },
                                        "listAmount": {
                                          "type": "number"
                                        },
                                        "adjustmentAmount": {
                                          "type": "number"
                                        },
                                        "salesAmount": {
                                          "type": "number"
                                        }
                                      }
                                    }
                                  },
                                  "meteredTariffCount": {
                                    "type": "integer"
                                  },
                                  "list": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "recurringAmount",
                                      "oneTimeAmount",
                                      "totalAmount"
                                    ],
                                    "properties": {
                                      "recurringAmount": {
                                        "type": "number"
                                      },
                                      "oneTimeAmount": {
                                        "type": "number"
                                      },
                                      "totalAmount": {
                                        "type": "number"
                                      }
                                    }
                                  },
                                  "adjusted": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "recurringAmount",
                                      "oneTimeAmount",
                                      "totalAmount"
                                    ],
                                    "properties": {
                                      "recurringAmount": {
                                        "type": "number"
                                      },
                                      "oneTimeAmount": {
                                        "type": "number"
                                      },
                                      "totalAmount": {
                                        "type": "number"
                                      }
                                    }
                                  },
                                  "sales": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "recurringAmount",
                                      "oneTimeAmount",
                                      "totalAmount"
                                    ],
                                    "properties": {
                                      "recurringAmount": {
                                        "type": "number"
                                      },
                                      "oneTimeAmount": {
                                        "type": "number"
                                      },
                                      "totalAmount": {
                                        "type": "number"
                                      }
                                    }
                                  }
                                }
                              },
                              "delta": {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "currency",
                                  "oneTimeTotal",
                                  "recurringTotalsByPeriod",
                                  "meteredTariffCount",
                                  "list",
                                  "adjusted",
                                  "sales"
                                ],
                                "properties": {
                                  "currency": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "oneTimeTotal": {
                                    "type": "number"
                                  },
                                  "recurringTotalsByPeriod": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "additionalProperties": false,
                                      "required": [
                                        "billingPeriod",
                                        "listAmount",
                                        "adjustmentAmount",
                                        "salesAmount"
                                      ],
                                      "properties": {
                                        "billingPeriod": {
                                          "type": "string"
                                        },
                                        "listAmount": {
                                          "type": "number"
                                        },
                                        "adjustmentAmount": {
                                          "type": "number"
                                        },
                                        "salesAmount": {
                                          "type": "number"
                                        }
                                      }
                                    }
                                  },
                                  "meteredTariffCount": {
                                    "type": "integer"
                                  },
                                  "list": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "recurringAmount",
                                      "oneTimeAmount",
                                      "totalAmount"
                                    ],
                                    "properties": {
                                      "recurringAmount": {
                                        "type": "number"
                                      },
                                      "oneTimeAmount": {
                                        "type": "number"
                                      },
                                      "totalAmount": {
                                        "type": "number"
                                      }
                                    }
                                  },
                                  "adjusted": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "recurringAmount",
                                      "oneTimeAmount",
                                      "totalAmount"
                                    ],
                                    "properties": {
                                      "recurringAmount": {
                                        "type": "number"
                                      },
                                      "oneTimeAmount": {
                                        "type": "number"
                                      },
                                      "totalAmount": {
                                        "type": "number"
                                      }
                                    }
                                  },
                                  "sales": {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "recurringAmount",
                                      "oneTimeAmount",
                                      "totalAmount"
                                    ],
                                    "properties": {
                                      "recurringAmount": {
                                        "type": "number"
                                      },
                                      "oneTimeAmount": {
                                        "type": "number"
                                      },
                                      "totalAmount": {
                                        "type": "number"
                                      }
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.order.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "List applied Order changes"
      }
    },
    "/api/v1/subscriptions": {
      "get": {
        "operationId": "listSubscriptions",
        "summary": "List subscriptions",
        "tags": [
          "Subscriptions"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "in": "query",
            "name": "q",
            "required": false
          },
          {
            "schema": {
              "minItems": 1,
              "maxItems": 5,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 200,
                "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}=\\s*\\S.*$"
              }
            },
            "in": "query",
            "name": "attribute",
            "required": false,
            "description": "Exact match on searchable attribute values as code=value (at most 5; every entry must match, case-insensitive). Codes that are not searchable match nothing."
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "in": "query",
            "name": "subscriptionNumber",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "accountId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "PENDING_ACTIVATION",
                "PARTIALLY_ACTIVE",
                "ACTIVE",
                "SUSPENDED",
                "TERMINATED",
                "CANCELLED",
                "FAILED"
              ]
            },
            "in": "query",
            "name": "status",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "in": "query",
            "name": "subStatus",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "in": "query",
            "name": "externalRef",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "PRODUCT",
                "PACKAGE",
                "SOLUTION"
              ]
            },
            "in": "query",
            "name": "subscriptionType",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "orderId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "sourceCartId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "sourceCartItemId",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "createdFrom",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "createdTo",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "updatedFrom",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "updatedTo",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "createdAt:asc",
                "createdAt:desc",
                "updatedAt:asc",
                "updatedAt:desc",
                "status:asc",
                "status:desc",
                "subscriptionNumber:asc",
                "subscriptionNumber:desc",
                "name:asc",
                "name:desc"
              ]
            },
            "in": "query",
            "name": "sort",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "items",
                    "nextCursor"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "subscriptionNumber",
                          "orderId",
                          "sourceCartId",
                          "sourceCartItemId",
                          "accountId",
                          "subscriptionType",
                          "status",
                          "subStatus",
                          "contextCode",
                          "name",
                          "externalRef",
                          "metadata",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt",
                          "account",
                          "order"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "subscriptionNumber": {
                            "type": "string"
                          },
                          "orderId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "subscriptionType": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "contextCode": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "account": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "accountNumber",
                                  "name",
                                  "status"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "accountNumber": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "status": {
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "order": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "orderNumber",
                                  "status"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "orderNumber": {
                                    "type": "string"
                                  },
                                  "status": {
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.subscription.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "List Subscriptions with stable cursor pagination"
      }
    },
    "/api/v1/subscriptions/{subscriptionId}": {
      "get": {
        "operationId": "getSubscription",
        "summary": "Get a subscription",
        "tags": [
          "Subscriptions"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "subscriptionId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "subscriptionNumber",
                    "orderId",
                    "sourceCartId",
                    "sourceCartItemId",
                    "accountId",
                    "subscriptionType",
                    "status",
                    "subStatus",
                    "contextCode",
                    "name",
                    "externalRef",
                    "metadata",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt",
                    "services"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "subscriptionNumber": {
                      "type": "string"
                    },
                    "orderId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartItemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "accountId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "subscriptionType": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "subStatus": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "contextCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "name": {
                      "type": "string"
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "externalRef": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "services": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "serviceNumber",
                          "subscriptionId",
                          "orderId",
                          "accountId",
                          "sourceCartId",
                          "sourceCartItemId",
                          "sourceCartItemUnitId",
                          "parentServiceId",
                          "replacesServiceId",
                          "replacedByServiceId",
                          "itemType",
                          "productCode",
                          "name",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "commonAttributes",
                          "unitAttributes",
                          "status",
                          "subStatus",
                          "externalRef",
                          "metadata",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "serviceNumber": {
                            "type": "string"
                          },
                          "subscriptionId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "orderId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemUnitId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "replacesServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "replacedByServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "itemType": {
                            "type": "string"
                          },
                          "productCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "action": {
                            "type": "string"
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string"
                          },
                          "commonAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "unitAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.subscription.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get a Subscription and its Services"
      },
      "patch": {
        "operationId": "patchSubscriptionLifecycle",
        "summary": "Update a subscription",
        "tags": [
          "Subscriptions"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "PENDING_ACTIVATION",
                      "PARTIALLY_ACTIVE",
                      "ACTIVE",
                      "SUSPENDED",
                      "TERMINATED",
                      "CANCELLED",
                      "FAILED"
                    ]
                  },
                  "subStatus": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "externalRef": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "metadata": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "changeSource": {
                    "type": "string",
                    "enum": [
                      "USER",
                      "EXTENSION"
                    ]
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "correlationId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "subscriptionId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "subscriptionNumber",
                    "orderId",
                    "sourceCartId",
                    "sourceCartItemId",
                    "accountId",
                    "subscriptionType",
                    "status",
                    "subStatus",
                    "contextCode",
                    "name",
                    "externalRef",
                    "metadata",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "subscriptionNumber": {
                      "type": "string"
                    },
                    "orderId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartItemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "accountId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "subscriptionType": {
                      "type": "string"
                    },
                    "status": {
                      "type": "string"
                    },
                    "subStatus": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "contextCode": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "name": {
                      "type": "string"
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "externalRef": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.subscription.update"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Update approved Subscription lifecycle fields"
      }
    },
    "/api/v1/services": {
      "get": {
        "operationId": "listServices",
        "summary": "List services",
        "tags": [
          "Services"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "in": "query",
            "name": "q",
            "required": false
          },
          {
            "schema": {
              "minItems": 1,
              "maxItems": 5,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 200,
                "pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}=\\s*\\S.*$"
              }
            },
            "in": "query",
            "name": "attribute",
            "required": false,
            "description": "Exact match on searchable attribute values as code=value (at most 5; every entry must match, case-insensitive). Codes that are not searchable match nothing."
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "in": "query",
            "name": "serviceNumber",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "subscriptionId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "orderId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "accountId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "sourceCartItemId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "sourceCartItemUnitId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "parentServiceId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "in": "query",
            "name": "productCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "PENDING_ACTIVATION",
                "ACTIVE",
                "SUSPENDED",
                "TERMINATED",
                "CANCELLED",
                "FAILED"
              ]
            },
            "in": "query",
            "name": "status",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "in": "query",
            "name": "subStatus",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "in": "query",
            "name": "externalRef",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "createdFrom",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "createdTo",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "updatedFrom",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "updatedTo",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "createdAt:asc",
                "createdAt:desc",
                "updatedAt:asc",
                "updatedAt:desc",
                "status:asc",
                "status:desc",
                "serviceNumber:asc",
                "serviceNumber:desc",
                "name:asc",
                "name:desc"
              ]
            },
            "in": "query",
            "name": "sort",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "items",
                    "nextCursor"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "serviceNumber",
                          "subscriptionId",
                          "orderId",
                          "accountId",
                          "sourceCartId",
                          "sourceCartItemId",
                          "sourceCartItemUnitId",
                          "parentServiceId",
                          "replacesServiceId",
                          "replacedByServiceId",
                          "itemType",
                          "productCode",
                          "name",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "commonAttributes",
                          "unitAttributes",
                          "status",
                          "subStatus",
                          "externalRef",
                          "metadata",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt",
                          "account",
                          "order",
                          "subscription"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "serviceNumber": {
                            "type": "string"
                          },
                          "subscriptionId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "orderId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemUnitId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "replacesServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "replacedByServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "itemType": {
                            "type": "string"
                          },
                          "productCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "action": {
                            "type": "string"
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string"
                          },
                          "commonAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "unitAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "account": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "accountNumber",
                                  "name",
                                  "status"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "accountNumber": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "status": {
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "order": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "orderNumber",
                                  "status"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "orderNumber": {
                                    "type": "string"
                                  },
                                  "status": {
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "subscription": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "subscriptionNumber",
                                  "name",
                                  "status"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "subscriptionNumber": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "instanceLabel": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "status": {
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.service.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "List Services with stable cursor pagination"
      }
    },
    "/api/v1/services/{serviceId}": {
      "get": {
        "operationId": "getService",
        "summary": "Get a service",
        "tags": [
          "Services"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "serviceId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "serviceNumber",
                    "subscriptionId",
                    "orderId",
                    "accountId",
                    "sourceCartId",
                    "sourceCartItemId",
                    "sourceCartItemUnitId",
                    "parentServiceId",
                    "replacesServiceId",
                    "replacedByServiceId",
                    "itemType",
                    "productCode",
                    "name",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "commonAttributes",
                    "unitAttributes",
                    "status",
                    "subStatus",
                    "externalRef",
                    "metadata",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt",
                    "account",
                    "order",
                    "subscription",
                    "parentService",
                    "replacesService",
                    "replacedByService"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "serviceNumber": {
                      "type": "string"
                    },
                    "subscriptionId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "orderId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "accountId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartItemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartItemUnitId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "parentServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "replacesServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "replacedByServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string"
                    },
                    "productCode": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "action": {
                      "type": "string"
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string"
                    },
                    "commonAttributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "unitAttributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "status": {
                      "type": "string"
                    },
                    "subStatus": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "externalRef": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "account": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "accountNumber",
                            "name",
                            "status"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "accountNumber": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "name": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string"
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "order": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "orderNumber",
                            "status"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "orderNumber": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string"
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "subscription": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "subscriptionNumber",
                            "name",
                            "status"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "subscriptionNumber": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "instanceLabel": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "status": {
                              "type": "string"
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "parentService": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "serviceNumber",
                            "name",
                            "status"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "serviceNumber": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "instanceLabel": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "status": {
                              "type": "string"
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "replacesService": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "serviceNumber",
                            "name",
                            "status"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "serviceNumber": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "instanceLabel": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "status": {
                              "type": "string"
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "replacedByService": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "serviceNumber",
                            "name",
                            "status"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "serviceNumber": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "instanceLabel": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "status": {
                              "type": "string"
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.service.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get a Service"
      },
      "patch": {
        "operationId": "patchServiceLifecycle",
        "summary": "Update a service",
        "tags": [
          "Services"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "PENDING_ACTIVATION",
                      "ACTIVE",
                      "SUSPENDED",
                      "TERMINATED",
                      "CANCELLED",
                      "FAILED"
                    ]
                  },
                  "subStatus": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "externalRef": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "metadata": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "changeSource": {
                    "type": "string",
                    "enum": [
                      "USER",
                      "EXTENSION"
                    ]
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "correlationId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "serviceId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "serviceNumber",
                    "subscriptionId",
                    "orderId",
                    "accountId",
                    "sourceCartId",
                    "sourceCartItemId",
                    "sourceCartItemUnitId",
                    "parentServiceId",
                    "replacesServiceId",
                    "replacedByServiceId",
                    "itemType",
                    "productCode",
                    "name",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "commonAttributes",
                    "unitAttributes",
                    "status",
                    "subStatus",
                    "externalRef",
                    "metadata",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "serviceNumber": {
                      "type": "string"
                    },
                    "subscriptionId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "orderId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "accountId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartItemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartItemUnitId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "parentServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "replacesServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "replacedByServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "itemType": {
                      "type": "string"
                    },
                    "productCode": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "action": {
                      "type": "string"
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string"
                    },
                    "commonAttributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "unitAttributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "instanceLabel": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "naming": {
                      "type": "object",
                      "additionalProperties": false,
                      "required": [
                        "instanceNoun",
                        "instanceLabelAttributes",
                        "unitNoun",
                        "unitLabelAttributes"
                      ],
                      "properties": {
                        "instanceNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "instanceLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "unitNoun": {
                          "anyOf": [
                            {
                              "type": "object",
                              "additionalProperties": false,
                              "required": [
                                "singular",
                                "plural"
                              ],
                              "properties": {
                                "singular": {
                                  "type": "string"
                                },
                                "plural": {
                                  "type": "string"
                                }
                              }
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "unitLabelAttributes": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    },
                    "status": {
                      "type": "string"
                    },
                    "subStatus": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "externalRef": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.service.update"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Update approved Service lifecycle fields"
      }
    },
    "/api/v1/deliverables": {
      "get": {
        "operationId": "listDeliverables",
        "summary": "List deliverables",
        "tags": [
          "Deliverables"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            },
            "in": "query",
            "name": "q",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 40
            },
            "in": "query",
            "name": "deliverableNumber",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "orderId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "accountId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "sourceCartItemId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "sourceCartItemUnitId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "query",
            "name": "relatedServiceId",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "in": "query",
            "name": "productCode",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "PENDING",
                "IN_PROGRESS",
                "COMPLETED",
                "FAILED",
                "CANCELLED"
              ]
            },
            "in": "query",
            "name": "status",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "in": "query",
            "name": "subStatus",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "in": "query",
            "name": "externalRef",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "createdFrom",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "createdTo",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "updatedFrom",
            "required": false
          },
          {
            "schema": {},
            "in": "query",
            "name": "updatedTo",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "createdAt:asc",
                "createdAt:desc",
                "updatedAt:asc",
                "updatedAt:desc",
                "status:asc",
                "status:desc",
                "deliverableNumber:asc",
                "deliverableNumber:desc",
                "name:asc",
                "name:desc"
              ]
            },
            "in": "query",
            "name": "sort",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "items",
                    "nextCursor"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "deliverableNumber",
                          "orderId",
                          "accountId",
                          "sourceCartId",
                          "sourceCartItemId",
                          "sourceCartItemUnitId",
                          "relatedServiceId",
                          "productCode",
                          "name",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "commonAttributes",
                          "unitAttributes",
                          "status",
                          "subStatus",
                          "externalRef",
                          "metadata",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt",
                          "account",
                          "order",
                          "relatedService"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "deliverableNumber": {
                            "type": "string"
                          },
                          "orderId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemUnitId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "relatedServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "productCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "action": {
                            "type": "string"
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string"
                          },
                          "commonAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "unitAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "account": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "accountNumber",
                                  "name",
                                  "status"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "accountNumber": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "status": {
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "order": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "orderNumber",
                                  "status"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "orderNumber": {
                                    "type": "string"
                                  },
                                  "status": {
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "relatedService": {
                            "anyOf": [
                              {
                                "type": "object",
                                "additionalProperties": false,
                                "required": [
                                  "id",
                                  "serviceNumber",
                                  "name",
                                  "status"
                                ],
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid"
                                  },
                                  "serviceNumber": {
                                    "type": "string"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "instanceLabel": {
                                    "anyOf": [
                                      {
                                        "type": "string"
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "status": {
                                    "type": "string"
                                  }
                                }
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.deliverable.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "List Deliverables with stable cursor pagination"
      }
    },
    "/api/v1/deliverables/{deliverableItemId}": {
      "get": {
        "operationId": "getDeliverable",
        "summary": "Get a deliverable",
        "tags": [
          "Deliverables"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "deliverableItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "deliverableNumber",
                    "orderId",
                    "accountId",
                    "sourceCartId",
                    "sourceCartItemId",
                    "sourceCartItemUnitId",
                    "relatedServiceId",
                    "productCode",
                    "name",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "commonAttributes",
                    "unitAttributes",
                    "status",
                    "subStatus",
                    "externalRef",
                    "metadata",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt",
                    "account",
                    "order",
                    "relatedService"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "deliverableNumber": {
                      "type": "string"
                    },
                    "orderId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "accountId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartItemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartItemUnitId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "relatedServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productCode": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "action": {
                      "type": "string"
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string"
                    },
                    "commonAttributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "unitAttributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "status": {
                      "type": "string"
                    },
                    "subStatus": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "externalRef": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "account": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "accountNumber",
                            "name",
                            "status"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "accountNumber": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "name": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string"
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "order": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "orderNumber",
                            "status"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "orderNumber": {
                              "type": "string"
                            },
                            "status": {
                              "type": "string"
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "relatedService": {
                      "anyOf": [
                        {
                          "type": "object",
                          "additionalProperties": false,
                          "required": [
                            "id",
                            "serviceNumber",
                            "name",
                            "status"
                          ],
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid"
                            },
                            "serviceNumber": {
                              "type": "string"
                            },
                            "name": {
                              "type": "string"
                            },
                            "instanceLabel": {
                              "anyOf": [
                                {
                                  "type": "string"
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "status": {
                              "type": "string"
                            }
                          }
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.deliverable.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Get a Deliverable"
      },
      "patch": {
        "operationId": "patchDeliverableLifecycle",
        "summary": "Update a deliverable",
        "tags": [
          "Deliverables"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "status": {
                    "type": "string",
                    "enum": [
                      "PENDING",
                      "IN_PROGRESS",
                      "COMPLETED",
                      "FAILED",
                      "CANCELLED"
                    ]
                  },
                  "subStatus": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "externalRef": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "metadata": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  },
                  "changeSource": {
                    "type": "string",
                    "enum": [
                      "USER",
                      "EXTENSION"
                    ]
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "correlationId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "deliverableItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "id",
                    "deliverableNumber",
                    "orderId",
                    "accountId",
                    "sourceCartId",
                    "sourceCartItemId",
                    "sourceCartItemUnitId",
                    "relatedServiceId",
                    "productCode",
                    "name",
                    "action",
                    "quantity",
                    "quantityStrategy",
                    "commonAttributes",
                    "unitAttributes",
                    "status",
                    "subStatus",
                    "externalRef",
                    "metadata",
                    "createdBy",
                    "updatedBy",
                    "createdAt",
                    "updatedAt"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "deliverableNumber": {
                      "type": "string"
                    },
                    "orderId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "accountId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartItemId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "sourceCartItemUnitId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "relatedServiceId": {
                      "anyOf": [
                        {
                          "type": "string",
                          "format": "uuid"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "productCode": {
                      "type": "string"
                    },
                    "name": {
                      "type": "string"
                    },
                    "action": {
                      "type": "string"
                    },
                    "quantity": {
                      "type": "integer"
                    },
                    "quantityStrategy": {
                      "type": "string"
                    },
                    "commonAttributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "unitAttributes": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "status": {
                      "type": "string"
                    },
                    "subStatus": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "externalRef": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "metadata": {
                      "type": "object",
                      "additionalProperties": true
                    },
                    "createdBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "updatedBy": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.deliverable.update"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Update approved Deliverable lifecycle fields"
      }
    },
    "/api/v1/orders/{orderId}/activity": {
      "get": {
        "operationId": "listOrderActivity",
        "summary": "List order activity",
        "tags": [
          "Lifecycle Activity"
        ],
        "parameters": [
          {
            "schema": {
              "type": "boolean"
            },
            "in": "query",
            "name": "includeChildren",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "orderId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "items",
                    "nextCursor"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "entityType",
                          "entityId",
                          "orderId",
                          "subscriptionId",
                          "changeSource",
                          "changedFields",
                          "metadata",
                          "note",
                          "actorId",
                          "correlationId",
                          "createdAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "entityType": {
                            "type": "string"
                          },
                          "entityId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "orderId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "subscriptionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "changeSource": {
                            "type": "string"
                          },
                          "changedFields": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "note": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "actorId": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "correlationId": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.activity.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "List Order activity with stable cursor pagination"
      }
    },
    "/api/v1/subscriptions/{subscriptionId}/activity": {
      "get": {
        "operationId": "listSubscriptionActivity",
        "summary": "List subscription activity",
        "tags": [
          "Lifecycle Activity"
        ],
        "parameters": [
          {
            "schema": {
              "type": "boolean"
            },
            "in": "query",
            "name": "includeServices",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "subscriptionId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "items",
                    "nextCursor"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "entityType",
                          "entityId",
                          "orderId",
                          "subscriptionId",
                          "changeSource",
                          "changedFields",
                          "metadata",
                          "note",
                          "actorId",
                          "correlationId",
                          "createdAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "entityType": {
                            "type": "string"
                          },
                          "entityId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "orderId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "subscriptionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "changeSource": {
                            "type": "string"
                          },
                          "changedFields": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "note": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "actorId": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "correlationId": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.activity.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "List Subscription activity with stable cursor pagination"
      }
    },
    "/api/v1/services/{serviceId}/activity": {
      "get": {
        "operationId": "listServiceActivity",
        "summary": "List service activity",
        "tags": [
          "Lifecycle Activity"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "serviceId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "items",
                    "nextCursor"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "entityType",
                          "entityId",
                          "orderId",
                          "subscriptionId",
                          "changeSource",
                          "changedFields",
                          "metadata",
                          "note",
                          "actorId",
                          "correlationId",
                          "createdAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "entityType": {
                            "type": "string"
                          },
                          "entityId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "orderId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "subscriptionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "changeSource": {
                            "type": "string"
                          },
                          "changedFields": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "note": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "actorId": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "correlationId": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.activity.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "List Service activity with stable cursor pagination"
      }
    },
    "/api/v1/deliverables/{deliverableItemId}/activity": {
      "get": {
        "operationId": "listDeliverableActivity",
        "summary": "List deliverable activity",
        "tags": [
          "Lifecycle Activity"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500
            },
            "in": "query",
            "name": "cursor",
            "required": false
          },
          {
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            },
            "in": "query",
            "name": "limit",
            "required": false
          },
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "deliverableItemId",
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "items",
                    "nextCursor"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "entityType",
                          "entityId",
                          "orderId",
                          "subscriptionId",
                          "changeSource",
                          "changedFields",
                          "metadata",
                          "note",
                          "actorId",
                          "correlationId",
                          "createdAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "entityType": {
                            "type": "string"
                          },
                          "entityId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "orderId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "subscriptionId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "changeSource": {
                            "type": "string"
                          },
                          "changedFields": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "note": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "actorId": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "correlationId": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "nextCursor": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.activity.read"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "List Deliverable activity with stable cursor pagination"
      }
    },
    "/api/v1/services/{serviceId}/non-commercial-attributes": {
      "patch": {
        "operationId": "updateServiceNonCommercialAttributes",
        "summary": "Update service details",
        "tags": [
          "Services"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "commonAttributes": {
                    "type": "object",
                    "properties": {
                      "set": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string",
                          "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
                        },
                        "additionalProperties": {}
                      },
                      "clear": {
                        "maxItems": 250,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "unitAttributes": {
                    "type": "object",
                    "properties": {
                      "set": {
                        "type": "object",
                        "propertyNames": {
                          "type": "string",
                          "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
                        },
                        "additionalProperties": {}
                      },
                      "clear": {
                        "maxItems": 250,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
                        }
                      }
                    },
                    "additionalProperties": false
                  },
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "serviceId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "in": "header",
            "name": "idempotency-key",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "subscriptionId",
                    "changedServiceIds",
                    "services",
                    "warnings"
                  ],
                  "properties": {
                    "subscriptionId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "changedServiceIds": {
                      "type": "array",
                      "description": "Services whose values changed, including UNIT group members reached through a shared value. Empty when the request changed nothing.",
                      "items": {
                        "type": "string",
                        "format": "uuid"
                      }
                    },
                    "services": {
                      "type": "array",
                      "description": "Every targeted Service as it reads after the update.",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "serviceNumber",
                          "subscriptionId",
                          "orderId",
                          "accountId",
                          "sourceCartId",
                          "sourceCartItemId",
                          "sourceCartItemUnitId",
                          "parentServiceId",
                          "replacesServiceId",
                          "replacedByServiceId",
                          "itemType",
                          "productCode",
                          "name",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "commonAttributes",
                          "unitAttributes",
                          "status",
                          "subStatus",
                          "externalRef",
                          "metadata",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "serviceNumber": {
                            "type": "string"
                          },
                          "subscriptionId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "orderId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemUnitId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "replacesServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "replacedByServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "itemType": {
                            "type": "string"
                          },
                          "productCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "action": {
                            "type": "string"
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string"
                          },
                          "commonAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "unitAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "warnings": {
                      "type": "array",
                      "description": "Rule warnings the change caused. A change that causes a new rule error is refused with non_commercial_rule_violation.",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "ruleCode",
                          "code",
                          "severity",
                          "message",
                          "cartItemId",
                          "resultKey"
                        ],
                        "properties": {
                          "ruleCode": {
                            "type": "string"
                          },
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "cartItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "resultKey": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.service.update"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Update service details on a service without creating an order."
      }
    },
    "/api/v1/subscriptions/{subscriptionId}/non-commercial-attributes/bulk-update": {
      "post": {
        "operationId": "bulkUpdateServiceNonCommercialAttributes",
        "summary": "Update service details in bulk",
        "tags": [
          "Subscriptions"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "note": {
                    "anyOf": [
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "serviceChanges": {
                    "minItems": 1,
                    "maxItems": 1000,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "serviceIds": {
                          "minItems": 1,
                          "maxItems": 10000,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          }
                        },
                        "commonAttributes": {
                          "type": "object",
                          "properties": {
                            "set": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
                              },
                              "additionalProperties": {}
                            },
                            "clear": {
                              "maxItems": 250,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
                              }
                            }
                          },
                          "additionalProperties": false
                        },
                        "unitAttributes": {
                          "type": "object",
                          "properties": {
                            "set": {
                              "type": "object",
                              "propertyNames": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
                              },
                              "additionalProperties": {}
                            },
                            "clear": {
                              "maxItems": 250,
                              "type": "array",
                              "items": {
                                "type": "string",
                                "pattern": "^[A-Za-z][A-Za-z0-9_-]{0,63}$"
                              }
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "serviceIds"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "serviceChanges"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "in": "path",
            "name": "subscriptionId",
            "required": true
          },
          {
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 128
            },
            "in": "header",
            "name": "idempotency-key",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "subscriptionId",
                    "changedServiceIds",
                    "services",
                    "warnings"
                  ],
                  "properties": {
                    "subscriptionId": {
                      "type": "string",
                      "format": "uuid"
                    },
                    "changedServiceIds": {
                      "type": "array",
                      "description": "Services whose values changed, including UNIT group members reached through a shared value. Empty when the request changed nothing.",
                      "items": {
                        "type": "string",
                        "format": "uuid"
                      }
                    },
                    "services": {
                      "type": "array",
                      "description": "Every targeted Service as it reads after the update.",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "serviceNumber",
                          "subscriptionId",
                          "orderId",
                          "accountId",
                          "sourceCartId",
                          "sourceCartItemId",
                          "sourceCartItemUnitId",
                          "parentServiceId",
                          "replacesServiceId",
                          "replacedByServiceId",
                          "itemType",
                          "productCode",
                          "name",
                          "action",
                          "quantity",
                          "quantityStrategy",
                          "commonAttributes",
                          "unitAttributes",
                          "status",
                          "subStatus",
                          "externalRef",
                          "metadata",
                          "createdBy",
                          "updatedBy",
                          "createdAt",
                          "updatedAt"
                        ],
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "serviceNumber": {
                            "type": "string"
                          },
                          "subscriptionId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "orderId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "accountId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemId": {
                            "type": "string",
                            "format": "uuid"
                          },
                          "sourceCartItemUnitId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "parentServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "replacesServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "replacedByServiceId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "itemType": {
                            "type": "string"
                          },
                          "productCode": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "action": {
                            "type": "string"
                          },
                          "quantity": {
                            "type": "integer"
                          },
                          "quantityStrategy": {
                            "type": "string"
                          },
                          "commonAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "unitAttributes": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "instanceLabel": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "naming": {
                            "type": "object",
                            "additionalProperties": false,
                            "required": [
                              "instanceNoun",
                              "instanceLabelAttributes",
                              "unitNoun",
                              "unitLabelAttributes"
                            ],
                            "properties": {
                              "instanceNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "instanceLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              },
                              "unitNoun": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "additionalProperties": false,
                                    "required": [
                                      "singular",
                                      "plural"
                                    ],
                                    "properties": {
                                      "singular": {
                                        "type": "string"
                                      },
                                      "plural": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  {
                                    "type": "null"
                                  }
                                ]
                              },
                              "unitLabelAttributes": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                }
                              }
                            }
                          },
                          "status": {
                            "type": "string"
                          },
                          "subStatus": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "externalRef": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "createdBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "updatedBy": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time"
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time"
                          }
                        }
                      }
                    },
                    "warnings": {
                      "type": "array",
                      "description": "Rule warnings the change caused. A change that causes a new rule error is refused with non_commercial_rule_violation.",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "ruleCode",
                          "code",
                          "severity",
                          "message",
                          "cartItemId",
                          "resultKey"
                        ],
                        "properties": {
                          "ruleCode": {
                            "type": "string"
                          },
                          "code": {
                            "type": "string"
                          },
                          "severity": {
                            "type": "string",
                            "enum": [
                              "ERROR",
                              "WARNING"
                            ]
                          },
                          "message": {
                            "type": "string"
                          },
                          "cartItemId": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uuid"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "resultKey": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "409": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "422": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "500": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "502": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          },
          "504": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "error",
                    "message"
                  ],
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "details": {}
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2ClientCredentials": [
              "lifecycle.service.update"
            ]
          }
        ],
        "x-nambikk-api-products": [
          "ORDER_SERVICE_LIFECYCLE_V1"
        ],
        "x-nambikk-stability": "BETA",
        "x-nambikk-audience": "TENANT_APPLICATION",
        "description": "Update service details on many services of a subscription without creating an order."
      }
    }
  },
  "components": {
    "securitySchemes": {
      "oauth2ClientCredentials": {
        "type": "oauth2",
        "description": "Tenant-bound application credentials. Obtain the token endpoint and client credentials for the target environment from the tenant administrator.",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://auth.example.com/oauth2/token",
            "scopes": {
              "lifecycle.activity.read": "Read lifecycle activity history",
              "lifecycle.deliverable.read": "Read Deliverables",
              "lifecycle.deliverable.update": "Update controlled Deliverable lifecycle fields",
              "lifecycle.order.read": "Read Orders and their change history",
              "lifecycle.order.update": "Update controlled Order lifecycle fields",
              "lifecycle.service.read": "Read Services",
              "lifecycle.service.update": "Update controlled Service lifecycle fields",
              "lifecycle.subscription.read": "Read Subscriptions",
              "lifecycle.subscription.update": "Update controlled Subscription lifecycle fields"
            }
          }
        }
      }
    },
    "schemas": {
      "ApiError": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "error",
          "message"
        ],
        "properties": {
          "error": {
            "type": "string",
            "description": "Stable machine-readable error code"
          },
          "message": {
            "type": "string",
            "description": "Human-readable explanation"
          },
          "details": {
            "type": "object",
            "additionalProperties": true,
            "description": "Optional structured domain details"
          }
        }
      }
    },
    "responses": {
      "BadRequest": {
        "description": "The request is invalid or violates a domain rule.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "The access token is missing, invalid or expired.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "Forbidden": {
        "description": "The application is not allowed to perform this operation.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      },
      "InternalError": {
        "description": "An unexpected platform error occurred.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ApiError"
            }
          }
        }
      }
    }
  }
}
