Sha256: 1d65db53ad12585d40952e90361595cf5afed9f50f5b52900613ce3ea96cc354

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

{
  "title": "Page Revision",
  "description": "A particular snapshot of a page which has, at some point, been published.",
  "type": "object",
  "additionalProperties": false,
  "required": ["id", "page_id", "author_id", "notes", "is_published", "is_minor", "preview_path", "ordinal", "created_at", "updated_at"],

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

    "page_id": {
      "$ref": "uuid.json"
    },

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

    "theme_id": {
      "type": "uuid.json"
    },

    "category_id": {
      "type": "uuid.json"
    },

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

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

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

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

    "is_published": {
      "type": "boolean"
    },

    "is_minor": {
      "type": "boolean"
    },

    "ordinal": {
      "type": "integer",
      "minimum": 1
    },

    "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/page_revision.json
landable-1.7.0 doc/schema/page_revision.json