ReqRes · Schema

CollectionCreateRequest

CollectionCreateRequest schema from ReqRes API

DevelopmentTestingPrototypingFake APIRESTAgent Sandbox

Properties

Name Type Description
name string
slug string
schema object
project_id object
visibility string
View JSON Schema on GitHub

JSON Schema

reqres-collection-create-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/reqres/refs/heads/main/json-schema/reqres-collection-create-request-schema.json",
  "title": "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": "integer"
        }
      ]
    },
    "visibility": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": true
}