Sha256: 3980c04c0d3d81ea044eeab0b4fe50a29dc752d7c47f10230fbeec34ed4fc8b7

Contents?: true

Size: 1.89 KB

Versions: 19

Compression:

Stored size: 1.89 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "toEmail": {
      "type": "array",
      "minItems": 1,
      "maxItems": 10,
      "items": {
        "type": "string",
        "format": "email",
        "maxLength": 1024
      }
    },
    "callbackUrl": {
      "type": "string",
      "format": "uri",
      "maxLength": 1024
    },
    "subject": {
      "type": "string",
      "maxLength": 255
    },
    "message": {
      "type": "string",
      "maxLength": 32767
    },
    "theme": {
      "type": "string",
      "enum": [
        "dark",
        "light"
      ]
    },
    "time": {
      "type": "number"
    },
    "timezone": {
      "type": "string",
      "maxLength": 255
    },
    "locale": {
      "type": "string",
      "maxLength": 5
    },
    "ctx": {
      "title": "Dashboard Context Instance",
      "description": "Schema for a dashboard context instance",
      "type": "object",
      "patternProperties": {
        "^[0-9a-zA-Z_-]{1,255}$": {
          "oneOf": [
            {
              "type": "string",
              "maxLength": 32767
            },
            {
              "type": "number"
            },
            {
              "type": "object",
              "properties": {
                "key": {
                  "type": "string",
                  "pattern": "^[0-9a-zA-Z_-]{1,255}$"
                },
                "value": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 255
                }
              },
              "additionalProperties": false
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "branded": {
      "type": "boolean"
    }
  },
  "anyOf": [
    {
      "required": [
        "toEmail"
      ]
    },
    {
      "required": [
        "callbackUrl"
      ]
    }
  ],
  "additionalProperties": false
}

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
losant_rest-1.21.0 schemas/dashboardSendReport.json
losant_rest-1.20.1 schemas/dashboardSendReport.json
losant_rest-1.20.0 schemas/dashboardSendReport.json
losant_rest-1.19.9 schemas/dashboardSendReport.json
losant_rest-1.19.8 schemas/dashboardSendReport.json
losant_rest-1.19.6 schemas/dashboardSendReport.json
losant_rest-1.19.4 schemas/dashboardSendReport.json
losant_rest-1.19.3 schemas/dashboardSendReport.json
losant_rest-1.19.2 schemas/dashboardSendReport.json
losant_rest-1.19.1 schemas/dashboardSendReport.json
losant_rest-1.19.0 schemas/dashboardSendReport.json
losant_rest-1.18.0 schemas/dashboardSendReport.json
losant_rest-1.17.5 schemas/dashboardSendReport.json
losant_rest-1.17.4 schemas/dashboardSendReport.json
losant_rest-1.17.3 schemas/dashboardSendReport.json
losant_rest-1.17.2 schemas/dashboardSendReport.json
losant_rest-1.17.1 schemas/dashboardSendReport.json
losant_rest-1.17.0 schemas/dashboardSendReport.json
losant_rest-1.16.6 schemas/dashboardSendReport.json