{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "contract": {
      "type": "string",
      "const": "Page"
    },
    "schemaVersion": {
      "type": "number",
      "const": 1
    },
    "pageId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "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
    },
    "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
        },
        "tags": {
          "default": [],
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          }
        }
      },
      "required": [
        "name",
        "tags"
      ],
      "additionalProperties": false
    },
    "surface": {
      "type": "string",
      "enum": [
        "studio",
        "kernel"
      ]
    },
    "route": {
      "type": "string",
      "pattern": "^\\/(?!\\/)"
    },
    "routeSpace": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "lifecycle": {
      "default": "active",
      "type": "string",
      "enum": [
        "active",
        "deprecated",
        "retired"
      ]
    },
    "routeStatePresentations": {
      "maxItems": 8,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "surface": {
            "type": "string",
            "enum": [
              "studio",
              "kernel"
            ]
          },
          "state": {
            "type": "string",
            "const": "forbidden"
          },
          "kind": {
            "type": "string",
            "const": "status"
          },
          "presentation": {
            "type": "string",
            "enum": [
              "panel",
              "page"
            ]
          },
          "title": {
            "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": [
          "surface",
          "state",
          "kind",
          "presentation",
          "title"
        ],
        "additionalProperties": false
      }
    },
    "shell": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "body": {
      "$ref": "#/$defs/__schema0"
    },
    "initialQueryPolicy": {
      "type": "string",
      "enum": [
        "auto",
        "explicit",
        "disabled"
      ]
    },
    "state": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "stateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "scopeNodeId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "initialValue": {
            "$ref": "#/$defs/__schema2"
          },
          "defaultValue": {
            "$ref": "#/$defs/__schema1"
          },
          "persistence": {
            "type": "string",
            "enum": [
              "none",
              "session",
              "url",
              "tenant-preference",
              "url-with-tenant-preference"
            ]
          },
          "urlWriteback": {
            "type": "string",
            "enum": [
              "synchronize",
              "never"
            ]
          },
          "preferencePartitionStateId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "legacyBrowserPreferenceImport": {
            "type": "object",
            "properties": {
              "storageKey": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "jsonPath": {
                "minItems": 1,
                "maxItems": 16,
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 128
                    },
                    {
                      "type": "object",
                      "properties": {
                        "stateId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "stateId"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "valueType": {
                "type": "string",
                "enum": [
                  "string",
                  "number",
                  "boolean-01",
                  "json"
                ]
              }
            },
            "required": [
              "storageKey",
              "valueType"
            ],
            "additionalProperties": false
          },
          "schema": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          }
        },
        "required": [
          "stateId",
          "persistence",
          "schema"
        ],
        "additionalProperties": false
      }
    },
    "sharedStateBindings": {
      "maxItems": 16,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "bindingId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "provider": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "version": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              }
            },
            "required": [
              "id",
              "version"
            ],
            "additionalProperties": false
          },
          "states": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "additionalProperties": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            }
          },
          "queries": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "additionalProperties": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            }
          },
          "writeInteractions": {
            "maxItems": 32,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            }
          }
        },
        "required": [
          "bindingId",
          "provider",
          "states",
          "queries",
          "writeInteractions"
        ],
        "additionalProperties": false
      }
    },
    "entryTransitions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "browsingContext": {
            "type": "string",
            "enum": [
              "same",
              "new"
            ]
          },
          "gestureSource": {
            "type": "object",
            "properties": {
              "capabilityInstanceId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "port": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              }
            },
            "required": [
              "capabilityInstanceId",
              "port"
            ],
            "additionalProperties": false
          },
          "transitionId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 256
          },
          "activation": {
            "$ref": "#/$defs/__schema3"
          },
          "pathParameters": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "route-parameter"
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "name"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "constant"
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "boolean"
                        }
                      ]
                    }
                  },
                  "required": [
                    "kind",
                    "value"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "kind": {
                      "type": "string",
                      "const": "page-state"
                    },
                    "stateId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "kind",
                    "stateId"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "query": {
            "type": "object",
            "properties": {
              "preserve": {
                "type": "boolean"
              },
              "remove": {
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "set": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "route-parameter"
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "constant"
                        },
                        "value": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "boolean"
                            }
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "page-state"
                        },
                        "stateId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "stateId"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              }
            },
            "required": [
              "preserve",
              "remove",
              "set"
            ],
            "additionalProperties": false
          },
          "target": {
            "type": "object",
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "page",
                  "workbench"
                ]
              },
              "id": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              }
            },
            "required": [
              "kind",
              "id"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "transitionId",
          "activation",
          "pathParameters",
          "query",
          "target"
        ],
        "additionalProperties": false
      }
    },
    "access": {
      "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
    },
    "managementAccess": {
      "type": "object",
      "properties": {
        "edit": {
          "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
        },
        "preview": {
          "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
        },
        "publish": {
          "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
        },
        "deactivate": {
          "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
        },
        "rollback": {
          "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
        },
        "retire": {
          "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": [
        "edit",
        "preview",
        "publish",
        "deactivate",
        "rollback",
        "retire"
      ],
      "additionalProperties": false
    },
    "tokens": {
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 256
      }
    },
    "performanceBudget": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "observationPolicy": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "privacyClassification": {
      "default": "internal",
      "type": "string",
      "enum": [
        "public",
        "internal",
        "confidential",
        "restricted"
      ]
    }
  },
  "required": [
    "contract",
    "schemaVersion",
    "pageId",
    "tenantScope",
    "identity",
    "surface",
    "route",
    "lifecycle",
    "body",
    "access",
    "managementAccess",
    "privacyClassification"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "component": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "kind": {
          "type": "string",
          "enum": [
            "shell",
            "page",
            "navigation",
            "view",
            "record",
            "control",
            "detail",
            "action",
            "overlay",
            "professional-provider"
          ]
        },
        "slot": {
          "type": "string",
          "minLength": 1,
          "maxLength": 256
        },
        "props": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema1"
          }
        },
        "bindings": {
          "maxItems": 128,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "targetPath": {
                "minItems": 1,
                "maxItems": 16,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "expression": {
                "$ref": "#/$defs/__schema2"
              },
              "valueType": {
                "type": "string",
                "enum": [
                  "string",
                  "number",
                  "boolean",
                  "object",
                  "array",
                  "null"
                ]
              }
            },
            "required": [
              "targetPath",
              "expression"
            ],
            "additionalProperties": false
          }
        },
        "model": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema1"
          }
        },
        "style": {
          "type": "object",
          "properties": {
            "width": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "height": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "minWidth": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "maxWidth": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "minHeight": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "maxHeight": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "padding": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "paddingBlock": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "paddingInline": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "margin": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "marginBlockStart": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "marginBlockEnd": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "marginInlineStart": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "marginInlineEnd": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "display": {
              "type": "string",
              "enum": [
                "none",
                "block",
                "inline",
                "inline-block",
                "flex",
                "inline-flex",
                "grid",
                "contents"
              ]
            },
            "gap": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "rowGap": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "columnGap": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "background": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "color": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "borderColor": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "borderWidth": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "borderStyle": {
              "type": "string",
              "enum": [
                "none",
                "solid",
                "dashed",
                "dotted"
              ]
            },
            "borderRadius": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "boxShadow": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "fontSize": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "fontFamily": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "fontWeight": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "lineHeight": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "textAlign": {
              "type": "string",
              "enum": [
                "start",
                "center",
                "end",
                "left",
                "right"
              ]
            },
            "whiteSpace": {
              "type": "string",
              "enum": [
                "normal",
                "nowrap",
                "pre",
                "pre-wrap",
                "pre-line",
                "break-spaces"
              ]
            },
            "overflow": {
              "type": "string",
              "enum": [
                "visible",
                "hidden",
                "auto",
                "scroll",
                "clip"
              ]
            },
            "overflowX": {
              "type": "string",
              "enum": [
                "visible",
                "hidden",
                "auto",
                "scroll",
                "clip"
              ]
            },
            "overflowY": {
              "type": "string",
              "enum": [
                "visible",
                "hidden",
                "auto",
                "scroll",
                "clip"
              ]
            },
            "position": {
              "type": "string",
              "enum": [
                "static",
                "relative",
                "absolute",
                "sticky",
                "fixed"
              ]
            },
            "inset": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "top": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "right": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "bottom": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "left": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "gridTemplateColumns": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "gridColumn": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "gridRow": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "flex": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              ]
            },
            "flexDirection": {
              "type": "string",
              "enum": [
                "row",
                "row-reverse",
                "column",
                "column-reverse"
              ]
            },
            "flexWrap": {
              "type": "string",
              "enum": [
                "nowrap",
                "wrap",
                "wrap-reverse"
              ]
            },
            "alignItems": {
              "type": "string",
              "enum": [
                "start",
                "center",
                "end",
                "stretch",
                "baseline"
              ]
            },
            "justifyContent": {
              "type": "string",
              "enum": [
                "start",
                "center",
                "end",
                "space-between",
                "space-around",
                "space-evenly"
              ]
            },
            "flexGrow": {
              "type": "number",
              "minimum": 0
            },
            "flexShrink": {
              "type": "number",
              "minimum": 0
            },
            "alignSelf": {
              "type": "string",
              "enum": [
                "auto",
                "start",
                "center",
                "end",
                "stretch"
              ]
            },
            "justifySelf": {
              "type": "string",
              "enum": [
                "auto",
                "start",
                "center",
                "end",
                "stretch"
              ]
            },
            "objectFit": {
              "type": "string",
              "enum": [
                "contain",
                "cover",
                "fill",
                "none",
                "scale-down"
              ]
            },
            "opacity": {
              "type": "number",
              "minimum": 0,
              "maximum": 1
            }
          },
          "additionalProperties": false
        },
        "layout": {
          "type": "object",
          "properties": {
            "mode": {
              "type": "string",
              "enum": [
                "contents",
                "block",
                "flex",
                "grid",
                "absolute"
              ]
            },
            "direction": {
              "type": "string",
              "enum": [
                "row",
                "column"
              ]
            },
            "columns": {
              "type": "integer",
              "exclusiveMinimum": 0,
              "maximum": 9007199254740991
            },
            "align": {
              "type": "string",
              "enum": [
                "start",
                "center",
                "end",
                "stretch"
              ]
            },
            "justify": {
              "type": "string",
              "enum": [
                "start",
                "center",
                "end",
                "between",
                "around"
              ]
            },
            "gapTokenRef": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "version": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "string",
                      "minLength": 1
                    }
                  ]
                },
                "ownerRepo": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "kind",
                "id"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "mode"
          ],
          "additionalProperties": false
        },
        "responsive": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "minWidthPx": {
                "type": "number",
                "minimum": 0
              },
              "maxWidthPx": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "layout": {
                "type": "object",
                "properties": {
                  "mode": {
                    "type": "string",
                    "enum": [
                      "contents",
                      "block",
                      "flex",
                      "grid",
                      "absolute"
                    ]
                  },
                  "direction": {
                    "type": "string",
                    "enum": [
                      "row",
                      "column"
                    ]
                  },
                  "columns": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "align": {
                    "type": "string",
                    "enum": [
                      "start",
                      "center",
                      "end",
                      "stretch"
                    ]
                  },
                  "justify": {
                    "type": "string",
                    "enum": [
                      "start",
                      "center",
                      "end",
                      "between",
                      "around"
                    ]
                  },
                  "gapTokenRef": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "id": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "version": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "string",
                            "minLength": 1
                          }
                        ]
                      },
                      "ownerRepo": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    },
                    "required": [
                      "kind",
                      "id"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "mode"
                ],
                "additionalProperties": false
              },
              "style": {
                "type": "object",
                "properties": {
                  "width": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "height": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "minWidth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "maxWidth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "minHeight": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "maxHeight": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "padding": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "paddingBlock": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "paddingInline": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "margin": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "marginBlockStart": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "marginBlockEnd": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "marginInlineStart": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "marginInlineEnd": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "display": {
                    "type": "string",
                    "enum": [
                      "none",
                      "block",
                      "inline",
                      "inline-block",
                      "flex",
                      "inline-flex",
                      "grid",
                      "contents"
                    ]
                  },
                  "gap": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "rowGap": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "columnGap": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "background": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "color": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "borderColor": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "borderWidth": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "borderStyle": {
                    "type": "string",
                    "enum": [
                      "none",
                      "solid",
                      "dashed",
                      "dotted"
                    ]
                  },
                  "borderRadius": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "boxShadow": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "fontSize": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "fontFamily": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "fontWeight": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "lineHeight": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "textAlign": {
                    "type": "string",
                    "enum": [
                      "start",
                      "center",
                      "end",
                      "left",
                      "right"
                    ]
                  },
                  "whiteSpace": {
                    "type": "string",
                    "enum": [
                      "normal",
                      "nowrap",
                      "pre",
                      "pre-wrap",
                      "pre-line",
                      "break-spaces"
                    ]
                  },
                  "overflow": {
                    "type": "string",
                    "enum": [
                      "visible",
                      "hidden",
                      "auto",
                      "scroll",
                      "clip"
                    ]
                  },
                  "overflowX": {
                    "type": "string",
                    "enum": [
                      "visible",
                      "hidden",
                      "auto",
                      "scroll",
                      "clip"
                    ]
                  },
                  "overflowY": {
                    "type": "string",
                    "enum": [
                      "visible",
                      "hidden",
                      "auto",
                      "scroll",
                      "clip"
                    ]
                  },
                  "position": {
                    "type": "string",
                    "enum": [
                      "static",
                      "relative",
                      "absolute",
                      "sticky",
                      "fixed"
                    ]
                  },
                  "inset": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "top": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "right": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "bottom": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "left": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "gridTemplateColumns": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "gridColumn": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "gridRow": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "flex": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      }
                    ]
                  },
                  "flexDirection": {
                    "type": "string",
                    "enum": [
                      "row",
                      "row-reverse",
                      "column",
                      "column-reverse"
                    ]
                  },
                  "flexWrap": {
                    "type": "string",
                    "enum": [
                      "nowrap",
                      "wrap",
                      "wrap-reverse"
                    ]
                  },
                  "alignItems": {
                    "type": "string",
                    "enum": [
                      "start",
                      "center",
                      "end",
                      "stretch",
                      "baseline"
                    ]
                  },
                  "justifyContent": {
                    "type": "string",
                    "enum": [
                      "start",
                      "center",
                      "end",
                      "space-between",
                      "space-around",
                      "space-evenly"
                    ]
                  },
                  "flexGrow": {
                    "type": "number",
                    "minimum": 0
                  },
                  "flexShrink": {
                    "type": "number",
                    "minimum": 0
                  },
                  "alignSelf": {
                    "type": "string",
                    "enum": [
                      "auto",
                      "start",
                      "center",
                      "end",
                      "stretch"
                    ]
                  },
                  "justifySelf": {
                    "type": "string",
                    "enum": [
                      "auto",
                      "start",
                      "center",
                      "end",
                      "stretch"
                    ]
                  },
                  "objectFit": {
                    "type": "string",
                    "enum": [
                      "contain",
                      "cover",
                      "fill",
                      "none",
                      "scale-down"
                    ]
                  },
                  "opacity": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "layout"
            ],
            "additionalProperties": false
          }
        },
        "surface": {
          "type": "object",
          "properties": {
            "frameOwner": {
              "type": "string",
              "enum": [
                "host",
                "provider",
                "none"
              ]
            },
            "tone": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "density": {
              "type": "string",
              "enum": [
                "compact",
                "default",
                "comfortable"
              ]
            }
          },
          "required": [
            "frameOwner",
            "density"
          ],
          "additionalProperties": false
        },
        "scroll": {
          "type": "object",
          "properties": {
            "owner": {
              "type": "string",
              "enum": [
                "page",
                "surface",
                "provider"
              ]
            },
            "axis": {
              "type": "string",
              "enum": [
                "x",
                "y",
                "both",
                "none"
              ]
            },
            "restoreKey": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "virtualizationBoundary": {
              "type": "boolean"
            }
          },
          "required": [
            "owner",
            "axis",
            "virtualizationBoundary"
          ],
          "additionalProperties": false
        },
        "activation": {
          "type": "object",
          "properties": {
            "activationId": {
              "type": "string",
              "minLength": 1,
              "maxLength": 256
            },
            "mode": {
              "type": "string",
              "enum": [
                "navigate",
                "select",
                "drawer",
                "modal",
                "fullscreen",
                "inline"
              ]
            },
            "targetPath": {
              "type": "string",
              "pattern": "^\\/(?!\\/)"
            },
            "history": {
              "type": "string",
              "enum": [
                "push",
                "replace"
              ]
            }
          },
          "required": [
            "activationId",
            "mode"
          ],
          "additionalProperties": false
        },
        "lifecycle": {
          "type": "object",
          "properties": {
            "mountPolicy": {
              "type": "string",
              "enum": [
                "always",
                "when-visible",
                "when-active"
              ]
            },
            "queryPolicy": {
              "type": "string",
              "enum": [
                "always",
                "when-visible",
                "when-active",
                "manual"
              ]
            },
            "retainOnDeactivate": {
              "type": "boolean"
            },
            "deepLink": {
              "type": "boolean"
            },
            "focusReturn": {
              "type": "boolean"
            }
          },
          "required": [
            "mountPolicy",
            "queryPolicy",
            "retainOnDeactivate",
            "deepLink",
            "focusReturn"
          ],
          "additionalProperties": false
        },
        "state": {
          "type": "string",
          "enum": [
            "idle",
            "loading",
            "empty",
            "error",
            "success",
            "disabled",
            "selected"
          ]
        },
        "access": {
          "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
        },
        "activeWhen": {
          "$ref": "#/$defs/__schema3"
        },
        "repeat": {
          "type": "object",
          "properties": {
            "source": {
              "$ref": "#/$defs/__schema2"
            },
            "keyPath": {
              "minItems": 1,
              "maxItems": 16,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              }
            },
            "limit": {
              "type": "integer",
              "minimum": 1,
              "maximum": 1000
            }
          },
          "required": [
            "source",
            "keyPath"
          ],
          "additionalProperties": false
        },
        "data": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "bindingId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "parameters": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "scope-field"
                        },
                        "path": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 4096,
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      },
                      "required": [
                        "kind",
                        "path"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "binding-field"
                        },
                        "bindingId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "path": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      },
                      "required": [
                        "kind",
                        "bindingId",
                        "path"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "constant"
                        },
                        "value": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "route-parameter"
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "query-parameter"
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "identity"
                        },
                        "name": {
                          "type": "string",
                          "enum": [
                            "tenantId",
                            "teamId",
                            "userId"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "intent-field"
                        },
                        "path": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      },
                      "required": [
                        "kind",
                        "path"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "page-state"
                        },
                        "stateId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "stateId"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "stateEffects": {
                "maxItems": 32,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "targetStateId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "value": {
                      "$ref": "#/$defs/__schema2"
                    },
                    "when": {
                      "$ref": "#/$defs/__schema2"
                    }
                  },
                  "required": [
                    "targetStateId",
                    "value"
                  ],
                  "additionalProperties": false
                }
              },
              "queryWhen": {
                "$ref": "#/$defs/__schema3"
              },
              "loadTiming": {
                "type": "string",
                "enum": [
                  "page-start",
                  "component-mount"
                ]
              },
              "accessFailure": {
                "type": "string",
                "const": "render-forbidden"
              },
              "draftRetention": {
                "type": "object",
                "properties": {
                  "identityParameters": {
                    "minItems": 1,
                    "maxItems": 32,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  }
                },
                "required": [
                  "identityParameters"
                ],
                "additionalProperties": false
              },
              "queryRetention": {
                "type": "object",
                "properties": {
                  "identityParameters": {
                    "maxItems": 32,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  }
                },
                "required": [
                  "identityParameters"
                ],
                "additionalProperties": false
              },
              "execution": {
                "default": "server",
                "type": "string",
                "enum": [
                  "server",
                  "local-state"
                ]
              },
              "pagination": {
                "type": "string",
                "enum": [
                  "none",
                  "cursor",
                  "offset"
                ]
              },
              "cache": {
                "type": "string",
                "enum": [
                  "none",
                  "identity-scoped",
                  "tenant-scoped"
                ]
              },
              "cancelOnChange": {
                "type": "boolean"
              },
              "refreshPolicy": {
                "type": "object",
                "properties": {
                  "intervalMs": {
                    "type": "integer",
                    "minimum": 1000,
                    "maximum": 300000
                  },
                  "when": {
                    "$ref": "#/$defs/__schema2"
                  }
                },
                "required": [
                  "intervalMs"
                ],
                "additionalProperties": false
              },
              "query": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "port": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "targetProjection": {
                "type": "object",
                "properties": {
                  "expression": {
                    "$ref": "#/$defs/__schema2"
                  }
                },
                "required": [
                  "expression"
                ],
                "additionalProperties": false
              },
              "streamTargetProjection": {
                "type": "object",
                "properties": {
                  "expression": {
                    "$ref": "#/$defs/__schema2"
                  }
                },
                "required": [
                  "expression"
                ],
                "additionalProperties": false
              },
              "cursorWindow": {
                "type": "object",
                "properties": {
                  "sourceCapabilityInstanceId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "pageChangePort": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  }
                },
                "required": [
                  "pageChangePort"
                ],
                "additionalProperties": false
              },
              "resultStateBindings": {
                "maxItems": 32,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "targetStateId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "source": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "page-info-total",
                            "model-total"
                          ]
                        }
                      },
                      "required": [
                        "kind"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "targetStateId",
                    "source"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "bindingId",
              "parameters",
              "execution",
              "pagination",
              "cache",
              "cancelOnChange",
              "query",
              "port"
            ],
            "additionalProperties": false
          }
        },
        "actions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "bindingId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "when": {
                "$ref": "#/$defs/__schema2"
              },
              "fileInputs": {
                "minItems": 1,
                "maxItems": 4,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "inputId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    },
                    "source": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "const": "page-state"
                            },
                            "stateId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "required": [
                            "kind",
                            "stateId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "kind": {
                              "type": "string",
                              "const": "intent-field"
                            },
                            "path": {
                              "type": "string",
                              "pattern": "^[A-Za-z0-9_.-]+$"
                            }
                          },
                          "required": [
                            "kind",
                            "path"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "maxBytes": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 5368709120
                    },
                    "upload": {
                      "type": "object",
                      "properties": {
                        "purpose": {
                          "type": "string",
                          "enum": [
                            "uploads",
                            "agent-attachments",
                            "agent-artifacts",
                            "agent-edited-images",
                            "agent-workbench",
                            "asset-screenshots",
                            "data-exports",
                            "data-feature-media",
                            "design-assets",
                            "design-board-thumbnails",
                            "design-images",
                            "dev-agent-reference-images",
                            "dev-agent-review-artifacts",
                            "external-delivery-techpacks",
                            "llm-generated-images",
                            "media-generated",
                            "media-uploads",
                            "model-training-files",
                            "models",
                            "models-checkpoints",
                            "models-clip",
                            "models-controlnet",
                            "models-diffusion-models",
                            "models-loras-test",
                            "models-vae",
                            "output-images",
                            "plugin-data-imports",
                            "plugin-runtime",
                            "plugin-runtime-outputs",
                            "step-thumbnails",
                            "techpack-design-intent",
                            "user-files-base",
                            "user-files-design-board-background",
                            "user-files-design-project-cover",
                            "user-files-designs",
                            "user-files-icons",
                            "user-files-import-comfyui-image",
                            "user-files-import-comfyui-json",
                            "user-files-import-comfyui-json-url",
                            "user-files-instruction-input",
                            "user-files-linesheet",
                            "user-files-media",
                            "user-files-other",
                            "user-files-prompt-assistant",
                            "user-files-table-data",
                            "user-files-techpack-attachments",
                            "user-files-text-data-file",
                            "user-files-workflow-input",
                            "workflow-image-mask",
                            "workflow-image-overlay",
                            "workflow-import"
                          ]
                        }
                      },
                      "required": [
                        "purpose"
                      ],
                      "additionalProperties": false
                    },
                    "accept": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "required": [
                    "inputId",
                    "source",
                    "maxBytes"
                  ],
                  "additionalProperties": false
                }
              },
              "inputMapping": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "scope-field"
                        },
                        "path": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 4096,
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      },
                      "required": [
                        "kind",
                        "path"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "binding-field"
                        },
                        "bindingId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "path": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      },
                      "required": [
                        "kind",
                        "bindingId",
                        "path"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "constant"
                        },
                        "value": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "route-parameter"
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "query-parameter"
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "identity"
                        },
                        "name": {
                          "type": "string",
                          "enum": [
                            "tenantId",
                            "teamId",
                            "userId"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "intent-field"
                        },
                        "path": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      },
                      "required": [
                        "kind",
                        "path"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "page-state"
                        },
                        "stateId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "stateId"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "expression"
                        },
                        "expression": {
                          "$ref": "#/$defs/__schema2"
                        }
                      },
                      "required": [
                        "kind",
                        "expression"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "file-field"
                        },
                        "fileInputId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "path": {
                          "type": "string",
                          "enum": [
                            "fileName",
                            "content",
                            "canonicalUri"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "fileInputId",
                        "path"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "sensitiveInputPaths": {
                "maxItems": 64,
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 512,
                  "pattern": "^\\/.*"
                }
              },
              "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
              },
              "confirmation": {
                "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
              },
              "idempotencyKeySource": {
                "type": "string",
                "enum": [
                  "interaction",
                  "record-and-interaction",
                  "caller-provided"
                ]
              },
              "success": {
                "type": "object",
                "properties": {
                  "download": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "native"
                          }
                        },
                        "required": [
                          "kind"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "text-artifact"
                          },
                          "fileNamePath": {
                            "minItems": 1,
                            "maxItems": 16,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "mimeTypePath": {
                            "minItems": 1,
                            "maxItems": 16,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "contentPath": {
                            "minItems": 1,
                            "maxItems": 16,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 256
                            }
                          },
                          "maxBytes": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 1048576
                          }
                        },
                        "required": [
                          "kind",
                          "fileNamePath",
                          "mimeTypePath",
                          "contentPath",
                          "maxBytes"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  },
                  "refreshBindingIds": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 256
                    }
                  },
                  "ephemeralResult": {
                    "type": "object",
                    "properties": {
                      "kind": {
                        "type": "string",
                        "const": "one-time-value"
                      },
                      "valuePath": {
                        "type": "string",
                        "maxLength": 512,
                        "pattern": "^\\/.*"
                      },
                      "labelPath": {
                        "type": "string",
                        "maxLength": 512,
                        "pattern": "^\\/.*"
                      },
                      "title": {
                        "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
                      },
                      "copySuccessToast": {
                        "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
                      },
                      "copyFailureToast": {
                        "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": [
                      "kind",
                      "valuePath",
                      "labelPath",
                      "title",
                      "description",
                      "copySuccessToast",
                      "copyFailureToast"
                    ],
                    "additionalProperties": false
                  },
                  "resultBindingEffects": {
                    "maxItems": 64,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "bindingId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "operation": {
                          "type": "string",
                          "enum": [
                            "upsert-append",
                            "remove-exact"
                          ]
                        },
                        "collectionPath": {
                          "minItems": 1,
                          "maxItems": 8,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "identityPath": {
                          "minItems": 1,
                          "maxItems": 8,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "mappings": {
                          "minItems": 1,
                          "maxItems": 64,
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "targetPath": {
                                "minItems": 1,
                                "maxItems": 8,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 256
                                }
                              },
                              "source": {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string",
                                        "const": "result-field"
                                      },
                                      "path": {
                                        "type": "string",
                                        "pattern": "^[A-Za-z0-9_.-]+$"
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "path"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string",
                                        "const": "constant"
                                      },
                                      "value": {
                                        "$ref": "#/$defs/__schema1"
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string",
                                        "const": "collection-length"
                                      },
                                      "offset": {
                                        "type": "integer",
                                        "minimum": -1000,
                                        "maximum": 1000
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "offset"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              }
                            },
                            "required": [
                              "targetPath",
                              "source"
                            ],
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "bindingId",
                        "operation",
                        "collectionPath",
                        "identityPath",
                        "mappings"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "clipboard": {
                    "type": "object",
                    "properties": {
                      "source": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "result-field"
                          },
                          "path": {
                            "type": "string",
                            "pattern": "^[A-Za-z0-9_.-]+$"
                          }
                        },
                        "required": [
                          "kind",
                          "path"
                        ],
                        "additionalProperties": false
                      },
                      "copiedToast": {
                        "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
                      },
                      "fallbackToast": {
                        "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": [
                      "source",
                      "fallbackToast"
                    ],
                    "additionalProperties": false
                  },
                  "navigationTargetRef": {
                    "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
                  },
                  "toast": {
                    "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": [
                  "refreshBindingIds"
                ],
                "additionalProperties": false
              },
              "recovery": {
                "type": "string",
                "enum": [
                  "retry-safe",
                  "compensating-command",
                  "manual-review"
                ]
              },
              "lineageRequired": {
                "type": "boolean",
                "const": true
              },
              "command": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "port": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "compensationCommand": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              }
            },
            "required": [
              "bindingId",
              "inputMapping",
              "accessPolicy",
              "idempotencyKeySource",
              "success",
              "recovery",
              "lineageRequired",
              "command",
              "port"
            ],
            "additionalProperties": false
          }
        },
        "programActions": {
          "maxItems": 128,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "bindingId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "inputMapping": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "scope-field"
                        },
                        "path": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 4096,
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      },
                      "required": [
                        "kind",
                        "path"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "binding-field"
                        },
                        "bindingId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        },
                        "path": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      },
                      "required": [
                        "kind",
                        "bindingId",
                        "path"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "constant"
                        },
                        "value": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "route-parameter"
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "query-parameter"
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "identity"
                        },
                        "name": {
                          "type": "string",
                          "enum": [
                            "tenantId",
                            "teamId",
                            "userId"
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "intent-field"
                        },
                        "path": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      },
                      "required": [
                        "kind",
                        "path"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "page-state"
                        },
                        "stateId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "stateId"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "expression"
                        },
                        "expression": {
                          "$ref": "#/$defs/__schema2"
                        }
                      },
                      "required": [
                        "kind",
                        "expression"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "dependencyInputs": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "additionalProperties": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  },
                  "additionalProperties": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "scope-field"
                          },
                          "path": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 4096,
                            "pattern": "^[A-Za-z0-9_.-]+$"
                          }
                        },
                        "required": [
                          "kind",
                          "path"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "binding-field"
                          },
                          "bindingId": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          },
                          "path": {
                            "type": "string",
                            "pattern": "^[A-Za-z0-9_.-]+$"
                          }
                        },
                        "required": [
                          "kind",
                          "bindingId",
                          "path"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "constant"
                          },
                          "value": {
                            "anyOf": [
                              {
                                "type": "string"
                              },
                              {
                                "type": "number"
                              },
                              {
                                "type": "boolean"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "kind",
                          "value"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "route-parameter"
                          },
                          "name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "required": [
                          "kind",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "query-parameter"
                          },
                          "name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "required": [
                          "kind",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "identity"
                          },
                          "name": {
                            "type": "string",
                            "enum": [
                              "tenantId",
                              "teamId",
                              "userId"
                            ]
                          }
                        },
                        "required": [
                          "kind",
                          "name"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "intent-field"
                          },
                          "path": {
                            "type": "string",
                            "pattern": "^[A-Za-z0-9_.-]+$"
                          }
                        },
                        "required": [
                          "kind",
                          "path"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "page-state"
                          },
                          "stateId": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 256
                          }
                        },
                        "required": [
                          "kind",
                          "stateId"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "const": "expression"
                          },
                          "expression": {
                            "$ref": "#/$defs/__schema2"
                          }
                        },
                        "required": [
                          "kind",
                          "expression"
                        ],
                        "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
              },
              "confirmation": {
                "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
              },
              "when": {
                "$ref": "#/$defs/__schema2"
              },
              "concurrencyKeyPath": {
                "minItems": 1,
                "maxItems": 16,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "refreshAliases": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "additionalProperties": {
                  "minItems": 1,
                  "maxItems": 128,
                  "type": "array",
                  "items": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 256
                  }
                }
              },
              "stateAliases": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "additionalProperties": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "program": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "port": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              }
            },
            "required": [
              "bindingId",
              "inputMapping",
              "dependencyInputs",
              "accessPolicy",
              "concurrencyKeyPath",
              "refreshAliases",
              "stateAliases",
              "program",
              "port"
            ],
            "additionalProperties": false
          }
        },
        "on": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "bindingId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "targetStateId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "transition": {
                "type": "string",
                "enum": [
                  "set",
                  "merge",
                  "toggle",
                  "append",
                  "remove",
                  "reset"
                ]
              },
              "inputMapping": {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "expression"
                        },
                        "expression": {
                          "$ref": "#/$defs/__schema2"
                        }
                      },
                      "required": [
                        "kind",
                        "expression"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "constant"
                        },
                        "value": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "number"
                            },
                            {
                              "type": "boolean"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "value"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "intent-field"
                        },
                        "path": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      },
                      "required": [
                        "kind",
                        "path"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "result-field"
                        },
                        "path": {
                          "type": "string",
                          "pattern": "^[A-Za-z0-9_.-]+$"
                        }
                      },
                      "required": [
                        "kind",
                        "path"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "const": "page-state"
                        },
                        "stateId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 256
                        }
                      },
                      "required": [
                        "kind",
                        "stateId"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              },
              "port": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              }
            },
            "required": [
              "bindingId",
              "targetStateId",
              "transition",
              "inputMapping",
              "port"
            ],
            "additionalProperties": false
          }
        },
        "effects": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "port": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "refresh": {
                "minItems": 1,
                "maxItems": 128,
                "type": "array",
                "items": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              }
            },
            "required": [
              "port",
              "refresh"
            ],
            "additionalProperties": false
          }
        },
        "eventPayloads": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "port": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "expression": {
                "$ref": "#/$defs/__schema2"
              }
            },
            "required": [
              "port",
              "expression"
            ],
            "additionalProperties": false
          }
        },
        "children": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        }
      },
      "required": [
        "id",
        "component"
      ],
      "additionalProperties": false
    },
    "__schema1": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema1"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema1"
          }
        }
      ]
    },
    "__schema2": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "literal"
            },
            "value": {
              "$ref": "#/$defs/__schema1"
            }
          },
          "required": [
            "kind",
            "value"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "read"
            },
            "root": {
              "type": "string",
              "enum": [
                "state",
                "model",
                "bindings",
                "queries",
                "scope",
                "intent",
                "result",
                "actions"
              ]
            },
            "path": {
              "maxItems": 16,
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              }
            }
          },
          "required": [
            "kind",
            "root",
            "path"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "operator"
            },
            "operator": {
              "type": "string",
              "enum": [
                "add",
                "subtract",
                "multiply",
                "divide",
                "min",
                "max",
                "round",
                "equals",
                "not-equals",
                "less-than",
                "less-or-equal",
                "greater-than",
                "greater-or-equal",
                "and",
                "or",
                "not",
                "coalesce",
                "concat",
                "string",
                "number",
                "length",
                "includes",
                "get",
                "set-path",
                "merge",
                "entries",
                "from-entries",
                "array-concat",
                "slice",
                "trim",
                "fixed",
                "number-format",
                "encode-uri-component"
              ]
            },
            "arguments": {
              "minItems": 1,
              "maxItems": 32,
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema2"
              }
            }
          },
          "required": [
            "kind",
            "operator",
            "arguments"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "conditional"
            },
            "condition": {
              "$ref": "#/$defs/__schema2"
            },
            "then": {
              "$ref": "#/$defs/__schema2"
            },
            "else": {
              "$ref": "#/$defs/__schema2"
            }
          },
          "required": [
            "kind",
            "condition",
            "then",
            "else"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "object"
            },
            "fields": {
              "type": "object",
              "propertyNames": {
                "type": "string",
                "minLength": 1,
                "maxLength": 256
              },
              "additionalProperties": {
                "$ref": "#/$defs/__schema2"
              }
            }
          },
          "required": [
            "kind",
            "fields"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "array"
            },
            "items": {
              "maxItems": 1000,
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema2"
              }
            }
          },
          "required": [
            "kind",
            "items"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "map"
            },
            "source": {
              "$ref": "#/$defs/__schema2"
            },
            "value": {
              "$ref": "#/$defs/__schema2"
            }
          },
          "required": [
            "kind",
            "source",
            "value"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "filter"
            },
            "source": {
              "$ref": "#/$defs/__schema2"
            },
            "value": {
              "$ref": "#/$defs/__schema2"
            }
          },
          "required": [
            "kind",
            "source",
            "value"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string",
              "const": "sum"
            },
            "source": {
              "$ref": "#/$defs/__schema2"
            },
            "value": {
              "$ref": "#/$defs/__schema2"
            }
          },
          "required": [
            "kind",
            "source",
            "value"
          ],
          "additionalProperties": false
        }
      ]
    },
    "__schema3": {
      "type": "object",
      "properties": {
        "operator": {
          "type": "string",
          "enum": [
            "all",
            "any"
          ]
        },
        "conditions": {
          "minItems": 1,
          "type": "array",
          "items": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "stateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "predicate": {
                        "type": "string",
                        "const": "equals"
                      },
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "stateId",
                      "predicate",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "stateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "predicate": {
                        "type": "string",
                        "const": "not-equals"
                      },
                      "value": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "number"
                          },
                          {
                            "type": "boolean"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "stateId",
                      "predicate",
                      "value"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "stateId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 256
                      },
                      "predicate": {
                        "type": "string",
                        "const": "truthy"
                      }
                    },
                    "required": [
                      "stateId",
                      "predicate"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              {
                "$ref": "#/$defs/__schema3"
              }
            ]
          }
        }
      },
      "required": [
        "operator",
        "conditions"
      ],
      "additionalProperties": false
    }
  },
  "$id": "https://schemas.infmonkeys.com/contracts/page.schema.json",
  "title": "page"
}
