https://github.com/SoftwareHeritage/swh-storage
Raw File
Tip revision: c21d0e38204aaca3999c00f2346b0d5c69a2ddff authored by Antoine R. Dumont (@ardumont) on 07 July 2020, 09:09:25 UTC
Move sharable fixtures out of conftest into a dedicated pytest plugin
Tip revision: c21d0e3
fetch_history.result.schema.json
{
    "$schema": "http://json-schema.org/schema#",
    "id": "http://softwareheritage.org/schemas/fetch_history.result.schema.json",

    "definitions": {
        "counter": {
            "type": "integer",
            "minimum": 0
        }
    },

    "type": "object",
    "properties": {
        "occurrences": { "$ref": "#/definitions/counter" },
        "directories": { "$ref": "#/definitions/counter" },
        "revisions": { "$ref": "#/definitions/counter" },
        "releases": { "$ref": "#/definitions/counter" },
        "contents": { "$ref": "#/definitions/counter" },
        "fake" : { "type": "boolean" }
    }
}
back to top