Skip to content

Commit

Permalink
Merge pull request #424 from ChartIQ/syntax-errors-in-examples
Browse files Browse the repository at this point in the history
Correcting some syntax errors in context documentation
  • Loading branch information
rikoe authored Jul 22, 2021
2 parents d3b6413 + 7731698 commit d561b34
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/context/ref/Contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ https://fdc3.finos.org/schemas/next/contact.schema.json

```js
const contact = {
type: 'fdc3.contact'
type: 'fdc3.contact',
name: 'Jane Doe',
id: {
email: 'jane.doe@mail.com'
Expand Down
3 changes: 1 addition & 2 deletions docs/context/ref/Country.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,13 @@ https://fdc3.finos.org/schemas/next/country.schema.json

```js
const country = {
type: 'fdc3.country'
type: 'fdc3.country',
name: 'Sweden',
id: {
ISOALPHA3: 'SWE'
}
}


fdc3.broadcast(country)
```

Expand Down
2 changes: 1 addition & 1 deletion docs/context/ref/Instrument.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ https://fdc3.finos.org/schemas/next/instrument.schema.json

```js
const instrument = {
type: 'fdc3.instrument'
type: 'fdc3.instrument',
name: 'Microsoft',
id: {
ticker: 'MSFT',
Expand Down
3 changes: 1 addition & 2 deletions docs/context/ref/Organization.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,14 @@ https://fdc3.finos.org/schemas/next/organization.schema.json

```js
const organization = {
type: 'fdc3.organization'
type: 'fdc3.organization',
name: 'Cargill, Incorporated',
id: {
LEI: 'QXZYQNMR4JZ5RIRN4T31',
FDS_ID: '00161G-E'
}
}


fdc3.broadcast(organization)
```

Expand Down
6 changes: 3 additions & 3 deletions docs/context/ref/Portfolio.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const portfolio = {
{
type: 'fdc3.position',
instrument: {
type: 'fdc3.instrument'
type: 'fdc3.instrument',
id: {
ticker: 'AAPL'
}
Expand All @@ -59,7 +59,7 @@ const portfolio = {
{
type: 'fdc3.position',
instrument: {
type: 'fdc3.instrument'
type: 'fdc3.instrument',
id: {
ticker: 'MSFT'
}
Expand All @@ -69,7 +69,7 @@ const portfolio = {
{
type: 'fdc3.position',
instrument: {
type: 'fdc3.instrument'
type: 'fdc3.instrument',
id: {
ticker: 'IBM'
}
Expand Down
2 changes: 1 addition & 1 deletion docs/context/ref/Position.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ https://fdc3.finos.org/schemas/next/position.schema.json
const position = {
type: 'fdc3.position',
instrument: {
type: 'fdc3.instrument'
type: 'fdc3.instrument',
id: {
ticker: 'AAPL'
}
Expand Down
3 changes: 1 addition & 2 deletions website/versioned_docs/version-1.2/context/ref/Contact.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,13 @@ https://fdc3.finos.org/schemas/1.2/contact.schema.json

```js
const contact = {
type: 'fdc3.contact'
type: 'fdc3.contact',
name: 'Jane Doe',
id: {
email: 'jane.doe@mail.com'
}
}


fdc3.broadcast(contact)
```

Expand Down
3 changes: 1 addition & 2 deletions website/versioned_docs/version-1.2/context/ref/Country.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,13 @@ https://fdc3.finos.org/schemas/1.2/country.schema.json

```js
const country = {
type: 'fdc3.country'
type: 'fdc3.country',
name: 'Sweden',
id: {
ISOALPHA3: 'SWE'
}
}


fdc3.broadcast(country)
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ https://fdc3.finos.org/schemas/1.2/instrument.schema.json

```js
const instrument = {
type: 'fdc3.instrument'
type: 'fdc3.instrument',
name: 'Microsoft',
id: {
ticker: 'MSFT',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,14 @@ https://fdc3.finos.org/schemas/1.2/organization.schema.json

```js
const organization = {
type: 'fdc3.organization'
type: 'fdc3.organization',
name: 'Cargill, Incorporated',
id: {
LEI: 'QXZYQNMR4JZ5RIRN4T31',
FDS_ID: '00161G-E'
}
}


fdc3.broadcast(organization)
```

Expand Down
6 changes: 3 additions & 3 deletions website/versioned_docs/version-1.2/context/ref/Portfolio.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const portfolio = {
{
type: 'fdc3.position',
instrument: {
type: 'fdc3.instrument'
type: 'fdc3.instrument',
id: {
ticker: 'AAPL'
}
Expand All @@ -60,7 +60,7 @@ const portfolio = {
{
type: 'fdc3.position',
instrument: {
type: 'fdc3.instrument'
type: 'fdc3.instrument',
id: {
ticker: 'MSFT'
}
Expand All @@ -70,7 +70,7 @@ const portfolio = {
{
type: 'fdc3.position',
instrument: {
type: 'fdc3.instrument'
type: 'fdc3.instrument',
id: {
ticker: 'IBM'
}
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-1.2/context/ref/Position.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ https://fdc3.finos.org/schemas/1.2/position.schema.json
const position = {
type: 'fdc3.position',
instrument: {
type: 'fdc3.instrument'
type: 'fdc3.instrument',
id: {
ticker: 'AAPL'
}
Expand Down

0 comments on commit d561b34

Please sign in to comment.