From 7ffc98c007601921db0677fc07c9779f71bb3499 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Thu, 14 May 2026 18:26:01 -0400 Subject: cli: test validate-interior --- testdata/interiorvalidationreq.json | 4 ++++ testdata/interiorvalidationresp.json | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 testdata/interiorvalidationreq.json create mode 100644 testdata/interiorvalidationresp.json (limited to 'testdata') diff --git a/testdata/interiorvalidationreq.json b/testdata/interiorvalidationreq.json new file mode 100644 index 0000000..a5301a8 --- /dev/null +++ b/testdata/interiorvalidationreq.json @@ -0,0 +1,4 @@ +{ + "source_url": "https://example.com/interior.pdf", + "pod_package_id": "0850X1100.BW.STD.LW.060UW444.MNG" +} diff --git a/testdata/interiorvalidationresp.json b/testdata/interiorvalidationresp.json new file mode 100644 index 0000000..90a7b09 --- /dev/null +++ b/testdata/interiorvalidationresp.json @@ -0,0 +1,10 @@ +{ + "id": 1, + "source_url": "https://www.dropbox.com/sh/p3zh22vzsaegiri/AACOUn3LFKsITDzylh13bQpsa/161025/thesis2.pdf?dl=1", + "page_count": 210, + "errors": [ + "Book Size: The book size you selected does not match the page size in the file you uploaded." + ], + "status": "VALIDATING", + "valid_pod_package_ids": null +} -- cgit v1.2.3