{"openapi":"3.1.0","info":{"title":"SM-AMP-CPG resolver","version":"1.1.0","description":"Read-only AMP-CPG resolution, live on https://sm-amp-cpg.org/ and all 49 jurisdiction nodes (on a jurisdiction node the market defaults to the node's own market). Responses are signed — the signature field carries a compact detached JWS (RFC 7515, kid gsc-amp-2026-08) over the RFC 8785 canonical record sans signature — and verify from the public keyring at https://dpuone.ai/.well-known/jwks.json. Publication is not open; third-party lodging is CEO-gated.","contact":{"name":"GreenCore Solutions Corp.","url":"https://gsc-em.com"}},"servers":[{"url":"https://sm-amp-cpg.org"},{"url":"https://{cc}-amp-cpg.org","variables":{"cc":{"default":"fr","description":"any of the 49 jurisdiction codes, lowercase (GB is an alias of UK — use uk)"}}}],"paths":{"/resolve":{"get":{"operationId":"resolve","summary":"GTIN + MARKET -> signed endpoint set","description":"Stateless, deterministic, cacheable. Identical verified inputs produce identical resolution results. Successful responses carry Cache-Control: public, max-age=300 and an ETag; rejections carry Cache-Control: no-store. Records carry issued/expires; consumers verify the record, not merely the server that delivered it.","parameters":[{"name":"gtin","in":"query","required":true,"schema":{"type":"string"},"description":"The product's GTIN."},{"name":"market","in":"query","required":false,"schema":{"type":"string"},"description":"Jurisdiction code (one of the 49). Required on the apex; on a jurisdiction node it defaults to the node's own market."}],"responses":{"200":{"description":"Signed AMP record.","content":{"application/json":{"schema":{"type":"object","required":["amp","gtin","market","endpoints","issued","expires","signature"],"properties":{"amp":{"type":"string","const":"1.0"},"gtin":{"type":"string"},"market":{"type":"string"},"endpoints":{"type":"array","items":{"type":"object","required":["uri","seller","type","protocol"],"properties":{"uri":{"type":"string"},"seller":{"type":"string"},"type":{"type":"string"},"protocol":{"type":"string"}}}},"issued":{"type":"string","format":"date-time"},"expires":{"type":"string","format":"date-time"},"signature":{"type":"string","description":"Compact detached JWS (protected..signature), kid gsc-amp-2026-08; verifies from https://dpuone.ai/.well-known/jwks.json over the RFC 8785 canonical record with the signature member removed."}}}}}},"400":{"description":"REQUEST_INCOMPLETE — gtin or market missing (typed JSON state)."},"404":{"description":"GTIN_UNRESOLVED or MARKET_UNRECOGNIZED — typed JSON states, distinguishable, never HTML."}}}}}}