Variable sdvcSchemaConst

sdvcSchema: {
    allOf: readonly [{
        properties: {
            type: {
                contains: {
                    const: "SelectiveDisclosureVerifiableCredential";
                };
                items: {
                    type: "string";
                };
                minItems: 1;
                type: "array";
            };
        };
        required: readonly ["type"];
        type: "object";
    }, {
        properties: {
            edges: {
                items: {
                    properties: {
                        payload: {
                            allOf: readonly [{
                                properties: {
                                    nodeId: ...;
                                    nodeType: ...;
                                    path: ...;
                                    vcId: ...;
                                };
                                required: readonly [(...), (...), (...)];
                                type: "object";
                            }, {
                                properties: {
                                    @type: ...;
                                    arrayIndex: ...;
                                    property: ...;
                                    targetNodeId: ...;
                                    targetNodeType: ...;
                                };
                                required: readonly [(...), (...), (...)];
                                type: "object";
                            }];
                        };
                        sig: {
                            type: "string";
                        };
                    };
                    required: readonly ["sig", "payload"];
                    type: "object";
                };
                type: "array";
            };
            issuer: {
                type: "string";
            };
            meta: {
                properties: {
                    payload: {
                        properties: {
                            @type: {
                                const: "SelectiveMeta";
                            };
                            nodes: {
                                items: {
                                    type: "string";
                                };
                                type: "array";
                            };
                            vcId: {
                                type: "string";
                            };
                        };
                        required: readonly ["@type", "vcId", "nodes"];
                        type: "object";
                    };
                    sig: {
                        type: "string";
                    };
                };
                required: readonly ["sig", "payload"];
                type: "object";
            };
            nodes: {
                items: {
                    properties: {
                        payload: {
                            allOf: readonly [{
                                properties: {
                                    nodeId: ...;
                                    nodeType: ...;
                                    path: ...;
                                    vcId: ...;
                                };
                                required: readonly [(...), (...), (...)];
                                type: "object";
                            }, {
                                properties: {
                                    @type: ...;
                                    nodeDepth: ...;
                                    nodeIsRoot: ...;
                                };
                                required: readonly [(...), (...), (...)];
                                type: "object";
                            }];
                        };
                        sig: {
                            type: "string";
                        };
                    };
                    required: readonly ["sig", "payload"];
                    type: "object";
                };
                type: "array";
            };
            properties: {
                items: {
                    properties: {
                        payload: {
                            allOf: readonly [{
                                properties: {
                                    nodeId: ...;
                                    nodeType: ...;
                                    path: ...;
                                    vcId: ...;
                                };
                                required: readonly [(...), (...), (...)];
                                type: "object";
                            }, {
                                properties: {
                                    @type: ...;
                                    property: ...;
                                    propertyType: ...;
                                    value: ...;
                                };
                                required: readonly [(...), (...), (...), (...)];
                                type: "object";
                            }];
                        };
                        sig: {
                            type: "string";
                        };
                    };
                    required: readonly ["sig", "payload"];
                    type: "object";
                };
                type: "array";
            };
            property_lists: {
                items: {
                    properties: {
                        payload: {
                            allOf: readonly [{
                                properties: {
                                    nodeId: ...;
                                    nodeType: ...;
                                    path: ...;
                                    vcId: ...;
                                };
                                required: readonly [(...), (...), (...)];
                                type: "object";
                            }, {
                                properties: {
                                    @type: ...;
                                    properties: ...;
                                };
                                required: readonly [(...), (...)];
                                type: "object";
                            }];
                        };
                        sig: {
                            type: "string";
                        };
                    };
                    required: readonly ["sig", "payload"];
                    type: "object";
                };
                type: "array";
            };
        };
        required: readonly ["issuer", "meta", "nodes", "edges", "properties", "property_lists"];
        type: "object";
    }];
} = ...

Type declaration

  • Readonly allOf: readonly [{
        properties: {
            type: {
                contains: {
                    const: "SelectiveDisclosureVerifiableCredential";
                };
                items: {
                    type: "string";
                };
                minItems: 1;
                type: "array";
            };
        };
        required: readonly ["type"];
        type: "object";
    }, {
        properties: {
            edges: {
                items: {
                    properties: {
                        payload: {
                            allOf: readonly [{
                                properties: {
                                    nodeId: ...;
                                    nodeType: ...;
                                    path: ...;
                                    vcId: ...;
                                };
                                required: readonly [(...), (...), (...)];
                                type: "object";
                            }, {
                                properties: {
                                    @type: ...;
                                    arrayIndex: ...;
                                    property: ...;
                                    targetNodeId: ...;
                                    targetNodeType: ...;
                                };
                                required: readonly [(...), (...), (...)];
                                type: "object";
                            }];
                        };
                        sig: {
                            type: "string";
                        };
                    };
                    required: readonly ["sig", "payload"];
                    type: "object";
                };
                type: "array";
            };
            issuer: {
                type: "string";
            };
            meta: {
                properties: {
                    payload: {
                        properties: {
                            @type: {
                                const: "SelectiveMeta";
                            };
                            nodes: {
                                items: {
                                    type: "string";
                                };
                                type: "array";
                            };
                            vcId: {
                                type: "string";
                            };
                        };
                        required: readonly ["@type", "vcId", "nodes"];
                        type: "object";
                    };
                    sig: {
                        type: "string";
                    };
                };
                required: readonly ["sig", "payload"];
                type: "object";
            };
            nodes: {
                items: {
                    properties: {
                        payload: {
                            allOf: readonly [{
                                properties: {
                                    nodeId: ...;
                                    nodeType: ...;
                                    path: ...;
                                    vcId: ...;
                                };
                                required: readonly [(...), (...), (...)];
                                type: "object";
                            }, {
                                properties: {
                                    @type: ...;
                                    nodeDepth: ...;
                                    nodeIsRoot: ...;
                                };
                                required: readonly [(...), (...), (...)];
                                type: "object";
                            }];
                        };
                        sig: {
                            type: "string";
                        };
                    };
                    required: readonly ["sig", "payload"];
                    type: "object";
                };
                type: "array";
            };
            properties: {
                items: {
                    properties: {
                        payload: {
                            allOf: readonly [{
                                properties: {
                                    nodeId: ...;
                                    nodeType: ...;
                                    path: ...;
                                    vcId: ...;
                                };
                                required: readonly [(...), (...), (...)];
                                type: "object";
                            }, {
                                properties: {
                                    @type: ...;
                                    property: ...;
                                    propertyType: ...;
                                    value: ...;
                                };
                                required: readonly [(...), (...), (...), (...)];
                                type: "object";
                            }];
                        };
                        sig: {
                            type: "string";
                        };
                    };
                    required: readonly ["sig", "payload"];
                    type: "object";
                };
                type: "array";
            };
            property_lists: {
                items: {
                    properties: {
                        payload: {
                            allOf: readonly [{
                                properties: {
                                    nodeId: ...;
                                    nodeType: ...;
                                    path: ...;
                                    vcId: ...;
                                };
                                required: readonly [(...), (...), (...)];
                                type: "object";
                            }, {
                                properties: {
                                    @type: ...;
                                    properties: ...;
                                };
                                required: readonly [(...), (...)];
                                type: "object";
                            }];
                        };
                        sig: {
                            type: "string";
                        };
                    };
                    required: readonly ["sig", "payload"];
                    type: "object";
                };
                type: "array";
            };
        };
        required: readonly ["issuer", "meta", "nodes", "edges", "properties", "property_lists"];
        type: "object";
    }]