{
  "id": "KS_RES",
  "$schema": "http://json-schema.org/schema#",
  "title": "Réservations",
  "type": "object",
  "properties": {
    "idRes": {
      "title": "Code de réservation",
      "type": "string",
      "showOnForm": false
    },
    "slot": {
      "title": "Code ilot",
      "type": "object",
      "showOnForm": false,
      "showOnTable": false,
      "properties": {
        "id": {
          "title": "Code ilot",
          "type": "string"
        },
        "dateSlot": {
          "title": "Date ilot",
          "type": "string",
          "showOnTable": true,
          "format": "date"
        },
        "timeSlot": {
          "title": "Heure ilot",
          "type": "string"
        }
      }
    },
    "dateReserv": {
      "title": "Date",
      "type": "string",
      "showOnForm": false,
      "existOnTable": false
    },
    "timeReserv": {
      "title": "Heure",
      "type": "string",
      "showOnForm": false,
      "existOnTable": false
    },
    "typeControle": {
      "title": "Rendez-vous",
      "type": "string",
      "displayId": false,
      "placeholder": "Veuillez faire une sélection",
      "editType": "combo",
      "src": "ws",
      "ws": "type-controle",
      "wsKey": "id",
      "wsLib": "label",
      "column": 1,
      "width": 34,
      "position": 1,
      "mandatory": true,
      "step": 1,
      "SEARCHINPUT": false,
      "existOnTable": false
    },
    "typeControleLabel": {
      "title": "Rendez-vous",
      "type": "string",
      "showOnForm": false,
      "position": 3
    },
    "numPlaque": {
      "title": "N° immatriculation",
      "type": "string",
      "editType": "immat",
      "column": 1,
      "position": 31,
      "width": 100,
      "mandatory": true,
      "step": 3
    },
    "numChassis": {
      "title": "4 derniers chiffres du n° de châssis",
      "type": "string",
      "column": 2,
      "position": 32,
      "width": 100,
      "mandatory": true,
      "step": 3,
      "tooltip": {
        "content": "./assets/img/hk-460x215.jpg",
        "type": "img"
      },
      "labelOnTop": true
    },
    "marque": {
      "title": "Marque",
      "type": "string",
      "editType": "string",
      "column": 2,
      "position": 33,
      "width": 100,
      "step": 3
    },
    "typeVehicule": {
      "title": "Type de véhicule*",
      "type": "ico",
      "editType": "radio",
      "showTitle": true,
      "column": 1,
      "src": "ws",
      "ws": "type-vehicule",
      "step": 1,
      "mandatory": true,
      "position": 2,
      "showOnQuickForm": false,
      "isClosable": false,
      "existOnTable": false
    },
    "typeVehiculeLabel": {
      "title": "Type de véhicule",
      "type": "string",
      "showOnForm": false,
      "position": 4
    },
    "mail": {
      "title": "Email",
      "type": "string",
      "editType": "mail",
      "column": 2,
      "position": 34,
      "width": 100,
      "mandatory": true,
      "step": 3,
      "showOnForm": true
    },
    "gsm": {
      "title": "Gsm",
      "type": "string",
      "editType": "string",
      "column": 2,
      "position": 36,
      "width": 70,
      "step": 3,
      "icon": "mobile",
      "showOnForm": true
    },
    "sendMail": {
      "title": "sendMail",
      "type": "boolean",
      "showOnForm": false,
      "existOnTable": false
    },
    "sendGsm": {
      "title": "sendGsm",
      "type": "boolean",
      "showOnForm": false,
      "existOnTable": false
    },
    "typeClient": {
      "title": "type de client",
      "type": "string",
      "showOnForm": false,
      "existOnTable": false
    },
    "idClient": {
      "title": "idCLient",
      "type": "string",
      "showOnForm": false,
      "existOnTable": false
    },
    "slotDate": {
      "title": "Date réservation",
      "type": "string",
      "editType": "date",
      "showOnForm": false,
      "position": 1,
      "column": 1,
      "defaultSortOrder": "asc",
      "defaultSort": true,
      "format": "date"
    },
    "slotTime": {
      "title": "Heure réservation",
      "type": "string",
      "showOnForm": false,
      "position": 2,
      "column": 1
    },
    "modeRes": {
      "title": "Mode réservation",
      "type": "string"
    },
    "prefixGsm" : {
      "title" : "Prefixe",
      "type" : "string",
      "editType" : "combo",
      "src" : "ws",
      "pictoItem": "img",
      "ws" : "../assets/mockApi/liste-pays.json",
      "column": 2,
      "width" : 30,
      "step" : 3,
      "position": 35
    }
  }
}
