{
    "additionalProperties": false,
    "description": "For validating the schema dependency manifest used in the Data Structures CI/CD tool",
    "properties": {
        "schemas": {
            "description": "An array of schema dependencies",
            "items": {
                "additionalProperties": false,
                "properties": {
                    "format": {
                        "pattern": "^[a-zA-Z0-9-_]+$",
                        "type": "string"
                    },
                    "name": {
                        "pattern": "^[a-zA-Z0-9-_]+$",
                        "type": "string"
                    },
                    "vendor": {
                        "pattern": "^[a-zA-Z0-9-_.]+$",
                        "type": "string"
                    },
                    "version": {
                        "pattern": "^[0-9]+-[0-9]+-[0-9]+$",
                        "type": "string"
                    }
                },
                "required": [
                    "vendor",
                    "name",
                    "format",
                    "version"
                ],
                "type": "object"
            },
            "type": "array"
        }
    },
    "required": [
        "schemas"
    ],
    "self": {
        "format": "jsonschema",
        "name": "data_structures_dependencies",
        "vendor": "com.snowplowanalytics.insights",
        "version": "1-0-0"
    },
    "type": "object"
}