OVHcloud · Schema

domain.configuration.rules.Rule

A configuration rule defines validation to launch when executing an action on a domain (create, trade...). Depending on the extension, the rule may be different

CloudInfrastructureHostingBare MetalDomainsDNSKubernetesStorageTelecommunicationsCompany

Properties

Name Type Description
and arraynull An "and" operator on multiple rules
conditions object Whether this rule is applied or not
constraints arraynull The constraints of the rule
contexts arraynull The context on which the rule applies
description stringnull The description of the rule
fields object The fields with specific rules
label stringnull The label of the rule
or arraynull An "or" operator on multiple rules
placeholder stringnull The default value used for the rule
type object The type of the object the rule applies on
View JSON Schema on GitHub

JSON Schema

ovh-domain-configuration-rules-rule-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ovh/json-schema/ovh-domain-configuration-rules-rule-schema.json",
  "title": "domain.configuration.rules.Rule",
  "description": "A configuration rule defines validation to launch when executing an action on a domain (create, trade...). Depending on the extension, the rule may be different",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ovh-v1-domain-openapi.yml#/components/schemas/domain.configuration.rules.Rule",
  "type": "object",
  "properties": {
    "and": {
      "type": [
        "array",
        "null"
      ],
      "description": "An \"and\" operator on multiple rules",
      "items": {
        "$ref": "#/$defs/domain.configuration.rules.Rule"
      },
      "readOnly": true
    },
    "conditions": {
      "allOf": [
        {
          "$ref": "#/$defs/domain.configuration.rules.Rule"
        }
      ],
      "description": "Whether this rule is applied or not",
      "nullable": true,
      "readOnly": true
    },
    "constraints": {
      "type": [
        "array",
        "null"
      ],
      "description": "The constraints of the rule",
      "items": {
        "$ref": "#/$defs/domain.configuration.rules.Constraint"
      },
      "readOnly": true
    },
    "contexts": {
      "type": [
        "array",
        "null"
      ],
      "description": "The context on which the rule applies",
      "items": {
        "$ref": "#/$defs/domain.configuration.rules.ContextEnum"
      },
      "readOnly": true
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "The description of the rule",
      "readOnly": true
    },
    "fields": {
      "allOf": [
        {
          "$ref": "#/$defs/domain.configuration.rules.Rule"
        }
      ],
      "description": "The fields with specific rules",
      "nullable": true,
      "readOnly": true
    },
    "label": {
      "type": [
        "string",
        "null"
      ],
      "description": "The label of the rule",
      "readOnly": true
    },
    "or": {
      "type": [
        "array",
        "null"
      ],
      "description": "An \"or\" operator on multiple rules",
      "items": {
        "$ref": "#/$defs/domain.configuration.rules.Rule"
      },
      "readOnly": true
    },
    "placeholder": {
      "type": [
        "string",
        "null"
      ],
      "description": "The default value used for the rule",
      "readOnly": true
    },
    "type": {
      "allOf": [
        {
          "$ref": "#/$defs/domain.configuration.rules.TypeEnum"
        }
      ],
      "description": "The type of the object the rule applies on",
      "nullable": true,
      "readOnly": true
    }
  },
  "$defs": {
    "domain.configuration.rules.Constraint": {
      "type": "object",
      "description": "A configuration rule defines validation to launch when executing an action on a domain (create, trade...). Depending on the extension, the rule may be different",
      "properties": {
        "conditions": {
          "allOf": [
            {
              "$ref": "#/$defs/domain.configuration.rules.Rule"
            }
          ],
          "description": "Whether this constraint is applied or not",
          "nullable": true,
          "readOnly": true
        },
        "contexts": {
          "type": [
            "array",
            "null"
          ],
          "description": "The context on which the constraint applies",
          "items": {
            "$ref": "#/$defs/domain.configuration.rules.ContextEnum"
          },
          "readOnly": true
        },
        "operator": {
          "allOf": [
            {
              "$ref": "#/$defs/domain.configuration.rules.OperatorEnum"
            }
          ],
          "description": "The operator of the constraint",
          "nullable": true,
          "readOnly": true
        },
        "value": {
          "type": [
            "string",
            "null"
          ],
          "description": "The value to match against",
          "readOnly": true
        },
        "values": {
          "type": [
            "array",
            "null"
          ],
          "description": "The values to match against",
          "items": {
            "type": "string"
          },
          "readOnly": true
        }
      }
    },
    "domain.configuration.rules.ContextEnum": {
      "type": "string",
      "description": "Used in rule to tell if rule (or part of the rule) is applicable for a given context",
      "enum": [
        "accept_conditions",
        "claims",
        "create",
        "order",
        "premium",
        "protected_code",
        "reason",
        "trade",
        "transfer",
        "update"
      ]
    },
    "domain.configuration.rules.OperatorEnum": {
      "type": "string",
      "description": "Operator use in configuration rule to check content of a field",
      "enum": [
        "between",
        "contains",
        "empty",
        "eq",
        "gt",
        "gte",
        "lt",
        "lte",
        "match",
        "maxlength",
        "minlength",
        "ne",
        "notcontains",
        "notempty",
        "readonly",
        "required",
        "shouldbetrue"
      ]
    },
    "domain.configuration.rules.Rule": {
      "type": "object",
      "description": "A configuration rule defines validation to launch when executing an action on a domain (create, trade...). Depending on the extension, the rule may be different",
      "properties": {
        "and": {
          "type": [
            "array",
            "null"
          ],
          "description": "An \"and\" operator on multiple rules",
          "items": {
            "$ref": "#/$defs/domain.configuration.rules.Rule"
          },
          "readOnly": true
        },
        "conditions": {
          "allOf": [
            {
              "$ref": "#/$defs/domain.configuration.rules.Rule"
            }
          ],
          "description": "Whether this rule is applied or not",
          "nullable": true,
          "readOnly": true
        },
        "constraints": {
          "type": [
            "array",
            "null"
          ],
          "description": "The constraints of the rule",
          "items": {
            "$ref": "#/$defs/domain.configuration.rules.Constraint"
          },
          "readOnly": true
        },
        "contexts": {
          "type": [
            "array",
            "null"
          ],
          "description": "The context on which the rule applies",
          "items": {
            "$ref": "#/$defs/domain.configuration.rules.ContextEnum"
          },
          "readOnly": true
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "The description of the rule",
          "readOnly": true
        },
        "fields": {
          "allOf": [
            {
              "$ref": "#/$defs/domain.configuration.rules.Rule"
            }
          ],
          "description": "The fields with specific rules",
          "nullable": true,
          "readOnly": true
        },
        "label": {
          "type": [
            "string",
            "null"
          ],
          "description": "The label of the rule",
          "readOnly": true
        },
        "or": {
          "type": [
            "array",
            "null"
          ],
          "description": "An \"or\" operator on multiple rules",
          "items": {
            "$ref": "#/$defs/domain.configuration.rules.Rule"
          },
          "readOnly": true
        },
        "placeholder": {
          "type": [
            "string",
            "null"
          ],
          "description": "The default value used for the rule",
          "readOnly": true
        },
        "type": {
          "allOf": [
            {
              "$ref": "#/$defs/domain.configuration.rules.TypeEnum"
            }
          ],
          "description": "The type of the object the rule applies on",
          "nullable": true,
          "readOnly": true
        }
      }
    },
    "domain.configuration.rules.TypeEnum": {
      "type": "string",
      "description": "Type of rule configuration",
      "enum": [
        "bool",
        "contact",
        "date_ISO8601",
        "domain",
        "json",
        "number",
        "string",
        "string[]",
        "text"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ovh-domain-configuration-rules-rule"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.