Sha256: f1f7452a6d857f14c2bedcf3442b8cd6f01270288af38e562d62c22193fb1b02

Contents?: true

Size: 1.16 KB

Versions: 16

Compression:

Stored size: 1.16 KB

Contents

{
  "title": "Asset",
  "description": "An uploaded asset file",
  "type": "object",
  "additionalProperties": false,
  "required": ["id", "name", "public_url", "md5sum", "file_size", "mime_type", "author_id", "theme_ids", "page_ids", "created_at", "updated_at"],

  "properties": {
    "id": {
      "$ref": "uuid.json"
    },

    "name": {
      "type": "string",
      "minLength": 1
    },

    "description": {
      "type": ["string", "null"]
    },

    "public_url": {
      "type": "string",
      "format": "uri"
    },

    "md5sum": {
      "type": "string",
      "length": 32
    },

    "file_size": {
      "type": "integer",
      "min": 1
    },

    "mime_type": {
      "type": "string"
    },

    "author_id": {
      "type": "string"
    },

    "theme_ids": {
      "type": "array",
      "items": { "$ref": "uuid.json" }
    },

    "page_ids": {
      "type": "array",
      "items": { "$ref": "uuid.json" }
    },

    "created_at": {
      "type": "string",
      "format": "date-time"
    },

    "updated_at": {
      "type": "string",
      "format": "date-time"
    },

    "deleted_at": {
      "type": "date",
      "format": "date-time"
    }
  }
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
landable-1.14.0 doc/schema/asset.json
landable-1.13.2 doc/schema/asset.json
landable-1.13.1 doc/schema/asset.json
landable-1.12.3 doc/schema/asset.json
landable-1.12.2 doc/schema/asset.json
landable-1.12.1 doc/schema/asset.json
landable-1.11.1 doc/schema/asset.json
landable-1.11.0 doc/schema/asset.json
landable-1.10.0.rc2 doc/schema/asset.json
landable-1.10.0.rc1 doc/schema/asset.json
landable-1.9.2 doc/schema/asset.json
landable-1.9.1 doc/schema/asset.json
landable-1.9.0 doc/schema/asset.json
landable-1.9.0.rc2 doc/schema/asset.json
landable-1.9.0.rc1 doc/schema/asset.json
landable-1.8.0 doc/schema/asset.json