{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Generated from product.json with shasum 099bd6d519825b65013d46773aee58352b4105d8",
    "type": "object",
    "required": [
        "accountProduct",
        "cardProduct",
        "investmentProduct",
        "financialProduct",
        "other"
    ],
    "properties": {
        "accountProduct": {
            "type": "object",
            "required": [
                "amount",
                "accounts"
            ],
            "properties": {
                "amount": {
                    "type": "object",
                    "required": [
                        "value",
                        "currency"
                    ],
                    "properties": {
                        "value": {
                            "type": "string"
                        },
                        "currency": {
                            "type": "string"
                        }
                    }
                },
                "accounts": {
                    "type": "array",
                    "minItems": 1,
                    "_uniqueItems": true,
                    "items": {
                        "type": "object",
                        "required": [
                            "alias",
                            "description",
                            "availability",
                            "owner",
                            "product",
                            "productType",
                            "entityCode",
                            "contractCode",
                            "bic",
                            "number",
                            "iban",
                            "amount",
                            "numOwners",
                            "joint",
                            "mobileWarning"
                        ],
                        "properties": {
                            "alias": {
                                "type": "string"
                            },
                            "description": {
                                "type": "string"
                            },
                            "availability": {
                                "type": "string"
                            },
                            "owner": {
                                "type": "string"
                            },
                            "product": {
                                "type": "string"
                            },
                            "productType": {
                                "type": "string"
                            },
                            "entityCode": {
                                "type": "string"
                            },
                            "contractCode": {
                                "type": "string"
                            },
                            "bic": {
                                "type": "string"
                            },
                            "number": {
                                "type": "string"
                            },
                            "iban": {
                                "type": "string"
                            },
                            "amount": {
                                "type": "object",
                                "required": [
                                    "value",
                                    "currency"
                                ],
                                "properties": {
                                    "value": {
                                        "type": "string"
                                    },
                                    "currency": {
                                        "type": "string"
                                    }
                                }
                            },
                            "numOwners": {
                                "type": "integer"
                            },
                            "isOwner": {
                                "type": "boolean"
                            },
                            "isSBPManaged": {
                                "type": "boolean"
                            },
                            "isIberSecurities": {
                                "type": "boolean"
                            },
                            "joint": {
                                "type": "string"
                            },
                            "mobileWarning": {
                                "type": "string"
                            }
                        }
                    }
                }
            }
        },
        "cardProduct": {
            "type": "object",
            "required": [
                "amount",
                "cards"
            ],
            "properties": {
                "amount": {
                    "type": "object",
                    "required": [
                        "value",
                        "currency"
                    ],
                    "properties": {
                        "value": {
                            "type": "string"
                        },
                        "currency": {
                            "type": "string"
                        }
                    }
                },
                "cards": {
                    "type": "array",
                    "minItems": 1,
                    "_uniqueItems": true,
                    "items": {
                        "type": "object",
                        "required": [
                            "bsprotect",
                            "description",
                            "isMarsans",
                            "name",
                            "productType",
                            "reference",
                            "type",
                            "shortDescription",
                            "number",
                            "realNumber",
                            "numcard",
                            "isOwner",
                            "activatedLE",
                            "codret",
                            "contractCCC",
                            "operativeCode",
                            "cvv2",
                            "dni",
                            "entity",
                            "mail",
                            "mailChecked",
                            "phoneNumber",
                            "phoneNumberChecked",
                            "alias",
                            "expirationDate",
                            "balance",
                            "availableBalance",
                            "dms",
                            "indAlert",
                            "selectableIndex",
                            "cardType",
                            "status",
                            "availableOperations",
                            "isInternational",
                            "isInternet",
                            "isSticker",
                            "nfcCard",
                            "stickerPan"
                        ],
                        "properties": {
                            "bsprotect": {
                                "type": "string"
                            },
                            "description": {
                                "type": "string"
                            },
                            "isMarsans": {
                                "type": "string"
                            },
                            "name": {
                                "type": "string"
                            },
                            "productType": {
                                "type": "string"
                            },
                            "reference": {
                                "type": "string"
                            },
                            "type": {
                                "type": "string"
                            },
                            "shortDescription": {
                                "type": "string"
                            },
                            "number": {
                                "type": "string"
                            },
                            "realNumber": {
                                "type": "string"
                            },
                            "numcard": {
                                "type": "string"
                            },
                            "isOwner": {
                                "type": "boolean"
                            },
                            "activatedLE": {
                                "type": "string"
                            },
                            "codret": {
                                "type": "string"
                            },
                            "contractCCC": {
                                "type": "string"
                            },
                            "operativeCode": {
                                "type": "string"
                            },
                            "cvv2": {
                                "type": "string"
                            },
                            "dni": {
                                "type": "string"
                            },
                            "entity": {
                                "type": "string"
                            },
                            "mail": {
                                "type": "string"
                            },
                            "mailChecked": {
                                "type": "string"
                            },
                            "phoneNumber": {
                                "type": "string"
                            },
                            "phoneNumberChecked": {
                                "type": "string"
                            },
                            "alias": {
                                "type": "string"
                            },
                            "expirationDate": {
                                "type": "string"
                            },
                            "balance": {
                                "type": "object",
                                "required": [
                                    "value",
                                    "currency"
                                ],
                                "properties": {
                                    "value": {
                                        "type": "string"
                                    },
                                    "currency": {
                                        "type": "string"
                                    }
                                }
                            },
                            "availableBalance": {
                                "type": "object",
                                "required": [
                                    "value",
                                    "currency"
                                ],
                                "properties": {
                                    "value": {
                                        "type": "string"
                                    },
                                    "currency": {
                                        "type": "string"
                                    }
                                }
                            },
                            "dms": {
                                "type": "string"
                            },
                            "indAlert": {
                                "type": "string"
                            },
                            "selectableIndex": {
                                "type": "string"
                            },
                            "canActivate": {
                                "type": "boolean"
                            },
                            "cardType": {
                                "type": "object",
                                "required": [
                                    "background",
                                    "type",
                                    "subtype",
                                    "textColor",
                                    "iconColor",
                                    "logo"
                                ],
                                "properties": {
                                    "background": {
                                        "type": "string"
                                    },
                                    "type": {
                                        "type": "string"
                                    },
                                    "subtype": {
                                        "type": "string"
                                    },
                                    "textColor": {
                                        "type": "string"
                                    },
                                    "iconColor": {
                                        "type": "string"
                                    },
                                    "logo": {
                                        "type": "string"
                                    }
                                }
                            },
                            "status": {
                                "type": "string"
                            },
                            "availableOperations": {
                                "type": "array",
                                "minItems": 0,
                                "_uniqueItems": true,
                                "items": {}
                            },
                            "isInternational": {
                                "type": "boolean"
                            },
                            "isInternet": {
                                "type": "boolean"
                            },
                            "isSticker": {
                                "type": "boolean"
                            },
                            "stickerCard": {
                                "type": "boolean"
                            },
                            "nfcCard": {
                                "type": "object",
                                "required": [
                                    "isNfc",
                                    "isActive",
                                    "expirationDate"
                                ],
                                "properties": {
                                    "isNfc": {
                                        "type": "boolean"
                                    },
                                    "isActive": {
                                        "type": "boolean"
                                    },
                                    "expirationDate": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stickerPan": {
                                "type": "string"
                            },
                            "deteriorationLock": {
                                "type": "boolean"
                            },
                            "isPrepaidAnonymous": {
                                "type": "boolean"
                            }
                        }
                    }
                }
            }
        },
        "investmentProduct": {
            "type": "object",
            "required": [
                "amount",
                "securities",
                "pensionPlan",
                "insuredPlanForecast",
                "investmentFund",
                "depositProduct",
                "unknowns"
            ],
            "properties": {
                "amount": {
                    "type": "object",
                    "required": [
                        "value",
                        "currency"
                    ],
                    "properties": {
                        "value": {
                            "type": "string"
                        },
                        "currency": {
                            "type": "string"
                        }
                    }
                },
                "securities": {
                    "type": "object",
                    "required": [
                        "amount",
                        "accounts",
                        "type"
                    ],
                    "properties": {
                        "amount": {
                            "type": "object",
                            "required": [
                                "value",
                                "currency"
                            ],
                            "properties": {
                                "value": {
                                    "type": "string"
                                },
                                "currency": {
                                    "type": "string"
                                }
                            }
                        },
                        "accounts": {
                            "type": "array",
                            "minItems": 0,
                            "_uniqueItems": true,
                            "items": {}
                        },
                        "type": {
                            "type": "string"
                        }
                    }
                },
                "pensionPlan": {
                    "type": "object",
                    "required": [
                        "amount",
                        "accounts",
                        "type"
                    ],
                    "properties": {
                        "amount": {
                            "type": "object",
                            "required": [
                                "value",
                                "currency"
                            ],
                            "properties": {
                                "value": {
                                    "type": "string"
                                },
                                "currency": {
                                    "type": "string"
                                }
                            }
                        },
                        "accounts": {
                            "type": "array",
                            "minItems": 0,
                            "_uniqueItems": true,
                            "items": {}
                        },
                        "type": {
                            "type": "string"
                        }
                    }
                },
                "insuredPlanForecast": {
                    "type": "object",
                    "required": [
                        "amount",
                        "policies"
                    ],
                    "properties": {
                        "amount": {
                            "type": "object",
                            "required": [
                                "value",
                                "currency"
                            ],
                            "properties": {
                                "value": {
                                    "type": "string"
                                },
                                "currency": {
                                    "type": "string"
                                }
                            }
                        },
                        "policies": {
                            "type": "array",
                            "minItems": 0,
                            "_uniqueItems": true,
                            "items": {}
                        }
                    }
                },
                "investmentFund": {
                    "type": "object",
                    "required": [
                        "amount",
                        "accounts",
                        "type"
                    ],
                    "properties": {
                        "amount": {
                            "type": "object",
                            "required": [
                                "value",
                                "currency"
                            ],
                            "properties": {
                                "value": {
                                    "type": "string"
                                },
                                "currency": {
                                    "type": "string"
                                }
                            }
                        },
                        "accounts": {
                            "type": "array",
                            "minItems": 0,
                            "_uniqueItems": true,
                            "items": {}
                        },
                        "type": {
                            "type": "string"
                        }
                    }
                },
                "depositProduct": {
                    "type": "object",
                    "required": [
                        "amount",
                        "accounts"
                    ],
                    "properties": {
                        "amount": {
                            "type": "object",
                            "required": [
                                "value",
                                "currency"
                            ],
                            "properties": {
                                "value": {
                                    "type": "string"
                                },
                                "currency": {
                                    "type": "string"
                                }
                            }
                        },
                        "accounts": {
                            "type": "array",
                            "minItems": 0,
                            "_uniqueItems": true,
                            "items": {}
                        }
                    }
                },
                "unknowns": {
                    "type": "array",
                    "minItems": 0,
                    "_uniqueItems": true,
                    "items": {}
                }
            }
        },
        "financialProduct": {
            "type": "object",
            "required": [
                "amount",
                "loan",
                "credit",
                "expansionLineGP",
                "unknowns"
            ],
            "properties": {
                "amount": {
                    "type": "object",
                    "required": [
                        "value",
                        "currency"
                    ],
                    "properties": {
                        "value": {
                            "type": "string"
                        },
                        "currency": {
                            "type": "string"
                        }
                    }
                },
                "loan": {
                    "type": "object",
                    "required": [
                        "amount",
                        "accounts"
                    ],
                    "properties": {
                        "amount": {
                            "type": "object",
                            "required": [
                                "value",
                                "currency"
                            ],
                            "properties": {
                                "value": {
                                    "type": "string"
                                },
                                "currency": {
                                    "type": "string"
                                }
                            }
                        },
                        "accounts": {
                            "type": "array",
                            "minItems": 0,
                            "_uniqueItems": true,
                            "items": {}
                        }
                    }
                },
                "credit": {
                    "type": "object",
                    "required": [
                        "amount",
                        "accounts"
                    ],
                    "properties": {
                        "amount": {
                            "type": "object",
                            "required": [
                                "value",
                                "currency"
                            ],
                            "properties": {
                                "value": {
                                    "type": "string"
                                },
                                "currency": {
                                    "type": "string"
                                }
                            }
                        },
                        "accounts": {
                            "type": "array",
                            "minItems": 0,
                            "_uniqueItems": true,
                            "items": {}
                        }
                    }
                },
                "expansionLineGP": {
                    "type": "object",
                    "required": [
                        "amount",
                        "expansionLines"
                    ],
                    "properties": {
                        "amount": {
                            "type": "object",
                            "required": [
                                "value",
                                "currency"
                            ],
                            "properties": {
                                "value": {
                                    "type": "string"
                                },
                                "currency": {
                                    "type": "string"
                                }
                            }
                        },
                        "expansionLines": {
                            "type": "array",
                            "minItems": 1,
                            "_uniqueItems": true,
                            "items": {
                                "type": "object",
                                "required": [
                                    "availableBalance",
                                    "claimFee",
                                    "contractCCC",
                                    "disposeTerms",
                                    "description",
                                    "expansionAccount",
                                    "interest",
                                    "minDisposeAmount",
                                    "numCard",
                                    "number",
                                    "openingFee",
                                    "owner",
                                    "reference",
                                    "creditLimit",
                                    "studyFee",
                                    "tae"
                                ],
                                "properties": {
                                    "availableBalance": {
                                        "type": "object",
                                        "required": [
                                            "value",
                                            "currency"
                                        ],
                                        "properties": {
                                            "value": {
                                                "type": "string"
                                            },
                                            "currency": {
                                                "type": "string"
                                            }
                                        }
                                    },
                                    "claimFee": {
                                        "type": "object",
                                        "required": [
                                            "value",
                                            "currency"
                                        ],
                                        "properties": {
                                            "value": {
                                                "type": "string"
                                            },
                                            "currency": {
                                                "type": "string"
                                            }
                                        }
                                    },
                                    "contractCCC": {
                                        "type": "string"
                                    },
                                    "disposeTerms": {
                                        "type": "array",
                                        "minItems": 0,
                                        "_uniqueItems": true,
                                        "items": {}
                                    },
                                    "description": {
                                        "type": "string"
                                    },
                                    "expansionAccount": {
                                        "type": "object",
                                        "required": [
                                            "alias",
                                            "description",
                                            "availability",
                                            "owner",
                                            "product",
                                            "productType",
                                            "entityCode",
                                            "contractCode",
                                            "bic",
                                            "number",
                                            "iban",
                                            "amount",
                                            "numOwners",
                                            "isOwner",
                                            "isSBPManaged",
                                            "isIberSecurities",
                                            "joint",
                                            "mobileWarning"
                                        ],
                                        "properties": {
                                            "alias": {
                                                "type": "string"
                                            },
                                            "description": {
                                                "type": "string"
                                            },
                                            "availability": {
                                                "type": "string"
                                            },
                                            "owner": {
                                                "type": "string"
                                            },
                                            "product": {
                                                "type": "string"
                                            },
                                            "productType": {
                                                "type": "string"
                                            },
                                            "entityCode": {
                                                "type": "string"
                                            },
                                            "contractCode": {
                                                "type": "string"
                                            },
                                            "bic": {
                                                "type": "string"
                                            },
                                            "number": {
                                                "type": "string"
                                            },
                                            "iban": {
                                                "type": "string"
                                            },
                                            "amount": {
                                                "type": "object",
                                                "required": [
                                                    "value",
                                                    "currency"
                                                ],
                                                "properties": {
                                                    "value": {
                                                        "type": "string"
                                                    },
                                                    "currency": {
                                                        "type": "string"
                                                    }
                                                }
                                            },
                                            "numOwners": {
                                                "type": "integer"
                                            },
                                            "isOwner": {
                                                "type": "boolean"
                                            },
                                            "isSBPManaged": {
                                                "type": "boolean"
                                            },
                                            "isIberSecurities": {
                                                "type": "boolean"
                                            },
                                            "joint": {
                                                "type": "string"
                                            },
                                            "mobileWarning": {
                                                "type": "string"
                                            }
                                        }
                                    },
                                    "interest": {
                                        "type": "string"
                                    },
                                    "minDisposeAmount": {
                                        "type": "object",
                                        "required": [
                                            "value",
                                            "currency"
                                        ],
                                        "properties": {
                                            "value": {
                                                "type": "string"
                                            },
                                            "currency": {
                                                "type": "string"
                                            }
                                        }
                                    },
                                    "numCard": {
                                        "type": "string"
                                    },
                                    "number": {
                                        "type": "string"
                                    },
                                    "openingFee": {
                                        "type": "object",
                                        "required": [
                                            "value",
                                            "currency"
                                        ],
                                        "properties": {
                                            "value": {
                                                "type": "string"
                                            },
                                            "currency": {
                                                "type": "string"
                                            }
                                        }
                                    },
                                    "owner": {
                                        "type": "string"
                                    },
                                    "reference": {
                                        "type": "string"
                                    },
                                    "creditLimit": {
                                        "type": "object",
                                        "required": [
                                            "value",
                                            "currency"
                                        ],
                                        "properties": {
                                            "value": {
                                                "type": "string"
                                            },
                                            "currency": {
                                                "type": "string"
                                            }
                                        }
                                    },
                                    "studyFee": {
                                        "type": "object",
                                        "required": [
                                            "value",
                                            "currency"
                                        ],
                                        "properties": {
                                            "value": {
                                                "type": "string"
                                            },
                                            "currency": {
                                                "type": "string"
                                            }
                                        }
                                    },
                                    "tae": {
                                        "type": "string"
                                    },
                                    "active": {
                                        "type": "boolean"
                                    }
                                }
                            }
                        }
                    }
                },
                "unknowns": {
                    "type": "array",
                    "minItems": 0,
                    "_uniqueItems": true,
                    "items": {}
                }
            }
        },
        "other": {
            "type": "object",
            "required": [
                "amount",
                "unknowns"
            ],
            "properties": {
                "amount": {
                    "type": "object",
                    "required": [
                        "value",
                        "currency"
                    ],
                    "properties": {
                        "value": {
                            "type": "string"
                        },
                        "currency": {
                            "type": "string"
                        }
                    }
                },
                "unknowns": {
                    "type": "array",
                    "minItems": 0,
                    "_uniqueItems": true,
                    "items": {}
                }
            }
        }
    }
}