{
  "$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": "createPolicy",
      "enum": [
        "createPolicy",
        "listPolicies",
        "showPolicy",
        "updatePolicy",
        "deletePolicy",
        "uploadPolicy"
      ],
      "external_name": "ph_request_type"
    },
    "organizationName": {
      "type": "string",
      "description": "The organization to list policies for.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "organization_name"
    },
    "pageNumber": {
      "type": "string",
      "description": "Optional. If omitted, the endpoint will return the first page.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "page[number]"
    },
    "pageSize": {
      "type": "string",
      "description": "Optional. If omitted, the endpoint will return 20 policies per page.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "page[size]"
    },
    "searchName": {
      "type": "string",
      "description": "Optional. Allows searching the organization&#39;s policies by name.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "search[name]"
    },
    "policyId": {
      "type": "string",
      "description": "The ID of the policy to upload code to. Use the &#34;List Policies&#34; endpoint (or the response to a &#34;Create Policy&#34; request) to find IDs.",
      "parse": false,
      "encode": false,
      "encrypt": {
        "type": "AES",
        "key": ""
      },
      "external_name": "policy_id"
    }
  },
  "definitions": {}
}