[go: up one dir, main page]

serde_with 1.1.0

Custom de/serialization functions for Rust's serde
Documentation
{
    "$schema": "http://json-schema.org/draft-06/schema#",
    "$ref": "#/definitions/Codecov",
    "definitions": {
        "Codecov": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "coverage": {
                    "$ref": "#/definitions/Coverage"
                },
                "patch": {
                    "type": "boolean"
                },
                "codecov": {
                    "$ref": "#/definitions/CodecovClass"
                },
                "parsers": {
                    "$ref": "#/definitions/Parsers"
                },
                "comment": {
                    "$ref": "#/definitions/Comment"
                }
            },
            "required": [],
            "title": "Codecov"
        },
        "CodecovClass": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "notify": {
                    "$ref": "#/definitions/Notify"
                }
            },
            "required": [],
            "title": "CodecovClass"
        },
        "Notify": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "require_ci_to_pass": {
                    "type": "boolean"
                }
            },
            "required": [],
            "title": "Notify"
        },
        "Comment": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "layout": {
                    "type": "string"
                },
                "behavior": {
                    "type": "string"
                },
                "require_changes": {
                    "type": "boolean"
                }
            },
            "required": [],
            "title": "Comment"
        },
        "Coverage": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "range": {
                    "type": "string"
                },
                "round": {
                    "type": "string"
                },
                "precision": {
                    "type": "integer"
                },
                "status": {
                    "$ref": "#/definitions/Status"
                }
            },
            "required": [],
            "title": "Coverage"
        },
        "Status": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "project": {
                    "$ref": "#/definitions/ProjectUnion"
                },
                "patch": {
                    "type": "boolean"
                },
                "changes": {
                    "type": "boolean"
                }
            },
            "required": [],
            "title": "Status"
        },
        "ProjectClass": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "default": {
                    "type": "boolean"
                },
                "tests": {
                    "$ref": "#/definitions/Crate"
                },
                "crate": {
                    "$ref": "#/definitions/Crate"
                }
            },
            "required": [],
            "title": "ProjectClass"
        },
        "Crate": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "paths": {
                    "type": "string"
                },
                "target": {
                    "type": "string"
                },
                "threshold": {
                    "type": "string"
                }
            },
            "required": [],
            "title": "Crate"
        },
        "Parsers": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "gcov": {
                    "$ref": "#/definitions/Gcov"
                }
            },
            "required": [],
            "title": "Parsers"
        },
        "Gcov": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "branch_detection": {
                    "$ref": "#/definitions/BranchDetection"
                }
            },
            "required": [],
            "title": "Gcov"
        },
        "BranchDetection": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
                "conditional": {
                    "type": "boolean"
                },
                "loop": {
                    "type": "boolean"
                },
                "method": {
                    "type": "boolean"
                },
                "macro": {
                    "type": "boolean"
                }
            },
            "required": [],
            "title": "BranchDetection"
        },
        "ProjectUnion": {
            "anyOf": [
                {
                    "type": "boolean"
                },
                {
                    "$ref": "#/definitions/ProjectClass"
                }
            ],
            "title": "ProjectUnion"
        }
    }
}