Validations history

Validation #333

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DealResponse_1000": {
      "additionalProperties": false,
      "properties": {
        "amount": {
          "pattern": "(^[+-]?(?:0|[1-9]\\d*)(?:\\.(?:\\d*[1-9]|0))?)$",
          "type": "string"
        },
        "comment": {
          "type": "string"
        },
        "contact_id": {
          "minimum": 0,
          "type": "integer"
        },
        "currency": {
          "enum": [
            "EUR",
            "USD",
            "INR"
          ],
          "type": "string"
        },
        "customer_id": {
          "minimum": 0,
          "type": "integer"
        },
        "id": {
          "minimum": 0,
          "type": "integer"
        },
        "number_of_days": {
          "oneOf": [
            {
              "description": "Number",
              "pattern": "(^[+-]?(?:0|[1-9]\\d*)(?:\\.(?:\\d*[1-9]|0))?)$",
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "reference": {
          "type": "string"
        },
        "supervisor_id": {
          "minimum": 0,
          "type": "integer"
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "amount",
        "comment",
        "contact_id",
        "currency",
        "customer_id",
        "id",
        "number_of_days",
        "reference",
        "supervisor_id",
        "title"
      ],
      "title": "Deal - DealResponse",
      "type": "object"
    }
  },
  "properties": {
    "deals": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "amount": {
            "description": "Number",
            "pattern": "(^[+-]?(?:0|[1-9]\\d*)(?:\\.(?:\\d*[1-9]|0))?)$",
            "type": "string"
          },
          "deal": {
            "$ref": "#/definitions/DealResponse_1000",
            "type": "object"
          },
          "id": {
            "minimum": 1,
            "type": "integer"
          },
          "number_of_days": {
            "oneOf": [
              {
                "pattern": "(^[+-]?(?:0|[1-9]\\d*)(?:\\.(?:\\d*[1-9]|0))?)$",
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "amount",
          "deal",
          "id",
          "number_of_days"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "deals"
  ],
  "title": "DealPart - DealPartWithDeal",
  "type": "object"
}

JSON instance

{
  "deals": [
    {
      "amount": "2365.262184",
      "deal": {
        "amount": "0",
        "comment": "conseq",
        "contact_id": 79692860,
        "currency": "USD",
        "customer_id": 47241680,
        "id": 88159024,
        "number_of_days": null,
        "reference": "eiusmod eu ",
        "supervisor_id": 29992562,
        "title": "eu ipsum"
      },
      "id": 45078604,
      "number_of_days": "+30785523.030261"
    },
    {
      "amount": "6145",
      "deal": {
        "amount": "0.95861822",
        "comment": "magna id esse",
        "contact_id": 55659809,
        "currency": "EUR",
        "customer_id": 32169923,
        "id": 8671279,
        "number_of_days": null,
        "reference": "commodo",
        "supervisor_id": 40312288,
        "title": "magna dolor enim velit"
      },
      "id": 80357320,
      "number_of_days": null
    },
    {
      "amount": "35626843993.2",
      "deal": {
        "amount": "+0",
        "comment": "adipisicing nostrud",
        "contact_id": 22786553,
        "currency": "USD",
        "customer_id": 35482489,
        "id": 66216295,
        "number_of_days": "+90466649",
        "reference": "reprehenderit ea commodo do",
        "supervisor_id": 85275448,
        "title": "elit Duis sit"
      },
      "id": 72637213,
      "number_of_days": null
    }
  ]
}

Validation #332

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "TrainingMeta_738": {
      "additionalProperties": false,
      "properties": {
        "game_action_ids": {
          "items": {
            "type": "integer"
          },
          "minItems": 1,
          "type": "array"
        },
        "points": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "game_action_ids",
        "points"
      ],
      "title": "meta - TrainingMeta",
      "type": "object"
    }
  },
  "properties": {
    "game_actions_user": {
      "additionalProperties": false,
      "properties": {
        "game_action_id": {
          "description": "Game action id",
          "type": "integer"
        },
        "id": {
          "type": "integer"
        },
        "meta": {
          "$ref": "#/definitions/TrainingMeta_738",
          "type": "object"
        },
        "realisation_date_time": {
          "description": "iso8601 format UTC +0",
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "game_action_id",
        "id",
        "meta",
        "realisation_date_time"
      ],
      "type": "object"
    },
    "points": {
      "type": "integer"
    }
  },
  "required": [
    "game_actions_user"
  ],
  "title": "game_actions_user - With meta",
  "type": "object"
}

JSON instance

{
  "game_actions_user": {
    "game_action_id": 40832292,
    "id": -54427589,
    "meta": {
      "game_action_ids": [
        21643857,
        66397268,
        -37530923,
        -36156151,
        -19500888
      ],
      "points": 75019522
    },
    "realisation_date_time": "1970-11-13T19:30:06.359Z"
  }
}

Validation #331

Success

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

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "TrainingMeta_738": {
      "additionalProperties": false,
      "properties": {
        "game_action_ids": {
          "items": {
            "type": "integer"
          },
          "minItems": 1,
          "type": "array"
        },
        "points": {
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "game_action_ids",
        "points"
      ],
      "title": "meta - TrainingMeta",
      "type": "object"
    }
  },
  "properties": {
    "game_actions_user": {
      "additionalProperties": false,
      "properties": {
        "game_action_id": {
          "description": "Game action id",
          "type": "integer"
        },
        "id": {
          "type": "integer"
        },
        "meta": {
          "$ref": "#/definitions/TrainingMeta_738",
          "type": "object"
        },
        "realisation_date_time": {
          "description": "iso8601 format UTC +0",
          "format": "datetime",
          "type": "string"
        }
      },
      "required": [
        "game_action_id",
        "id",
        "meta",
        "realisation_date_time"
      ],
      "type": "object"
    },
    "points": {
      "type": "integer"
    }
  },
  "required": [
    "game_actions_user"
  ],
  "title": "game_actions_user - default",
  "type": "object"
}

JSON instance

{
  "game_actions_user": {
    "game_action_id": -34148899,
    "id": 6457483,
    "meta": {
      "game_action_ids": [
        44110108,
        -61479675,
        -72722158,
        86138705
      ],
      "points": 93499057
    },
    "realisation_date_time": "2006-03-07T21:18:00.131Z"
  }
}

Validation #330

Failure

The input JSON instance is not a valid JSON text (RFC 7159).

  • parse_error

JSON Schema

{
  "description": "Automatically generated (please edit me)",
  "items": {
    "additionalProperties": false,
    "properties": {},
    "type": "object"
  },
  "title": "CollectOffer - DefaultCollectOffer",
  "type": "array"
}

JSON instance

Validation #329

Failure

The input JSON instance is not a valid JSON text (RFC 7159).

  • parse_error

JSON Schema

{
  "description": "Automatically generated (please edit me)",
  "items": {
    "additionalProperties": false,
    "properties": {},
    "type": "object"
  },
  "title": "CollectOffer - DefaultCollectOffer",
  "type": "array"
}

JSON instance

Validation #328

Failure

The input JSON instance is not a valid JSON text (RFC 7159).

  • parse_error

JSON Schema

{
  "description": "Automatically generated (please edit me)",
  "items": {
    "additionalProperties": false,
    "properties": {},
    "type": "object"
  },
  "title": "CollectOffer - DefaultCollectOffer",
  "type": "array"
}

JSON instance

Validation #327

Success

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

JSON Schema

{
  "additionalProperties": false,
  "properties": {
    "voice_scans": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "avg_frequency": {
            "oneOf": [
              {
                "maximum": 1250,
                "minimum": 50,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "avg_intensity": {
            "oneOf": [
              {
                "maximum": 100,
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "created_at": {
            "description": "iso8601 format UTC +0",
            "format": "datetime",
            "type": "string"
          },
          "error": {
            "oneOf": [
              {
                "enum": [
                  "scan_failed",
                  "audio_files_quality_issues",
                  "missing_siren_frequencies",
                  "missing_speech_frequencies et internal_server_error"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "harmonic_richness": {
            "oneOf": [
              {
                "description": "percentage - between 0.00 and 1.00",
                "maximum": 1,
                "minimum": 0,
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "id": {
            "minimum": 1,
            "type": "integer"
          },
          "max_frequency": {
            "oneOf": [
              {
                "maximum": 1250,
                "minimum": 50,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "max_intensity": {
            "oneOf": [
              {
                "maximum": 100,
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "min_frequency": {
            "oneOf": [
              {
                "maximum": 1250,
                "minimum": 50,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "min_intensity": {
            "oneOf": [
              {
                "maximum": 100,
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          },
          "register": {
            "oneOf": [
              {
                "maximum": 5,
                "minimum": 0,
                "type": "integer"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "avg_frequency",
          "avg_intensity",
          "created_at",
          "error",
          "harmonic_richness",
          "id",
          "max_frequency",
          "max_intensity",
          "min_frequency",
          "min_intensity",
          "register"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "voice_scans"
  ],
  "title": "voice_scan - default success",
  "type": "object"
}

JSON instance

{
  "voice_scans": [
    {
      "avg_frequency": 577,
      "avg_intensity": null,
      "created_at": "1969-12-18T18:06:08.267Z",
      "error": "missing_speech_frequencies et internal_server_error",
      "harmonic_richness": null,
      "id": 69669479,
      "max_frequency": 1192,
      "max_intensity": null,
      "min_frequency": null,
      "min_intensity": 11,
      "register": 1
    }
  ]
}

Validation #326

Failure

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

  • The property '#/account' contains additional properties ["family_code", "family_label"] outside of the schema when none are allowed in schema 6e99d3c0-3f92-532b-85d0-7ee48ca57554
  • The property '#/account' did not contain a required property of 'entries' in schema 6e99d3c0-3f92-532b-85d0-7ee48ca57554

JSON Schema

{
  "additionalProperties": false,
  "definitions": {
    "DepositEntry_542": {
      "additionalProperties": false,
      "properties": {
        "amount": {
          "minimum": 0,
          "type": "number"
        },
        "date": {
          "format": "date",
          "type": "string"
        },
        "family_code": {
          "type": "string"
        },
        "id": {
          "pattern": "\\d*",
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "maturity_date": {
          "format": "date",
          "type": "string"
        },
        "settled": {
          "type": "boolean"
        }
      },
      "required": [
        "amount",
        "date",
        "family_code",
        "id",
        "label",
        "maturity_date",
        "settled"
      ],
      "title": "Entry - DepositEntry",
      "type": "object"
    }
  },
  "properties": {
    "account": {
      "additionalProperties": false,
      "properties": {
        "entries": {
          "items": {
            "$ref": "#/definitions/DepositEntry_542",
            "type": "object"
          },
          "type": "array"
        },
        "settlement_company_code": {
          "enum": [
            "00009",
            "00034"
          ],
          "type": "string"
        },
        "type": {
          "enum": [
            "current",
            "collections",
            "supplies",
            "deposits"
          ],
          "type": "string"
        }
      },
      "required": [
        "entries",
        "settlement_company_code",
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "account"
  ],
  "title": "Account - DepositsAccount",
  "type": "object"
}

JSON instance

{
  "account": {
    "family_code": "PPH",
    "family_label": null,
    "settlement_company_code": "00009",
    "type": "deposits"
  }
}

Validation #325

Failure

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

  • The property '#/cities/0/country' value "fr-FR" did not match the regex '^[A-Z](\p{L}|-)+$' in schema a54940a2-3857-5335-86c0-bdfd119ac7fe

JSON Schema

{
  "additionalProperties": false,
  "description": "Automatically generated",
  "properties": {
    "cities": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "city_code": {
            "maxLength": 11,
            "minLength": 7,
            "pattern": "^[A-Z0-9\\-_]*$",
            "type": "string"
          },
          "country": {
            "maxLength": 25,
            "minLength": 5,
            "pattern": "^[A-Z](\\p{L}|-)+$",
            "type": "string"
          },
          "distance": {
            "maximum": 5000,
            "minimum": 0,
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "zip_code": {
            "maxLength": 12,
            "minLength": 3,
            "pattern": "^[A-Z0-9]*$",
            "type": "string"
          }
        },
        "required": [
          "city_code",
          "country",
          "distance",
          "name",
          "zip_code"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "cities"
  ],
  "title": "City - DefaultCity",
  "type": "object"
}

JSON instance

{
  "cities": [
    {
      "city_code": "CY_FR_19270",
      "country": "fr-FR",
      "distance": 2230.6991501372486,
      "name": "Troche",
      "zip_code": "19230"
    }
  ]
}

Validation #324

Failure

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

  • The property '#/cities/0/country' value "france" did not match the regex '^[A-Z](\p{L}|-)+$' in schema a54940a2-3857-5335-86c0-bdfd119ac7fe

JSON Schema

{
  "additionalProperties": false,
  "description": "Automatically generated",
  "properties": {
    "cities": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "city_code": {
            "maxLength": 11,
            "minLength": 7,
            "pattern": "^[A-Z0-9\\-_]*$",
            "type": "string"
          },
          "country": {
            "maxLength": 25,
            "minLength": 5,
            "pattern": "^[A-Z](\\p{L}|-)+$",
            "type": "string"
          },
          "distance": {
            "maximum": 5000,
            "minimum": 0,
            "type": "number"
          },
          "name": {
            "type": "string"
          },
          "zip_code": {
            "maxLength": 12,
            "minLength": 3,
            "pattern": "^[A-Z0-9]*$",
            "type": "string"
          }
        },
        "required": [
          "city_code",
          "country",
          "distance",
          "name",
          "zip_code"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "cities"
  ],
  "title": "City - DefaultCity",
  "type": "object"
}

JSON instance

{
  "cities": [
    {
      "city_code": "CY_FR_19270",
      "country": "france",
      "distance": 2230.6991501372486,
      "name": "Troche",
      "zip_code": "19230"
    }
  ]
}