☰ Scenario Validation of the search parameter definitions in the CapabilityStatement
And CapabilityStatement contains definition of search parameter "endpoint" of type "reference" for resource "Organization"
INFO
rest.where(mode = 'server').resource.where(type = 'Organization' and searchParam.where(name = 'endpoint' and type = 'reference').exists()).exists()
["BooleanType[true]"]