question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

schemas: Add for `FCMaterials` data

See original GitHub issue

Odyssey Update 12 added a new FCMaterials Journal event and accompanying file. This lists any Fleet Carrier/Bartender orders for buying or selling Odyssey-specific materials (used to upgrade suits and weapons).

There is also data for this in the CAPI /market endpoint.

So, we want a new EDDN schema to allow for relaying data about this.

  1. It should use the FCMaterials.json format as its basis.
  2. But the README should also document the known CAPI format, and how to mutate it into the Journal/schema format.

Example FCMaterials.json:

{
  "timestamp":"2022-06-08T12:44:19Z",
  "event":"FCMaterials",
  "MarketID":3700710912,
  "CarrierName":"PSI RORSCHACH",
  "CarrierID":"K4X-33F",
  "Items":[
    {
      "id":128961533,
      "Name":"$encryptedmemorychip_name;",
      "Name_Localised":"Encrypted Memory Chip",
      "Price":500,
      "Stock":0,
      "Demand":5
    },
    {
       "id":128961537,
      "Name":"$memorychip_name;",
      "Name_Localised":"Memory Chip",
      "Price":600,
      "Stock":0,
      "Demand":5
    },
    {
      "id":128972290,
      "Name":"$campaignplans_name;",
      "Name_Localised":"Campaign Plans",
      "Price":600,
      "Stock":5,
      "Demand":0
    }
  ]
}

CAPI example (not from the same FC as above):

"onfootmicroresources": {
  "sales": [],
  "purchases":[
    {
      "name":"weaponinventory",
      "locName":"Weapon Inventory",
      "total":30,
      "outstanding":30,
      "price":90000
    },
    {
      "name":"chemicalinventory",
      "locName":"Chemical Inventory",
      "total":30,
      "outstanding":30,
      "price":90000
    },
    {
      "name":"digitaldesigns",
      "locName":"Digital Designs",
      "total":90,
      "outstanding":90,
      "price":120000
    },
    {
      "name":"operationalmanual",
      "locName":"Operational Manual",
      "total":60,
      "outstanding":60,
      "price":70000
    },
    {
      "name":"productionschedule",
      "locName":"Production Schedule",
      "total":60,
      "outstanding":60,
      "price":100000
    },
    {
      "name":"manufacturinginstructions",
      "locName":"Manufacturing Instructions",
      "total":30,
      "outstanding":30,
      "price":90000
    }
  ]
}```
So, it *looks* like the CAPI data 'fulfillment' is inverted, with `outstanding` instead of `Stock` or `Demand`, but this will need confirming.

Also whilst the Journal has the nice separate `CarrierName` and `CarrierID` I'm not sure that's available in the CAPI data.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:14 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
Eahlstancommented, Jun 17, 2022

We also need to be 100% sure that the CAPI data is there generally, and not only for the owner of the FC.

I’d say it is. My bubble commander doesn’t have a carrier and got that data from 3 different carriers (I only tried those 3).

0reactions
Athanasiuscommented, Sep 7, 2022

The schemas are now live.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Release/5.4.0 · Discussion #1579 · EDCD/EDMarketConnector
New EDDN schema fssbodysignals is now supported. ... Odyssey Update 12 adds a new Journal event, and file, FCMaterials.json , detailing the available...
Read more >
The Great Fleet Carrier Bartender Material Advertisement ...
The Great Fleet Carrier Bartender Material Advertisement Thread! ... this issue ("schemas: Add for FCMaterials data") and coding for it
Read more >
Adding a data source schema to a template in Rational ... - IBM
Templates operate with data schemas, not with actual data sources. You can add a data source schema to a template that is open...
Read more >
How to Use Schema.org to Create and Add Structured Data to ...
... doing the little things extremely well is often the difference between generating and not generating results. Structure data adds treme.
Read more >
IFC Issues and Resolutions Database
This means first finding a baseline definition for each schema and then ... RS will add to list of projects for R2.0 --...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found