Sha256: d42b9f3eb96db9cd71f73c579177b91edbb000164e303585e5211caae73f96ba

Contents?: true

Size: 1.12 KB

Versions: 5

Compression:

Stored size: 1.12 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "description": {
      "type": "string",
      "maxLength": 32767
    },
    "viewType": {
      "type": "string",
      "enum": [
        "layout",
        "page",
        "component"
      ]
    },
    "layoutId": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^[A-Fa-f\\d]{24}$"
    },
    "body": {
      "type": "string",
      "maxLength": 131072
    },
    "viewTags": {
      "type": "object",
      "patternProperties": {
        "^[0-9a-zA-Z_-]{1,255}$": {
          "type": "string",
          "minLength": 1,
          "maxLength": 255
        }
      },
      "additionalProperties": false
    },
    "headers": {
      "type": "object",
      "properties": {
        "content-type": {
          "type": "string",
          "minLength": 1,
          "maxLength": 255
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false,
  "required": [
    "name",
    "viewType"
  ]
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
losant_rest-1.21.0 schemas/experienceViewPost.json
losant_rest-1.20.1 schemas/experienceViewPost.json
losant_rest-1.20.0 schemas/experienceViewPost.json
losant_rest-1.19.9 schemas/experienceViewPost.json
losant_rest-1.19.8 schemas/experienceViewPost.json