JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/workspace_membership",
"title": "workspace_membership",
"allOf": [
{
"$ref": "#/components/schemas/object"
},
{
"type": "object",
"title": "Workspace Membership",
"description": "A Bitbucket workspace membership.\n Links a user to a workspace.",
"properties": {
"links": {
"type": "object",
"properties": {
"self": {
"type": "object",
"title": "Link",
"description": "A link to a resource related to this object.",
"properties": {
"href": {
"type": "string",
"format": "uri"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
},
"user": {
"$ref": "#/components/schemas/account"
},
"workspace": {
"$ref": "#/components/schemas/workspace"
}
},
"additionalProperties": true
}
]
}