Commit Graph

310 Commits

Author SHA1 Message Date
Jakub Czarniecki
bd1c7e50a2 Add missing application dependencies for rebar3 relx-based release 2017-05-16 14:23:27 +01:00
Andrei Neculau
718d95d0c9 Merge pull request #44 from JakubCzarniecki/cli-respects-refs
Load schemas passed to jesse CLI into jesse database
2017-03-12 20:06:07 +01:00
Jakub Czarniecki
316308c9a7 Load schemas passed to jesse CLI into jesse database 2017-03-12 01:15:23 +00:00
Andrei Neculau
e0ff5d51f2 Merge pull request #46 from JakubCzarniecki/fix-failing-build
Fix jesse_state #state.id type
2017-03-12 01:45:24 +01:00
Jakub Czarniecki
a2b93308f9 Fix jesse_state #state.id type 2017-03-12 00:38:18 +00:00
Luis Azedo
8615cc2768 more explicit error for enums 2017-03-12 01:21:52 +01:00
Andrei Neculau
b9cb9bb6d8 new schema_not_found reason for schema_invalid 2017-03-12 01:15:10 +01:00
Luis Azedo
a4bdb3df93 provide schema id to error 2017-03-12 01:12:53 +01:00
Andrei Neculau
688495c361 style 2017-03-12 01:07:19 +01:00
Luis Azedo
45dbca4dc7 allow to get current schema id 2017-03-12 01:02:29 +01:00
Luis Azedo
5c386c2e18 create validate_ref
wraps the logic of validating referenced schemas
2017-03-12 01:00:42 +01:00
Luis Azedo
4427b9c0fe restore default_schema_ver in undo_resolve_ref
the fixes the mix between draft3/draft4 schemas
2017-03-12 00:59:34 +01:00
Andrei Neculau
9566ec6798 more realistic regexp 2017-03-12 00:53:17 +01:00
Andrei Neculau
c4da4a6429 Merge pull request #45 from JakubCzarniecki/fix-empty-list-dir
Fix recursive directory listing in jesse database
2017-03-12 00:53:01 +01:00
Andrei Neculau
84a6e93198 local references using json path were not working as expected. fixes #43 2017-03-12 00:23:34 +01:00
Jakub Czarniecki
3b874ef0ef Replace custom directory listing with filelib:fold_files/5 2017-03-10 17:22:36 +00:00
Jakub Czarniecki
5cf7483f46 Fix recursive directory listing in jesse database 2017-03-10 15:50:39 +00:00
Andrei Neculau
ef5bda6f76
fixup! jesse_database:add changed signature. fixes #37 2017-01-10 11:20:31 +01:00
Andrei Neculau
3a08f9b069
jesse_database:add changed signature. fixes #37 2017-01-09 17:11:57 +01:00
Andrei Neculau
0842dd8a67
reindent 2017-01-08 11:28:02 +01:00
lazedo
551f85fc6b
report missing property in check_required. refs #35. fixes #29
also support 'infinity'
2017-01-08 00:25:43 +01:00
lazedo
bdf49a851a
allow refs to use different schema versions. refs #35
supports ref from draft3/draft4 to draft3/draft4
fixes oneOf/anyOf
2017-01-08 00:25:43 +01:00
Andrei Neculau
67d3e30eed
use rfc3339 with R15 compatibility 2017-01-07 23:11:50 +01:00
Andrei Neculau
3333e32c45
normalize 2017-01-07 14:01:19 +01:00
Andrei Neculau
fdd22015cf
add <not yet supported> for hostname and uri formats 2017-01-07 13:28:08 +01:00
Andrei Neculau
6b39b6a76d
ipv4 format not ip-address 2017-01-07 13:22:11 +01:00
Andrei Neculau
2c0d7e2110
remove not-standard date, time format; use talentdeficit/rfc3339 to validate date-time. fixes #34 2017-01-07 13:22:11 +01:00
Andrei Neculau
39bd8bbd46 Merge pull request #24 from for-GET/load_schemas_on_demand
Load schemas on demand
2017-01-07 11:31:36 +01:00
Andrei Neculau
79ca3f7995
when there's a ref property, there shouldn't be any other attributes 2017-01-07 11:14:18 +01:00
Andrei Neculau
84c491cc51
refactor add and add_uri to use canonical keys 2017-01-07 11:14:18 +01:00
Andrei Neculau
e1f852ea0c
use last-modified header in jesse_database:add_uri 2017-01-07 11:14:17 +01:00
Andrei Neculau
15fe6d3cd7
update changelog 2017-01-07 11:14:17 +01:00
Andrei Neculau
58109c3bd4
naming 2017-01-07 11:14:17 +01:00
Andrei Neculau
4e3c77246c
use sourcekey as id, if none 2017-01-07 11:14:17 +01:00
Andrei Neculau
fbb30eb676
use jesse_json_path:value 2017-01-07 11:14:17 +01:00
Andrei Neculau
9ce310e282
add debugging helper jesse_database:load_all/0 2017-01-07 11:14:17 +01:00
Andrei Neculau
473256d318
simplify schema keys in ets table 2017-01-07 11:14:17 +01:00
Andrei Neculau
820d0e9b5a
refactor, use canonical keys 2017-01-07 11:14:17 +01:00
Andrei Neculau
25f65155fd
make external loading the default loader fun 2017-01-07 11:14:16 +01:00
Andrei Neculau
5c0144f98d
cli can load file and http references 2017-01-07 11:14:16 +01:00
Andrei Neculau
5c2104ca32 Merge pull request #33 from a12n/std-formats
Some tests for draft-04 standard formats
2016-12-16 13:34:18 +01:00
Anton Yabchinskiy
79fa984755 Merge branch 'master' into std-formats
Conflicts:
	test/jesse_tests_draft4_SUITE.erl
2016-12-16 14:57:39 +03:00
Anton Yabchinskiy
0d16c6922c add tests for date-time format validation in draft4 2016-12-16 14:44:56 +03:00
Anton Yabchinskiy
e2eb75438e add tests for ipv6 format validation in draft4 2016-12-16 14:33:52 +03:00
Anton Yabchinskiy
7e9af74afc fix typo in time format validation implementation 2016-12-16 14:30:30 +03:00
Anton Yabchinskiy
feaa748e13 add tests for time format validation in draft4 2016-12-16 14:16:53 +03:00
Anton Yabchinskiy
2ab11a581c add tests for ip-address format validation in draft4 2016-12-16 14:15:59 +03:00
Anton Yabchinskiy
a94c452aa8 add tests for date format validation in draft4 2016-12-16 14:14:11 +03:00
Andrei Neculau
3308bb5bca
add links to erldocs. fix #25 2016-12-16 12:09:15 +01:00
Andrei Neculau
509ee0da11
markdown style 2016-12-16 12:07:46 +01:00