Skip to content

Instantly share code, notes, and snippets.

View ilya-korotya's full-sized avatar

Ilya ilya-korotya

View GitHub Profile
@ilya-korotya
ilya-korotya / balance.jsonld
Created October 19, 2023 14:56
JSONLD balance schema for refresh service
{
"@context": [
{
"@protected": true,
"@version": 1.1,
"id": "@id",
"type": "@type",
"Balance": {
"@context": {
"@propagate": true,
@ilya-korotya
ilya-korotya / employee.json
Last active September 18, 2023 19:55
employee.json
{
"$metadata": {
"uris": {
"jsonLdContext": "https://gist.githubusercontent.com/ilya-korotya/cd2854fd3da3fd59db11dc0edc33b602/raw/61a2b96fed8b9ad919eda6af300ccbebd54c3163/employee.jsonld"
},
"version": "1.0",
"type": "Employee"
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "Employee schema",
@ilya-korotya
ilya-korotya / employee.jsonld
Last active September 18, 2023 19:54
employee.jsonld
{
"@context": [
{
"@protected": true,
"@version": 1.1,
"id": "@id",
"type": "@type",
"Employee": {
"@context": {
"@propagate": true,
@ilya-korotya
ilya-korotya / warn.log
Created September 6, 2023 11:13
Contract warnings
Warning: SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.
--> contracts/interfaces/IVerifier.sol
Warning: Unused function parameter. Remove or comment out the variable name to silence this warning.
--> contracts/ERC1155Verifier.sol:41:9:
|
41 | ICircuitValidator validator
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"$metadata": {
"uris": {
"jsonLdContext": "https://gist.githubusercontent.com/ilya-korotya/b06baa37453ed9aedfcb79100b84d51f/raw/balance-v1.jsonld",
"jsonSchema": "https://gist.githubusercontent.com/ilya-korotya/26dd57890e61c586e3fd51b4533aadc4/raw/balance-v1.json"
}
},
"required": [
{
"@context": [
{
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"BalanceCredential": {
"@id": "urn:uuid:a84fe933-003b-48f1-aea8-36ca9940a3f5",
"@context": {
@ilya-korotya
ilya-korotya / OnChainCredentialStatus.jsonld
Last active May 9, 2023 12:40
OnChainCredentialStatus
{
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"OnChainCredentialStatus": {
"@id": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/iden3credential-v2.json-ld#Iden3ReverseSparseMerkleTreeProof",
"@context": {
"@version": 1.1,
{
"@context": [
{
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"KYCAgeCredential": {
"@id": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/kyc-v3.json-ld#KYCAgeCredential",
"@context": {
@ilya-korotya
ilya-korotya / auth.json-ld
Last active January 17, 2023 09:14
state.md
{
"@context": [{
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"AuthBJJCredential": {
"@id": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/auth.json-ld#AuthBJJCredential",
"@context": {
"@version": 1.1,
@ilya-korotya
ilya-korotya / test.json-ld
Last active September 20, 2022 14:04
test
{
"@context": {
"@version": 1.1,
"@protected": true,
"id": "@id",
"type": "@type",
"Iden3Credential": {
"@id": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/iden3credential-v2.json-ld#Iden3Credential",
"@context": {
"@version": 1.1,