Backstage · JSON Structure

Permissions Conditional Request Structure

ConditionalRequest schema from Backstage permissions API

Type: object Properties: 3 Required: 3
Developer PortalInternal Developer PlatformSoftware CatalogOpen Source

ConditionalRequest is a JSON Structure definition published by Backstage, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

resourceRef resourceType conditions

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/backstage/refs/heads/main/json-structure/permissions-conditional-request-structure.json",
  "name": "ConditionalRequest",
  "description": "ConditionalRequest schema from Backstage permissions API",
  "type": "object",
  "properties": {
    "resourceRef": {
      "type": "string",
      "description": "Reference to the resource."
    },
    "resourceType": {
      "type": "string",
      "description": "The resource type identifier."
    },
    "conditions": {
      "type": "object",
      "description": "The conditions to evaluate against the resource."
    }
  },
  "required": [
    "resourceRef",
    "resourceType",
    "conditions"
  ]
}