Sha256: bf5c3c64909df19c592a743543b457a813b570594db2a98a54f0b1867ae178d7

Contents?: true

Size: 1.7 KB

Versions: 7

Compression:

Stored size: 1.7 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"]
    },

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
landable-1.11.0 doc/schema/page.json
landable-1.10.0.rc2 doc/schema/page.json
landable-1.10.0.rc1 doc/schema/page.json
landable-1.9.2 doc/schema/page.json
landable-1.9.1 doc/schema/page.json
landable-1.9.0 doc/schema/page.json
landable-1.9.0.rc2 doc/schema/page.json