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

com.github.fge.jsonschema.examples.fstab-draftv3.json Maven / Gradle / Ivy

The newest version!
{
    "$schema": "http://json-schema.org/draft-03/schema#",
    "title": "/etc/fstab",
    "description": "JSON representation of /etc/fstab",
    "type": "object",
    "properties": {
        "/": {
            "required": true,
            "$ref": "#/definitions/mntent"
        },
        "swap": {
            "required": true,
            "$ref": "#/definitions/mntent"
        }
    },
    "patternProperties": {
        "^/[^/]+(/[^/]+)*$": {
            "$ref": "#/definitions/mntent"
        }
    },
    "additionalProperties": false,
    "definitions": {
        "mntent": {
            "title": "mntent",
            "description": "An fstab entry",
            "type": "object",
            "properties": {
                "device": {
                    "type": "string",
                    "required": true
                },
                "fstype": {
                    "type": "string",
                    "required": true
                },
                "options": {
                    "type": "array",
                    "minItems": 1,
                    "items": { "type": "string" }
                },
                "dump": {
                    "type": "integer",
                    "minimum": 0
                },
                "fsck": {
                    "type": "integer",
                    "minimum": 0
                }
            },
            "additionalItems": false
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy