changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$defs": {
+ "ActionCapability": {
+ "description": "One entry in a resource's `_actions` block: may the caller perform it, and if not, why.",
+ "properties": {
+ "allowed": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "reason": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "PublicSegmentConditionDto": {
+ "description": "A single targeting condition on a segment, used both as input (create/update) and output\n(Conditions). Operator is a bare string on\nboth sides of the wire — on write it's parsed to\nOperatorType by `SegmentsController` (an unknown\nvalue fails closed with a 400, never silently dropped or defaulted); on read it's mapped\nstraight through from Operator, which is already a string.",
+ "properties": {
+ "attribute": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "negate": {
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "operator": {
+ "description": "Allowed values: Equals, NotEquals, Contains, NotContains, GreaterThan, LessThan, GreaterThanOrEqual, LessThanOrEqual, In, NotIn, MatchesRegex, StartsWith, EndsWith, Before, After, SemverEquals, SemverGreaterThan, SemverGreaterThanOrEqual, SemverLessThan, SemverLessThanOrEqual.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "values": {
+ "items": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ }
+ },
+ "description": "Public representation of a user segment, returned by `GET .../segments`,\n`GET .../segments/{segment}`, and the body of a successful create.",
+ "properties": {
+ "_actions": {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/ActionCapability"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "description": "Capability hints: which operations the authenticated caller may perform on this resource, each with allowed + optional reason. Computed from the caller's role and the resource's state. Injected at runtime; safe to ignore. Present only on top-level resource responses — nested occurrences (e.g. a rule inside a targeting-config response) do not carry it.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "conditions": {
+ "items": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/PublicSegmentConditionDto"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": [
+ "array",
+ "null"
+ ]
+ },
+ "createdAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "description": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "etag": {
+ "description": "ETag of what was read. Pass it as ifMatch on the matching update so the write is refused (412) instead of overwriting a change made since.",
+ "type": "string"
+ },
+ "id": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "key": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "updatedAt": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+}