{
  "service": "accredible_certificates",
  "displayName": "Accredible Certificates",
  "categories": [
    "Productivity",
    "Data"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "ACCREDIBLE_API_KEY",
      "description": "Accredible API key sent in the Authorization header as Token token=<API key>. Create or view API keys from API Management in Accredible: https://help.accredible.com/s/article/how-do-i-find-my-integration-api-key."
    }
  ],
  "homepageUrl": "https://www.accredible.com/",
  "actions": [
    {
      "id": "accredible_certificates.create_credential",
      "service": "accredible_certificates",
      "name": "create_credential",
      "description": "Create one Accredible credential using JSON recipient and group fields.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The issuer-defined credential ID.",
            "pattern": "\\S"
          },
          "group_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The Accredible group ID."
          },
          "recipient.name": {
            "type": "string",
            "minLength": 1,
            "description": "The recipient name.",
            "pattern": "\\S"
          },
          "recipient.email": {
            "type": "string",
            "description": "The recipient email address.",
            "format": "email"
          },
          "recipient.phone_number": {
            "type": "string",
            "minLength": 1,
            "description": "The recipient phone number.",
            "pattern": "\\S"
          },
          "recipient.id": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1,
                "description": "A numeric Accredible ID."
              },
              {
                "type": "string",
                "minLength": 1,
                "description": "A string Accredible ID.",
                "pattern": "\\S"
              }
            ],
            "description": "An Accredible ID represented as either a number or string."
          },
          "recipient.meta_data": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Provider-defined metadata object passed through to Accredible."
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "The credential name.",
            "pattern": "\\S"
          },
          "description": {
            "type": "string",
            "minLength": 1,
            "description": "The credential description.",
            "pattern": "\\S"
          },
          "custom_attributes": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Provider-defined metadata object passed through to Accredible."
          },
          "issued_on": {
            "type": "string",
            "description": "A date filter in YYYY-MM-DD format.",
            "format": "date"
          },
          "expired_on": {
            "type": "string",
            "description": "A date filter in YYYY-MM-DD format.",
            "format": "date"
          },
          "complete": {
            "type": "boolean",
            "description": "Whether the credential should be marked complete."
          },
          "private": {
            "type": "boolean",
            "description": "Whether Accredible should create the credential as private."
          },
          "approve": {
            "type": "boolean",
            "description": "Whether Accredible should approve the credential."
          },
          "allow_supplemental_evidence": {
            "type": "boolean",
            "description": "Whether supplemental evidence is allowed for the credential."
          },
          "allow_supplemental_references": {
            "type": "boolean",
            "description": "Whether supplemental references are allowed for the credential."
          },
          "meta_data": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Provider-defined metadata object passed through to Accredible."
          }
        },
        "additionalProperties": false,
        "required": [
          "group_id",
          "recipient.name",
          "recipient.email"
        ],
        "description": "The input payload for creating one Accredible credential."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "credential": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "The credential ID as a string."
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The credential name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The credential description."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "complete": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether Accredible marks the credential complete."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "issuedOn": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The credential issue date returned by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "expiredOn": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The credential expiry date returned by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "groupId": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The Accredible group ID when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "groupName": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Accredible group name when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The public credential URL when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "encodedId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The encoded credential ID when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "private": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the credential is private."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "recipient": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The Accredible recipient ID when returned."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "name": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The recipient name."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "email": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The recipient email address."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "metaData": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": true,
                            "description": "The recipient metadata returned by Accredible."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "description": "Normalized Accredible recipient details."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw credential object returned by Accredible."
              }
            },
            "additionalProperties": false,
            "description": "Normalized Accredible credential details."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when creating one Accredible credential."
      }
    },
    {
      "id": "accredible_certificates.delete_credential",
      "service": "accredible_certificates",
      "name": "delete_credential",
      "description": "Delete one Accredible credential by credential ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The Accredible credential identifier.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "description": "The input payload for deleting one Accredible credential."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "deleted": {
            "type": "boolean",
            "description": "Whether the delete request completed successfully."
          },
          "credential": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "description": "The credential ID as a string."
                  },
                  "name": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The credential name."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "description": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The credential description."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "complete": {
                    "anyOf": [
                      {
                        "type": "boolean",
                        "description": "Whether Accredible marks the credential complete."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "issuedOn": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The credential issue date returned by Accredible."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "expiredOn": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The credential expiry date returned by Accredible."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "groupId": {
                    "anyOf": [
                      {
                        "type": "number",
                        "description": "The Accredible group ID when returned."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "groupName": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The Accredible group name when returned."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "url": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The public credential URL when returned."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "encodedId": {
                    "anyOf": [
                      {
                        "type": "string",
                        "description": "The encoded credential ID when returned."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "private": {
                    "anyOf": [
                      {
                        "type": "boolean",
                        "description": "Whether the credential is private."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "recipient": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "id": {
                            "anyOf": [
                              {
                                "type": "string",
                                "description": "The Accredible recipient ID when returned."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "name": {
                            "anyOf": [
                              {
                                "type": "string",
                                "description": "The recipient name."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "email": {
                            "anyOf": [
                              {
                                "type": "string",
                                "description": "The recipient email address."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "metaData": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {},
                                "additionalProperties": true,
                                "description": "The recipient metadata returned by Accredible."
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "additionalProperties": false,
                        "description": "Normalized Accredible recipient details."
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "raw": {
                    "type": "object",
                    "properties": {},
                    "additionalProperties": true,
                    "description": "The raw credential object returned by Accredible."
                  }
                },
                "additionalProperties": false,
                "description": "Normalized Accredible credential details."
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false,
        "description": "The response returned when deleting one Accredible credential."
      }
    },
    {
      "id": "accredible_certificates.get_credential",
      "service": "accredible_certificates",
      "name": "get_credential",
      "description": "Get one Accredible credential by credential ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "The Accredible credential identifier.",
            "pattern": "\\S"
          }
        },
        "additionalProperties": false,
        "description": "The input payload for reading one Accredible credential."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "credential": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "description": "The credential ID as a string."
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The credential name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "description": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The credential description."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "complete": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether Accredible marks the credential complete."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "issuedOn": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The credential issue date returned by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "expiredOn": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The credential expiry date returned by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "groupId": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The Accredible group ID when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "groupName": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The Accredible group name when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "url": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The public credential URL when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "encodedId": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The encoded credential ID when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "private": {
                "anyOf": [
                  {
                    "type": "boolean",
                    "description": "Whether the credential is private."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "recipient": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The Accredible recipient ID when returned."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "name": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The recipient name."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "email": {
                        "anyOf": [
                          {
                            "type": "string",
                            "description": "The recipient email address."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "metaData": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {},
                            "additionalProperties": true,
                            "description": "The recipient metadata returned by Accredible."
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "additionalProperties": false,
                    "description": "Normalized Accredible recipient details."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw credential object returned by Accredible."
              }
            },
            "additionalProperties": false,
            "description": "Normalized Accredible credential details."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when reading one Accredible credential."
      }
    },
    {
      "id": "accredible_certificates.get_group",
      "service": "accredible_certificates",
      "name": "get_group",
      "description": "Get one Accredible credential group by group ID.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "group_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The Accredible group ID."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for reading one Accredible group."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "group": {
            "type": "object",
            "properties": {
              "id": {
                "type": "number",
                "description": "The Accredible group ID."
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The group name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "courseName": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The group course name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "courseDescription": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The group course description."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "language": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The group language code."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "designName": {
                "anyOf": [
                  {
                    "type": "string",
                    "description": "The associated design name."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "departmentId": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The Accredible department ID when returned."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw group object returned by Accredible."
              }
            },
            "additionalProperties": false,
            "description": "Normalized Accredible group details."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when reading one Accredible group."
      }
    },
    {
      "id": "accredible_certificates.list_credentials",
      "service": "accredible_certificates",
      "name": "list_credentials",
      "description": "List Accredible credentials with documented query filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "group_id": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1,
                "description": "A numeric Accredible ID."
              },
              {
                "type": "string",
                "minLength": 1,
                "description": "A string Accredible ID.",
                "pattern": "\\S"
              }
            ],
            "description": "An Accredible ID represented as either a number or string."
          },
          "email": {
            "type": "string",
            "description": "The recipient email address to filter credentials by.",
            "format": "email"
          },
          "recipient_id": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1,
                "description": "A numeric Accredible ID."
              },
              {
                "type": "string",
                "minLength": 1,
                "description": "A string Accredible ID.",
                "pattern": "\\S"
              }
            ],
            "description": "An Accredible ID represented as either a number or string."
          },
          "license_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Accredible license ID to filter credentials by.",
            "pattern": "\\S"
          },
          "start_date": {
            "type": "string",
            "description": "A date filter in YYYY-MM-DD format.",
            "format": "date"
          },
          "end_date": {
            "type": "string",
            "description": "A date filter in YYYY-MM-DD format.",
            "format": "date"
          },
          "start_updated_date": {
            "type": "string",
            "description": "A date filter in YYYY-MM-DD format.",
            "format": "date"
          },
          "end_updated_date": {
            "type": "string",
            "description": "A date filter in YYYY-MM-DD format.",
            "format": "date"
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of results to request from Accredible."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The page number to request from Accredible."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for listing Accredible credentials."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "credentials": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The credential ID as a string."
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The credential name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The credential description."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "complete": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether Accredible marks the credential complete."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "issuedOn": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The credential issue date returned by Accredible."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "expiredOn": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The credential expiry date returned by Accredible."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "groupId": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The Accredible group ID when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "groupName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Accredible group name when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The public credential URL when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "encodedId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The encoded credential ID when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "private": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether the credential is private."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "recipient": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The Accredible recipient ID when returned."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The recipient name."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "email": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The recipient email address."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "metaData": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {},
                              "additionalProperties": true,
                              "description": "The recipient metadata returned by Accredible."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "description": "Normalized Accredible recipient details."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw credential object returned by Accredible."
                }
              },
              "additionalProperties": false,
              "description": "Normalized Accredible credential details."
            },
            "description": "The credentials returned by Accredible."
          },
          "meta": {
            "type": "object",
            "properties": {
              "currentPage": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The current page reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "nextPage": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The next page reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "prevPage": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The previous page reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalPages": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The total page count reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalCount": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The total item count reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw pagination object returned by Accredible."
              }
            },
            "additionalProperties": false,
            "description": "Normalized Accredible pagination metadata."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when listing Accredible credentials."
      }
    },
    {
      "id": "accredible_certificates.list_groups",
      "service": "accredible_certificates",
      "name": "list_groups",
      "description": "List Accredible credential groups available to the API key.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for listing Accredible groups."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "groups": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "number",
                  "description": "The Accredible group ID."
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The group name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "courseName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The group course name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "courseDescription": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The group course description."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "language": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The group language code."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "designName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The associated design name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "departmentId": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The Accredible department ID when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw group object returned by Accredible."
                }
              },
              "additionalProperties": false,
              "description": "Normalized Accredible group details."
            },
            "description": "The groups returned by Accredible."
          },
          "meta": {
            "type": "object",
            "properties": {
              "currentPage": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The current page reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "nextPage": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The next page reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "prevPage": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The previous page reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalPages": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The total page count reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalCount": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The total item count reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw pagination object returned by Accredible."
              }
            },
            "additionalProperties": false,
            "description": "Normalized Accredible pagination metadata."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when listing Accredible groups."
      }
    },
    {
      "id": "accredible_certificates.search_credentials",
      "service": "accredible_certificates",
      "name": "search_credentials",
      "description": "Search Accredible credentials with documented filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "group_id": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1,
                "description": "A numeric Accredible ID."
              },
              {
                "type": "string",
                "minLength": 1,
                "description": "A string Accredible ID.",
                "pattern": "\\S"
              }
            ],
            "description": "An Accredible ID represented as either a number or string."
          },
          "recipient.name": {
            "type": "string",
            "minLength": 1,
            "description": "A recipient name substring used for matching.",
            "pattern": "\\S"
          },
          "recipient.email": {
            "type": "string",
            "description": "The recipient email address to match.",
            "format": "email"
          },
          "recipient.id": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1,
                "description": "A numeric Accredible ID."
              },
              {
                "type": "string",
                "minLength": 1,
                "description": "A string Accredible ID.",
                "pattern": "\\S"
              }
            ],
            "description": "An Accredible ID represented as either a number or string."
          },
          "recipient.meta_data": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Provider-defined metadata object passed through to Accredible."
          },
          "license_id": {
            "type": "string",
            "minLength": 1,
            "description": "The Accredible license ID to filter credentials by.",
            "pattern": "\\S"
          },
          "meta_data": {
            "type": "object",
            "properties": {},
            "additionalProperties": true,
            "description": "Provider-defined metadata object passed through to Accredible."
          },
          "start_date": {
            "type": "string",
            "description": "A date filter in YYYY-MM-DD format.",
            "format": "date"
          },
          "end_date": {
            "type": "string",
            "description": "A date filter in YYYY-MM-DD format.",
            "format": "date"
          },
          "start_updated_date": {
            "type": "string",
            "description": "A date filter in YYYY-MM-DD format.",
            "format": "date"
          },
          "end_updated_date": {
            "type": "string",
            "description": "A date filter in YYYY-MM-DD format.",
            "format": "date"
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of results to request from Accredible."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The page number to request from Accredible."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for searching Accredible credentials."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "credentials": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "description": "The credential ID as a string."
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The credential name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "description": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The credential description."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "complete": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether Accredible marks the credential complete."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "issuedOn": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The credential issue date returned by Accredible."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "expiredOn": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The credential expiry date returned by Accredible."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "groupId": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The Accredible group ID when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "groupName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The Accredible group name when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "url": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The public credential URL when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "encodedId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The encoded credential ID when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "private": {
                  "anyOf": [
                    {
                      "type": "boolean",
                      "description": "Whether the credential is private."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "recipient": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "id": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The Accredible recipient ID when returned."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "name": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The recipient name."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "email": {
                          "anyOf": [
                            {
                              "type": "string",
                              "description": "The recipient email address."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "metaData": {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {},
                              "additionalProperties": true,
                              "description": "The recipient metadata returned by Accredible."
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "additionalProperties": false,
                      "description": "Normalized Accredible recipient details."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw credential object returned by Accredible."
                }
              },
              "additionalProperties": false,
              "description": "Normalized Accredible credential details."
            },
            "description": "The credentials returned by Accredible."
          },
          "meta": {
            "type": "object",
            "properties": {
              "currentPage": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The current page reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "nextPage": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The next page reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "prevPage": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The previous page reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalPages": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The total page count reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalCount": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The total item count reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw pagination object returned by Accredible."
              }
            },
            "additionalProperties": false,
            "description": "Normalized Accredible pagination metadata."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when searching Accredible credentials."
      }
    },
    {
      "id": "accredible_certificates.search_groups",
      "service": "accredible_certificates",
      "name": "search_groups",
      "description": "Search Accredible credential groups with documented filters.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "ids": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 1,
              "description": "The Accredible group ID."
            },
            "description": "The Accredible group IDs to include.",
            "minItems": 1
          },
          "name": {
            "type": "string",
            "minLength": 1,
            "description": "A group name substring used for partial matching.",
            "pattern": "\\S"
          },
          "course_name": {
            "type": "string",
            "minLength": 1,
            "description": "A course name substring used for partial matching.",
            "pattern": "\\S"
          },
          "department_id": {
            "type": "integer",
            "minimum": 1,
            "description": "The Accredible department ID to filter by."
          },
          "meta_data": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "description": "A metadata value."
            },
            "description": "String metadata key/value pairs passed through to Accredible."
          },
          "start_updated_date": {
            "type": "string",
            "description": "A date filter in YYYY-MM-DD format.",
            "format": "date"
          },
          "end_updated_date": {
            "type": "string",
            "description": "A date filter in YYYY-MM-DD format.",
            "format": "date"
          },
          "page_size": {
            "type": "integer",
            "minimum": 1,
            "description": "The number of results to request from Accredible."
          },
          "page": {
            "type": "integer",
            "minimum": 1,
            "description": "The page number to request from Accredible."
          }
        },
        "additionalProperties": false,
        "description": "The input payload for searching Accredible groups."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "groups": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "number",
                  "description": "The Accredible group ID."
                },
                "name": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The group name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "courseName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The group course name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "courseDescription": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The group course description."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "language": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The group language code."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "designName": {
                  "anyOf": [
                    {
                      "type": "string",
                      "description": "The associated design name."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "departmentId": {
                  "anyOf": [
                    {
                      "type": "number",
                      "description": "The Accredible department ID when returned."
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "raw": {
                  "type": "object",
                  "properties": {},
                  "additionalProperties": true,
                  "description": "The raw group object returned by Accredible."
                }
              },
              "additionalProperties": false,
              "description": "Normalized Accredible group details."
            },
            "description": "The groups returned by Accredible."
          },
          "meta": {
            "type": "object",
            "properties": {
              "currentPage": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The current page reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "nextPage": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The next page reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "prevPage": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The previous page reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalPages": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The total page count reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "totalCount": {
                "anyOf": [
                  {
                    "type": "number",
                    "description": "The total item count reported by Accredible."
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "raw": {
                "type": "object",
                "properties": {},
                "additionalProperties": true,
                "description": "The raw pagination object returned by Accredible."
              }
            },
            "additionalProperties": false,
            "description": "Normalized Accredible pagination metadata."
          }
        },
        "additionalProperties": false,
        "description": "The response returned when searching Accredible groups."
      }
    }
  ]
}
