Archipels Documentation
  • 🫂Welcome!
    • 🏢Who are we?
    • 🆔What is SSI?
    • 👨‍🏫Glossary of terms
  • 👩‍🔧Product Overview
    • Wallet
    • Electronic Attestations
    • DIDs
    • Trust Registry
  • ⚒️Set up
    • Create an individual wallet and request an attestation
    • Configure an access token
    • Create a Webhook
    • Create your test environment
    • Get your DID wallet
  • 🏗️Create attestation request
    • 🧩Get and Accept Attestation
      • API call : get attestations in my wallet
      • Accept attestation
    • 🏗️Create an Onboarding attestation request against Archipels
      • Attestation request
      • Accept attestation
    • 🏗️Create an email attestation request against Archipels
      • Attestation request
      • Accept attestation
  • 📃Issue attestation
    • Create a second wallet and configure this new environment
    • Create a schema attestation
    • Create a connection: Create an invitation
    • Create a connection: Accept an invitation
    • Attestation send offer
    • Accept attestation
  • 🔀Send presentation request
    • 🪪Send a Presentation
      • Create a third wallet and configure this new environment
      • Create a connection
      • Send Presentation request
      • Get the list of presentation requests (not available currently)
      • Get the presentation requests
      • Get the list of valid attestations
      • Send/Show presentation
      • Get the presentation
    • 📑Send several Presentations
      • Send Presentations request
      • Get the presentation requests
  • ➕Other features
    • 📩Messages
      • Send a message
    • 📃Delete an attestation
      • Delete attestation
  • 🏁API: COLLECTIONS
  • List of schemes
  • 🔗Links
    • Website
    • Recruitement
    • Doc for Archipels Certify
    • Trust Registry
Propulsé par GitBook
Sur cette page
  • From the Issuer
  • Create a new schema

Cet article vous a-t-il été utile ?

  1. Issue attestation

Create a schema attestation

In this secton you will learn how to create a schema to be sued to generate an attestation.

From the Issuer

Create a new schema

  • Create a new POST request: enter the value: {{base_URL}}/schemas

  • Type this json in the Body tab, then raw tab (you can adapt this json as this is an example but keep the "__source" variable)

{
  "owner": "TestIssuer",
  "public": true,
  "tags": [
    "test"
  ],
  "description": "Test Attestation blablabla...",
  "logoUrl": "https://connect-prod.s3.fr-par.scw.cloud/icons/attestations/wallet/article.svg",
  "attributes": [
    {
      "description": "source (technical data)",
      "name": "__source"
    },
    {
      "description": "article type",
      "name": "type"
    },
    {
      "description": "size of article",
      "name": "size"
    },
    {
      "description": "price of article",
      "name": "price"
    }
  ],
  "version": "1.0",
  "name": "Test Attestation publique XXX"
}

replace "Test Attestation publique XXX" by a personnalized name for your schema

  • Save the request and click SEND

  • The response is:

 {
        "id": "9786e1a2-e563-4a4e-8b79-f3e411d9763e",
        "schemaId": "1uYeHCcPjzRVGFQcFPMsg:2:Test Attestation publique XXX:1.0",
        "name": "Test Attestation publique XXX",
        "attributes": [
            {
                "name": "__source",
                "description": "source (technical data)"
            },
            {
                "name": "type",
                "description": "article type"
            },
            {
                "name": "size",
                "description": "size of article"
            },
            {
                "name": "price",
                "description": "price of article"
            }
        ],
        "version": "1.0",
        "logoUrl": "https://connect-prod.s3.fr-par.scw.cloud/icons/attestations/wallet/article.svg",
        "description": "Test Attestation blablabla...",
        "tags": [
            "test"
        ],
        "public": true,
        "owner": "TestIssuer"
    }
PrécédentCreate a second wallet and configure this new environmentSuivantCreate a connection: Create an invitation

Dernière mise à jour il y a 1 an

Cet article vous a-t-il été utile ?

📃