Skip to content
Merged
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
23 changes: 23 additions & 0 deletions _generated/credential-types.json
Original file line number Diff line number Diff line change
Expand Up @@ -312,5 +312,28 @@
}
}
}
},
"visa-certificate": {
"v1": {
"schema": "/visa-certificate/v1/input-fields/schema.json",
"formats": {
"edc": {
"schema": "/visa-certificate/v1/edc/schema.json",
"map": {
"fullName": "/credentialSubject/fullName",
"durationOfStay": "/credentialSubject/durationOfStay",
"issuanceDate": "/issuanceDate",
"validUntil": "/validUntil",
"visaNumber": "/credentialSubject/visaNumber",
"passportNumber": "/credentialSubject/passportNumber",
"placeOfIssue": "/credentialSubject/placeOfIssue",
"nationality": "/credentialSubject/citizenshipCountry/prefLabel",
"dateOfBirth": "/credentialSubject/dateOfBirth",
"typeOfVisa": "/credentialSubject/typeOfVisa",
"entryType": "/credentialSubject/entryType"
}
}
}
}
}
}
2 changes: 1 addition & 1 deletion _generated/credentials.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions visa-certificate/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Visa Certificate

This folder contains all technical assets related to the **Visa Certificate**.
It includes credential schemas, field definitions, mappings, and translation files used for credential generation and validation.

## Available Versions

Choose a version of the credential type to view its specification. Currently, the latest version is:

- [`v1`](v1/) – the first version of the Visa.
11 changes: 11 additions & 0 deletions visa-certificate/v1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Visa Certificate (v1)

This folder defines the structure and resources for the v1 implementation of **Visa Certificate**.

## Contents

- [edc](edc) - European Digital Credentials (EDC) schemas, mappings, example credentials and signed files.
- [input-fields](input-fields) - Input field schema definitions, configuration examples and related translation files.
- [translations](translations) - Translated credential titles organised by language.
- [user-consent](user-consent) - Mapping between user consent groups and corresponding input fields.

9 changes: 9 additions & 0 deletions visa-certificate/v1/edc/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# EDC

This folder contains resources related to the **European Digital Credentials (EDC)** format, a serialization of the ELM ontology, used for Visa Certificate.

## Contents

- [schema](schema.json) - JSON Schema definition of the EDC Visa Certificate.
- [input-fields-to-credential-map](input-fields-to-credential-map.json) - Mapping between user-friendly input fields and the EDC Visa Certificate fields.

13 changes: 13 additions & 0 deletions visa-certificate/v1/edc/input-fields-to-credential-map.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"fullName": "/credentialSubject/fullName",
"durationOfStay": "/credentialSubject/durationOfStay",
"issuanceDate":"/issuanceDate",
"validUntil": "/validUntil",
"visaNumber": "/credentialSubject/visaNumber",
"passportNumber": "/credentialSubject/passportNumber",
"placeOfIssue": "/credentialSubject/placeOfIssue",
"nationality": "/credentialSubject/citizenshipCountry/prefLabel",
"dateOfBirth" : "/credentialSubject/dateOfBirth",
"typeOfVisa": "/credentialSubject/typeOfVisa",
"entryType": "/credentialSubject/entryType"
}
Loading
Loading