Should metadata be defined at the Data Schema or at the Network Schema level?

Jaime Flores's Avatar

Jaime Flores

27 May, 2010 10:12 PM via web

Should role="metadata" be defined at the Data Schema or at the Network Schema level?
Currently we defined it in both. Is that a problem?
A) Network Schema

<attribute category="discrepancy_number" role="metadata" />

B) Data Schema

<attribute category="DISCREPANCY_NUMBER" role="metadata" />
  1. Support Staff 2 Posted by Jim Fleming on 28 May, 2010 01:38 AM

    Jim Fleming's Avatar

    Jamie, 'metadata' will be ignored in the network schema, since it is a resource creation property. It tells the dataschema (the process responsible for creating the Saffron resource), to map the data to metadata (non-observable attribute). The network schema is responsible for mapping resource attributes to memory structures (e.g. memories, matrices, rows, cols). It is a bit confusing right now because we haven't migrated our config to the new language. Networkschema will become your a space definition, while the dataschema will become a resource template.
    Thanks,
    Jim

  2. Jim Fleming closed this discussion on 30 Sep, 2011 03:24 PM.

Comments are currently closed for this discussion. You can start a new one.