Untitled

 avatar
unknown
plain_text
5 months ago
4.6 kB
17
Indexable
asyncapi: 3.0.0
info:
  title: AKTYWNEFORMULARZE_OPENSHIFT_FORMULARZE-BE-ASYNCAPI
  version: 1.0.0
  description: Zdarzenia informujące o aktywnych formularzach
channels:
  PDC000000039240.insurance.FCT.active-forms-retention:
    address: PDC000000039240.insurance.FCT.active-forms-retention
    description: Publikacja zdarzeń dotyczących aktywnych formularzy na EVENTHUB KAFKA
    messages:
      subscribe.message:
        $ref: '#/components/messages/subscribe.message'
    bindings:
      kafka:
        topic: PDC000000039240.insurance.FCT.active-forms-retention
operations:
  subscribe:
    action: send
    channel:
      $ref: '#/channels/PDC000000039240.insurance.FCT.active-forms-retention'    
    messages:
      - $ref: '#/channels/PDC000000039240.insurance.FCT.active-forms-retention/messages/subscribe.message'
components:
  messages:
    subscribe.message:
      name: PDC000000039240.insurance.FCT.active-forms-retention
      contentType: application/json      
      payload:
        $ref: '#/components/schemas/active_forms'
  schemas:
    active_forms:
      schemaFormat: application/vnd.apache.avro;version=1.9.0
      schema:
            {
              "type": "record",
              "name": "active_forms",
              "fields": [
                  {
                    "name": "campaignPrefix",
                    "type": "string",
                    "example" : "retencja_ubezpieczen"
                  },
                  {
                      "name": "mode",
                      "type": "string",
                      "example" : "I"
                  },
                  {
                      "name": "messageId",
                      "type": "string",
                      "example" : "ZN_2024_2024-11-20T10:51:00.328Z"
                  },
                  {
                      "name": "timestamp",
                      "type": "timestamp",
                      "example" : "2024-11-20T10:51:00.328Z"
                  },
                  {
                    "name": "inputParameters",
                    "type": {
                      "type": "record",
                      "name": "inputParameters",
                      "fields": [
                        {
                          "name": "cif",
                          "type": "string",
                          "example" : "1010839226"
                        },
                        {
                          "name": "imieINazwiskoKlienta",
                          "type": "string",
                          "example" : "Jan Kowalski"
                        },
                        {
                          "name": "telefon",
                          "type": "string",
                          "example" : "48111111111"
                        },
                        {
                          "name": "segment",
                          "type": "string",
                          "example" : "Klient indywidualny"
                        },
                        {
                          "name": "id_af",
                          "type": "string",
                          "example" : "62eb8d91-f0e6-4fc0-9358-e5895f052b2d"
                        },
                        {
                          "name": "VALID_FROM",
                          "type": "string",
                          "example" : "2024-11-20"
                        },
                        {
                          "name": "VALID_TO",
                          "type": "string",
                          "example" : "2024-11-21"
                        },
                        {
                          "name": "rodzaj_ubezp",
                          "type": "string",
                          "example" : "Indywidualne"
                        },
                        {
                          "name": "rodzaj_zamkniecia",
                          "type": "string",
                          "example" : "odstąpienie od umowy ubezpieczenia - indywidualne, odstąpienie od umowy ubezpieczenia - indywidualne"
                        },
                        {
                          "name": "powod_rezygnacji",
                          "type": "string",
                          "example" : "brak środków na opłatę, rezygnacja z usług banku"
                        },
                        {
                          "name": "uwagi",
                          "type": "string",
                          "example" : "test"
                        }
                      ]
                    }
                  }
              ]
           }
Editor is loading...
Leave a Comment