File: schema_version.md

package info (click to toggle)
jsoncons 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,584 kB
  • sloc: cpp: 136,382; sh: 33; makefile: 5
file content (25 lines) | stat: -rw-r--r-- 588 bytes parent folder | download
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
### jsoncons::jsonschema::schema_version

```cpp
#include <jsoncons/jsonschema/jsonschema.hpp>

struct schema_version;
```

Member functions

    static std::string draft4();
Returns "http://json-schema.org/draft-04/schema#".

    static std::string draft6();
Returns "http://json-schema.org/draft-06/schema#".

    static std::string draft7();
Returns "http://json-schema.org/draft-07/schema#".

    static std::string draft201909();
Returns "https://json-schema.org/draft/2019-09/schema".

    static std::string draft202012(); 
Returns "https://json-schema.org/draft/2020-12/schema".