cic-schema/test_valid.json

44 lines
645 KiB
JSON
Raw Normal View History

2023-03-05 09:47:07 +01:00
{
"name": "foo",
2023-03-05 11:33:40 +01:00
"description": "bar",
2023-03-05 09:47:07 +01:00
"targets": [
"0xabcdef0123456789abcdef0123456789abcdef00",
"abcdef0123456789abcdef0123456789abcdef00"
],
2023-03-05 12:18:41 +01:00
"validFrom": "2023-03-05T10:46:05+00:00",
"validUntil": "2024-03-05T10:46:05+00:00",
"unitOfAccount": "wampum",
"issuerName": "John Doe",
2023-03-05 11:33:40 +01:00
"txs": [
"0xabcdef0123456789abcdef0123456789abcdef00abcdef0123456789abcdef00",
"abcdef0123456789abcdef0123456789abcdef00abcdef0123456789abcdef00"
],
"attributes": {
2023-03-05 13:08:19 +01:00
"trait_type": "Rating",
"value": 2.2
2023-03-05 11:33:40 +01:00
},
2023-03-05 12:23:15 +01:00
"namespace": "schmame",
2023-03-05 09:47:07 +01:00
"attachments": [
{
"contentType": "text/plain",
2023-03-05 11:42:05 +01:00
"contentTransferEncoding": "7BIT",
"subject": "some text",
"body": "fee fi fo fum"
},
2023-03-05 12:18:41 +01:00
{
"contentType": "text/plain",
"contentTransferEncoding": "7BIT",
"subject": "some text",
"ref": "sha256:2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae"
},
2023-03-05 11:42:05 +01:00
{
"contentType": "application/pdf",
"contentTransferEncoding": "BASE64",
"subject": "a pdf doc",
"body": "JVBERi0xLjUKJdDUxdgKNSAwIG9iago8PAovTGVuZ3RoIDEwOCAgICAgICAKL0ZpbHRlciAvRmxhdGVEZWNvZGUKPj4Kc3RyZWFtCnjaM1BIVzBQcOcyQKOdQrj03YwNFCz1LM2MzBRC0hQMjY31zM0sFMxMzfWMjE0VQlIUojUyUnNy8jV1jY2NNco1jSw08otyUjRjQ7zg5igYmlnqGZuZKuiampnrWZhDtBmiqHEN4QIArUcdaQplbmRzdHJlYW0KZW5kb2JqCjEyIDAgb2JqCjw8Ci9MZW5ndGgxI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