changedInput schema / properties / rule / oneOf
Previous value: -[
- {
- "properties": {
- "fix": {
- "description": "How to fix a caption that breaks it.",
- "maxLength": 300,
- "type": "string"
- },
- "label": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "phrases": {
- "items": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 50,
- "minItems": 1,
- "type": "array"
- },
- "type": {
- "const": "never_say",
- "type": "string"
- }
- },
- "required": [
- "type",
- "label",
- "phrases"
- ],
- "type": "object"
- },
- {
- "properties": {
- "fix": {
- "description": "How to fix a caption that breaks it.",
- "maxLength": 300,
- "type": "string"
- },
- "label": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "phrases": {
- "description": "A caption needs one of these.",
- "items": {
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 50,
- "minItems": 1,
- "type": "array"
- },
- "platforms": {
- "anyOf": [
- {
- "const": "all",
- "type": "string"
- },
- {
- "items": {
- "enum": [
- "instagram",
- "facebook",
- "threads",
- "tiktok",
- "linkedin",
- "youtube",
- "x",
- "bluesky",
- "pinterest"
- ],
- "type": "string"
- },
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "type": {
- "const": "must_include",
- "type": "string"
- }
- },
- "required": [
- "type",
- "label",
- "phrases",
- "platforms"
- ],
- "type": "object"
- },
- {
- "properties": {
- "fix": {
- "description": "How to fix a caption that breaks it.",
- "maxLength": 300,
- "type": "string"
- },
- "label": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "pattern": {
- "description": "A case-insensitive regular expression a caption must not match. No back-references or lookarounds.",
- "maxLength": 400,
- "type": "string"
- },
- "type": {
- "const": "claim",
- "type": "string"
- }
- },
- "required": [
- "type",
- "label",
- "pattern"
- ],
- "type": "object"
- },
- {
- "properties": {
- "label": {
- "maxLength": 200,
- "minLength": 1,
- "type": "string"
- },
- "type": {
- "const": "guideline",
- "type": "string"
- }
- },
- "required": [
- "type",
- "label"
- ],
- "type": "object"
- },
- {
- "properties": {
- "toggle": {
- "enum": [
- "no_em_dashes",
- "no_exclamation_marks",
- "no_emoji"
- ],
- "type": "string"
- },
- "type": {
- "const": "toggle",
- "type": "string"
- }
- },
- "required": [
- "type",
- "toggle"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "fix": {
+ "description": "How to fix a caption that breaks it.",
+ "maxLength": 300,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "phrases": {
+ "items": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ },
+ "type": {
+ "const": "never_say",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "phrases"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "fix": {
+ "description": "How to fix a caption that breaks it.",
+ "maxLength": 300,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "phrases": {
+ "description": "A caption needs one of these.",
+ "items": {
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 50,
+ "minItems": 1,
+ "type": "array"
+ },
+ "platforms": {
+ "anyOf": [
+ {
+ "const": "all",
+ "type": "string"
+ },
+ {
+ "items": {
+ "enum": [
+ "instagram",
+ "facebook",
+ "threads",
+ "tiktok",
+ "linkedin",
+ "youtube",
+ "x",
+ "bluesky",
+ "pinterest",
+ "googlebusiness"
+ ],
+ "type": "string"
+ },
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "type": {
+ "const": "must_include",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "phrases",
+ "platforms"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "fix": {
+ "description": "How to fix a caption that breaks it.",
+ "maxLength": 300,
+ "type": "string"
+ },
+ "label": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "pattern": {
+ "description": "A case-insensitive regular expression a caption must not match. No back-references or lookarounds.",
+ "maxLength": 400,
+ "type": "string"
+ },
+ "type": {
+ "const": "claim",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label",
+ "pattern"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "label": {
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+ },
+ "type": {
+ "const": "guideline",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "label"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "toggle": {
+ "enum": [
+ "no_em_dashes",
+ "no_exclamation_marks",
+ "no_emoji"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "toggle",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "toggle"
+ ],
+ "type": "object"
+ }
+]