{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "contract": {
      "type": "string",
      "const": "WorkbenchRuntimeBundle"
    },
    "schemaVersion": {
      "type": "number",
      "const": 1
    },
    "tenantScope": {
      "type": "object",
      "properties": {
        "tenantRef": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "ownerRepo": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            }
          },
          "required": [
            "kind",
            "id",
            "ownerRepo"
          ],
          "additionalProperties": false
        },
        "dataSpaceRef": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "ownerRepo": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            }
          },
          "required": [
            "kind",
            "id",
            "ownerRepo"
          ],
          "additionalProperties": false
        },
        "teamRef": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "ownerRepo": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            }
          },
          "required": [
            "kind",
            "id",
            "ownerRepo"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "tenantRef",
        "dataSpaceRef"
      ],
      "additionalProperties": false
    },
    "releaseRevisionRef": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "ownerRepo": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "visibility": {
          "type": "string",
          "enum": [
            "tenant",
            "global",
            "public"
          ]
        },
        "tenantScope": {
          "type": "object",
          "properties": {
            "tenantRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            },
            "dataSpaceRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            },
            "teamRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "tenantRef",
            "dataSpaceRef"
          ],
          "additionalProperties": false
        },
        "revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "schemaVersion": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "contentHash": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        }
      },
      "required": [
        "kind",
        "id",
        "ownerRepo",
        "visibility",
        "revision",
        "schemaVersion",
        "contentHash"
      ],
      "additionalProperties": false
    },
    "compilerRevisionRef": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "ownerRepo": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "visibility": {
          "type": "string",
          "enum": [
            "tenant",
            "global",
            "public"
          ]
        },
        "tenantScope": {
          "type": "object",
          "properties": {
            "tenantRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            },
            "dataSpaceRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            },
            "teamRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "tenantRef",
            "dataSpaceRef"
          ],
          "additionalProperties": false
        },
        "revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "schemaVersion": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "contentHash": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        }
      },
      "required": [
        "kind",
        "id",
        "ownerRepo",
        "visibility",
        "revision",
        "schemaVersion",
        "contentHash"
      ],
      "additionalProperties": false
    },
    "generation": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "dependencySnapshot": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "role": {
            "type": "string",
            "enum": [
              "route-space",
              "shell",
              "page",
              "page-release",
              "workbench",
              "workbench-release",
              "navigation",
              "navigation-release",
              "menu-action",
              "application-menu-catalog",
              "capability",
              "provider",
              "ontology-definition",
              "projection-spec",
              "query-definition",
              "view",
              "projection",
              "action",
              "action-program",
              "token",
              "schema",
              "compiler",
              "workflow",
              "agent",
              "built-in-application",
              "design",
              "layout-policy",
              "performance-budget",
              "observation-policy"
            ]
          },
          "revisionRef": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "ownerRepo": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "visibility": {
                "type": "string",
                "enum": [
                  "tenant",
                  "global",
                  "public"
                ]
              },
              "tenantScope": {
                "type": "object",
                "properties": {
                  "tenantRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "dataSpaceRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "teamRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "tenantRef",
                  "dataSpaceRef"
                ],
                "additionalProperties": false
              },
              "revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "schemaVersion": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "contentHash": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "required": [
              "kind",
              "id",
              "ownerRepo",
              "visibility",
              "revision",
              "schemaVersion",
              "contentHash"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "role",
          "revisionRef"
        ],
        "additionalProperties": false
      }
    },
    "contentHash": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$"
    },
    "rebuildable": {
      "type": "boolean",
      "const": true
    },
    "diagnostics": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "stage": {
            "type": "string",
            "enum": [
              "document",
              "reference",
              "contract",
              "policy",
              "runtime"
            ]
          },
          "severity": {
            "type": "string",
            "enum": [
              "info",
              "warning",
              "error"
            ]
          },
          "blocking": {
            "type": "boolean"
          },
          "path": {
            "type": "string",
            "minLength": 1
          },
          "message": {
            "type": "string",
            "minLength": 1
          },
          "recovery": {
            "maxItems": 8,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          }
        },
        "required": [
          "code",
          "path",
          "message"
        ],
        "additionalProperties": false
      }
    },
    "workbenchId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "workbenchRevisionRef": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "ownerRepo": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "visibility": {
          "type": "string",
          "enum": [
            "tenant",
            "global",
            "public"
          ]
        },
        "tenantScope": {
          "type": "object",
          "properties": {
            "tenantRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            },
            "dataSpaceRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            },
            "teamRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "tenantRef",
            "dataSpaceRef"
          ],
          "additionalProperties": false
        },
        "revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "schemaVersion": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "contentHash": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        }
      },
      "required": [
        "kind",
        "id",
        "ownerRepo",
        "visibility",
        "revision",
        "schemaVersion",
        "contentHash"
      ],
      "additionalProperties": false
    },
    "identity": {
      "type": "object",
      "properties": {
        "name": {
          "type": "object",
          "properties": {
            "defaultLocale": {
              "type": "string",
              "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
            },
            "values": {
              "type": "object",
              "propertyNames": {
                "type": "string",
                "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
              },
              "additionalProperties": {
                "type": "string",
                "minLength": 1
              }
            }
          },
          "required": [
            "defaultLocale",
            "values"
          ],
          "additionalProperties": false
        },
        "description": {
          "type": "object",
          "properties": {
            "defaultLocale": {
              "type": "string",
              "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
            },
            "values": {
              "type": "object",
              "propertyNames": {
                "type": "string",
                "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
              },
              "additionalProperties": {
                "type": "string",
                "minLength": 1
              }
            }
          },
          "required": [
            "defaultLocale",
            "values"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "name"
      ],
      "additionalProperties": false
    },
    "surface": {
      "type": "string",
      "enum": [
        "studio",
        "kernel"
      ]
    },
    "routeClaims": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "canonical",
              "alias",
              "redirect"
            ]
          },
          "routeSpaceRevisionRef": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "ownerRepo": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "visibility": {
                "type": "string",
                "enum": [
                  "tenant",
                  "global",
                  "public"
                ]
              },
              "tenantScope": {
                "type": "object",
                "properties": {
                  "tenantRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "dataSpaceRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "teamRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "tenantRef",
                  "dataSpaceRef"
                ],
                "additionalProperties": false
              },
              "revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "schemaVersion": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "contentHash": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "required": [
              "kind",
              "id",
              "ownerRepo",
              "visibility",
              "revision",
              "schemaVersion",
              "contentHash"
            ],
            "additionalProperties": false
          },
          "pathTemplate": {
            "type": "string",
            "pattern": "^\\/(?!\\/)"
          },
          "redirectTargetRef": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "ownerRepo": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "visibility": {
                "type": "string",
                "enum": [
                  "tenant",
                  "global",
                  "public"
                ]
              },
              "tenantScope": {
                "type": "object",
                "properties": {
                  "tenantRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "dataSpaceRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "teamRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "tenantRef",
                  "dataSpaceRef"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "kind",
              "id",
              "ownerRepo",
              "visibility"
            ],
            "additionalProperties": false
          },
          "surface": {
            "type": "string",
            "enum": [
              "studio",
              "kernel"
            ]
          },
          "normalizedPath": {
            "type": "string",
            "pattern": "^\\/(?!\\/)"
          },
          "matcher": {
            "type": "object",
            "properties": {
              "caseSensitive": {
                "type": "boolean"
              },
              "trailingSlash": {
                "type": "string",
                "enum": [
                  "preserve",
                  "remove",
                  "require"
                ]
              },
              "parameters": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "type": {
                      "type": "string",
                      "enum": [
                        "identifier",
                        "integer",
                        "slug",
                        "uuid"
                      ]
                    },
                    "required": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "name",
                    "type",
                    "required"
                  ],
                  "additionalProperties": false
                }
              },
              "surface": {
                "type": "string",
                "enum": [
                  "studio",
                  "kernel"
                ]
              }
            },
            "required": [
              "caseSensitive",
              "trailingSlash",
              "parameters",
              "surface"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "kind",
          "routeSpaceRevisionRef",
          "pathTemplate",
          "surface",
          "normalizedPath",
          "matcher"
        ],
        "additionalProperties": false
      }
    },
    "groups": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "groupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "label": {
            "type": "object",
            "properties": {
              "defaultLocale": {
                "type": "string",
                "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
              },
              "values": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
                },
                "additionalProperties": {
                  "type": "string",
                  "minLength": 1
                }
              }
            },
            "required": [
              "defaultLocale",
              "values"
            ],
            "additionalProperties": false
          },
          "iconRef": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "ownerRepo": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "visibility": {
                "type": "string",
                "enum": [
                  "tenant",
                  "global",
                  "public"
                ]
              },
              "tenantScope": {
                "type": "object",
                "properties": {
                  "tenantRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "dataSpaceRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "teamRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "tenantRef",
                  "dataSpaceRef"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "kind",
              "id",
              "ownerRepo",
              "visibility"
            ],
            "additionalProperties": false
          },
          "order": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "collapsedByDefault": {
            "type": "boolean"
          },
          "accessPolicy": {
            "type": "object",
            "properties": {
              "authenticated": {
                "type": "boolean"
              },
              "groupAllOf": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "visibility": {
                      "type": "string",
                      "enum": [
                        "tenant",
                        "global",
                        "public"
                      ]
                    },
                    "tenantScope": {
                      "type": "object",
                      "properties": {
                        "tenantRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "dataSpaceRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "teamRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "tenantRef",
                        "dataSpaceRef"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo",
                    "visibility"
                  ],
                  "additionalProperties": false
                }
              },
              "groupAnyOf": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "visibility": {
                      "type": "string",
                      "enum": [
                        "tenant",
                        "global",
                        "public"
                      ]
                    },
                    "tenantScope": {
                      "type": "object",
                      "properties": {
                        "tenantRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "dataSpaceRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "teamRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "tenantRef",
                        "dataSpaceRef"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo",
                    "visibility"
                  ],
                  "additionalProperties": false
                }
              },
              "permissionAllOf": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "permissionAnyOf": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "conditionAllOf": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "visibility": {
                      "type": "string",
                      "enum": [
                        "tenant",
                        "global",
                        "public"
                      ]
                    },
                    "tenantScope": {
                      "type": "object",
                      "properties": {
                        "tenantRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "dataSpaceRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "teamRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "tenantRef",
                        "dataSpaceRef"
                      ],
                      "additionalProperties": false
                    },
                    "revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "schemaVersion": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "contentHash": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo",
                    "visibility",
                    "revision",
                    "schemaVersion",
                    "contentHash"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "authenticated",
              "groupAllOf",
              "groupAnyOf",
              "permissionAllOf",
              "permissionAnyOf",
              "conditionAllOf"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "groupId",
          "label",
          "order",
          "collapsedByDefault"
        ],
        "additionalProperties": false
      }
    },
    "appInstances": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "runtimeContractVersion": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "instanceId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "kind": {
            "type": "string",
            "enum": [
              "built-in-application",
              "workflow-form",
              "workflow",
              "agent",
              "design",
              "capability"
            ]
          },
          "targetRevisionRef": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "ownerRepo": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "visibility": {
                "type": "string",
                "enum": [
                  "tenant",
                  "global",
                  "public"
                ]
              },
              "tenantScope": {
                "type": "object",
                "properties": {
                  "tenantRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "dataSpaceRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "teamRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "tenantRef",
                  "dataSpaceRef"
                ],
                "additionalProperties": false
              },
              "revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "schemaVersion": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "contentHash": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "required": [
              "kind",
              "id",
              "ownerRepo",
              "visibility",
              "revision",
              "schemaVersion",
              "contentHash"
            ],
            "additionalProperties": false
          },
          "providerRevisionRef": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "ownerRepo": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "visibility": {
                "type": "string",
                "enum": [
                  "tenant",
                  "global",
                  "public"
                ]
              },
              "tenantScope": {
                "type": "object",
                "properties": {
                  "tenantRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "dataSpaceRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "teamRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "tenantRef",
                  "dataSpaceRef"
                ],
                "additionalProperties": false
              },
              "revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "schemaVersion": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "contentHash": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "required": [
              "kind",
              "id",
              "ownerRepo",
              "visibility",
              "revision",
              "schemaVersion",
              "contentHash"
            ],
            "additionalProperties": false
          },
          "inputSchemaRevisionRef": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "ownerRepo": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "visibility": {
                "type": "string",
                "enum": [
                  "tenant",
                  "global",
                  "public"
                ]
              },
              "tenantScope": {
                "type": "object",
                "properties": {
                  "tenantRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "dataSpaceRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "teamRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "tenantRef",
                  "dataSpaceRef"
                ],
                "additionalProperties": false
              },
              "revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "schemaVersion": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "contentHash": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "required": [
              "kind",
              "id",
              "ownerRepo",
              "visibility",
              "revision",
              "schemaVersion",
              "contentHash"
            ],
            "additionalProperties": false
          },
          "input": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "$ref": "#/$defs/__schema0"
            }
          },
          "groupId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "order": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "display": {
            "type": "object",
            "properties": {
              "name": {
                "type": "object",
                "properties": {
                  "defaultLocale": {
                    "type": "string",
                    "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
                  },
                  "values": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string",
                      "pattern": "^[a-z]{2,3}(?:-[A-Z][a-z]{3})?(?:-[A-Z]{2}|-\\d{3})?$"
                    },
                    "additionalProperties": {
                      "type": "string",
                      "minLength": 1
                    }
                  }
                },
                "required": [
                  "defaultLocale",
                  "values"
                ],
                "additionalProperties": false
              },
              "iconRef": {
                "type": "object",
                "properties": {
                  "kind": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "id": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "ownerRepo": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "visibility": {
                    "type": "string",
                    "enum": [
                      "tenant",
                      "global",
                      "public"
                    ]
                  },
                  "tenantScope": {
                    "type": "object",
                    "properties": {
                      "tenantRef": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "ownerRepo": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "ownerRepo"
                        ],
                        "additionalProperties": false
                      },
                      "dataSpaceRef": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "ownerRepo": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "ownerRepo"
                        ],
                        "additionalProperties": false
                      },
                      "teamRef": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "id": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "ownerRepo": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "ownerRepo"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "tenantRef",
                      "dataSpaceRef"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "kind",
                  "id",
                  "ownerRepo",
                  "visibility"
                ],
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          },
          "accessPolicy": {
            "type": "object",
            "properties": {
              "authenticated": {
                "type": "boolean"
              },
              "groupAllOf": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "visibility": {
                      "type": "string",
                      "enum": [
                        "tenant",
                        "global",
                        "public"
                      ]
                    },
                    "tenantScope": {
                      "type": "object",
                      "properties": {
                        "tenantRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "dataSpaceRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "teamRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "tenantRef",
                        "dataSpaceRef"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo",
                    "visibility"
                  ],
                  "additionalProperties": false
                }
              },
              "groupAnyOf": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "visibility": {
                      "type": "string",
                      "enum": [
                        "tenant",
                        "global",
                        "public"
                      ]
                    },
                    "tenantScope": {
                      "type": "object",
                      "properties": {
                        "tenantRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "dataSpaceRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "teamRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "tenantRef",
                        "dataSpaceRef"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo",
                    "visibility"
                  ],
                  "additionalProperties": false
                }
              },
              "permissionAllOf": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "permissionAnyOf": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "conditionAllOf": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "visibility": {
                      "type": "string",
                      "enum": [
                        "tenant",
                        "global",
                        "public"
                      ]
                    },
                    "tenantScope": {
                      "type": "object",
                      "properties": {
                        "tenantRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "dataSpaceRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "teamRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "tenantRef",
                        "dataSpaceRef"
                      ],
                      "additionalProperties": false
                    },
                    "revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "schemaVersion": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "contentHash": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo",
                    "visibility",
                    "revision",
                    "schemaVersion",
                    "contentHash"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "authenticated",
              "groupAllOf",
              "groupAnyOf",
              "permissionAllOf",
              "permissionAnyOf",
              "conditionAllOf"
            ],
            "additionalProperties": false
          },
          "targetAccessPolicy": {
            "type": "object",
            "properties": {
              "authenticated": {
                "type": "boolean"
              },
              "groupAllOf": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "visibility": {
                      "type": "string",
                      "enum": [
                        "tenant",
                        "global",
                        "public"
                      ]
                    },
                    "tenantScope": {
                      "type": "object",
                      "properties": {
                        "tenantRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "dataSpaceRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "teamRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "tenantRef",
                        "dataSpaceRef"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo",
                    "visibility"
                  ],
                  "additionalProperties": false
                }
              },
              "groupAnyOf": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "visibility": {
                      "type": "string",
                      "enum": [
                        "tenant",
                        "global",
                        "public"
                      ]
                    },
                    "tenantScope": {
                      "type": "object",
                      "properties": {
                        "tenantRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "dataSpaceRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "teamRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "tenantRef",
                        "dataSpaceRef"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo",
                    "visibility"
                  ],
                  "additionalProperties": false
                }
              },
              "permissionAllOf": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "permissionAnyOf": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "conditionAllOf": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "visibility": {
                      "type": "string",
                      "enum": [
                        "tenant",
                        "global",
                        "public"
                      ]
                    },
                    "tenantScope": {
                      "type": "object",
                      "properties": {
                        "tenantRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "dataSpaceRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        },
                        "teamRef": {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "id": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            },
                            "ownerRepo": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "id",
                            "ownerRepo"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "tenantRef",
                        "dataSpaceRef"
                      ],
                      "additionalProperties": false
                    },
                    "revision": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "schemaVersion": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "contentHash": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{64}$"
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo",
                    "visibility",
                    "revision",
                    "schemaVersion",
                    "contentHash"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "authenticated",
              "groupAllOf",
              "groupAnyOf",
              "permissionAllOf",
              "permissionAnyOf",
              "conditionAllOf"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "instanceId",
          "kind",
          "targetRevisionRef",
          "providerRevisionRef",
          "inputSchemaRevisionRef",
          "input",
          "groupId",
          "order",
          "display",
          "accessPolicy",
          "targetAccessPolicy"
        ],
        "additionalProperties": false
      }
    },
    "defaultEntry": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "groupId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "instanceId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "showDefaultGroup": {
              "type": "boolean"
            }
          },
          "required": [
            "groupId",
            "instanceId",
            "showDefaultGroup"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "layout": {
      "type": "object",
      "properties": {
        "runtimeContractVersion": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "hostCapabilityRevisionRef": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "ownerRepo": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "visibility": {
              "type": "string",
              "enum": [
                "tenant",
                "global",
                "public"
              ]
            },
            "tenantScope": {
              "type": "object",
              "properties": {
                "tenantRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                },
                "dataSpaceRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                },
                "teamRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "tenantRef",
                "dataSpaceRef"
              ],
              "additionalProperties": false
            },
            "revision": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "schemaVersion": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "contentHash": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          },
          "required": [
            "kind",
            "id",
            "ownerRepo",
            "visibility",
            "revision",
            "schemaVersion",
            "contentHash"
          ],
          "additionalProperties": false
        },
        "hostProviderRevisionRef": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "ownerRepo": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "visibility": {
              "type": "string",
              "enum": [
                "tenant",
                "global",
                "public"
              ]
            },
            "tenantScope": {
              "type": "object",
              "properties": {
                "tenantRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                },
                "dataSpaceRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                },
                "teamRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "tenantRef",
                "dataSpaceRef"
              ],
              "additionalProperties": false
            },
            "revision": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "schemaVersion": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "contentHash": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          },
          "required": [
            "kind",
            "id",
            "ownerRepo",
            "visibility",
            "revision",
            "schemaVersion",
            "contentHash"
          ],
          "additionalProperties": false
        },
        "layoutPolicyRevisionRef": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "ownerRepo": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "visibility": {
              "type": "string",
              "enum": [
                "tenant",
                "global",
                "public"
              ]
            },
            "tenantScope": {
              "type": "object",
              "properties": {
                "tenantRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                },
                "dataSpaceRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                },
                "teamRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "tenantRef",
                "dataSpaceRef"
              ],
              "additionalProperties": false
            },
            "revision": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "schemaVersion": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "contentHash": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          },
          "required": [
            "kind",
            "id",
            "ownerRepo",
            "visibility",
            "revision",
            "schemaVersion",
            "contentHash"
          ],
          "additionalProperties": false
        },
        "tokenRevisionRefs": {
          "minItems": 1,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "ownerRepo": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "visibility": {
                "type": "string",
                "enum": [
                  "tenant",
                  "global",
                  "public"
                ]
              },
              "tenantScope": {
                "type": "object",
                "properties": {
                  "tenantRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "dataSpaceRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "teamRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "tenantRef",
                  "dataSpaceRef"
                ],
                "additionalProperties": false
              },
              "revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "schemaVersion": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "contentHash": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "required": [
              "kind",
              "id",
              "ownerRepo",
              "visibility",
              "revision",
              "schemaVersion",
              "contentHash"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "hostCapabilityRevisionRef",
        "hostProviderRevisionRef",
        "layoutPolicyRevisionRef",
        "tokenRevisionRefs"
      ],
      "additionalProperties": false
    },
    "workbenchAccessPolicy": {
      "type": "object",
      "properties": {
        "authenticated": {
          "type": "boolean"
        },
        "groupAllOf": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "ownerRepo": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "visibility": {
                "type": "string",
                "enum": [
                  "tenant",
                  "global",
                  "public"
                ]
              },
              "tenantScope": {
                "type": "object",
                "properties": {
                  "tenantRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "dataSpaceRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "teamRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "tenantRef",
                  "dataSpaceRef"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "kind",
              "id",
              "ownerRepo",
              "visibility"
            ],
            "additionalProperties": false
          }
        },
        "groupAnyOf": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "ownerRepo": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "visibility": {
                "type": "string",
                "enum": [
                  "tenant",
                  "global",
                  "public"
                ]
              },
              "tenantScope": {
                "type": "object",
                "properties": {
                  "tenantRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "dataSpaceRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "teamRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "tenantRef",
                  "dataSpaceRef"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "kind",
              "id",
              "ownerRepo",
              "visibility"
            ],
            "additionalProperties": false
          }
        },
        "permissionAllOf": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          }
        },
        "permissionAnyOf": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          }
        },
        "conditionAllOf": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "ownerRepo": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "visibility": {
                "type": "string",
                "enum": [
                  "tenant",
                  "global",
                  "public"
                ]
              },
              "tenantScope": {
                "type": "object",
                "properties": {
                  "tenantRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "dataSpaceRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  },
                  "teamRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id",
                      "ownerRepo"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "tenantRef",
                  "dataSpaceRef"
                ],
                "additionalProperties": false
              },
              "revision": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "schemaVersion": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "contentHash": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "required": [
              "kind",
              "id",
              "ownerRepo",
              "visibility",
              "revision",
              "schemaVersion",
              "contentHash"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "authenticated",
        "groupAllOf",
        "groupAnyOf",
        "permissionAllOf",
        "permissionAnyOf",
        "conditionAllOf"
      ],
      "additionalProperties": false
    },
    "personalPreferencesPolicy": {
      "type": "object",
      "properties": {
        "allowed": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "collapsed-groups",
              "recent-entry",
              "layout-density"
            ]
          }
        },
        "authority": {
          "type": "string",
          "const": "identity-overlay"
        }
      },
      "required": [
        "allowed",
        "authority"
      ],
      "additionalProperties": false
    },
    "target": {
      "type": "object",
      "properties": {
        "environmentRef": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "ownerRepo": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "visibility": {
              "type": "string",
              "enum": [
                "tenant",
                "global",
                "public"
              ]
            },
            "tenantScope": {
              "type": "object",
              "properties": {
                "tenantRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                },
                "dataSpaceRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                },
                "teamRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "tenantRef",
                "dataSpaceRef"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "kind",
            "id",
            "ownerRepo",
            "visibility"
          ],
          "additionalProperties": false
        },
        "surface": {
          "type": "string",
          "enum": [
            "studio",
            "kernel"
          ]
        },
        "workbenchId": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "routeSpaceRevisionRef": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "id": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "ownerRepo": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "visibility": {
              "type": "string",
              "enum": [
                "tenant",
                "global",
                "public"
              ]
            },
            "tenantScope": {
              "type": "object",
              "properties": {
                "tenantRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                },
                "dataSpaceRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                },
                "teamRef": {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "id": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "ownerRepo": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "id",
                    "ownerRepo"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "tenantRef",
                "dataSpaceRef"
              ],
              "additionalProperties": false
            },
            "revision": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "schemaVersion": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "contentHash": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          },
          "required": [
            "kind",
            "id",
            "ownerRepo",
            "visibility",
            "revision",
            "schemaVersion",
            "contentHash"
          ],
          "additionalProperties": false
        },
        "normalizedPath": {
          "type": "string",
          "pattern": "^\\/(?!\\/)"
        },
        "routeClaim": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "enum": [
                "canonical",
                "alias",
                "redirect"
              ]
            },
            "routeSpaceRevisionRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "visibility": {
                  "type": "string",
                  "enum": [
                    "tenant",
                    "global",
                    "public"
                  ]
                },
                "tenantScope": {
                  "type": "object",
                  "properties": {
                    "tenantRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    },
                    "dataSpaceRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    },
                    "teamRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "tenantRef",
                    "dataSpaceRef"
                  ],
                  "additionalProperties": false
                },
                "revision": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "schemaVersion": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "contentHash": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo",
                "visibility",
                "revision",
                "schemaVersion",
                "contentHash"
              ],
              "additionalProperties": false
            },
            "pathTemplate": {
              "type": "string",
              "pattern": "^\\/(?!\\/)"
            },
            "redirectTargetRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "visibility": {
                  "type": "string",
                  "enum": [
                    "tenant",
                    "global",
                    "public"
                  ]
                },
                "tenantScope": {
                  "type": "object",
                  "properties": {
                    "tenantRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    },
                    "dataSpaceRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    },
                    "teamRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "tenantRef",
                    "dataSpaceRef"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo",
                "visibility"
              ],
              "additionalProperties": false
            },
            "surface": {
              "type": "string",
              "enum": [
                "studio",
                "kernel"
              ]
            },
            "normalizedPath": {
              "type": "string",
              "pattern": "^\\/(?!\\/)"
            },
            "matcher": {
              "type": "object",
              "properties": {
                "caseSensitive": {
                  "type": "boolean"
                },
                "trailingSlash": {
                  "type": "string",
                  "enum": [
                    "preserve",
                    "remove",
                    "require"
                  ]
                },
                "parameters": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "identifier",
                          "integer",
                          "slug",
                          "uuid"
                        ]
                      },
                      "required": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "name",
                      "type",
                      "required"
                    ],
                    "additionalProperties": false
                  }
                },
                "surface": {
                  "type": "string",
                  "enum": [
                    "studio",
                    "kernel"
                  ]
                }
              },
              "required": [
                "caseSensitive",
                "trailingSlash",
                "parameters",
                "surface"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "kind",
            "routeSpaceRevisionRef",
            "pathTemplate",
            "surface",
            "normalizedPath",
            "matcher"
          ],
          "additionalProperties": false
        },
        "legacyRouteTakeoverAuthorization": {
          "type": "object",
          "properties": {
            "contract": {
              "type": "string",
              "const": "LegacyRouteTakeoverAuthorization"
            },
            "schemaVersion": {
              "type": "number",
              "const": 1
            },
            "routeSpaceRevisionRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "visibility": {
                  "type": "string",
                  "enum": [
                    "tenant",
                    "global",
                    "public"
                  ]
                },
                "tenantScope": {
                  "type": "object",
                  "properties": {
                    "tenantRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    },
                    "dataSpaceRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    },
                    "teamRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "tenantRef",
                    "dataSpaceRef"
                  ],
                  "additionalProperties": false
                },
                "revision": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "schemaVersion": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "contentHash": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo",
                "visibility",
                "revision",
                "schemaVersion",
                "contentHash"
              ],
              "additionalProperties": false
            },
            "normalizedPath": {
              "type": "string",
              "pattern": "^\\/(?!\\/)"
            },
            "legacyAdapterRevisionRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "visibility": {
                  "type": "string",
                  "enum": [
                    "tenant",
                    "global",
                    "public"
                  ]
                },
                "tenantScope": {
                  "type": "object",
                  "properties": {
                    "tenantRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    },
                    "dataSpaceRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    },
                    "teamRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "tenantRef",
                    "dataSpaceRef"
                  ],
                  "additionalProperties": false
                },
                "revision": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "schemaVersion": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "contentHash": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo",
                "visibility",
                "revision",
                "schemaVersion",
                "contentHash"
              ],
              "additionalProperties": false
            },
            "sourceRevisionRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "visibility": {
                  "type": "string",
                  "enum": [
                    "tenant",
                    "global",
                    "public"
                  ]
                },
                "tenantScope": {
                  "type": "object",
                  "properties": {
                    "tenantRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    },
                    "dataSpaceRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    },
                    "teamRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "tenantRef",
                    "dataSpaceRef"
                  ],
                  "additionalProperties": false
                },
                "revision": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "schemaVersion": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "contentHash": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo",
                "visibility",
                "revision",
                "schemaVersion",
                "contentHash"
              ],
              "additionalProperties": false
            },
            "inspectedSourceContentHash": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            },
            "targetResourceRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "visibility": {
                  "type": "string",
                  "enum": [
                    "tenant",
                    "global",
                    "public"
                  ]
                },
                "tenantScope": {
                  "type": "object",
                  "properties": {
                    "tenantRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    },
                    "dataSpaceRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    },
                    "teamRef": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "id": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "ownerRepo": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "id",
                        "ownerRepo"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "tenantRef",
                    "dataSpaceRef"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo",
                "visibility"
              ],
              "additionalProperties": false
            },
            "workbenchCatalogDefaults": {
              "type": "object",
              "properties": {
                "order": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "isDefaultCandidate": {
                  "type": "boolean"
                }
              },
              "required": [
                "order",
                "isDefaultCandidate"
              ],
              "additionalProperties": false
            },
            "contentHash": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$"
            }
          },
          "required": [
            "contract",
            "schemaVersion",
            "routeSpaceRevisionRef",
            "normalizedPath",
            "legacyAdapterRevisionRef",
            "sourceRevisionRef",
            "inspectedSourceContentHash",
            "targetResourceRef",
            "contentHash"
          ],
          "additionalProperties": false
        },
        "order": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        "isDefaultCandidate": {
          "type": "boolean"
        }
      },
      "required": [
        "environmentRef",
        "surface",
        "workbenchId",
        "routeSpaceRevisionRef",
        "normalizedPath",
        "routeClaim",
        "order",
        "isDefaultCandidate"
      ],
      "additionalProperties": false
    },
    "performanceBudgetRef": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "ownerRepo": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "visibility": {
          "type": "string",
          "enum": [
            "tenant",
            "global",
            "public"
          ]
        },
        "tenantScope": {
          "type": "object",
          "properties": {
            "tenantRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            },
            "dataSpaceRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            },
            "teamRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "tenantRef",
            "dataSpaceRef"
          ],
          "additionalProperties": false
        },
        "revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "schemaVersion": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "contentHash": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        }
      },
      "required": [
        "kind",
        "id",
        "ownerRepo",
        "visibility",
        "revision",
        "schemaVersion",
        "contentHash"
      ],
      "additionalProperties": false
    },
    "observationPolicyRevisionRef": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "ownerRepo": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "visibility": {
          "type": "string",
          "enum": [
            "tenant",
            "global",
            "public"
          ]
        },
        "tenantScope": {
          "type": "object",
          "properties": {
            "tenantRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            },
            "dataSpaceRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            },
            "teamRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id",
                "ownerRepo"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "tenantRef",
            "dataSpaceRef"
          ],
          "additionalProperties": false
        },
        "revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "schemaVersion": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        },
        "contentHash": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        }
      },
      "required": [
        "kind",
        "id",
        "ownerRepo",
        "visibility",
        "revision",
        "schemaVersion",
        "contentHash"
      ],
      "additionalProperties": false
    },
    "privacyClassification": {
      "type": "string",
      "enum": [
        "public",
        "internal",
        "confidential",
        "restricted"
      ]
    }
  },
  "required": [
    "contract",
    "schemaVersion",
    "tenantScope",
    "releaseRevisionRef",
    "compilerRevisionRef",
    "generation",
    "dependencySnapshot",
    "contentHash",
    "rebuildable",
    "diagnostics",
    "workbenchId",
    "workbenchRevisionRef",
    "identity",
    "surface",
    "routeClaims",
    "groups",
    "appInstances",
    "defaultEntry",
    "layout",
    "workbenchAccessPolicy",
    "personalPreferencesPolicy",
    "target",
    "performanceBudgetRef",
    "observationPolicyRevisionRef",
    "privacyClassification"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  },
  "$id": "https://schemas.infmonkeys.com/contracts/workbench-runtime-bundle.schema.json",
  "title": "workbench-runtime-bundle"
}
