All Downloads are FREE. Search and download functionalities are using the official Maven repository.

omashpolskiy.bt-core.1.4.1.source-code.tracker_response.yml Maven / Gradle / Ivy

There is a newer version: 1.10
Show newest version
--- # schema of a tracker response document
- model:
    type: dictionary
    exclusives:
    # TODO: some trackers return failure reason together with interval and peers,
    # which causes the validation to fail -- need to do something about it
      - "failure reason"
      - ["warning message", interval, "min interval", "tracker id", complete, incomplete, peers]
    entries:
      - {key: "failure reason", type: string}
      - {key: "warning message", type: string, required: false}
      - {key: interval, type: integer}
      - {key: "min interval", type: integer, required: false}
      - {key: "tracker id", type: string, required: false}
      - {key: complete, type: integer, required: false}
      - {key: incomplete, type: integer, required: false}
      - {key: peers, type: string}
      - {key: crypto_flags, type: string, required: false}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy