Validations history

Validation #172

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/archive/datetime' of type number did not match the following type: string in schema e80b3a32-835e-5ff4-a223-a1efad40eafa
  • The property '#/archive/measurements/0/datetime' of type number did not match the following type: string in schema e80b3a32-835e-5ff4-a223-a1efad40eafa#
  • The property '#/archive/measurements/1/datetime' of type number did not match the following type: string in schema e80b3a32-835e-5ff4-a223-a1efad40eafa#
  • The property '#/archive/measurements/2/datetime' of type number did not match the following type: string in schema e80b3a32-835e-5ff4-a223-a1efad40eafa#
  • The property '#/archive/measurements/3/datetime' of type number did not match the following type: string in schema e80b3a32-835e-5ff4-a223-a1efad40eafa#
  • The property '#/archive/measurements/4/datetime' of type number did not match the following type: string in schema e80b3a32-835e-5ff4-a223-a1efad40eafa#
  • The property '#/archive/measurements/5/datetime' of type number did not match the following type: string in schema e80b3a32-835e-5ff4-a223-a1efad40eafa#
  • The property '#/archive/measurements/6/datetime' of type number did not match the following type: string in schema e80b3a32-835e-5ff4-a223-a1efad40eafa#
  • The property '#/archive/measurements/7/datetime' of type number did not match the following type: string in schema e80b3a32-835e-5ff4-a223-a1efad40eafa#
  • The property '#/archive/measurements/8/datetime' of type number did not match the following type: string in schema e80b3a32-835e-5ff4-a223-a1efad40eafa#
  • The property '#/archive/measurements/9/datetime' of type number did not match the following type: string in schema e80b3a32-835e-5ff4-a223-a1efad40eafa#
  • The property '#/archive' did not contain a required property of 'campaign_id' in schema e80b3a32-835e-5ff4-a223-a1efad40eafa
  • The property '#/archive' did not contain a required property of 'survey' in schema e80b3a32-835e-5ff4-a223-a1efad40eafa

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultMeasurement_307": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "datetime": {
          "format": "datetime",
          "type": "string"
        },
        "humidity": {
          "type": "number"
        },
        "illuminance": {
          "type": "number"
        },
        "noise_level": {
          "type": "number"
        },
        "temperature": {
          "type": "number"
        }
      },
      "required": [
        "datetime",
        "humidity",
        "illuminance",
        "noise_level",
        "temperature"
      ],
      "title": "Measurement - DefaultMeasurement",
      "type": "object"
    },
    "DefaultPosition_305": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "title": "Position - DefaultPosition",
      "type": "object"
    },
    "DefaultSurvey_306": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "comfort_rating": {
          "type": "number"
        },
        "comment": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "humidity_comfort_rating": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "illuminance_comfort_rating": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "noise_level_comfort_rating": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "place": {
          "type": "string"
        },
        "temperature_comfort_rating": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "comfort_rating",
        "comment",
        "humidity_comfort_rating",
        "illuminance_comfort_rating",
        "noise_level_comfort_rating",
        "place",
        "temperature_comfort_rating"
      ],
      "title": "Survey - DefaultSurvey",
      "type": "object"
    }
  },
  "properties": {
    "archive": {
      "additionalProperties": false,
      "properties": {
        "campaign_id": {
          "oneOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "datetime": {
          "format": "datetime",
          "type": "string"
        },
        "measurements": {
          "items": {
            "$ref": "#/definitions/DefaultMeasurement_307",
            "type": "object"
          },
          "type": "array"
        },
        "phone_model": {
          "type": "string"
        },
        "position": {
          "$ref": "#/definitions/DefaultPosition_305",
          "type": "object"
        },
        "sensortag_id": {
          "type": "string"
        },
        "survey": {
          "oneOf": [
            {
              "$ref": "#/definitions/DefaultSurvey_306",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "campaign_id",
        "datetime",
        "measurements",
        "phone_model",
        "position",
        "sensortag_id",
        "survey",
        "version"
      ],
      "type": "object"
    }
  },
  "required": [
    "archive"
  ],
  "title": "Archive - PostArchive",
  "type": "object"
}

JSON instance

{
  "archive": {
    "datetime": 543171554.30213,
    "measurements": [
      {
        "datetime": 543171554.30213,
        "humidity": 0,
        "illuminance": 317.9391784667969,
        "noise_level": 45.30642700195312,
        "temperature": 24.75
      },
      {
        "datetime": 543171555.321974,
        "humidity": 0,
        "illuminance": 309.1599731445312,
        "noise_level": 53.59652709960938,
        "temperature": 24.75
      },
      {
        "datetime": 543171556.330758,
        "humidity": 0,
        "illuminance": 278.76318359375,
        "noise_level": 46.47046279907227,
        "temperature": 24.75
      },
      {
        "datetime": 543171557.331029,
        "humidity": 0,
        "illuminance": 402.1439819335938,
        "noise_level": 47.59565734863281,
        "temperature": 24.75
      },
      {
        "datetime": 543171558.321168,
        "humidity": 0,
        "illuminance": 399.5007934570312,
        "noise_level": 51.86905670166016,
        "temperature": 24.75
      },
      {
        "datetime": 543171559.311755,
        "humidity": 0,
        "illuminance": 398.7455749511719,
        "noise_level": 48.29404449462891,
        "temperature": 24.75
      },
      {
        "datetime": 543171560.330332,
        "humidity": 0,
        "illuminance": 398.3679809570312,
        "noise_level": 47.2849235534668,
        "temperature": 24.75
      },
      {
        "datetime": 543171561.320812,
        "humidity": 0,
        "illuminance": 389.6831970214844,
        "noise_level": 43.37034225463867,
        "temperature": 24.75
      },
      {
        "datetime": 543171562.341033,
        "humidity": 0,
        "illuminance": 50.3151969909668,
        "noise_level": 45.37005615234375,
        "temperature": 24.75
      },
      {
        "datetime": 543171563.331117,
        "humidity": 0,
        "illuminance": 150.6623992919922,
        "noise_level": 50.11061859130859,
        "temperature": 24.75
      }
    ],
    "phone_model": "iPhone",
    "position": {
      "latitude": 48.85823306148517,
      "longitude": 2.356172048174894
    },
    "sensortag_id": "c4:be:84:70:37:89",
    "version": 3
  }
}

Validation #171

Success

The input JSON schema validates the input JSON instance (JSON Schema Draft 4).

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultMeasurement_307": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "datetime": {
          "format": "datetime",
          "type": "string"
        },
        "humidity": {
          "type": "number"
        },
        "illuminance": {
          "type": "number"
        },
        "noise_level": {
          "type": "number"
        },
        "temperature": {
          "type": "number"
        }
      },
      "required": [
        "datetime",
        "humidity",
        "illuminance",
        "noise_level",
        "temperature"
      ],
      "title": "Measurement - DefaultMeasurement",
      "type": "object"
    },
    "DefaultPosition_305": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "title": "Position - DefaultPosition",
      "type": "object"
    },
    "DefaultSurvey_306": {
      "additionalProperties": false,
      "description": "Automatically generated",
      "properties": {
        "comfort_rating": {
          "type": "number"
        },
        "comment": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "humidity_comfort_rating": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "illuminance_comfort_rating": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "noise_level_comfort_rating": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "place": {
          "type": "string"
        },
        "temperature_comfort_rating": {
          "oneOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "comfort_rating",
        "comment",
        "humidity_comfort_rating",
        "illuminance_comfort_rating",
        "noise_level_comfort_rating",
        "place",
        "temperature_comfort_rating"
      ],
      "title": "Survey - DefaultSurvey",
      "type": "object"
    }
  },
  "properties": {
    "archive": {
      "additionalProperties": false,
      "properties": {
        "campaign_id": {
          "oneOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ]
        },
        "datetime": {
          "format": "datetime",
          "type": "string"
        },
        "measurements": {
          "items": {
            "$ref": "#/definitions/DefaultMeasurement_307",
            "type": "object"
          },
          "type": "array"
        },
        "phone_model": {
          "type": "string"
        },
        "position": {
          "$ref": "#/definitions/DefaultPosition_305",
          "type": "object"
        },
        "sensortag_id": {
          "type": "string"
        },
        "survey": {
          "oneOf": [
            {
              "$ref": "#/definitions/DefaultSurvey_306",
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "version": {
          "type": "integer"
        }
      },
      "required": [
        "campaign_id",
        "datetime",
        "measurements",
        "phone_model",
        "position",
        "sensortag_id",
        "survey",
        "version"
      ],
      "type": "object"
    }
  },
  "required": [
    "archive"
  ],
  "title": "Archive - PostArchive",
  "type": "object"
}

JSON instance

{
  "archive": {
    "campaign_id": null,
    "datetime": "1992-07-20T22:59:15.217Z",
    "measurements": [
      {
        "datetime": "1994-06-12T23:26:36.550Z",
        "humidity": -15193646.70972623,
        "illuminance": 63658426.26625627,
        "noise_level": 1811709.3925753087,
        "temperature": 16047925.020285487
      },
      {
        "datetime": "2012-06-25T21:51:43.782Z",
        "humidity": -44429875.86413958,
        "illuminance": -34209176.32239418,
        "noise_level": 17777936.36593628,
        "temperature": -44051248.68693746
      },
      {
        "datetime": "1978-02-21T06:56:37.910Z",
        "humidity": 10018320.530740872,
        "illuminance": 49241222.833658874,
        "noise_level": 74931001.7067062,
        "temperature": 9581165.804290801
      },
      {
        "datetime": "2002-04-29T12:36:10.245Z",
        "humidity": 95857319.62994558,
        "illuminance": 30305523.531689987,
        "noise_level": -96279355.3451716,
        "temperature": 9914826.712394118
      }
    ],
    "phone_model": "fugiat do pariatur adipisicing",
    "position": {
      "latitude": -56104093.26478418,
      "longitude": -19722647.57098782
    },
    "sensortag_id": "ut anim non",
    "survey": {
      "comfort_rating": -24407726.829159945,
      "comment": null,
      "humidity_comfort_rating": 70536276.8349863,
      "illuminance_comfort_rating": 48482907.53404036,
      "noise_level_comfort_rating": 82322525.48613411,
      "place": "nisi dolore adipisicing Ut Excepteur",
      "temperature_comfort_rating": null
    },
    "version": -32036947
  }
}

Validation #170

Success

The input JSON schema validates the input JSON instance (JSON Schema Draft 4).

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCampaigns_409": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "Label": {
          "type": "string"
        },
        "Values": {
          "items": {
            "$ref": "#/definitions/DefaultValues_408",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "Label",
        "Values"
      ],
      "title": "Campaigns - DefaultCampaigns",
      "type": "object"
    },
    "DefaultValues_408": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "Date": {
          "type": "string"
        },
        "VegetationIndex": {
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "Date",
        "VegetationIndex"
      ],
      "title": "Values - DefaultValues",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "Campaigns": {
      "items": {
        "$ref": "#/definitions/DefaultCampaigns_409",
        "type": "object"
      },
      "type": "array"
    },
    "CustomerNumber": {
      "minimum": 0,
      "type": "integer"
    },
    "IdSoilOccupation": {
      "minimum": 0,
      "type": "integer"
    },
    "IdUserSfl": {
      "type": "string"
    }
  },
  "required": [
    "Campaigns",
    "CustomerNumber",
    "IdSoilOccupation",
    "IdUserSfl"
  ],
  "title": "Curves - DefaultCurves",
  "type": "object"
}

JSON instance

{
  "Campaigns": [
    {
      "Label": "string",
      "Values": [
        {
          "Date": "2018-03-19T14:00:58.526Z",
          "VegetationIndex": 0
        }
      ]
    }
  ],
  "CustomerNumber": 0,
  "IdSoilOccupation": 0,
  "IdUserSfl": "string"
}

Validation #169

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/Campaigns/0/Values/0' contains additional properties ["Date", "VegetationIndex"] outside of the schema when none are allowed in schema 9744a004-bc1b-5e70-83c8-e3a3bfed5244#
  • The property '#/Campaigns/0/Values/0' did not contain a required property of 'date' in schema 9744a004-bc1b-5e70-83c8-e3a3bfed5244#
  • The property '#/Campaigns/0/Values/0' did not contain a required property of 'vegetationIndex' in schema 9744a004-bc1b-5e70-83c8-e3a3bfed5244#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCampaigns_409": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "Label": {
          "type": "string"
        },
        "Values": {
          "items": {
            "$ref": "#/definitions/DefaultValues_408",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "Label",
        "Values"
      ],
      "title": "Campaigns - DefaultCampaigns",
      "type": "object"
    },
    "DefaultValues_408": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "date": {
          "type": "string"
        },
        "vegetationIndex": {
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "date",
        "vegetationIndex"
      ],
      "title": "Values - DefaultValues",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "Campaigns": {
      "items": {
        "$ref": "#/definitions/DefaultCampaigns_409",
        "type": "object"
      },
      "type": "array"
    },
    "CustomerNumber": {
      "minimum": 0,
      "type": "integer"
    },
    "IdSoilOccupation": {
      "minimum": 0,
      "type": "integer"
    },
    "IdUserSfl": {
      "type": "string"
    }
  },
  "required": [
    "Campaigns",
    "CustomerNumber",
    "IdSoilOccupation",
    "IdUserSfl"
  ],
  "title": "Curves - DefaultCurves",
  "type": "object"
}

JSON instance

{
  "Campaigns": [
    {
      "Label": "string",
      "Values": [
        {
          "Date": "2018-03-19T14:00:58.526Z",
          "VegetationIndex": 0
        }
      ]
    }
  ],
  "CustomerNumber": 0,
  "IdSoilOccupation": 0,
  "IdUserSfl": "string"
}

Validation #168

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/' contains additional properties ["IdUserSfl", "CustomerNumber", "IdSoilOccupation", "Campaigns"] outside of the schema when none are allowed in schema 6c840cc6-628d-58cf-8f6e-a042824ed59e
  • The property '#/' did not contain a required property of 'campaigns' in schema 6c840cc6-628d-58cf-8f6e-a042824ed59e
  • The property '#/' did not contain a required property of 'customerNumber' in schema 6c840cc6-628d-58cf-8f6e-a042824ed59e
  • The property '#/' did not contain a required property of 'idSoilOccupation' in schema 6c840cc6-628d-58cf-8f6e-a042824ed59e
  • The property '#/' did not contain a required property of 'idUserSfl' in schema 6c840cc6-628d-58cf-8f6e-a042824ed59e

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultCampaigns_409": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "label": {
          "type": "string"
        },
        "values": {
          "items": {
            "$ref": "#/definitions/DefaultValues_408",
            "type": "object"
          },
          "type": "array"
        }
      },
      "required": [
        "label",
        "values"
      ],
      "title": "Campaigns - DefaultCampaigns",
      "type": "object"
    },
    "DefaultValues_408": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "date": {
          "type": "string"
        },
        "vegetationIndex": {
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "date",
        "vegetationIndex"
      ],
      "title": "Values - DefaultValues",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "campaigns": {
      "items": {
        "$ref": "#/definitions/DefaultCampaigns_409",
        "type": "object"
      },
      "type": "array"
    },
    "customerNumber": {
      "minimum": 0,
      "type": "integer"
    },
    "idSoilOccupation": {
      "minimum": 0,
      "type": "integer"
    },
    "idUserSfl": {
      "type": "string"
    }
  },
  "required": [
    "campaigns",
    "customerNumber",
    "idSoilOccupation",
    "idUserSfl"
  ],
  "title": "Curves - DefaultCurves",
  "type": "object"
}

JSON instance

{
  "Campaigns": [
    {
      "Label": "string",
      "Values": [
        {
          "Date": "2018-03-19T14:00:58.526Z",
          "VegetationIndex": 0
        }
      ]
    }
  ],
  "CustomerNumber": 0,
  "IdSoilOccupation": 0,
  "IdUserSfl": "string"
}

Validation #167

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/Fields/0/AvgNDVI' of type string did not match the following type: number in schema 580cc45b-cb69-550b-b2c1-2018618b4184#
  • The property '#/Fields/0/Vigour' of type string did not match the following type: integer in schema 580cc45b-cb69-550b-b2c1-2018618b4184#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultField_399": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "AvgNDVI": {
          "type": "number"
        },
        "Crop": {
          "type": "string"
        },
        "CropIcon": {
          "type": "string"
        },
        "FieldGeography": {
          "type": "string"
        },
        "FieldName": {
          "type": "string"
        },
        "IdSoilOccupation": {
          "minimum": 0,
          "type": "integer"
        },
        "PreviousCrop": {
          "type": "string"
        },
        "StartDate": {
          "type": "string"
        },
        "Trend": {
          "type": "string"
        },
        "Variety": {
          "type": "string"
        },
        "Vigour": {
          "minimum": 0,
          "type": "integer"
        },
        "VigourLabel": {
          "type": "string"
        },
        "VigourRefDate": {
          "type": "string"
        }
      },
      "required": [
        "AvgNDVI",
        "Crop",
        "CropIcon",
        "FieldGeography",
        "FieldName",
        "IdSoilOccupation",
        "PreviousCrop",
        "StartDate",
        "Trend",
        "Variety",
        "Vigour",
        "VigourLabel",
        "VigourRefDate"
      ],
      "title": "Field - DefaultField",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "CustomerNumber": {
      "minimum": 0,
      "type": "integer"
    },
    "Fields": {
      "items": {
        "$ref": "#/definitions/DefaultField_399",
        "type": "object"
      },
      "type": "array"
    },
    "IdUserSfl": {
      "type": "string"
    }
  },
  "required": [
    "CustomerNumber",
    "Fields",
    "IdUserSfl"
  ],
  "title": "ListField - DefaultListField",
  "type": "object"
}

JSON instance

{
  "CustomerNumber": 0,
  "Fields": [
    {
      "AvgNDVI": "string",
      "Crop": "string",
      "CropIcon": "string",
      "FieldGeography": "string",
      "FieldName": "string",
      "IdSoilOccupation": 0,
      "PreviousCrop": "string",
      "StartDate": "string",
      "Trend": "string",
      "Variety": "string",
      "Vigour": "string",
      "VigourLabel": "string",
      "VigourRefDate": "string"
    }
  ],
  "IdUserSfl": "string"
}

Validation #166

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/' contains additional properties ["IdUserSfl", "CustomerNumber", "Fields"] outside of the schema when none are allowed in schema 25802e96-765a-53e5-a9a4-d922712241de
  • The property '#/' did not contain a required property of 'customerNumber' in schema 25802e96-765a-53e5-a9a4-d922712241de
  • The property '#/' did not contain a required property of 'fields' in schema 25802e96-765a-53e5-a9a4-d922712241de
  • The property '#/' did not contain a required property of 'idUserSfl' in schema 25802e96-765a-53e5-a9a4-d922712241de

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultField_399": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "avgNDVI": {
          "type": "number"
        },
        "crop": {
          "type": "string"
        },
        "cropIcon": {
          "type": "string"
        },
        "fieldGeography": {
          "type": "string"
        },
        "fieldName": {
          "type": "string"
        },
        "idSoilOccupation": {
          "minimum": 0,
          "type": "integer"
        },
        "previousCrop": {
          "type": "string"
        },
        "startDate": {
          "type": "string"
        },
        "trend": {
          "type": "string"
        },
        "variety": {
          "type": "string"
        },
        "vigour": {
          "minimum": 0,
          "type": "integer"
        },
        "vigourLabel": {
          "type": "string"
        },
        "vigourRefDate": {
          "type": "string"
        }
      },
      "required": [
        "avgNDVI",
        "crop",
        "cropIcon",
        "fieldGeography",
        "fieldName",
        "idSoilOccupation",
        "previousCrop",
        "startDate",
        "trend",
        "variety",
        "vigour",
        "vigourLabel",
        "vigourRefDate"
      ],
      "title": "Field - DefaultField",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "customerNumber": {
      "minimum": 0,
      "type": "integer"
    },
    "fields": {
      "items": {
        "$ref": "#/definitions/DefaultField_399",
        "type": "object"
      },
      "type": "array"
    },
    "idUserSfl": {
      "type": "string"
    }
  },
  "required": [
    "customerNumber",
    "fields",
    "idUserSfl"
  ],
  "title": "ListField - DefaultListField",
  "type": "object"
}

JSON instance

{
  "CustomerNumber": 0,
  "Fields": [
    {
      "AvgNDVI": "string",
      "Crop": "string",
      "CropIcon": "string",
      "FieldGeography": "string",
      "FieldName": "string",
      "IdSoilOccupation": 0,
      "PreviousCrop": "string",
      "StartDate": "string",
      "Trend": "string",
      "Variety": "string",
      "Vigour": "string",
      "VigourLabel": "string",
      "VigourRefDate": "string"
    }
  ],
  "IdUserSfl": "string"
}

Validation #165

Success

The input JSON schema validates the input JSON instance (JSON Schema Draft 4).

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultDynamicScale_405": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "Date": {
          "type": "string"
        },
        "Envelop": {
          "type": "string"
        },
        "ImageUrl": {
          "type": "string"
        },
        "Legend": {
          "items": {
            "$ref": "#/definitions/DefaultLegend_406",
            "type": "object"
          },
          "type": "array"
        },
        "MaxNDVI": {
          "minimum": 0,
          "type": "number"
        },
        "MinNDVI": {
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "Date",
        "Envelop",
        "ImageUrl",
        "Legend",
        "MaxNDVI",
        "MinNDVI"
      ],
      "title": "DynamicScale - DefaultDynamicScale",
      "type": "object"
    },
    "DefaultFixedScale_404": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "AvgNDVI": {
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "Date": {
          "type": "string"
        },
        "Envelop": {
          "type": "string"
        },
        "ImageUrl": {
          "type": "string"
        }
      },
      "required": [
        "AvgNDVI",
        "Date",
        "Envelop",
        "ImageUrl"
      ],
      "title": "FixedScale - DefaultFixedScale",
      "type": "object"
    },
    "DefaultLegend_406": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "Color": {
          "type": "string"
        },
        "MinValue": {
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "Color",
        "MinValue"
      ],
      "title": "Legend - DefaultLegend",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "CustomerNumber": {
      "minimum": 0,
      "type": "integer"
    },
    "DynamicScale": {
      "$ref": "#/definitions/DefaultDynamicScale_405",
      "type": "object"
    },
    "FixedScale": {
      "items": {
        "$ref": "#/definitions/DefaultFixedScale_404",
        "type": "object"
      },
      "type": "array"
    },
    "IdSoilOccupation": {
      "minimum": 0,
      "type": "integer"
    },
    "IdUserSfl": {
      "type": "string"
    }
  },
  "required": [
    "CustomerNumber",
    "DynamicScale",
    "FixedScale",
    "IdSoilOccupation",
    "IdUserSfl"
  ],
  "title": "Images - DefaultImages",
  "type": "object"
}

JSON instance

{
  "CustomerNumber": 0,
  "DynamicScale": {
    "Date": "2018-03-19T13:56:28.528Z",
    "Envelop": "string",
    "ImageUrl": "string",
    "Legend": [
      {
        "Color": "string",
        "MinValue": 0
      }
    ],
    "MaxNDVI": 0,
    "MinNDVI": 0
  },
  "FixedScale": [
    {
      "AvgNDVI": 0,
      "Date": "2018-03-19T13:56:28.528Z",
      "Envelop": "string",
      "ImageUrl": "string"
    }
  ],
  "IdSoilOccupation": 0,
  "IdUserSfl": "string"
}

Validation #164

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/DynamicScale/Legend' of type object did not match the following type: array in schema ed886fe8-5fff-5946-a2ae-6d1093873ec0#

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DefaultDynamicScale_405": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "Date": {
          "type": "string"
        },
        "Envelop": {
          "type": "string"
        },
        "ImageUrl": {
          "type": "string"
        },
        "Legend": {
          "items": {
            "$ref": "#/definitions/DefaultLegend_406",
            "type": "object"
          },
          "type": "array"
        },
        "MaxNDVI": {
          "minimum": 0,
          "type": "number"
        },
        "MinNDVI": {
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "Date",
        "Envelop",
        "ImageUrl",
        "Legend",
        "MaxNDVI",
        "MinNDVI"
      ],
      "title": "DynamicScale - DefaultDynamicScale",
      "type": "object"
    },
    "DefaultFixedScale_404": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "AvgNDVI": {
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        },
        "Date": {
          "type": "string"
        },
        "Envelop": {
          "type": "string"
        },
        "ImageUrl": {
          "type": "string"
        }
      },
      "required": [
        "AvgNDVI",
        "Date",
        "Envelop",
        "ImageUrl"
      ],
      "title": "FixedScale - DefaultFixedScale",
      "type": "object"
    },
    "DefaultLegend_406": {
      "additionalProperties": false,
      "description": "Automatically generated (please edit me)",
      "properties": {
        "Color": {
          "type": "string"
        },
        "MinValue": {
          "maximum": 1,
          "minimum": 0,
          "type": "number"
        }
      },
      "required": [
        "Color",
        "MinValue"
      ],
      "title": "Legend - DefaultLegend",
      "type": "object"
    }
  },
  "description": "Automatically generated (please edit me)",
  "properties": {
    "CustomerNumber": {
      "minimum": 0,
      "type": "integer"
    },
    "DynamicScale": {
      "$ref": "#/definitions/DefaultDynamicScale_405",
      "type": "object"
    },
    "FixedScale": {
      "items": {
        "$ref": "#/definitions/DefaultFixedScale_404",
        "type": "object"
      },
      "type": "array"
    },
    "IdSoilOccupation": {
      "minimum": 0,
      "type": "integer"
    },
    "IdUserSfl": {
      "type": "string"
    }
  },
  "required": [
    "CustomerNumber",
    "DynamicScale",
    "FixedScale",
    "IdSoilOccupation",
    "IdUserSfl"
  ],
  "title": "Images - DefaultImages",
  "type": "object"
}

JSON instance

{
  "CustomerNumber": 0,
  "DynamicScale": {
    "Date": "2018-03-19T10:36:01.322Z",
    "Envelop": "string",
    "ImageUrl": "string",
    "Legend": {
      "Color": "string",
      "MinValue": 0
    },
    "MaxNDVI": 0,
    "MinNDVI": 0
  },
  "FixedScale": [
    {
      "AvgNDVI": 0,
      "Date": "2018-03-19T10:36:01.322Z",
      "Envelop": "string",
      "ImageUrl": "string"
    }
  ],
  "IdSoilOccupation": 0,
  "IdUserSfl": "string"
}

Validation #163

Failure

The input JSON schema does not validate the input JSON instance (JSON Schema Draft 4). Errors:

  • The property '#/' contains additional properties ["IdUserSfl", "CustomerNumber", "IdSoilOccupation", "FixedScale", "DynamicScale"] outside of the schema when none are allowed in schema 45afd40b-fed8-531a-9cb3-06c8fcf58d55
  • The property '#/' did not contain a required property of 'test' in schema 45afd40b-fed8-531a-9cb3-06c8fcf58d55

JSON Schema

{
  "additionalProperties": false,
  "description": "Automatically generated (please edit me)",
  "properties": {
    "test": {
      "type": "string"
    }
  },
  "required": [
    "test"
  ],
  "title": "TestResource - DefaultTestResource",
  "type": "object"
}

JSON instance

{
  "CustomerNumber": 0,
  "DynamicScale": {
    "Date": "2018-03-19T10:36:01.322Z",
    "Envelop": "string",
    "ImageUrl": "string",
    "Legend": {
      "Color": "string",
      "MinValue": 0
    },
    "MaxNDVI": 0,
    "MinNDVI": 0
  },
  "FixedScale": [
    {
      "AvgNDVI": 0,
      "Date": "2018-03-19T10:36:01.322Z",
      "Envelop": "string",
      "ImageUrl": "string"
    }
  ],
  "IdSoilOccupation": 0,
  "IdUserSfl": "string"
}