{
  "$schema": "https://json-structure.org/draft/2020-12/schema",
  "name": "Upstream",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "algorithm": {
      "type": "string"
    },
    "hash_on": {
      "type": "string"
    },
    "hash_fallback": {
      "type": "string"
    },
    "hash_on_header": {
      "type": "string"
    },
    "hash_fallback_header": {
      "type": "string"
    },
    "hash_on_cookie": {
      "type": "string"
    },
    "hash_on_cookie_path": {
      "type": "string"
    },
    "hash_on_query_arg": {
      "type": "string"
    },
    "hash_fallback_query_arg": {
      "type": "string"
    },
    "hash_on_uri_capture": {
      "type": "string"
    },
    "hash_fallback_uri_capture": {
      "type": "string"
    },
    "slots": {
      "type": "integer"
    },
    "tags": {
      "type": "array"
    },
    "host_header": {
      "type": "string"
    },
    "use_srv_name": {
      "type": "boolean"
    },
    "created_at": {
      "type": "integer"
    },
    "updated_at": {
      "type": "integer"
    }
  }
}