{
  "id": "KS_INS",
  "$schema": "http://json-schema.org/schema#",
  "title": "Inscription Professionnelle",
  "type": "object",
  "properties": {
    "isAdministration": {
      "title": "Je suis une administration",
      "type": "string",
      "editType": "switch",
      "REVERSE": true,
      "formGroup": "Société",
      "column": 1,
      "width" : 100,
      "position" : 1
    },
    "numTVA": {
      "title": "Numéro de TVA de la société",
      "type": "string",
      "alias": "TVA=tva",
      "formGroup": "Société",
      "column": 1,
      "width" : 100,
      "position" : 2
    },
    "societe": {
      "title": "Nom de la société",
      "type": "string",
      "editType": "string",
      "mandatory": true,
      "alias": "TVA=name",
      "column": 1,
      "formGroup": "Société",
      "width" : 100,
      "position" : 4
    },
    "adresse1": {
      "title": "Adresse 1",
      "type": "string",
      "editType" : "textarea",
      "alias": "TVA=infAddress",
      "column": 1,
      "formGroup": "Société",
      "width" : 100,
      "position" : 5
    },
    "adresse2": {
      "title": "Adresse 2 (adresse complémentaire)",
      "type": "string",
      "editType" : "textarea",
      "column": 1,
      "formGroup": "Société",
      "width" : 100,
      "position" : 6
    },
    "codePostal": {
      "title": "Code postal",
      "type": "string",
      "alias": "TVA=infCodePostal",
      "column": 1,
      "formGroup": "Société",
      "width" : 100,
      "position" : 7
    },
    "localite": {
      "title": "Localité",
      "type": "string",
      "alias": "TVA=infCity",
      "column": 1,
      "formGroup": "Société",
      "width" : 100,
      "position" : 8
    },
    "numRegistreCommerce": {
      "title": "N° de registre du commerce",
      "type": "string",
      "editType": "string",
      "mandatory": true,
      "column": 1,
      "formGroup": "Société",
      "width" : 100,
      "position" : 9
    },
    "nomRepresentant": {
      "title": "Personne de contact",
      "type": "string",
      "editType": "string",
      "mandatory": true,
      "column": 1,
      "formGroup": "Contact",
      "width" : 100,
      "position" : 10
    },
    "email": {
      "title": "Email",
      "type": "string",
      "editType": "mail",
      "mandatory": true,
      "column": 1,
      "formGroup": "Contact",
      "width" : 100,
      "position" : 11
    },
    "telephone": {
      "title": "Téléphone",
      "type": "string",
      "editType": "string",
      "mandatory": true,
      "icon": "phone",
      "column": 1,
      "formGroup": "Contact",
      "width" : 70,
      "position" : 13
    },
    "gsm": {
      "title": "Gsm",
      "type": "string",
      "editType": "string",
      "mandatory": true,
      "icon": "mobile",
      "column": 1,
      "formGroup": "Contact",
      "width" : 70,
      "position" : 15
    },
    "isFactureMail": {
      "title": "Accord pour recevoir les factures par e-mail",
      "type": "string",
      "editType": "switch",
      "REVERSE": true,
      "formGroup": "Contact",
      "column": 1,
      "width" : 100,
      "position" : 16
    },
    "factureEmail": {
      "title": "Adresse e-mail pour factures",
      "type": "string",
      "editType": "mail",
      "column": 1,
      "formGroup": "Contact",
      "width" : 100,
      "position" : 17
    },
    "prefixTelephone" : {
      "title" : "Prefixe",
      "type" : "string",
      "editType" : "combo",
      "src" : "ws",
      "pictoItem": "img",
      "ws" : "../assets/mockApi/liste-pays.json",
      "column": 1,
      "formGroup": "Contact",
      "width" : 30,
      "position" : 12
    },
    "prefixGsm" : {
      "title" : "Prefixe",
      "type" : "string",
      "editType" : "combo",
      "src" : "ws",
      "pictoItem": "img",
      "ws" : "../assets/mockApi/liste-pays.json",
      "column": 1,
      "formGroup": "Contact",
      "width" : 30,
      "position" : 14
    }
  }
}
