{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "flutter.yaml",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "name": {
            "type": "string"
        },
        "uses-material-design": {
            "type": "boolean"
        },
        "assets": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "services": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "fonts": {
            "type": "array",
            "items": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                    "family": {
                        "type": "string"
                    },
                    "fonts": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "additionalProperties": false,
                            "properties": {
                                "asset": {
                                    "type": "string"
                                },
                                "weight": {
                                    "type": "integer"
                                },
                                "style": {
                                    "enum": [
                                        "normal",
                                        "italic"
                                    ]
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}