code: private List<SimpleJsonSchema> getSchemaFromContext(JsonMessageValidationContext jsonMessageValidationContext,
                                                          ApplicationContext applicationContext) {
          try {
              SimpleJsonSchema simpleJsonSchema =
                      applicationContext.getBean(jsonMessageValidationContext.getSchema(), SimpleJsonSchema.class);
  
              if (log.isDebugEnabled()) {
                  log.debug("Found specified schema: \"" + jsonMessageValidationContext.getSchema() + "\".");
              }
  
              return Collections.singletonList(simpleJsonSchema);
          } catch (NoSuchBeanDefinitionException e) {
              throw new CitrusRuntimeException(
                      "Could not find the specified schema: \"" + jsonMessageValidationContext.getSchema() + "\".",
                      e);
          }
      }
docs: Extracts the the schema specified in the jsonMessageValidationContext from the application context
  @param jsonMessageValidationContext The message validation context containing the name of the schema to extract
  @param applicationContext The application context to extract the schema from
  @return A list containing the relevant schema
  @throws CitrusRuntimeException If no matching schema was found