{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "LinkBucketRequest",
  "required": [
    "name",
    "displayName",
    "sourceProjectId",
    "sourceBucketId",
    "stage"
  ],
  "properties": {
    "name": {
      "description": "Bucket name. Must contain only alphanumeric characters, dashes, and underscores.",
      "type": "string"
    },
    "displayName": {
      "description": "Human-readable display name for the bucket.",
      "type": "string"
    },
    "sourceProjectId": {
      "description": "ID of the source project containing the bucket to link.",
      "type": "integer"
    },
    "sourceBucketId": {
      "description": "ID of the source bucket to link.",
      "type": "string"
    },
    "stage": {
      "description": "Bucket stage (in, out, or sys).",
      "type": "string",
      "enum": [
        "in",
        "out",
        "sys"
      ]
    }
  },
  "type": "object"
}