AgStack Foundation · Schema

ValidationError

AgricultureLinux FoundationOpen SourceGeospatialPrecision AgricultureLinked Data

Properties

Name Type Description
loc array
msg string
type string
View JSON Schema on GitHub

JSON Schema

agstack-openagri-weather-service-validationerror-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://agstack.org/schemas/ValidationError.json",
  "title": "ValidationError",
  "properties": {
    "loc": {
      "items": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "integer"
          }
        ]
      },
      "type": "array",
      "title": "Location"
    },
    "msg": {
      "type": "string",
      "title": "Message"
    },
    "type": {
      "type": "string",
      "title": "Error Type"
    }
  },
  "type": "object",
  "required": [
    "loc",
    "msg",
    "type"
  ]
}