summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/internal/pages/lookup_path.json
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/internal/pages/lookup_path.json')
-rw-r--r--spec/fixtures/api/schemas/internal/pages/lookup_path.json8
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/fixtures/api/schemas/internal/pages/lookup_path.json b/spec/fixtures/api/schemas/internal/pages/lookup_path.json
index b2b3d3f9d0a..9d81ea495f1 100644
--- a/spec/fixtures/api/schemas/internal/pages/lookup_path.json
+++ b/spec/fixtures/api/schemas/internal/pages/lookup_path.json
@@ -14,8 +14,12 @@
"source": { "type": "object",
"required": ["type", "path"],
"properties" : {
- "type": { "type": "string", "enum": ["file"] },
- "path": { "type": "string" }
+ "type": { "type": "string", "enum": ["file", "zip"] },
+ "path": { "type": "string" },
+ "global_id": { "type": "string" },
+ "sha256": { "type": "string" },
+ "file_size": { "type": "integer" },
+ "file_count": { "type": ["integer", "null"] }
},
"additionalProperties": false
},