Sha256: 3e81fe59af8faac7f4d9e7bb9a18c145a9c8dc3a108b006f836134c2d708b366

Contents?: true

Size: 1.65 KB

Versions: 19

Compression:

Stored size: 1.65 KB

Contents

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[A-Fa-f\\d]{24}$"
    },
    "dataTableId": {
      "type": "string",
      "pattern": "^[A-Fa-f\\d]{24}$"
    },
    "applicationId": {
      "type": "string",
      "pattern": "^[A-Fa-f\\d]{24}$"
    },
    "creationDate": {
      "type": "string",
      "format": "date-time"
    },
    "lastUpdated": {
      "type": "string",
      "format": "date-time"
    },
    "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
    }
  }
}

Version data entries

19 entries across 19 versions & 1 rubygems

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