Sha256: 274a2712e3a67729bb05d5ce6b3103849d80b24c730540528ef68550cb9f9b84

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 KB

Contents

{
  "title": "Page",
  "description": "A page served by landable",
  "type": "object",
  "additionalProperties": false,
  "required": ["path", "status_code", "body"],

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

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

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

    "path": {
      "type": "string"
    },

    "status_code": {
      "type": "integer"
    },

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

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

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

    "redirect_url": {
      "type": ["string", "null"],
      "format": "uri"
    },

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

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

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

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

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

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

    "meta_tags": {
      "type": "object",
      "additionalProperties": false,

      "properties": {
        "keywords": {
          "type": ["string", "null"]
        },

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

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

    "abstract": {
      "type": ["text", "null"]
    },

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
landable-1.9.0.rc1 doc/schema/page.json
landable-1.8.0 doc/schema/page.json