Sha256: 0522dae4102b2b053313cbcbf375e28df96a7c979d30059a67547c0c38e7cc17

Contents?: true

Size: 1.76 KB

Versions: 20

Compression:

Stored size: 1.76 KB

Contents

{
  "type": "object",
  "title": "Page",
  "name": "page",
  "description": "A page of a PDF which can either belong to a PDF template or archived PDF.",
  "properties": {
    "id": {
      "description": "The object identifier.",
      "identity": true,
      "readonly": true,
      "type": "integer"
    },
    "number": {
      "description": "Number of this page inside the document",
      "readonly": true,
      "type": "integer"
    },
    "related_object_id": {
      "description": "ID  of the PDF object the page belongs to.",
      "readonly": true,
      "type": "integer"
    },
    "related_object_type": {
      "description": "Type of the related object Pdf or Pdt (camelCased class name)",
      "readonly": true,
      "type": "string",
      "maxlength": 20
    },
    "width": {
      "description": "Page width",
      "type": "number"
    },
    "created_at": {
      "description": "Creation date.",
      "readonly": true,
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "description": "Update date.",
      "readonly": true,
      "type": "string",
      "format": "date-time"
    },
    "user_id": {
      "description": "User who created the object.",
      "readonly": true,
      "type": "integer"
    },
    "screenshot": {
      "description": "Screenshot file url png",
      "type": "string",
      "maxlength": 128
    },
    "account_id": {
      "description": "Account this objects belongs to.",
      "type": "integer"
    },
    "blocks": {
      "description": "Placeholder blocks on this page,, if it belongs to a PDF Template",
      "type": "array",
      "properties": {"$ref":"./block.json#properties"}
    }

  },
  "links": [
    {
      "rel": "self",
      "method": "GET",
      "href": "/pages/{id}"
    }
  ]
}

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
json_schema_tools-0.2.6 spec/fixtures/page.json
json_schema_tools-0.2.5 spec/fixtures/page.json
json_schema_tools-0.2.4 spec/fixtures/page.json
json_schema_tools-0.2.3 spec/fixtures/page.json
json_schema_tools-0.2.2 spec/fixtures/page.json
json_schema_tools-0.2.1 spec/fixtures/page.json
json_schema_tools-0.2.0 spec/fixtures/page.json
json_schema_tools-0.1.2 spec/fixtures/page.json
json_schema_tools-0.1.1 spec/fixtures/page.json
json_schema_tools-0.1.0 spec/fixtures/page.json
json_schema_tools-0.0.8 spec/fixtures/page.json
json_schema_tools-0.0.7 spec/fixtures/page.json
json_schema_tools-0.0.6 spec/fixtures/page.json
happypdf_json_schema-0.0.3 schema/v1.0/page.json
json_schema_tools-0.0.5 spec/fixtures/page.json
happypdf_json_schema-0.0.2 schema/v1.0/page.json
json_schema_tools-0.0.4 spec/fixtures/page.json
json_schema_tools-0.0.3 spec/fixtures/page.json
json_schema_tools-0.0.2 spec/fixtures/page.json
json_schema_tools-0.0.1 spec/fixtures/page.json