{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "CUSTOMER_STATUS",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "id",
      "name"
    ],
    "properties": {
      "id": {
        "title": "Numer identyfikacyjny statusu klienta",
        "type": "string",
        "examples": [
          "123456"
        ]
      },
      "name": {
        "title": "Nazwa statusu",
        "type": "string",
        "examples": [
          "Aktywny"
        ]
      },
      "sfaStatus": {
        "title": "status w SFA",
        "type": "string",
        "enum": [
          "POTENTIAL",
          "NEW",
          "ACTIVE",
          "INACTIVE",
          "BLOCKED"
        ],
        "examples": [
          "ACTIVE"
        ]
      }
    }
  }
}