ReqRes · JSON Structure

Reqres Collection Response Structure

CollectionResponse schema from ReqRes API

Type: object Properties: 1 Required: 1
DevelopmentTestingPrototypingFake APIRESTAgent Sandbox

CollectionResponse is a JSON Structure definition published by ReqRes, describing 1 property, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

data

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/reqres/refs/heads/main/json-structure/reqres-collection-response-structure.json",
  "name": "CollectionResponse",
  "description": "CollectionResponse schema from ReqRes API",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "project_id": {
          "type": "string"
        },
        "user_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "schema": {
          "type": "object",
          "additionalProperties": true
        },
        "visibility": {
          "type": "string"
        },
        "created_at": {
          "type": "datetime"
        },
        "updated_at": {
          "type": "datetime"
        }
      },
      "required": [
        "id",
        "name",
        "slug"
      ],
      "additionalProperties": true
    }
  },
  "required": [
    "data"
  ]
}