Optimizely · Schema

Page

A page definition that specifies URL targeting conditions

A/B TestingContent ManagementCustomer DataE-CommerceExperimentationFeature FlagsMarketing

Properties

Name Type Description
id integer Unique identifier for the page
project_id integer The project this page belongs to
name string Human-readable name of the page
edit_url string URL used in the visual editor for this page
conditions string JSON-encoded URL targeting conditions
activation_type string How the page is activated
created string Timestamp when the page was created
last_modified string Timestamp when the page was last modified
View JSON Schema on GitHub

JSON Schema

optimizely-page-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Page",
  "title": "Page",
  "type": "object",
  "description": "A page definition that specifies URL targeting conditions",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "Unique identifier for the page"
    },
    "project_id": {
      "type": "integer",
      "format": "int64",
      "description": "The project this page belongs to"
    },
    "name": {
      "type": "string",
      "description": "Human-readable name of the page"
    },
    "edit_url": {
      "type": "string",
      "format": "uri",
      "description": "URL used in the visual editor for this page"
    },
    "conditions": {
      "type": "string",
      "description": "JSON-encoded URL targeting conditions"
    },
    "activation_type": {
      "type": "string",
      "description": "How the page is activated",
      "enum": [
        "immediate",
        "polling",
        "callback",
        "manual",
        "dom_changed",
        "url_changed"
      ]
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the page was created"
    },
    "last_modified": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp when the page was last modified"
    }
  }
}