{
    "description": "A Visual Pinball build.",
    "properties": {
        "_created_by": {
            "description": "Reference to the user who created this build. Only visible by contributors and above.",
            "readOnly": true,
            "type": "string"
        },
        "_id": {
            "description": "Unique identifier for a build. Gets generated automatically on creation.",
            "pattern": "^[a-z0-9._-]{2,}$",
            "readOnly": true,
            "type": "string"
        },
        "built_at": {
            "description": "Date when the build was, well, built.",
            "type": "string"
        },
        "created_at": {
            "description": "Timestamp when the build was added to the database.",
            "readOnly": true,
            "type": "string"
        },
        "description": {
            "description": "A description of the build. Contains changelog for official releases. Is Markdown formatted.",
            "type": "string"
        },
        "is_active": {
            "description": "When creating a new build, it first becomes inactive. When linking a release to the build, it becomes active.",
            "readOnly": true,
            "type": "boolean"
        },
        "is_range": {
            "description": "Instead of covering one single release, it's also possible to create builds that cover a range of releases (e.g. `v8.x.x`).",
            "type": "boolean"
        },
        "label": {
            "description": "Label of the build. Typically contains the version of the release, the revision number of daily builds and a short name for experimental builds.",
            "minLength": 3,
            "type": "string"
        },
        "major_version": {
            "description": "The major version branch of the version for the given platform. For VP9, that would be `9`.",
            "type": "string"
        },
        "platform": {
            "description": "Platform of the build. Only Visual Pinball supported so far.",
            "enum": [
                "vp"
            ],
            "type": "string"
        },
        "type": {
            "description": "Type of the build. Values:\n* `release` - Official releases from the Visual Pinball dev team\n* `nightly` - Automatic nightly builds\n* `experimental` - Test builds, built by devs or others, very instable and bleeding edge.",
            "enum": [
                "release",
                "nightly",
                "experimental"
            ],
            "type": "string"
        }
    },
    "required": [
        "id",
        "label",
        "type"
    ],
    "title": "VPBuild",
    "type": "object"
}