Commit 4b4487b
feat(EVES-003): add EVM/ERC-721 token metadata support (#59)
* feat(EVES-003): add EVM/ERC-721 token metadata support
Extend EVES-003 to support EVM chains alongside the existing
Tezos/TZIP-21 token metadata path, enabling minting simulation
asset NFTs as ERC-721 tokens on Ethereum-compatible chains such as
Etherlink L2, as anticipated by EVES-006 and EVES-007.
Spec text (eves-003.md):
- Add EVES-007 and EVES-008 to requires frontmatter
- Add RFC 2119 boilerplate at top of Specification section
- Add [29] RFC 1766 reference for language field
- Generalize abstract to reference both TZIP-21 and ERC-721
- Branch Steps 2, 4, and 5 for chain-specific token metadata files
- Add EVM contract identifier (Etherlink L2) to Section 5
- Restructure into parent "6. Token Metadata" section with
subsections for TZIP-21 (Tezos) and ERC-721 (EVM)
- Add ERC-721/OpenSea metadata mapping table with background_color,
contributors, and language rows
- Add language row to TZIP-21 mapping table (backed by TZIP-21 spec)
- Clarify did:ethr as cross-chain organizational identity (EVES-008)
- Add ERC-7572 contract-level metadata subsection
- Recommend ERC-5192 for soulbound tokens, ERC-4906 for metadata
update events
- Fix ontology property paths to match current SHACL shapes
- Migrate ontology IRIs to w3id.org (envited-x/v3, manifest/v5,
hdmap/v6)
Schemas:
- Fix JSON Schema draft-07 $ref sibling bug (move title into asset
definition) in both schemas
- Replace "e.g." with "for example" in all schema descriptions
- New erc721_token_metadata-schema.json (JSON Schema draft-07)
- TZIP-21: add required ["name"], update minter to DID per EVES-008,
fix RFC 1776 → RFC 1766
Examples:
- New erc721_token_metadata.json with background_color "111827",
ontology IRIs as trait_type (lossless mapping)
- TZIP-21: update minter to did:ethr per EVES-008, migrate ontology
IRIs
- Manifest: fix @context to array-style, update gx namespace, fix
hasLicense structure per manifest SHACL
Closes #35
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
* fix(eves-003): migrate manifest to envited-x:Manifest v3/v5 and add SHACL CI
- Rewrite envited-x_manifest.json to use compact JSON-LD form with
context URLs (envited-x/v3/, manifest/v5/) instead of verbose
@value/@type typed literals that fail SHACL validation
- Use envited-x:Manifest type with envited-x:* categories and
access roles per envited-x:ManifestShape constraints
- Add required iri field on hasLicense per LicenseLinkReferenceShape
- Add shacl_validation.yml CI workflow using ontology-management-base
--remote flag for HTTP-based ontology resolution
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Carlo van Driesten <carlo.van-driesten@bmw.de>
* docs(eves-003): add pipeline overview and harmonize example files
- Add §1a Asset Lifecycle Overview with three-stage pipeline diagram
(Preparation → Packaging → Publication) and example file table
- Harmonize input_manifest.json to use same JSON-LD style as
envited-x_manifest.json (context URLs, manifest:Link wrappers)
- Update inline §1b code snippet to match the actual file
- Add cross-references: §1b ↔ §4 Step 1, §4 Step 2 → §6 Token Metadata
- Add stage labels to example file references throughout the spec
- Note zip version skew (v2/v4 inside zip vs v3/v5 standalone)
- Document input_manifest.json CI exclusion (partial Stage 1 format)
- Add iri enrichment step to pipeline description
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Carlo van Driesten <carlo.van-driesten@bmw.de>
* fix(eves-003): resolve markdown lint and prettier formatting issues
- Shorten Stage 2 description to stay within 300-char line limit
- Apply prettier formatting to eves-003.md
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Carlo van Driesten <carlo.van-driesten@bmw.de>
* fix(EVES-003): address audit findings for EVM token metadata PR
- Add missing 'name' property definition to TZIP-21 schema (was required
but undefined, allowing any type)
- Fix grammar in ERC-721 schema: 'to which this NFT represents' ->
'that this NFT represents'
- Add normative tag-to-attribute mapping table defining canonical
trait_type names for the 6 static TZIP-21 tags
- Fix wrong reference [21] for hdmap SHACL shapes (was pointing to
envited-x ontology); add new [30] for HD-Map Ontology
- Normalize EVES-007 references to reference-link style [31]
- Add empty 'contributors' array to ERC-721 example for completeness
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(EVES-003): remove duplicate publishers key in ERC-721 example
JSON parsers keep only the last occurrence of a duplicated key, so the
first publishers array was dead content that schema validation could
not detect.
* refactor(EVES-003): remove Tezos/TZIP-21 token metadata path
The ENVITED-X Data Space no longer uses Tezos. Remove the TZIP-21
metadata mapping, example, schema, and all Tezos branches from the
upload and synchronization process. ERC-721 is now the only token
metadata format. Since this specification and its deployments are
still drafts, no backwards compatibility with previously minted
Tezos assets is maintained.
* docs(EVES-003): mark on-chain metadata registration as an open issue
The registration mechanism is being redesigned around an evidence-based
listing registry (signed authorization evidence from an SSI wallet,
token minted to the registry contract, on-chain hash binding). Keep the
metadata field mappings normative while flagging the registration and
minting flow as subject to change.
* docs(EVES-003): explain why the minter DID cannot be verified on-chain
The minter field lives in the off-chain metadata JSON and names the
organization's did:ethr independently of the transaction sender.
ERC-1056 DID document entries (added signing keys) exist only as
events, which contracts cannot read, so matching the claimed DID
against the authorization evidence must happen off-chain at read time.
* docs(EVES-003): finalize token registration wording for merge
Replace the open-issue callouts on metadata registration and minter
verification with normative prose. The point at which tokens and the
claimed minter identity are verified against a root of trust remains
open and is tracked under Future Improvements.
* ci(shacl): install ontology-management-base from main
The feat/http-artifact-resolution branch (merged as #57) now has a
dangling service-characteristics submodule pointer, which breaks
pip install during the SHACL validation job.
* fix(EVES-005): replace dead Dataspace Protocol knowledgebase link
The IDS knowledgebase page returns 404 since the protocol moved to
Eclipse stewardship; point to the IDSA specification repository
instead.
---------
Signed-off-by: jdsika <carlo.van-driesten@vdl.digital>
Signed-off-by: Carlo van Driesten <carlo.van-driesten@bmw.de>
Co-authored-by: jdsika <carlo.van-driesten@vdl.digital>
Co-authored-by: Carlo van Driesten <carlo.van-driesten@bmw.de>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a7f8f7d commit 4b4487b
11 files changed
Lines changed: 1192 additions & 975 deletions
File tree
- .github/workflows
- EVES
- EVES-003
- erc721-schemas
- example
- EVES-005
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
Lines changed: 49 additions & 82 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | | - | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
10 | 19 | | |
11 | 20 | | |
12 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
13 | 42 | | |
14 | 43 | | |
15 | 44 | | |
16 | | - | |
17 | | - | |
| 45 | + | |
18 | 46 | | |
19 | 47 | | |
20 | 48 | | |
| |||
45 | 73 | | |
46 | 74 | | |
47 | 75 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 76 | | |
53 | 77 | | |
54 | 78 | | |
55 | 79 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | 80 | | |
73 | 81 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 86 | + | |
94 | 87 | | |
95 | | - | |
| 88 | + | |
96 | 89 | | |
97 | 90 | | |
98 | | - | |
| 91 | + | |
99 | 92 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
| 93 | + | |
106 | 94 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
| 95 | + | |
125 | 96 | | |
126 | 97 | | |
127 | 98 | | |
| |||
134 | 105 | | |
135 | 106 | | |
136 | 107 | | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
| 108 | + | |
145 | 109 | | |
146 | 110 | | |
147 | 111 | | |
| |||
189 | 153 | | |
190 | 154 | | |
191 | 155 | | |
192 | | - | |
| 156 | + | |
193 | 157 | | |
194 | | - | |
| 158 | + | |
195 | 159 | | |
196 | 160 | | |
197 | | - | |
198 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
199 | 166 | | |
200 | | - | |
| 167 | + | |
201 | 168 | | |
202 | | - | |
| 169 | + | |
203 | 170 | | |
204 | 171 | | |
205 | 172 | | |
206 | | - | |
| 173 | + | |
207 | 174 | | |
208 | 175 | | |
209 | 176 | | |
| |||
0 commit comments