Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting point content #2

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
10 changes: 0 additions & 10 deletions website/docs/specification/DIDmethods.md

This file was deleted.

22 changes: 22 additions & 0 deletions website/docs/specification/DataCarrier.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
sidebar_position: 2
title: Data Carrier
---

import Disclaimer from '../\_disclaimer.mdx';

<Disclaimer />

# Data Carrier

URI attached to the product.

Indirection, supporting a long product life cycle.

https://www.w3.org/TR/did-core/

https://w3c.github.io/vc-controller-document/

Method for resolving the URI

https://w3c-ccg.github.io/did-resolution/
193 changes: 193 additions & 0 deletions website/docs/specification/DigitalProductPassport.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,196 @@ import Disclaimer from '../\_disclaimer.mdx';
<Disclaimer />

# Digitial Product Passport

DPP Verifiable Credential

### Supported VC standard

W3C Verifiable Credential 1.1 or 2.0

https://www.w3.org/TR/vc-data-model-2.0/

### Data Model

DPP Data Schema(s)

```yaml
title: Digital Product Passport Credential
description: Digital Product Passport.
type: object
properties:
'@context':
type: array
readOnly: true
const:
- https://www.w3.org/2018/credentials/v1
- https://w3id.org/traceability/v1
default:
- https://www.w3.org/2018/credentials/v1
- https://w3id.org/traceability/v1
items:
type: string
enum:
- https://www.w3.org/2018/credentials/v1
- https://w3id.org/traceability/v1
type:
type: array
readOnly: true
const:
- VerifiableCredential
- DigitalProductPassportCredential
default:
- VerifiableCredential
- DigitalProductPassportCredential
items:
type: string
enum:
- VerifiableCredential
- DigitalProductPassportCredential
id:
type: string
format: uri
issuanceDate:
type: string
format: date-time
expirationDate:
type: string
format: date-time
issuer:
title: Issuer Organization
description: Commercial invoice issuing organization.
type: object
properties:
type:
type: array
readOnly: true
const:
- Organization
default:
- Organization
items:
type: string
enum:
- Organization
id:
title: Issuer's Identifier
description: Issuing organization identifier, typically a Decentralized Identifier (DID).
type: string
format: uri
name:
title: Organization Name
description: Issuing organization name.
type: string
additionalProperties: true
required:
- type
- id
- name
credentialSchema:
type: object
properties:
id:
title: Id
description: The URL of the schema file with which to validate the shape of the JSON object.
type: string
format: uri
example: https://w3id.org/traceability/openapi/components/schemas/credentials/DigitalProductPassportCredential.yml
type:
title: Type
description: The type of validation to be run against the defined schema.
const: OpenApiSpecificationValidator2022
credentialSubject:
title: Digital Product Passport
type: object
properties:
type:
type: array
readOnly: true
const:
- DigitalProductPassport
default:
- DigitalProductPassport
items:
type: string
enum:
- DigitalProductPassport
product:
title: Product
description: Basic product data.
type: object
properties:
type:
type: array
readOnly: true
const:
- Product
default:
- Product
items:
type: string
enum:
- Product
image:
title: Product Image
type: string
name:
title: Product Name
type: string
description:
title: Product Description
type: string
id:
title: Product Identifier
type: string
format: uri
url:
title: Product Website
type: string
format: uri
brand:
title: Brand
description: Brand Owner
type: object
properties:
type:
type: array
readOnly: true
const:
- Organization
default:
- Organization
items:
type: string
enum:
- Organization
name:
title: Product Name
type: string
id:
title: Product Identifier
type: string
format: uri
url:
title: Product Website
type: string
format: uri
required:
- type
- name
- id
required:
- type
- name
- id
required:
- type
- product
additionalProperties: true
required:
- '@context'
- type
- id
- issuanceDate
- issuer
- credentialSubject
```
27 changes: 27 additions & 0 deletions website/docs/specification/LinkResolution.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,30 @@ import Disclaimer from '../\_disclaimer.mdx';
<Disclaimer />

# Link Resolution

On connecting from main DPP to supporting Credentials, upstream in the supply chain

`RelatedLink`

`https://schema.org/relatedLink`

```
"linkRelationship": "digitalProductPassport"
```

## Verifier

Verifier-side requirements.

### DPP Data Graph Collection

Consumers must be presented all relevant product information with minimal effort.
DPP Verifiers MUST follow all linked VCs to build the complete DPP graph.

### Issuer Policies

Consumers cannot be expected to make informed assertions about a global supply chain network.

Collections of "which issers are relevant for which assertions" CAN be implemented by a DPP Verifier, turning a complex hypergraph analysis into a boolean good/bad indicator at the point of sale.

Consumers may choose between policies, as per their preferences, for example "strict scope 3 carbon neutrality".
6 changes: 6 additions & 0 deletions website/docs/specification/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ import Disclaimer from '../\_disclaimer.mdx';
<Disclaimer />

# Specification

Digital Product Passports enable consumers insights to the upstream supply chain of a product. These insights are built from a verifiable graph of product claims, asserted by relevant trust anchors along the supply chain.

The motivation of Digital Product Passports is to promote and enable product repairs, reuse, and recycle, as well as enabling consumers a cryptographically verifiable basis on which to make purhase decisions.

This spec describes a protocol for establishing the initial link from the product to the root-level DPP and from there contruct of the larger DPP graph.