35 #ifndef SHARED_SRC_UTIL_INCLUDE_SCHEMA_KEYS_H_
36 #define SHARED_SRC_UTIL_INCLUDE_SCHEMA_KEYS_H_
58 #ifndef DOXYGEN_SHOULD_SKIP_THIS
62 #ifdef ALLOCATE_SCHEMA_KEYS_TAGS
63 #define SCHEMA_KEYS_PREFIX GRASSROOTS_UTIL_API
64 #define SCHEMA_KEYS_VAL(x) = x
65 #define SCHEMA_KEYS_CONCAT_VAL(x,y) = x y
67 #define SCHEMA_KEYS_PREFIX extern GRASSROOTS_UTIL_API
68 #define SCHEMA_KEYS_VAL(x)
69 #define SCHEMA_KEYS_CONCAT_VAL(x,y)
72 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS
103 #define CONTEXT_PREFIX_SCHEMA_ORG_S "so:"
104 SCHEMA_KEYS_PREFIX
const char *CONTEXT_URL_SCHEMA_ORG_S
SCHEMA_KEYS_VAL(
"http://schema.org/");
106 #define CONTEXT_PREFIX_EDAM_ONTOLOGY_S "eo:"
107 SCHEMA_KEYS_PREFIX
const char *CONTEXT_URL_EDAM_ONOTOLOGY_S
SCHEMA_KEYS_VAL(
"http://edamontology.org/");
109 #define CONTEXT_PREFIX_EXPERIMENTAL_FACTOR_ONTOLOGY_S "efo:"
110 SCHEMA_KEYS_PREFIX
const char *CONTEXT_URL_EXPERIMENTAL_FACTOR_ONOTOLOGY_S
SCHEMA_KEYS_VAL(
"http://www.ebi.ac.uk/efo/");
112 #define CONTEXT_PREFIX_SOFTWARE_ONTOLOGY_S "swo:"
113 SCHEMA_KEYS_PREFIX
const char *CONTEXT_URL_SOFTWARE_ONOTOLOGY_S
SCHEMA_KEYS_VAL(
"http://www.ebi.ac.uk/swo/");
115 #define CONTEXT_PREFIX_CROP_ONTOLOGY_S "co:"
116 SCHEMA_KEYS_PREFIX
const char *CONTEXT_URL_CROP_ONTOLOGY_S
SCHEMA_KEYS_VAL(
"http://www.cropontology.org/terms/");
118 #define CONTEXT_PREFIX_ENVIRONMENT_ONTOLOGY_S "envo:"
119 SCHEMA_KEYS_PREFIX
const char *CONTEXT_URL_ENVIRONMENT_ONTOLOGY_S
SCHEMA_KEYS_VAL(
"http://purl.obolibrary.org/obo/ENVO_");
121 #define CONTEXT_PREFIX_AGRONOMY_ONTOLOGY_S "agro:"
122 SCHEMA_KEYS_PREFIX
const char *CONTEXT_URL_AGRONOMY_ONTOLOGY_S
SCHEMA_KEYS_VAL(
"http://purl.obolibrary.org/obo/AGRO_");
124 #define CONTEXT_PREFIX_NCI_THESAUSUS_ONTOLOGY_S "ncit:"
125 SCHEMA_KEYS_PREFIX
const char *CONTEXT_URL_NCI_THESAUSUS_ONTOLOGY_S
SCHEMA_KEYS_VAL(
"http://purl.obolibrary.org/obo/NCIT_");
128 #define CONTEXT_PREFIX_STATS_ONTOLOGY_S "stato:"
129 SCHEMA_KEYS_PREFIX
const char *CONTEXT_URL_STATS_ONTOLOGY_S
SCHEMA_KEYS_VAL(
"http://purl.obolibrary.org/obo/STATO_");
153 SCHEMA_KEYS_PREFIX
const char *REQUEST_VERBOSE_S
SCHEMA_KEYS_VAL(
"verbose");
172 SCHEMA_KEYS_PREFIX
const char *VERSION_MAJOR_S
SCHEMA_KEYS_VAL(
"major");
178 SCHEMA_KEYS_PREFIX
const char *VERSION_MINOR_S
SCHEMA_KEYS_VAL(
"minor");
199 SCHEMA_KEYS_PREFIX
const char *SERVER_MULTIPLE_PROVIDERS_S
SCHEMA_KEYS_VAL(
"providers");
208 SCHEMA_KEYS_PREFIX
const char *SERVER_PROVIDER_S
SCHEMA_KEYS_VAL(
"provider");
253 SCHEMA_KEYS_PREFIX
const char *SERVERS_MANAGER_S
SCHEMA_KEYS_VAL(
"servers_manager");
255 SCHEMA_KEYS_PREFIX
const char *SERVER_UUID_S
SCHEMA_KEYS_VAL(
"server_uuid");
256 SCHEMA_KEYS_PREFIX
const char *SERVER_NAME_S
SCHEMA_KEYS_VAL(
"server_name");
257 SCHEMA_KEYS_PREFIX
const char *SERVER_CONNECTION_TYPE_S
SCHEMA_KEYS_VAL(
"server_connection");
258 SCHEMA_KEYS_PREFIX
const char *SERVER_URI_S
SCHEMA_KEYS_VAL(
"server_uri");
265 SCHEMA_KEYS_PREFIX
const char *SERVER_PAIRED_SERVICES_S
SCHEMA_KEYS_VAL(
"paired_services");
266 SCHEMA_KEYS_PREFIX
const char *SERVER_LOCAL_PAIRED_SERVCE_S
SCHEMA_KEYS_VAL(
"local");
267 SCHEMA_KEYS_PREFIX
const char *SERVER_REMOTE_PAIRED_SERVCE_S
SCHEMA_KEYS_VAL(
"remote");
274 SCHEMA_KEYS_PREFIX
const char *CONNECTION_RAW_S
SCHEMA_KEYS_VAL(
"connection_raw");
275 SCHEMA_KEYS_PREFIX
const char *CONNECTION_WEB_S
SCHEMA_KEYS_VAL(
"connection_web");
284 SCHEMA_KEYS_PREFIX
const char *SERVER_OPERATIONS_S
SCHEMA_KEYS_VAL(
"operations");
285 SCHEMA_KEYS_PREFIX
const char *SERVER_OPERATION_S
SCHEMA_KEYS_VAL(
"operation");
293 SCHEMA_KEYS_PREFIX
const char *OPERATION_ID_OLD_S
SCHEMA_KEYS_VAL(
"operationId");
301 SCHEMA_KEYS_PREFIX
const char *OPERATION_ID_S
SCHEMA_KEYS_VAL(
"so:name");
309 SCHEMA_KEYS_PREFIX
const char *OPERATION_S
SCHEMA_KEYS_VAL(
"operation");
313 SCHEMA_KEYS_PREFIX
const char *OPERATION_ICON_DATA_S
SCHEMA_KEYS_VAL(
"icon_data");
314 SCHEMA_KEYS_PREFIX
const char *OPERATION_SYNCHRONOUS_S
SCHEMA_KEYS_VAL(
"synchronous");
321 SCHEMA_KEYS_PREFIX
const char *SERVICES_NAME_S
SCHEMA_KEYS_VAL(
"services");
324 SCHEMA_KEYS_PREFIX
const char *SERVICE_RUN_S
SCHEMA_KEYS_VAL(
"start_service");
325 SCHEMA_KEYS_PREFIX
const char *SERVICE_REFRESH_S
SCHEMA_KEYS_VAL(
"refresh_service");
326 SCHEMA_KEYS_PREFIX
const char *SERVICE_INDEXING_DATA_S
SCHEMA_KEYS_VAL(
"indexing_data");
327 SCHEMA_KEYS_PREFIX
const char *SERVICES_STATUS_S
SCHEMA_KEYS_VAL(
"status");
328 SCHEMA_KEYS_PREFIX
const char *SERVICES_STATUS_DEFAULT_S
SCHEMA_KEYS_VAL(
"default");
337 SCHEMA_KEYS_PREFIX
const char *TYPE_SERVICE_S
SCHEMA_KEYS_VAL(
"grassroots_service");
342 SCHEMA_KEYS_PREFIX
const char *SERVICE_UUID_S
SCHEMA_KEYS_VAL(
"service_uuid");
343 SCHEMA_KEYS_PREFIX
const char *SERVICE_STATUS_VALUE_S
SCHEMA_KEYS_VAL(
"status");
344 SCHEMA_KEYS_PREFIX
const char *SERVICE_STATUS_S
SCHEMA_KEYS_VAL(
"status_text");
345 SCHEMA_KEYS_PREFIX
const char *SERVICE_RESULTS_S
SCHEMA_KEYS_VAL(
"results");
346 SCHEMA_KEYS_PREFIX
const char *SERVICE_CATEGORY_S
SCHEMA_KEYS_VAL(
"category");
348 SCHEMA_KEYS_PREFIX
const char *SERVICE_CONFIG_S
SCHEMA_KEYS_VAL(
"config");
349 SCHEMA_KEYS_PREFIX
const char *SERVICE_TYPE_VALUE_S
SCHEMA_KEYS_VAL(
"Grassroots:Service");
351 SCHEMA_KEYS_PREFIX
const char *SERVICE_RUN_MODE_S
SCHEMA_KEYS_VAL(
"run_mode");
358 SCHEMA_KEYS_PREFIX
const char *SERVICE_METADATA_APPLICATION_CATEGORY_S
SCHEMA_KEYS_VAL(
"application_category");
359 SCHEMA_KEYS_PREFIX
const char *SERVICE_METADATA_APPLICATION_SUBCATEGORY_S
SCHEMA_KEYS_VAL(
"application_subcategory");
360 SCHEMA_KEYS_PREFIX
const char *SERVICE_METADATA_APPLICATION_INPUT_S
SCHEMA_KEYS_VAL(
"input");
361 SCHEMA_KEYS_PREFIX
const char *SERVICE_METADATA_APPLICATION_OUTPUT_S
SCHEMA_KEYS_VAL(
"output");
366 SCHEMA_KEYS_PREFIX
const char *SCHEMA_TERM_ABBREVIATION_S
SCHEMA_KEYS_VAL(
"abbreviation");
373 SCHEMA_KEYS_PREFIX
const char *LINKED_SERVICES_S
SCHEMA_KEYS_VAL(
"linked_services");
374 SCHEMA_KEYS_PREFIX
const char *LINKED_SERVICE_S
SCHEMA_KEYS_VAL(
"linked_service");
375 SCHEMA_KEYS_PREFIX
const char *LINKED_SERVICE_FUNCTION_S
SCHEMA_KEYS_VAL(
"function");
376 SCHEMA_KEYS_PREFIX
const char *LINKED_SERVICE_CONFIG_S
SCHEMA_KEYS_VAL(
"config");
377 SCHEMA_KEYS_PREFIX
const char *MAPPED_PARAMS_LIST_S
SCHEMA_KEYS_VAL(
"mappings");
378 SCHEMA_KEYS_PREFIX
const char *MAPPED_PARAM_INPUT_S
SCHEMA_KEYS_VAL(
"input");
379 SCHEMA_KEYS_PREFIX
const char *MAPPED_PARAM_OUTPUT_S
SCHEMA_KEYS_VAL(
"output");
380 SCHEMA_KEYS_PREFIX
const char *MAPPED_PARAM_REQUIRED_S
SCHEMA_KEYS_VAL(
"required");
381 SCHEMA_KEYS_PREFIX
const char *MAPPED_PARAMS_ROOT_S
SCHEMA_KEYS_VAL(
"input_root");
382 SCHEMA_KEYS_PREFIX
const char *MAPPED_PARAM_MULTI_VALUED_S
SCHEMA_KEYS_VAL(
"multiple");
392 SCHEMA_KEYS_PREFIX
const char *JOBS_MANAGER_S
SCHEMA_KEYS_VAL(
"jobs_manager");
404 SCHEMA_KEYS_PREFIX
const char *JOB_SERVICE_S
SCHEMA_KEYS_VAL(
"service_name");
409 SCHEMA_KEYS_PREFIX
const char *JOB_RESULTS_S
SCHEMA_KEYS_VAL(
"results");
410 SCHEMA_KEYS_PREFIX
const char *JOB_OMITTED_RESULTS_S
SCHEMA_KEYS_VAL(
"results_omitted");
417 SCHEMA_KEYS_PREFIX
const char *JOB_RUNTIME_ERRORS_S
SCHEMA_KEYS_VAL(
"runtime_errors");
418 SCHEMA_KEYS_PREFIX
const char *JOB_METADATA_S
SCHEMA_KEYS_VAL(
"metadata");
420 SCHEMA_KEYS_PREFIX
const char *JOB_REMOTE_URI_S
SCHEMA_KEYS_VAL(
"remote_uri");
421 SCHEMA_KEYS_PREFIX
const char *JOB_REMOTE_UUID_S
SCHEMA_KEYS_VAL(
"remote_uuid");
422 SCHEMA_KEYS_PREFIX
const char *JOB_REMOTE_SERVICE_S
SCHEMA_KEYS_VAL(
"remote_service");
423 SCHEMA_KEYS_PREFIX
const char *JOB_REMOTE_S
SCHEMA_KEYS_VAL(
"remote_job");
432 SCHEMA_KEYS_PREFIX
const char *PLUGIN_NAME_S
SCHEMA_KEYS_VAL(
"plugin");
444 SCHEMA_KEYS_PREFIX
const char *PARAM_SET_KEY_S
SCHEMA_KEYS_VAL(
"parameter_set");
463 SCHEMA_KEYS_PREFIX
const char *PARAM_SET_PARAMS_S
SCHEMA_KEYS_VAL(
"parameters");
471 SCHEMA_KEYS_PREFIX
const char *PARAM_SET_GROUPS_S
SCHEMA_KEYS_VAL(
"groups");
495 SCHEMA_KEYS_PREFIX
const char *PARAM_CONCISE_DEFINITION_S
SCHEMA_KEYS_VAL(
"concise");
508 SCHEMA_KEYS_PREFIX
const char *PARAM_GRASSROOTS_TYPE_INFO_S
SCHEMA_KEYS_VAL(
"grassroots_type_number");
509 SCHEMA_KEYS_PREFIX
const char *PARAM_GRASSROOTS_TYPE_INFO_TEXT_S
SCHEMA_KEYS_VAL(
"grassroots_type");
510 SCHEMA_KEYS_PREFIX
const char *PARAM_GRASSROOTS_S
SCHEMA_KEYS_VAL(
"parameter_type");
511 SCHEMA_KEYS_PREFIX
const char *PARAM_COMPOUND_TEXT_S
SCHEMA_KEYS_VAL(
"text");
512 SCHEMA_KEYS_PREFIX
const char *PARAM_COMPOUND_VALUE_S
SCHEMA_KEYS_VAL(
"value");
515 SCHEMA_KEYS_PREFIX
const char *PARAM_REFRESH_S
SCHEMA_KEYS_VAL(
"refresh");
517 SCHEMA_KEYS_PREFIX
const char *PARAM_REQUIRED_S
SCHEMA_KEYS_VAL(
"required");
520 SCHEMA_KEYS_PREFIX
const char *PARAM_READ_ONLY_S
SCHEMA_KEYS_VAL(
"read_only");
526 SCHEMA_KEYS_PREFIX
const char *PARAM_DEFAULT_VALUE_S
SCHEMA_KEYS_VAL(
"default_value");
531 SCHEMA_KEYS_PREFIX
const char *PARAM_CURRENT_VALUE_S
SCHEMA_KEYS_VAL(
"current_value");
533 SCHEMA_KEYS_PREFIX
const char *PARAM_OPTIONS_S
SCHEMA_KEYS_VAL(
"enum");
536 SCHEMA_KEYS_PREFIX
const char *PARAM_VISIBLE_S
SCHEMA_KEYS_VAL(
"visible");
548 SCHEMA_KEYS_PREFIX
const char *PARAM_REPEATED_GROUPS_S
SCHEMA_KEYS_VAL(
"groups");
560 SCHEMA_KEYS_PREFIX
const char *PARAM_GROUP_VISIBLE_S
SCHEMA_KEYS_VAL(
"visible");
568 SCHEMA_KEYS_PREFIX
const char *PARAM_GROUP_REPEATABLE_S
SCHEMA_KEYS_VAL(
"repeatable");
574 SCHEMA_KEYS_PREFIX
const char *PARAM_GROUP_REPEATABLE_LABEL_S
SCHEMA_KEYS_VAL(
"repeatable_label");
580 SCHEMA_KEYS_PREFIX
const char *PARAM_GROUP_PARAMS_S
SCHEMA_KEYS_VAL(
"parameters");
600 SCHEMA_KEYS_PREFIX
const char *PARAM_LEVEL_TEXT_S
SCHEMA_KEYS_VAL(
"level_text");
608 SCHEMA_KEYS_PREFIX
const char *PARAM_LEVEL_TEXT_ALL_S
SCHEMA_KEYS_VAL(
"all");
614 SCHEMA_KEYS_PREFIX
const char *PARAM_LEVEL_TEXT_SIMPLE_S
SCHEMA_KEYS_VAL(
"simple");
621 SCHEMA_KEYS_PREFIX
const char *PARAM_LEVEL_TEXT_ADVANCED_S
SCHEMA_KEYS_VAL(
"advanced");
623 SCHEMA_KEYS_PREFIX
const char *PARAM_ERRORS_S
SCHEMA_KEYS_VAL(
"errors");
625 SCHEMA_KEYS_PREFIX
const char *PARAM_SERVER_ID_S
SCHEMA_KEYS_VAL(
"server_id");
627 SCHEMA_KEYS_PREFIX
const char *PARAM_REMOTE_URI_S
SCHEMA_KEYS_VAL(
"remote_uri");
629 SCHEMA_KEYS_PREFIX
const char *PARAM_REMOTE_S
SCHEMA_KEYS_VAL(
"remote_details");
631 SCHEMA_KEYS_PREFIX
const char *PARAM_VALUE_SET_FROM_TEXT_S
SCHEMA_KEYS_VAL(
"value_as_text");
634 SCHEMA_KEYS_PREFIX
const char *KEYWORDS_QUERY_S
SCHEMA_KEYS_VAL(
"query");
643 SCHEMA_KEYS_PREFIX
const char *SHARED_TYPE_VALUE_S
SCHEMA_KEYS_VAL(
"value");
661 SCHEMA_KEYS_PREFIX
const char *RESOURCE_PROTOCOL_S
SCHEMA_KEYS_VAL(
"protocol");
668 SCHEMA_KEYS_PREFIX
const char *RESOURCE_VALUE_S
SCHEMA_KEYS_VAL(
"value");
680 SCHEMA_KEYS_PREFIX
const char *RESOURCE_TITLE_S
SCHEMA_KEYS_VAL(
"title");
686 SCHEMA_KEYS_PREFIX
const char *RESOURCE_DATA_S
SCHEMA_KEYS_VAL(
"data");
695 SCHEMA_KEYS_PREFIX
const char *TAG_INPUT_NAME_S
SCHEMA_KEYS_VAL(
"input");
696 SCHEMA_KEYS_PREFIX
const char *TAG_OUTPUT_NAME_S
SCHEMA_KEYS_VAL(
"output");
708 SCHEMA_KEYS_PREFIX
const char *CREDENTIALS_S
SCHEMA_KEYS_VAL(
"credentials");
710 SCHEMA_KEYS_PREFIX
const char *CREDENTIALS_USERNAME_S
SCHEMA_KEYS_VAL(
"username");
711 SCHEMA_KEYS_PREFIX
const char *CREDENTIALS_PASSWORD_S
SCHEMA_KEYS_VAL(
"password");
712 SCHEMA_KEYS_PREFIX
const char *CREDENTIALS_UUID_S
SCHEMA_KEYS_VAL(
"user_uuid");
713 SCHEMA_KEYS_PREFIX
const char *CREDENTIALS_TOKEN_KEY_S
SCHEMA_KEYS_VAL(
"token_key");
714 SCHEMA_KEYS_PREFIX
const char *CREDENTIALS_TOKEN_SECRET_S
SCHEMA_KEYS_VAL(
"token_secret");
715 SCHEMA_KEYS_PREFIX
const char *CREDENTIALS_APP_KEY_S
SCHEMA_KEYS_VAL(
"app_key");
716 SCHEMA_KEYS_PREFIX
const char *CREDENTIALS_APP_SECRET_S
SCHEMA_KEYS_VAL(
"app_secret");
717 SCHEMA_KEYS_PREFIX
const char *CREDENTIALS_ENCRYPTION_METHOD_S
SCHEMA_KEYS_VAL(
"encrypt_method");
718 SCHEMA_KEYS_PREFIX
const char *CREDENTIALS_ENCRYPTION_KEY_S
SCHEMA_KEYS_VAL(
"encrypt_key");
727 SCHEMA_KEYS_PREFIX
const char *DRMAA_PROGRAM_NAME_S
SCHEMA_KEYS_VAL(
"program_name");
728 SCHEMA_KEYS_PREFIX
const char *DRMAA_ENVIRONMENT_S
SCHEMA_KEYS_VAL(
"env_vars");
729 SCHEMA_KEYS_PREFIX
const char *DRMAA_JOB_NAME_S
SCHEMA_KEYS_VAL(
"job_name");
731 SCHEMA_KEYS_PREFIX
const char *DRMAA_WORKING_DIR_S
SCHEMA_KEYS_VAL(
"working_dir");
732 SCHEMA_KEYS_PREFIX
const char *DRMAA_OUTPUT_FILE_S
SCHEMA_KEYS_VAL(
"output_file");
733 SCHEMA_KEYS_PREFIX
const char *DRMAA_ID_S
SCHEMA_KEYS_VAL(
"drmma_job_id");
734 SCHEMA_KEYS_PREFIX
const char *DRMAA_UUID_S
SCHEMA_KEYS_VAL(
"drmma_grassroots_uuid");
735 SCHEMA_KEYS_PREFIX
const char *DRMAA_OUT_ID_S
SCHEMA_KEYS_VAL(
"drmma_job_out_id");
736 SCHEMA_KEYS_PREFIX
const char *DRMAA_HOSTNAME_S
SCHEMA_KEYS_VAL(
"host");
737 SCHEMA_KEYS_PREFIX
const char *DRMAA_USERNAME_S
SCHEMA_KEYS_VAL(
"user");
738 SCHEMA_KEYS_PREFIX
const char *DRMAA_EMAILS_S
SCHEMA_KEYS_VAL(
"emails");
740 SCHEMA_KEYS_PREFIX
const char *DRMAA_NUM_CORES_S
SCHEMA_KEYS_VAL(
"num_cores");
741 SCHEMA_KEYS_PREFIX
const char *DRMAA_MEM_USAGE_S
SCHEMA_KEYS_VAL(
"mem");
746 SCHEMA_KEYS_PREFIX
const char *WEB_SERVICE_METHOD_S
SCHEMA_KEYS_VAL(
"method");
757 SCHEMA_KEYS_PREFIX
const char *INDEXING_SERVICE_NAME_S
SCHEMA_KEYS_VAL(
"service");
758 SCHEMA_KEYS_PREFIX
const char *INDEXING_SERVICE_ALIAS_S
SCHEMA_KEYS_VAL(
"service_alternate_name");
760 SCHEMA_KEYS_PREFIX
const char *INDEXING_TYPE_S
SCHEMA_KEYS_VAL(
"@type");
761 SCHEMA_KEYS_PREFIX
const char *INDEXING_TYPE_DESCRIPTION_S
SCHEMA_KEYS_VAL(
"type_description");
762 SCHEMA_KEYS_PREFIX
const char *INDEXING_TYPE_SERVICE_GRASSROOTS_S
SCHEMA_KEYS_VAL(
"Grassroots:Service");
763 SCHEMA_KEYS_PREFIX
const char *INDEXING_TYPE_DESCRIPTION_SERVICE_GRASSROOTS_S
SCHEMA_KEYS_VAL(
"Service");
764 SCHEMA_KEYS_PREFIX
const char *INDEXING_PAYLOAD_DATA_S
SCHEMA_KEYS_VAL(
"payload");
765 SCHEMA_KEYS_PREFIX
const char *INDEXING_PAYLOAD_URL_S
SCHEMA_KEYS_VAL(
"internal_url");