Backstage · Schema

ConditionalRequest

ConditionalRequest schema from Backstage permissions API

Developer PortalInternal Developer PlatformSoftware CatalogOpen Source

Properties

Name Type Description
resourceRef string Reference to the resource.
resourceType string The resource type identifier.
conditions object The conditions to evaluate against the resource.
View JSON Schema on GitHub

JSON Schema

permissions-conditional-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/backstage/refs/heads/main/json-schema/permissions-conditional-request-schema.json",
  "title": "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"
  ]
}