{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/infocert/main/json-schema/infocert-soapenv-envelope-schema.json",
  "title": "soapenv:Envelope",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/infocert-top-create-dossier-openapi.yml#/components/schemas/soapenv:Envelope",
  "type": "object",
  "properties": {
    "soapenv:Body": {
      "type": "object",
      "properties": {
        "ns3:createDossier": {
          "type": "object",
          "properties": {
            "dossier": {
              "type": "object",
              "properties": {
                "business-id": {
                  "type": "string",
                  "format": "string"
                },
                "signers": {
                  "type": "object",
                  "properties": {
                    "signer": {
                      "type": "object",
                      "properties": {
                        "person": {
                          "type": "object",
                          "properties": {
                            "legal-id": {
                              "type": "string",
                              "format": "string"
                            },
                            "personal-data": {
                              "type": "object",
                              "properties": {
                                "fiscal-code": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "first-name": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "last-name": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "birth-date": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "sex": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "citizenship": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "birth-place": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "birth-province": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "birth-country": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "full-first-name": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "full-last-name": {
                                  "type": "string",
                                  "format": "string"
                                }
                              }
                            },
                            "contact-details": {
                              "type": "string",
                              "format": "string"
                            },
                            "address": {
                              "type": "object",
                              "properties": {
                                "street": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "number": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "zip": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "city": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "province": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "country": {
                                  "type": "string",
                                  "format": "string"
                                }
                              }
                            },
                            "identity-document-info": {
                              "type": "object",
                              "properties": {
                                "issuer": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "issue-place": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "issue-province": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "issue-date": {
                                  "type": "string",
                                  "format": "string"
                                },
                                "expiration-date": {
                                  "type": "string",
                                  "format": "string"
                                }
                              }
                            }
                          }
                        },
                        "default-redirect-url": {
                          "type": "string",
                          "format": "string"
                        },
                        "failure-redirect-url": {
                          "type": "string",
                          "format": "string"
                        },
                        "identity-assertion": {
                          "type": "object",
                          "properties": {
                            "mime-type": {
                              "type": "string",
                              "format": "string"
                            },
                            "data": {
                              "type": "string",
                              "format": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "documents": {
                  "type": "object",
                  "properties": {
                    "document": {
                      "type": "object",
                      "properties": {
                        "policy": {
                          "type": "string",
                          "format": "string"
                        },
                        "content": {
                          "type": "object",
                          "properties": {
                            "mime-type": {
                              "type": "string",
                              "format": "string"
                            },
                            "data": {
                              "type": "string",
                              "format": "string"
                            }
                          }
                        },
                        "signature-policy": {
                          "type": "object",
                          "properties": {
                            "signature-fields": {
                              "type": "object",
                              "properties": {
                                "signature-field": {
                                  "type": "object",
                                  "properties": {
                                    "reason": {
                                      "type": "string",
                                      "format": "string"
                                    },
                                    "location": {
                                      "type": "string",
                                      "format": "string"
                                    }
                                  }
                                }
                              }
                            }
                          }
                        },
                        "archiving-policy": {
                          "type": "string",
                          "format": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}