From 1e2c254b148886ff37d129ac912b6f6f27cd3523 Mon Sep 17 00:00:00 2001 From: Ze0ro99 Date: Thu, 26 Mar 2026 20:50:23 +0000 Subject: [PATCH] migration: spec: RWA Authentication Schema v0.3 --- spec/rwa_auth_schema_v0.3.json | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 spec/rwa_auth_schema_v0.3.json diff --git a/spec/rwa_auth_schema_v0.3.json b/spec/rwa_auth_schema_v0.3.json new file mode 100644 index 00000000..75e7b249 --- /dev/null +++ b/spec/rwa_auth_schema_v0.3.json @@ -0,0 +1,31 @@ +{ + "schema_version": "0.3", + "pid": "string (required, hash-based)", + "category": "string (required, e.g. eyewear, luxury, electronics)", + "product_name": "string (required)", + "manufacturer": { + "id": "string (required)", + "name": "string (required)", + "country": "string (optional)" + }, + "timestamp_registered": "ISO8601 (required)", + "verification": { + "method": "QR | NFC | HYBRID (required)", + "security_level": "low | medium | high (required)" + }, + "auth": { + "signature": "string (required, ECDSA or Ed25519)", + "public_key_ref": "string (required, issuer reference)", + "chip_uid": "string (required only for NFC)", + "signed_payload": "string (required for NFC: sign(pid + chip_uid))" + }, + "metadata_uri": "string (optional, off-chain reference)", + "confidence_score_logic": "Abstract: 0-100 based on signature validity + issuer verification + physical binding strength", + "eyewear": { + "lens_type": "string (optional)", + "frame_material": "string (optional)", + "serial_number": "string (optional)", + "uv_protection": "string (optional)", + "certifications": ["string (optional)"] + } +}