Sha256: 0e780b75eb6d7a0aac777c4edf428dbc1e0398af2318075aa73f24226bd8f789

Contents?: true

Size: 1.31 KB

Versions: 47

Compression:

Stored size: 1.31 KB

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "description": {
      "type": "string",
      "maxLength": 32767
    },
    "columns": {
      "type": "array",
      "items": {
        "title": "Data Table Column",
        "description": "Schema for a single Data Table Column",
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "pattern": "^[0-9a-zA-Z_-]{1,255}$"
          },
          "dataType": {
            "type": "string",
            "enum": [
              "string",
              "number",
              "boolean"
            ]
          },
          "constraint": {
            "type": "string",
            "enum": [
              "unique",
              "required",
              "optional"
            ]
          },
          "defaultValue": {
            "type": [
              "string",
              "number",
              "boolean"
            ]
          }
        },
        "required": [
          "name",
          "dataType",
          "constraint"
        ],
        "additionalProperties": false
      },
      "maxItems": 50
    }
  },
  "required": [
    "name"
  ],
  "additionalProperties": false
}

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
losant_rest-1.16.5 schemas/dataTablePost.json
losant_rest-1.16.3 schemas/dataTablePost.json
losant_rest-1.16.2 schemas/dataTablePost.json
losant_rest-1.16.1 schemas/dataTablePost.json
losant_rest-1.16.0 schemas/dataTablePost.json
losant_rest-1.15.2 schemas/dataTablePost.json
losant_rest-1.15.1 schemas/dataTablePost.json
losant_rest-1.15.0 schemas/dataTablePost.json
losant_rest-1.14.1 schemas/dataTablePost.json
losant_rest-1.14.0 schemas/dataTablePost.json
losant_rest-1.13.1 schemas/dataTablePost.json
losant_rest-1.13.0 schemas/dataTablePost.json
losant_rest-1.12.0 schemas/dataTablePost.json
losant_rest-1.11.1 schemas/dataTablePost.json
losant_rest-1.11.0 schemas/dataTablePost.json
losant_rest-1.10.4 schemas/dataTablePost.json
losant_rest-1.10.3 schemas/dataTablePost.json
losant_rest-1.10.2 schemas/dataTablePost.json
losant_rest-1.10.1 schemas/dataTablePost.json
losant_rest-1.10.0 schemas/dataTablePost.json