{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Mozilla's contribute.json",
    "type": "object",
    "properties": {
        "name": {
            "type": "string"
        },
        "description": {
            "type": "string"
        },
        "keywords": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "participate": {
            "type": "object",
            "properties": {
                "home": {
                    "type": "string"
                },
                "docs": {
                    "type": "string"
                },
                "mailing-list": {
                    "type": "string"
                },
                "irc": {
                    "type": "string"
                },
                "irc-contacts": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                },
                "chat": {
                    "type": "object",
                    "properties": {
                        "url": {
                            "type": "string"
                        },
                        "contacts": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    },
                    "required": [
                        "url"
                    ]
                }
            },
            "required": [
                "docs"
            ]
        },
        "repository": {
            "type": "object",
            "properties": {
                "type": {
                    "type": "string"
                },
                "url": {
                    "type": "string"
                },
                "license": {
                    "type": "string"
                },
                "tests": {
                    "type": "string"
                },
                "clone": {
                    "type": "string"
                }
            },
            "required": [
                "url",
                "license"
            ]
        },
        "bugs": {
            "type": "object",
            "properties": {
                "list": {
                    "type": "string"
                },
                "report": {
                    "type": "string"
                },
                "mentored": {
                    "type": "string"
                }
            }
        },
        "urls": {
            "type": "object",
            "properties": {
                "prod": {
                    "type": "string"
                },
                "stage": {
                    "type": "string"
                },
                "dev": {
                    "type": "string"
                }
            }
        }
    },
    "required": [
        "name",
        "description",
        "repository"
    ]
}