{
  "opencollection": "1.0.0",
  "info": {
    "name": "Privado ID - Issuer Agent Schemas API",
    "version": "1"
  },
  "items": [
    {
      "info": {
        "name": "Schemas",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Schemas",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/identities/:identifier/schemas",
            "params": [
              {
                "name": "identifier",
                "value": "",
                "type": "path",
                "description": "Issuer identifier"
              },
              {
                "name": "query",
                "value": "",
                "type": "query",
                "description": "Query string to do full text search in schema types and attributes."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get Schemas"
        },
        {
          "info": {
            "name": "Import JSON schema",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v2/identities/:identifier/schemas",
            "params": [
              {
                "name": "identifier",
                "value": "",
                "type": "path",
                "description": "Issuer identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Import a JSON schema to be used in the credentials."
        },
        {
          "info": {
            "name": "Get Schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v2/identities/:identifier/schemas/:id",
            "params": [
              {
                "name": "identifier",
                "value": "",
                "type": "path",
                "description": "Issuer identifier"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "UUID parameter, e.g: 8edd8112-c415-11ed-b036-debe37e1cbd6\n"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Get a specific schema for the provided identity."
        },
        {
          "info": {
            "name": "Update Schema",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/v2/identities/:identifier/schemas/:id",
            "params": [
              {
                "name": "identifier",
                "value": "",
                "type": "path",
                "description": "Issuer identifier"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "UUID parameter, e.g: 8edd8112-c415-11ed-b036-debe37e1cbd6\n"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Update a specific schema for the provided identity."
        }
      ]
    }
  ],
  "bundled": true
}