Variable signedSelectiveEdgeSchemaConst

signedSelectiveEdgeSchema: {
    properties: {
        payload: {
            allOf: readonly [{
                properties: {
                    nodeId: {
                        type: "string";
                    };
                    nodeType: {
                        type: "string";
                    };
                    path: {
                        type: "string";
                    };
                    vcId: {
                        type: "string";
                    };
                };
                required: readonly ["vcId", "nodeId", "path"];
                type: "object";
            }, {
                properties: {
                    @type: {
                        const: "SelectiveEdge";
                    };
                    arrayIndex: {
                        type: "number";
                    };
                    property: {
                        type: "string";
                    };
                    targetNodeId: {
                        type: "string";
                    };
                    targetNodeType: {
                        type: "string";
                    };
                };
                required: readonly ["@type", "property", "targetNodeId"];
                type: "object";
            }];
        };
        sig: {
            type: "string";
        };
    };
    required: readonly ["sig", "payload"];
    type: "object";
} = ...

Type declaration

  • Readonly properties: {
        payload: {
            allOf: readonly [{
                properties: {
                    nodeId: {
                        type: "string";
                    };
                    nodeType: {
                        type: "string";
                    };
                    path: {
                        type: "string";
                    };
                    vcId: {
                        type: "string";
                    };
                };
                required: readonly ["vcId", "nodeId", "path"];
                type: "object";
            }, {
                properties: {
                    @type: {
                        const: "SelectiveEdge";
                    };
                    arrayIndex: {
                        type: "number";
                    };
                    property: {
                        type: "string";
                    };
                    targetNodeId: {
                        type: "string";
                    };
                    targetNodeType: {
                        type: "string";
                    };
                };
                required: readonly ["@type", "property", "targetNodeId"];
                type: "object";
            }];
        };
        sig: {
            type: "string";
        };
    }
    • Readonly payload: {
          allOf: readonly [{
              properties: {
                  nodeId: {
                      type: "string";
                  };
                  nodeType: {
                      type: "string";
                  };
                  path: {
                      type: "string";
                  };
                  vcId: {
                      type: "string";
                  };
              };
              required: readonly ["vcId", "nodeId", "path"];
              type: "object";
          }, {
              properties: {
                  @type: {
                      const: "SelectiveEdge";
                  };
                  arrayIndex: {
                      type: "number";
                  };
                  property: {
                      type: "string";
                  };
                  targetNodeId: {
                      type: "string";
                  };
                  targetNodeType: {
                      type: "string";
                  };
              };
              required: readonly ["@type", "property", "targetNodeId"];
              type: "object";
          }];
      }
      • Readonly allOf: readonly [{
            properties: {
                nodeId: {
                    type: "string";
                };
                nodeType: {
                    type: "string";
                };
                path: {
                    type: "string";
                };
                vcId: {
                    type: "string";
                };
            };
            required: readonly ["vcId", "nodeId", "path"];
            type: "object";
        }, {
            properties: {
                @type: {
                    const: "SelectiveEdge";
                };
                arrayIndex: {
                    type: "number";
                };
                property: {
                    type: "string";
                };
                targetNodeId: {
                    type: "string";
                };
                targetNodeType: {
                    type: "string";
                };
            };
            required: readonly ["@type", "property", "targetNodeId"];
            type: "object";
        }]
    • Readonly sig: {
          type: "string";
      }
      • Readonly type: "string"
  • Readonly required: readonly ["sig", "payload"]
  • Readonly type: "object"