changedInput schema / anyOf
Previous value: -[
- {
- "properties": {
- "headline": {
- "maxLength": 500,
- "minLength": 8,
- "type": "string"
- }
- },
- "required": [
- "headline"
- ],
- "type": "object"
- },
- {
- "properties": {
- "url": {
- "format": "uri",
- "maxLength": 2048,
- "type": "string"
- }
- },
- "required": [
- "url"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "headline": {
+ "maxLength": 500,
+ "minLength": 8,
+ "type": "string"
+ },
+ "referenceContext": {
+ "additionalProperties": false,
+ "properties": {
+ "aviationScope": {
+ "const": "us_scheduled_part121",
+ "type": "string"
+ },
+ "countryCode": {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ },
+ "industry": {
+ "enum": [
+ "51",
+ "00",
+ "31-33",
+ "44-45"
+ ],
+ "type": "string"
+ },
+ "magnitude": {
+ "maximum": 10,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "headline"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "referenceContext": {
+ "additionalProperties": false,
+ "properties": {
+ "aviationScope": {
+ "const": "us_scheduled_part121",
+ "type": "string"
+ },
+ "countryCode": {
+ "pattern": "^[A-Z]{3}$",
+ "type": "string"
+ },
+ "industry": {
+ "enum": [
+ "51",
+ "00",
+ "31-33",
+ "44-45"
+ ],
+ "type": "string"
+ },
+ "magnitude": {
+ "maximum": 10,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "url": {
+ "format": "uri",
+ "maxLength": 2048,
+ "type": "string"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "type": "object"
+ }
+]