{
  "$id": "schema.json",
  "type": "object",
  "schema": "http://json-schema.org/draft-07/schema#",
  "translate": true,
  "dynamicfields": true,
  "properties": {
    "ph_request_type": {
      "type": "string",
      "description": "type of request (internal to adapter)",
      "default": "createApplicationCredential",
      "enum": [
        "createApplicationCredential",
        "listApplicationCredentials",
        "showApplicationCredentialDetails",
        "deleteApplicationCredential",
        "listAccessRules",
        "showAccessRuleDetails",
        "deleteAccessRule"
      ],
      "external_name": "ph_request_type"
    },
    "userId": {
      "type": "string",
      "description": "The ID of the user who owns the access rule.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "user_id"
    },
    "applicationCredentialId": {
      "type": "string",
      "description": "The ID of the application credential.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "application_credential_id"
    },
    "accessRuleId": {
      "type": "string",
      "description": "The ID of the access rule.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "access_rule_id"
    }
  },
  "definitions": {}
}