{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/eagle-eye-networks/main/json-schema/eagle-eye-networks-paginated-floor-plans-response-schema.json", "title": "PaginatedFloorPlansResponse", "x-generated": "2026-10-14", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/eagle-eye-networks-grouping-openapi.yml#/components/schemas/PaginatedFloorPlansResponse", "allOf": [ { "$ref": "#/$defs/PaginatedResponseWithSize" }, { "type": "object", "properties": { "results": { "type": "array", "items": { "$ref": "#/$defs/FloorPlanGetResponse" } } } } ], "$defs": { "FloorPlan": { "type": "object", "description": "Represents a floor plan file", "properties": { "id": { "type": "string", "description": "Unique identifier of the floor plan", "readOnly": true }, "floorId": { "type": "string", "description": "Unique identifier of the floor", "readOnly": true }, "type": { "type": "string", "description": "Type of the floor image", "readOnly": true, "enum": [ "png", "svg", "pdf" ] }, "creator": { "type": "string", "enum": [ "originalUpload", "cloudGenerated" ], "readOnly": true } } }, "FloorPlanGetResponse": { "allOf": [ { "$ref": "#/$defs/FloorPlan" } ], "required": [ "id", "floorId", "type", "creator" ] }, "PaginatedResponseNoTotalSize": { "type": "object", "description": "Used to wrap results for a paginated response, containing information on how to retrieve further pages.\n", "properties": { "nextPageToken": { "type": [ "string", "null" ], "readOnly": true, "description": "Token to retrieve the next page. The value of this token is passed into the field pageToken. This value can be null if there is no next page.\n" }, "prevPageToken": { "type": [ "string", "null" ], "readOnly": true, "description": "Token to retrieve the previous page. The value of this token is passed into the field pageToken. This value can be null of there is no previous page.\n" }, "results": { "type": "array", "readOnly": true, "description": "The result set from a collection API call.", "items": { "type": "object" } } }, "required": [ "nextPageToken", "prevPageToken", "results" ] }, "PaginatedResponseWithSize": { "description": "Used to wrap results for a paginated response, containing information on how to retrieve further pages and the total number of results. \n", "allOf": [ { "$ref": "#/$defs/PaginatedResponseNoTotalSize" }, { "properties": { "totalSize": { "type": "integer", "readOnly": true, "description": "Size of the total result set.\n" } }, "required": [ "totalSize" ] } ] } } }