{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/infocert/main/json-schema/infocert-input-credentials-extend-transaction-schema.json",
  "title": "input-credentials-extendTransaction",
  "description": "Input parameters for credentials/extendTransaction method",
  "x-generated": "2026-10-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/infocert-csc-openapi.json#/components/schemas/input-credentials-extendTransaction",
  "type": "object",
  "required": [
    "credentialID",
    "SAD"
  ],
  "properties": {
    "credentialID": {
      "$ref": "#/$defs/credentialID"
    },
    "hash": {
      "$ref": "#/$defs/hash"
    },
    "SAD": {
      "$ref": "#/$defs/SAD"
    },
    "clientData": {
      "$ref": "#/$defs/clientData"
    }
  },
  "$defs": {
    "SAD": {
      "type": "string",
      "description": "The Signature Activation Data to provide as input to the signatures/signHash method."
    },
    "clientData": {
      "type": "string",
      "description": "Arbitrary data from the Signature Application"
    },
    "credentialID": {
      "type": "string",
      "description": "The identifier associated to the credential"
    },
    "hash": {
      "type": "array",
      "description": "One or more Base64-encoded hash values to be signed",
      "items": {
        "type": "string",
        "description": "Single Base64-encoded hash value to be signed"
      }
    }
  }
}