Unbounce · Schema

Unbounce Pages

Collection of page entities.

Landing PagesConversion Rate OptimizationMarketingA/B TestingLead GenerationMarketing Automation

Properties

Name Type Description
metadata object
pages array
View JSON Schema on GitHub

JSON Schema

unbounce-pages.json Raw ↑
{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "description" : "Collection of page entities.",
  "type" : "object",
  "additionalProperties" : false,
  "required" : [ "metadata" ],
  "properties" : {
    "metadata" : {
      "title" : "Collection Metadata",
      "type" : "object",
      "allOf" : [ {
        "title" : "Entity Metadata",
        "type" : "object",
        "required" : [ "location", "documentation" ],
        "properties" : {
          "location" : {
            "type" : "string",
            "format" : "uri"
          },
          "documentation" : {
            "type" : "string",
            "format" : "uri"
          },
          "related" : {
            "type" : "object"
          }
        }
      }, {
        "type" : "object",
        "required" : [ "count" ],
        "properties" : {
          "count" : {
            "type" : "integer"
          }
        }
      } ]
    },
    "pages" : {
      "type" : "array",
      "minItems" : 0,
      "uniqueItems" : true,
      "items" : {
        "$schema" : "http://json-schema.org/draft-04/schema#",
        "description" : "Representation of a single page entity, which includes page statistics such as which variant is the winner or loser.",
        "type" : "object",
        "additionalProperties" : false,
        "required" : [ "created_at", "domain", "id", "integrations", "integrations_count", "integrations_errors_count", "metadata", "name", "state", "sub_account_id", "url", "variants_count" ],
        "properties" : {
          "integrations_count" : {
            "type" : "integer"
          },
          "url" : {
            "type" : "string",
            "format" : "uri"
          },
          "sub_account_id" : {
            "type" : "string"
          },
          "id" : {
            "type" : "string"
          },
          "name" : {
            "type" : "string"
          },
          "variants_count" : {
            "type" : "integer"
          },
          "integrations_errors_count" : {
            "type" : "integer"
          },
          "domain" : {
            "type" : "string"
          },
          "metadata" : {
            "type" : "object",
            "allOf" : [ {
              "title" : "Entity Metadata",
              "type" : "object",
              "required" : [ "location", "documentation" ],
              "properties" : {
                "location" : {
                  "type" : "string",
                  "format" : "uri"
                },
                "documentation" : {
                  "type" : "string",
                  "format" : "uri"
                },
                "related" : {
                  "type" : "object"
                }
              }
            }, {
              "type" : "object",
              "required" : [ "related" ],
              "properties" : {
                "related" : {
                  "type" : "object",
                  "additionalProperties" : false,
                  "required" : [ "form_fields", "leads", "sub_account" ],
                  "properties" : {
                    "form_fields" : {
                      "type" : "string",
                      "format" : "uri"
                    },
                    "leads" : {
                      "type" : "string",
                      "format" : "uri"
                    },
                    "sub_account" : {
                      "type" : "string",
                      "format" : "uri"
                    }
                  }
                }
              }
            } ]
          },
          "state" : {
            "type" : "string",
            "enum" : [ "unpublished", "published" ]
          },
          "tests" : {
            "$schema" : "http://json-schema.org/draft-04/schema#",
            "description" : "Representation of a campaign experiment, aka a test.",
            "type" : "object",
            "additionalProperties" : false,
            "required" : [ "current" ],
            "properties" : {
              "current" : {
                "oneOf" : [ {
                  "type" : "object",
                  "additionalProperties" : false
                }, {
                  "type" : "object",
                  "additionalProperties" : false,
                  "required" : [ "champion", "clicks", "conversion_rate", "conversion_rate_delta", "conversions", "form_submits", "has_results", "id", "losers", "visitors", "visits", "winner" ],
                  "properties" : {
                    "form_submits" : {
                      "type" : "integer"
                    },
                    "visits" : {
                      "type" : "integer"
                    },
                    "conversion_rate" : {
                      "type" : "number"
                    },
                    "clicks" : {
                      "type" : "integer"
                    },
                    "id" : {
                      "type" : "string"
                    },
                    "conversions" : {
                      "type" : "integer"
                    },
                    "losers" : {
                      "type" : "string"
                    },
                    "has_results" : {
                      "type" : "boolean"
                    },
                    "winner" : {
                      "type" : "string"
                    },
                    "champion" : {
                      "type" : "string"
                    },
                    "visitors" : {
                      "type" : "integer"
                    },
                    "conversion_rate_delta" : {
                      "type" : "number"
                    }
                  }
                } ]
              }
            },
            "definitions" : {
              "empty_stats" : {
                "type" : "object",
                "additionalProperties" : false
              },
              "stats" : {
                "type" : "object",
                "additionalProperties" : false,
                "required" : [ "champion", "clicks", "conversion_rate", "conversion_rate_delta", "conversions", "form_submits", "has_results", "id", "losers", "visitors", "visits", "winner" ],
                "properties" : {
                  "form_submits" : {
                    "type" : "integer"
                  },
                  "visits" : {
                    "type" : "integer"
                  },
                  "conversion_rate" : {
                    "type" : "number"
                  },
                  "clicks" : {
                    "type" : "integer"
                  },
                  "id" : {
                    "type" : "string"
                  },
                  "conversions" : {
                    "type" : "integer"
                  },
                  "losers" : {
                    "type" : "string"
                  },
                  "has_results" : {
                    "type" : "boolean"
                  },
                  "winner" : {
                    "type" : "string"
                  },
                  "champion" : {
                    "type" : "string"
                  },
                  "visitors" : {
                    "type" : "integer"
                  },
                  "conversion_rate_delta" : {
                    "type" : "number"
                  }
                }
              }
            }
          },
          "created_at" : {
            "title" : "Generic Date",
            "description" : "RFC 5322, section 3.4.1, compliant date, which means formatted with: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
            "type" : "string",
            "format" : "date-time"
          },
          "last_published_at" : {
            "title" : "Generic Date",
            "description" : "RFC 5322, section 3.4.1, compliant date, which means formatted with: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'",
            "type" : "string",
            "format" : "date-time"
          },
          "integrations" : {
            "type" : "array",
            "minItems" : 0,
            "uniqueItems" : true,
            "items" : {
              "$schema" : "http://json-schema.org/draft-04/schema#",
              "description" : "Representation of a single integration entity.",
              "type" : "object",
              "additionalProperties" : false,
              "required" : [ "type", "errors_count" ],
              "properties" : {
                "type" : {
                  "type" : "string"
                },
                "errors_count" : {
                  "type" : "integer"
                }
              }
            }
          }
        }
      }
    }
  }
}