Sha256: f72b276585540bdd03ec4f841a8e7506af6076f3ae345ec596539aa3faf60ad7

Contents?: true

Size: 1.08 KB

Versions: 2

Compression:

Stored size: 1.08 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"
    }
  }
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
landable-1.7.1.rc1 doc/schema/asset.json
landable-1.7.0 doc/schema/asset.json