@sprucelabs/mercury-core-events 27.0.53 → 27.0.54

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.
@@ -5,10 +5,18 @@ const updateOrgEmitPayloadSchema = {
5
5
  namespace: 'Mercury',
6
6
  name: '',
7
7
  fields: {
8
+ /** Id. */
9
+ 'id': {
10
+ label: 'Id',
11
+ type: 'id',
12
+ isRequired: true,
13
+ options: undefined
14
+ },
8
15
  /** Name. */
9
16
  'name': {
10
17
  label: 'Name',
11
18
  type: 'text',
19
+ isRequired: true,
12
20
  options: undefined
13
21
  },
14
22
  /** Address. */
@@ -28,6 +36,7 @@ const updateOrgEmitPayloadSchema = {
28
36
  /** . */
29
37
  'dateCreated': {
30
38
  type: 'dateTime',
39
+ isRequired: true,
31
40
  options: undefined
32
41
  },
33
42
  /** . */
@@ -1,5 +1,5 @@
1
1
  import { SchemaRegistry } from '@sprucelabs/schema';
2
- import updateOrgSchema_v2020_12_25 from './updateOrg.schema.js';
2
+ import organizationSchema_v2020_07_22 from './../../spruce/v2020_07_22/organization.schema.js';
3
3
  const updateOrgResponsePayloadSchema = {
4
4
  id: 'updateOrgResponsePayload',
5
5
  version: 'v2020_12_25',
@@ -10,7 +10,7 @@ const updateOrgResponsePayloadSchema = {
10
10
  'organization': {
11
11
  type: 'schema',
12
12
  isRequired: true,
13
- options: { schema: updateOrgSchema_v2020_12_25, }
13
+ options: { schema: organizationSchema_v2020_07_22, }
14
14
  },
15
15
  }
16
16
  };
@@ -23,6 +23,7 @@ const updateOrganizationEmitTargetAndPayloadSchema = {
23
23
  /** . */
24
24
  'payload': {
25
25
  type: 'schema',
26
+ isRequired: true,
26
27
  options: { schema: updateOrgEmitPayloadSchema_v2020_12_25, }
27
28
  },
28
29
  }