Unbounce · Schema

Unbounce Sub_Accounts

Collection of sub-account entities.

Landing PagesConversion Rate OptimizationMarketingA/B TestingLead GenerationMarketing Automation

Properties

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

JSON Schema

unbounce-sub_accounts.json Raw ↑
{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "description" : "Collection of sub-account 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"
          }
        }
      } ]
    },
    "sub_accounts" : {
      "type" : "array",
      "minItems" : 0,
      "uniqueItems" : true,
      "items" : {
        "$schema" : "http://json-schema.org/draft-04/schema#",
        "description" : "Representation of a sub-account entity (API sub-accounts are Unbounce Clients).",
        "type" : "object",
        "additionalProperties" : false,
        "required" : [ "created_at", "domains_count", "id", "account_id", "metadata", "name" ],
        "properties" : {
          "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"
          },
          "domains_count" : {
            "type" : "integer"
          },
          "id" : {
            "type" : "string"
          },
          "account_id" : {
            "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" : [ "pages", "page_groups", "domains" ],
                  "properties" : {
                    "pages" : {
                      "type" : "string",
                      "format" : "uri"
                    },
                    "page_groups" : {
                      "type" : "string",
                      "format" : "uri"
                    },
                    "domains" : {
                      "type" : "string",
                      "format" : "uri"
                    }
                  }
                }
              }
            } ]
          },
          "name" : {
            "type" : "string"
          },
          "website" : {
            "type" : "string"
          }
        }
      }
    }
  }
}