Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove base schema #25

Merged
merged 1 commit into from
Apr 24, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
143 changes: 68 additions & 75 deletions credential/zkpass/v0.1.0/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,82 +10,75 @@
"icon": "./icon.svg"
}
},
"allOf": [
{
"$ref": "https://core.schemas.verida.io/base/latest/schema.json"
"properties": {
"taskId": {
"title": "Task ID",
"description": "Unique id of the task allocated by the allocator node",
"type": "string"
},
{
"properties": {
"taskId": {
"title": "Task ID",
"description": "Unique id of the task allocated by the allocator node",
"type": "string"
},
"publicFields": {
"title": "zkPass PublicFields",
"description": "Values of public fields defined in schema",
"type": "array",
"items": {
"type": "string"
}
},
"allocatorAddress": {
"title": "Allocator Address",
"description": "The address of the allocator node",
"type": "string"
},
"publicFieldsHash": {
"title": "PublicFields",
"description": "Hash of public field values",
"type": "string"
},
"allocatorSignature": {
"title": "Allocator Signature",
"description": "Signature of the task meta data by the allocator node",
"type": "string"
},
"uHash": {
"title": "UHash",
"description": "Hash value of user unique id in the data source",
"type": "string"
},
"validatorAddress": {
"title": "ValidatorAddress",
"description": "The address of the validator node",
"type": "string"
},
"validatorSignature": {
"title": "Validator Signature",
"description": "The signature of the verification result by the allocator node",
"type": "string"
},
"zkPassSchemaId": {
"title": "zkPass Schema ID",
"description": "The schema ID that added in the project",
"type": "string"
},
"zkPassSchemaLabel": {
"title": "Schema Label",
"description": "The schema label that added in the project",
"type": "string"
},
"did": {
"title": "Verida Did",
"description": "Decentralized Identifier on the Verida network",
"type": "string"
}
},
"required": [
"taskId",
"allocatorAddress",
"allocatorSignature",
"uHash",
"validatorAddress",
"validatorSignature",
"zkPassSchemaId",
"zkPassSchemaLabel",
"did"
]
"publicFields": {
"title": "zkPass PublicFields",
"description": "Values of public fields defined in schema",
"type": "array",
"items": {
"type": "string"
}
},
"allocatorAddress": {
"title": "Allocator Address",
"description": "The address of the allocator node",
"type": "string"
},
"publicFieldsHash": {
"title": "PublicFields",
"description": "Hash of public field values",
"type": "string"
},
"allocatorSignature": {
"title": "Allocator Signature",
"description": "Signature of the task meta data by the allocator node",
"type": "string"
},
"uHash": {
"title": "UHash",
"description": "Hash value of user unique id in the data source",
"type": "string"
},
"validatorAddress": {
"title": "ValidatorAddress",
"description": "The address of the validator node",
"type": "string"
},
"validatorSignature": {
"title": "Validator Signature",
"description": "The signature of the verification result by the allocator node",
"type": "string"
},
"zkPassSchemaId": {
"title": "zkPass Schema ID",
"description": "The ID of zkPass schema",
"type": "string"
},
"zkPassSchemaLabel": {
"title": "Schema Label",
"description": "The label of zkPass schema",
"type": "string"
},
"id": {
"title": "DID of the subject",
"description": "Decentralized Identifier on the network",
"type": "string"
}
},
"required": [
"taskId",
"allocatorAddress",
"allocatorSignature",
"uHash",
"validatorAddress",
"validatorSignature",
"zkPassSchemaId",
"zkPassSchemaLabel",
"id"
]
}
Loading