{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "description": "A representation of storage resource usage",
    "properties": {
        "dt": {
            "_format": "date-time",
            "description": "Date and time usage data was recorded",
            "type": "string"
        },
        "file_count": {
            "description": "Number of files",
            "maximum": 18446744073709551615,
            "minimum": 0,
            "type": "integer"
        },
        "hard_threshold": {
            "description": "Hard threshold quota measured in bytes",
            "maximum": 18446744073709551615,
            "minimum": 0,
            "type": "integer"
        },
        "logical_usage": {
            "description": "Logical file system usage measured in bytes",
            "maximum": 18446744073709551615,
            "minimum": 0,
            "type": "integer"
        },
        "mountpoint": {
            "description": "Storage file system mountpoint directory",
            "maxLength": 255,
            "type": "string"
        },
        "physical_usage": {
            "description": "Physical file system usage measured in bytes",
            "maximum": 18446744073709551615,
            "minimum": 0,
            "type": "integer"
        },
        "pi": {
            "description": "Storage principal investigator's system username",
            "maxLength": 30,
            "type": "string"
        },
        "resource": {
            "description": "Storage resource name",
            "maxLength": 200,
            "type": "string"
        },
        "soft_threshold": {
            "description": "Soft threshold quota measured in bytes",
            "maximum": 18446744073709551615,
            "minimum": 0,
            "type": "integer"
        },
        "user": {
            "description": "Storage user's system username",
            "maxLength": 30,
            "type": "string"
        }
    },
    "required": [
        "resource",
        "mountpoint",
        "user",
        "pi",
        "dt",
        "file_count",
        "logical_usage"
    ],
    "title": "Storage usage data",
    "type": "object"
}