instance-erp5-output-schema.json 2.42 KB
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "description": "Values returned by ERP5 instantiation",
  "additionalProperties": false,
  "properties": {
    "hosts-dict": {
      "description": "Hosts mapping, including auto-generated entries",
      "patternProperties": {
        ".*": {
          "description": "IP current entry resolves to",
          "type": "string"
        }
      },
      "type": "object"
    },
    "site-id": {
      "description": "Chosen ERP5Site object identifier",
      "type": "string"
    },
    "inituser-login": {
      "description": "Initial user login",
      "type": "string"
    },
    "inituser-password": {
      "description": "Initial user password",
      "type": "string"
    },
    "deadlock-debugger-password": {
      "description": "Deadlock debugger password",
      "type": "string"
    },
    "memcached-persistent-url": {
      "description": "Persistent memcached access information",
      "pattern": "^memcached://",
      "type": "string"
    },
    "memcached-volatile-url": {
      "description": "Volatile memcached access information",
      "pattern": "^memcached://",
      "type": "string"
    },
    "mariadb-database-list": {
      "description": "Relational database access information",
      "items": {
        "pattern": "^mysql://",
        "type": "string"
      },
      "uniqueItems": true,
      "type": "array"
    },
    "mariadb-test-database-list": {
      "description": "Relational database access information",
      "items": {
        "pattern": "^mysql://",
        "type": "string"
      },
      "uniqueItems": true,
      "type": "array"
    },
    "neo-masters": {
      "$ref": "../neoppod/instance-neo-output-schema.json#/properties/masters"
    },
    "neo-admins": {
      "$ref": "../neoppod/instance-neo-output-schema.json#/properties/admins"
    },
    "jupyter-url": {
      "description": "Jupyter notebook web UI access information",
      "pattern": "^https://",
      "type": "string"
    },
    "caucase-http-url": {
      "description": "Caucase url on HTTP. For HTTPS URL, uses https scheme, if port is explicitely specified in http URL, take that port and add 1 and use it as https port. If it is not specified.",
      "pattern": "^http://",
      "type": "string"
    }
  },
  "patternProperties": {
    "family-.*": {
      "description": "Zope family access information",
      "pattern": "^https://",
      "type": "string"
    }
  },
  "type": "object"
}