@atlaskit/adf-schema 42.2.0 → 42.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/adf-schema
2
2
 
3
+ ## 42.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 8aff3bc: [ED-25105] This change aligns the node attributes between schema and next-schema for these nodes: codeblock, expand and nested expand, media and media inline.
8
+
9
+ ## 42.2.1
10
+
11
+ ### Patch Changes
12
+
13
+ - e4e695f: Change order of layoutSection_with_single_column with layoutSection_full to fix validator issues in the editor
14
+
3
15
  ## 42.2.0
4
16
 
5
17
  ### Minor Changes
@@ -14,7 +14,7 @@ var _expand = require("./nodes/expand");
14
14
  var doc = (0, _adfSchemaGenerator.adfNode)('doc').define({
15
15
  root: true,
16
16
  version: 1,
17
- content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_blockGroup.blockGroup, _blockContentGroup.blockContentGroup, _codeBlock.codeBlock.use('with_marks'), _layoutSection.layoutSection, _layoutSection.layoutSection.use('full'), _layoutSection.layoutSection.use('with_single_column'), _blockRootOnlyGroup.blockRootOnlyGroup, _expand.expand.use('with_breakout_mark')))],
17
+ content: [(0, _adfSchemaGenerator.$onePlus)((0, _adfSchemaGenerator.$or)(_blockGroup.blockGroup, _blockContentGroup.blockContentGroup, _codeBlock.codeBlock.use('with_marks'), _layoutSection.layoutSection, _layoutSection.layoutSection.use('with_single_column'), _layoutSection.layoutSection.use('full'), _blockRootOnlyGroup.blockRootOnlyGroup, _expand.expand.use('with_breakout_mark')))],
18
18
  DANGEROUS_MANUAL_OVERRIDE: {
19
19
  'validator-spec': {
20
20
  'props.content.minItems': {
@@ -56,7 +56,8 @@ var media = exports.media = (0, _adfSchemaGenerator.adfNode)('media').define({
56
56
  optional: true
57
57
  },
58
58
  __displayType: {
59
- type: 'string',
59
+ type: 'enum',
60
+ values: ['file', 'thumbnail'],
60
61
  default: null,
61
62
  optional: true
62
63
  },
@@ -71,7 +72,7 @@ var media = exports.media = (0, _adfSchemaGenerator.adfNode)('media').define({
71
72
  optional: true
72
73
  },
73
74
  __fileName: {
74
- type: 'string',
75
+ type: 'number',
75
76
  default: null,
76
77
  optional: true
77
78
  },
@@ -109,6 +110,11 @@ var media = exports.media = (0, _adfSchemaGenerator.adfNode)('media').define({
109
110
  url: {
110
111
  type: 'string',
111
112
  default: null
113
+ },
114
+ __external: {
115
+ type: 'boolean',
116
+ default: false,
117
+ optional: true
112
118
  }
113
119
  }]
114
120
  }
@@ -1781,26 +1781,6 @@ var layoutSection = exports.layoutSection = {
1781
1781
  }
1782
1782
  }
1783
1783
  };
1784
- var layoutSection_full = exports.layoutSection_full = ['layoutSection', {
1785
- props: {
1786
- content: {
1787
- type: 'array',
1788
- items: ['layoutColumn'],
1789
- minItems: 2,
1790
- maxItems: 3,
1791
- allowUnsupportedBlock: true
1792
- },
1793
- marks: {
1794
- type: 'array',
1795
- optional: true,
1796
- items: ['breakout']
1797
- },
1798
- type: {
1799
- type: 'enum',
1800
- values: ['layoutSection']
1801
- }
1802
- }
1803
- }];
1804
1784
  var layoutSection_with_single_column = exports.layoutSection_with_single_column = ['layoutSection', {
1805
1785
  props: {
1806
1786
  attrs: {
@@ -1831,6 +1811,26 @@ var layoutSection_with_single_column = exports.layoutSection_with_single_column
1831
1811
  }
1832
1812
  }
1833
1813
  }];
1814
+ var layoutSection_full = exports.layoutSection_full = ['layoutSection', {
1815
+ props: {
1816
+ content: {
1817
+ type: 'array',
1818
+ items: ['layoutColumn'],
1819
+ minItems: 2,
1820
+ maxItems: 3,
1821
+ allowUnsupportedBlock: true
1822
+ },
1823
+ marks: {
1824
+ type: 'array',
1825
+ optional: true,
1826
+ items: ['breakout']
1827
+ },
1828
+ type: {
1829
+ type: 'enum',
1830
+ values: ['layoutSection']
1831
+ }
1832
+ }
1833
+ }];
1834
1834
  var extensionFrame = exports.extensionFrame = {
1835
1835
  props: {
1836
1836
  type: {
@@ -1925,7 +1925,7 @@ var doc = exports.doc = {
1925
1925
  },
1926
1926
  content: {
1927
1927
  type: 'array',
1928
- items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'panel_with_nested_blockquote', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks', 'codeBlock_with_marks', 'layoutSection_full', 'layoutSection_with_single_column', 'multiBodiedExtension', 'expand_with_breakout_mark']],
1928
+ items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'panel_with_nested_blockquote', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks', 'codeBlock_with_marks', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_with_breakout_mark']],
1929
1929
  allowUnsupportedBlock: true
1930
1930
  }
1931
1931
  }
@@ -8,7 +8,7 @@ import { expand } from './nodes/expand';
8
8
  const doc = adfNode('doc').define({
9
9
  root: true,
10
10
  version: 1,
11
- content: [$onePlus($or(blockGroup, blockContentGroup, codeBlock.use('with_marks'), layoutSection, layoutSection.use('full'), layoutSection.use('with_single_column'), blockRootOnlyGroup, expand.use('with_breakout_mark')))],
11
+ content: [$onePlus($or(blockGroup, blockContentGroup, codeBlock.use('with_marks'), layoutSection, layoutSection.use('with_single_column'), layoutSection.use('full'), blockRootOnlyGroup, expand.use('with_breakout_mark')))],
12
12
  DANGEROUS_MANUAL_OVERRIDE: {
13
13
  'validator-spec': {
14
14
  'props.content.minItems': {
@@ -50,7 +50,8 @@ export const media = adfNode('media').define({
50
50
  optional: true
51
51
  },
52
52
  __displayType: {
53
- type: 'string',
53
+ type: 'enum',
54
+ values: ['file', 'thumbnail'],
54
55
  default: null,
55
56
  optional: true
56
57
  },
@@ -65,7 +66,7 @@ export const media = adfNode('media').define({
65
66
  optional: true
66
67
  },
67
68
  __fileName: {
68
- type: 'string',
69
+ type: 'number',
69
70
  default: null,
70
71
  optional: true
71
72
  },
@@ -103,6 +104,11 @@ export const media = adfNode('media').define({
103
104
  url: {
104
105
  type: 'string',
105
106
  default: null
107
+ },
108
+ __external: {
109
+ type: 'boolean',
110
+ default: false,
111
+ optional: true
106
112
  }
107
113
  }]
108
114
  }
@@ -1775,26 +1775,6 @@ export const layoutSection = {
1775
1775
  }
1776
1776
  }
1777
1777
  };
1778
- export const layoutSection_full = ['layoutSection', {
1779
- props: {
1780
- content: {
1781
- type: 'array',
1782
- items: ['layoutColumn'],
1783
- minItems: 2,
1784
- maxItems: 3,
1785
- allowUnsupportedBlock: true
1786
- },
1787
- marks: {
1788
- type: 'array',
1789
- optional: true,
1790
- items: ['breakout']
1791
- },
1792
- type: {
1793
- type: 'enum',
1794
- values: ['layoutSection']
1795
- }
1796
- }
1797
- }];
1798
1778
  export const layoutSection_with_single_column = ['layoutSection', {
1799
1779
  props: {
1800
1780
  attrs: {
@@ -1825,6 +1805,26 @@ export const layoutSection_with_single_column = ['layoutSection', {
1825
1805
  }
1826
1806
  }
1827
1807
  }];
1808
+ export const layoutSection_full = ['layoutSection', {
1809
+ props: {
1810
+ content: {
1811
+ type: 'array',
1812
+ items: ['layoutColumn'],
1813
+ minItems: 2,
1814
+ maxItems: 3,
1815
+ allowUnsupportedBlock: true
1816
+ },
1817
+ marks: {
1818
+ type: 'array',
1819
+ optional: true,
1820
+ items: ['breakout']
1821
+ },
1822
+ type: {
1823
+ type: 'enum',
1824
+ values: ['layoutSection']
1825
+ }
1826
+ }
1827
+ }];
1828
1828
  export const extensionFrame = {
1829
1829
  props: {
1830
1830
  type: {
@@ -1919,7 +1919,7 @@ export const doc = {
1919
1919
  },
1920
1920
  content: {
1921
1921
  type: 'array',
1922
- items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'panel_with_nested_blockquote', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks', 'codeBlock_with_marks', 'layoutSection_full', 'layoutSection_with_single_column', 'multiBodiedExtension', 'expand_with_breakout_mark']],
1922
+ items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'panel_with_nested_blockquote', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks', 'codeBlock_with_marks', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_with_breakout_mark']],
1923
1923
  allowUnsupportedBlock: true
1924
1924
  }
1925
1925
  }
@@ -8,7 +8,7 @@ import { expand } from './nodes/expand';
8
8
  var doc = adfNode('doc').define({
9
9
  root: true,
10
10
  version: 1,
11
- content: [$onePlus($or(blockGroup, blockContentGroup, codeBlock.use('with_marks'), layoutSection, layoutSection.use('full'), layoutSection.use('with_single_column'), blockRootOnlyGroup, expand.use('with_breakout_mark')))],
11
+ content: [$onePlus($or(blockGroup, blockContentGroup, codeBlock.use('with_marks'), layoutSection, layoutSection.use('with_single_column'), layoutSection.use('full'), blockRootOnlyGroup, expand.use('with_breakout_mark')))],
12
12
  DANGEROUS_MANUAL_OVERRIDE: {
13
13
  'validator-spec': {
14
14
  'props.content.minItems': {
@@ -50,7 +50,8 @@ export var media = adfNode('media').define({
50
50
  optional: true
51
51
  },
52
52
  __displayType: {
53
- type: 'string',
53
+ type: 'enum',
54
+ values: ['file', 'thumbnail'],
54
55
  default: null,
55
56
  optional: true
56
57
  },
@@ -65,7 +66,7 @@ export var media = adfNode('media').define({
65
66
  optional: true
66
67
  },
67
68
  __fileName: {
68
- type: 'string',
69
+ type: 'number',
69
70
  default: null,
70
71
  optional: true
71
72
  },
@@ -103,6 +104,11 @@ export var media = adfNode('media').define({
103
104
  url: {
104
105
  type: 'string',
105
106
  default: null
107
+ },
108
+ __external: {
109
+ type: 'boolean',
110
+ default: false,
111
+ optional: true
106
112
  }
107
113
  }]
108
114
  }
@@ -1775,26 +1775,6 @@ export var layoutSection = {
1775
1775
  }
1776
1776
  }
1777
1777
  };
1778
- export var layoutSection_full = ['layoutSection', {
1779
- props: {
1780
- content: {
1781
- type: 'array',
1782
- items: ['layoutColumn'],
1783
- minItems: 2,
1784
- maxItems: 3,
1785
- allowUnsupportedBlock: true
1786
- },
1787
- marks: {
1788
- type: 'array',
1789
- optional: true,
1790
- items: ['breakout']
1791
- },
1792
- type: {
1793
- type: 'enum',
1794
- values: ['layoutSection']
1795
- }
1796
- }
1797
- }];
1798
1778
  export var layoutSection_with_single_column = ['layoutSection', {
1799
1779
  props: {
1800
1780
  attrs: {
@@ -1825,6 +1805,26 @@ export var layoutSection_with_single_column = ['layoutSection', {
1825
1805
  }
1826
1806
  }
1827
1807
  }];
1808
+ export var layoutSection_full = ['layoutSection', {
1809
+ props: {
1810
+ content: {
1811
+ type: 'array',
1812
+ items: ['layoutColumn'],
1813
+ minItems: 2,
1814
+ maxItems: 3,
1815
+ allowUnsupportedBlock: true
1816
+ },
1817
+ marks: {
1818
+ type: 'array',
1819
+ optional: true,
1820
+ items: ['breakout']
1821
+ },
1822
+ type: {
1823
+ type: 'enum',
1824
+ values: ['layoutSection']
1825
+ }
1826
+ }
1827
+ }];
1828
1828
  export var extensionFrame = {
1829
1829
  props: {
1830
1830
  type: {
@@ -1919,7 +1919,7 @@ export var doc = {
1919
1919
  },
1920
1920
  content: {
1921
1921
  type: 'array',
1922
- items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'panel_with_nested_blockquote', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks', 'codeBlock_with_marks', 'layoutSection_full', 'layoutSection_with_single_column', 'multiBodiedExtension', 'expand_with_breakout_mark']],
1922
+ items: [['blockCard', 'paragraph_with_no_marks', 'paragraph_with_alignment', 'paragraph_with_indentation', 'mediaSingle_caption', 'mediaSingle_full', 'codeBlock_with_no_marks', 'taskList', 'bulletList', 'orderedList', 'heading_with_no_marks', 'heading_with_alignment', 'heading_with_indentation', 'mediaGroup', 'decisionList', 'rule', 'panel', 'panel_with_nested_blockquote', 'blockquote', 'extension_with_marks', 'embedCard', 'table', 'expand_with_no_mark', 'bodiedExtension_with_marks', 'codeBlock_with_marks', 'layoutSection_with_single_column', 'layoutSection_full', 'multiBodiedExtension', 'expand_with_breakout_mark']],
1923
1923
  allowUnsupportedBlock: true
1924
1924
  }
1925
1925
  }
@@ -2613,37 +2613,6 @@
2613
2613
  "additionalProperties": false,
2614
2614
  "required": ["type", "content"]
2615
2615
  },
2616
- "layoutSection_full_node": {
2617
- "allOf": [
2618
- {
2619
- "$ref": "#/definitions/layoutSection_node"
2620
- },
2621
- {
2622
- "type": "object",
2623
- "properties": {
2624
- "marks": {
2625
- "type": "array",
2626
- "items": {
2627
- "$ref": "#/definitions/breakout_mark"
2628
- }
2629
- },
2630
- "content": {
2631
- "type": "array",
2632
- "items": {
2633
- "$ref": "#/definitions/layoutColumn_node"
2634
- },
2635
- "minItems": 2,
2636
- "maxItems": 3
2637
- },
2638
- "type": {
2639
- "enum": ["layoutSection"]
2640
- }
2641
- },
2642
- "required": ["type", "content"],
2643
- "additionalProperties": false
2644
- }
2645
- ]
2646
- },
2647
2616
  "layoutSection_with_single_column_node": {
2648
2617
  "type": "object",
2649
2618
  "properties": {
@@ -2677,6 +2646,37 @@
2677
2646
  "additionalProperties": false,
2678
2647
  "required": ["type", "content"]
2679
2648
  },
2649
+ "layoutSection_full_node": {
2650
+ "allOf": [
2651
+ {
2652
+ "$ref": "#/definitions/layoutSection_node"
2653
+ },
2654
+ {
2655
+ "type": "object",
2656
+ "properties": {
2657
+ "marks": {
2658
+ "type": "array",
2659
+ "items": {
2660
+ "$ref": "#/definitions/breakout_mark"
2661
+ }
2662
+ },
2663
+ "content": {
2664
+ "type": "array",
2665
+ "items": {
2666
+ "$ref": "#/definitions/layoutColumn_node"
2667
+ },
2668
+ "minItems": 2,
2669
+ "maxItems": 3
2670
+ },
2671
+ "type": {
2672
+ "enum": ["layoutSection"]
2673
+ }
2674
+ },
2675
+ "required": ["type", "content"],
2676
+ "additionalProperties": false
2677
+ }
2678
+ ]
2679
+ },
2680
2680
  "extensionFrame_node": {
2681
2681
  "type": "object",
2682
2682
  "properties": {
@@ -2896,10 +2896,10 @@
2896
2896
  "$ref": "#/definitions/expand_with_breakout_mark_node"
2897
2897
  },
2898
2898
  {
2899
- "$ref": "#/definitions/layoutSection_full_node"
2899
+ "$ref": "#/definitions/layoutSection_with_single_column_node"
2900
2900
  },
2901
2901
  {
2902
- "$ref": "#/definitions/layoutSection_with_single_column_node"
2902
+ "$ref": "#/definitions/layoutSection_full_node"
2903
2903
  },
2904
2904
  {
2905
2905
  "$ref": "#/definitions/multiBodiedExtension_node"
@@ -457,10 +457,10 @@ export interface MediaNodeAttributes0 {
457
457
  occurrenceKey?: string;
458
458
  width?: number;
459
459
  __contextId?: string;
460
- __displayType?: string;
460
+ __displayType?: 'file' | 'thumbnail';
461
461
  __external?: boolean;
462
462
  __fileMimeType?: string;
463
- __fileName?: string;
463
+ __fileName?: number;
464
464
  __fileSize?: string;
465
465
  __mediaTraceId?: string;
466
466
  }
@@ -470,6 +470,7 @@ export interface MediaNodeAttributes1 {
470
470
  height?: number;
471
471
  width?: number;
472
472
  url: string;
473
+ __external?: boolean;
473
474
  }
474
475
  export interface MediaDefinition {
475
476
  type: 'media';
@@ -16,6 +16,7 @@ export type CodeBlockBaseDefinition = {
16
16
  };
17
17
  export type CodeBlockAttrs = {
18
18
  language?: string;
19
+ uniqueId?: string;
19
20
  };
20
21
  /**
21
22
  * @name codeBlock_with_no_marks_node
@@ -10,6 +10,7 @@ export interface ExpandBaseDefinition {
10
10
  type: 'expand';
11
11
  attrs: {
12
12
  title?: string;
13
+ __expanded?: boolean;
13
14
  };
14
15
  /**
15
16
  * @minItems 1
@@ -6,6 +6,7 @@ import { AnnotationMarkDefinition } from '../marks/annotation';
6
6
  export interface MediaInlineAttributes extends MediaBaseAttributes {
7
7
  data?: object;
8
8
  type?: 'file' | 'link' | 'image';
9
+ url?: string | null;
9
10
  }
10
11
  /**
11
12
  * @name mediaInline_node
@@ -23,6 +23,7 @@ export interface NestedExpandBaseDefinition {
23
23
  type: 'nestedExpand';
24
24
  attrs: {
25
25
  title?: string;
26
+ __expanded?: boolean;
26
27
  };
27
28
  content: NestedExpandContent;
28
29
  }
@@ -1794,26 +1794,6 @@ export declare const layoutSection: {
1794
1794
  };
1795
1795
  };
1796
1796
  };
1797
- export declare const layoutSection_full: (string | {
1798
- props: {
1799
- content: {
1800
- type: string;
1801
- items: string[];
1802
- minItems: number;
1803
- maxItems: number;
1804
- allowUnsupportedBlock: boolean;
1805
- };
1806
- marks: {
1807
- type: string;
1808
- optional: boolean;
1809
- items: string[];
1810
- };
1811
- type: {
1812
- type: string;
1813
- values: string[];
1814
- };
1815
- };
1816
- })[];
1817
1797
  export declare const layoutSection_with_single_column: (string | {
1818
1798
  props: {
1819
1799
  attrs: {
@@ -1844,6 +1824,26 @@ export declare const layoutSection_with_single_column: (string | {
1844
1824
  };
1845
1825
  };
1846
1826
  })[];
1827
+ export declare const layoutSection_full: (string | {
1828
+ props: {
1829
+ content: {
1830
+ type: string;
1831
+ items: string[];
1832
+ minItems: number;
1833
+ maxItems: number;
1834
+ allowUnsupportedBlock: boolean;
1835
+ };
1836
+ marks: {
1837
+ type: string;
1838
+ optional: boolean;
1839
+ items: string[];
1840
+ };
1841
+ type: {
1842
+ type: string;
1843
+ values: string[];
1844
+ };
1845
+ };
1846
+ })[];
1847
1847
  export declare const extensionFrame: {
1848
1848
  props: {
1849
1849
  type: {
@@ -2613,37 +2613,6 @@
2613
2613
  "additionalProperties": false,
2614
2614
  "required": ["type", "content"]
2615
2615
  },
2616
- "layoutSection_full_node": {
2617
- "allOf": [
2618
- {
2619
- "$ref": "#/definitions/layoutSection_node"
2620
- },
2621
- {
2622
- "type": "object",
2623
- "properties": {
2624
- "marks": {
2625
- "type": "array",
2626
- "items": {
2627
- "$ref": "#/definitions/breakout_mark"
2628
- }
2629
- },
2630
- "content": {
2631
- "type": "array",
2632
- "items": {
2633
- "$ref": "#/definitions/layoutColumn_node"
2634
- },
2635
- "minItems": 2,
2636
- "maxItems": 3
2637
- },
2638
- "type": {
2639
- "enum": ["layoutSection"]
2640
- }
2641
- },
2642
- "required": ["type", "content"],
2643
- "additionalProperties": false
2644
- }
2645
- ]
2646
- },
2647
2616
  "layoutSection_with_single_column_node": {
2648
2617
  "type": "object",
2649
2618
  "properties": {
@@ -2677,6 +2646,37 @@
2677
2646
  "additionalProperties": false,
2678
2647
  "required": ["type", "content"]
2679
2648
  },
2649
+ "layoutSection_full_node": {
2650
+ "allOf": [
2651
+ {
2652
+ "$ref": "#/definitions/layoutSection_node"
2653
+ },
2654
+ {
2655
+ "type": "object",
2656
+ "properties": {
2657
+ "marks": {
2658
+ "type": "array",
2659
+ "items": {
2660
+ "$ref": "#/definitions/breakout_mark"
2661
+ }
2662
+ },
2663
+ "content": {
2664
+ "type": "array",
2665
+ "items": {
2666
+ "$ref": "#/definitions/layoutColumn_node"
2667
+ },
2668
+ "minItems": 2,
2669
+ "maxItems": 3
2670
+ },
2671
+ "type": {
2672
+ "enum": ["layoutSection"]
2673
+ }
2674
+ },
2675
+ "required": ["type", "content"],
2676
+ "additionalProperties": false
2677
+ }
2678
+ ]
2679
+ },
2680
2680
  "extensionFrame_node": {
2681
2681
  "type": "object",
2682
2682
  "properties": {
@@ -2896,10 +2896,10 @@
2896
2896
  "$ref": "#/definitions/expand_with_breakout_mark_node"
2897
2897
  },
2898
2898
  {
2899
- "$ref": "#/definitions/layoutSection_full_node"
2899
+ "$ref": "#/definitions/layoutSection_with_single_column_node"
2900
2900
  },
2901
2901
  {
2902
- "$ref": "#/definitions/layoutSection_with_single_column_node"
2902
+ "$ref": "#/definitions/layoutSection_full_node"
2903
2903
  },
2904
2904
  {
2905
2905
  "$ref": "#/definitions/multiBodiedExtension_node"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/adf-schema",
3
- "version": "42.2.0",
3
+ "version": "42.3.0",
4
4
  "description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "devDependencies": {
48
48
  "@atlassian/adf-schema-json": "^1.22.0",
49
- "@atlaskit/adf-schema-generator": "^1.32.1",
49
+ "@atlaskit/adf-schema-generator": "^1.33.0",
50
50
  "@atlaskit/codemod-utils": "^4.2.4",
51
51
  "@babel/cli": "^7.22.9",
52
52
  "@babel/core": "^7.22.9",