ReqRes · JSON Structure

Reqres Collection Create Request Structure

CollectionCreateRequest schema from ReqRes API

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

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

Properties

name slug schema project_id visibility

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-create-request-structure.json",
  "name": "CollectionCreateRequest",
  "description": "CollectionCreateRequest schema from ReqRes API",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "slug": {
      "type": "string"
    },
    "schema": {
      "type": "object",
      "additionalProperties": true
    },
    "project_id": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "type": "int32"
        }
      ]
    },
    "visibility": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": true
}