{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://raw.githubusercontent.com/mimmi20/ua-result/master/schema/platform.json",
    "definitions": {
        "os": {
            "type": "object",
            "properties": {
                "name": {
                    "anyOf": [
                        {
                            "type": "string"
                        },
                        {
                            "type": "null"
                        }
                    ]
                },
                "marketingName": {
                    "anyOf": [
                        {
                            "type": "string"
                        },
                        {
                            "type": "null"
                        }
                    ]
                },
                "version": {
                    "type": "string"
                },
                "manufacturer": {
                    "type": "string"
                },
                "bits": {
                    "type": "integer"
                }
            },
            "required": [
                "name",
                "marketingName",
                "version",
                "manufacturer",
                "bits"
            ]
        }
    },
    "$ref": "#/definitions/os"
}