Sha256: 221e472d136af2711047b434ab6e342c5962d4913221d0ae7bc3caf5ec95ae92

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

{
  "title": "Template",
  "description": "A template served by landable",
  "type": "object",
  "additionalProperties": false,
  "required": ["name", "slug", "description", "is_layout", "body"],

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

    "name": {
      "type": ["string"]
    },

    "slug": {
      "type": ["string"]
    },

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

    "title": {
      "type": ["string"]
    },

    "body": {
      "type": ["string"]
    },

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

    "is_layout": {
      "type": "boolean"
    },

    "editable": {
      "type": "boolean"
    },

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

    "category_id": {
      "type": [{ "$ref": "uuid.json" }, "null"]
    },

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

    "is_publishable": {
      "type": "boolean"
    },

    "published_revision_id": {
      "type": ["null", {"$ref": "uuid.json"}]
    },

    "updated_by_author_id": {
      "type": ["null", {"$ref": "uuid.json"}]
    },

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

    "audit_flags" : {
      "type" : ["array", "null"],
      "items" : { "type" : "string"}
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
landable-1.14.0 doc/schema/template.json