swh:1:snp:eb70f1f85391e4b077c211bec36af0061c4bf937
Raw File
Tip revision: fd29fcbecf5f54eb360d3122f4bc2ca71171f0c2 authored by Antoine R. Dumont (@ardumont) on 24 March 2020, 12:32:33 UTC
storage*: Hex encode content hashes in HashCollision exception
Tip revision: fd29fcb
origin_visit.metadata.json
{
    "$schema": "http://json-schema.org/schema#",
    "id": "http://softwareheritage.org/schemas/origin_visit.metadata.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