forked from sony/nmos-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjson_schema.h
37 lines (27 loc) · 1.28 KB
/
json_schema.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef NMOS_JSON_SCHEMA_H
#define NMOS_JSON_SCHEMA_H
#include "cpprest/base_uri.h"
#include "cpprest/json.h"
namespace nmos
{
struct api_version;
struct type;
namespace details
{
std::map<web::uri, web::json::value> make_schemas();
}
namespace experimental
{
web::uri make_systemapi_global_schema_uri(const nmos::api_version& version);
web::uri make_registrationapi_resource_post_request_schema_uri(const nmos::api_version& version);
web::uri make_queryapi_subscriptions_post_request_schema_uri(const nmos::api_version& version);
web::uri make_nodeapi_receiver_target_put_request_schema_uri(const nmos::api_version& version);
web::uri make_connectionapi_staged_patch_request_schema_uri(const nmos::api_version& version, const nmos::type& type);
web::uri make_connectionapi_sender_staged_patch_request_schema_uri(const nmos::api_version& version);
web::uri make_connectionapi_receiver_staged_patch_request_schema_uri(const nmos::api_version& version);
web::uri make_channelmappingapi_map_activations_post_request_schema_uri(const nmos::api_version& version);
// load the json schema for the specified base URI
web::json::value load_json_schema(const web::uri& id);
}
}
#endif