Config field order applies inside a ui schema only
The rule
Normative: this is the rule
x-config-orderorders config fields ascending; a property whose value is absent or not numeric counts as 0, and ties keep declaration order.- It takes effect inside a generated ui schema only: where no property carries a registered group there is no ui schema, no layout, and
x-config-orderhas no effect on the flat form. - The earlier spelling
x-display-ordercarries no meaning; a schema that still writes only it orders at 0, like any untagged property.
What it means
The retired spelling is not a synonym that still works as a fallback: a schema that writes only the earlier name orders exactly as if it had written nothing at all, keeping declaration order rather than the order the retired key would have produced.
Example
Two grouped properties, first weighted ahead of second:
{
"first": { "type": "string", "x-group": "general", "x-config-order": 20 },
"second": { "type": "string", "x-group": "general", "x-config-order": 10 }
}["#/properties/second", "#/properties/first"]The same two weights, spelled with the retired key instead, do not reorder:
{
"first": { "type": "string", "x-group": "general", "x-display-order": 20 },
"second": { "type": "string", "x-group": "general", "x-display-order": 10 }
}["#/properties/first", "#/properties/second"]Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0-draft · SCH-31 · changed in spec 1.0