{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-privatelink/refs/heads/main/json-schema/amazon-privatelink-modify-vpc-endpoint-service-permissions-request-schema.json",
  "title": "ModifyVpcEndpointServicePermissionsRequest",
  "description": "ModifyVpcEndpointServicePermissionsRequest schema from Amazon PrivateLink API",
  "type": "object",
  "properties": {
    "ServiceId": {
      "type": "string",
      "description": "ID of the endpoint service"
    },
    "AddAllowedPrincipals": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Principal ARNs to allow"
    },
    "RemoveAllowedPrincipals": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Principal ARNs to remove"
    }
  },
  "required": [
    "ServiceId"
  ]
}