{
  "enumDefs": [],
  "structDefs": [],
  "classificationDefs": [],
  "entityDefs": [
    {
      "name": "NoteLog",
      "description": "Engines that are performing processing on the resources may also write notes to the note log. The note log can be attached to any referenceable metadata object.",
      "superTypes": [
        "Referenceable"
      ],
      "typeVersion": "1.0",
      "attributeDefs": [
        {
          "name": "name",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "description",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        }
      ]
    },
    {
      "name": "NoteEntry",
      "description": "Notes provide additional information about a referenceable object. They are used by resource owners and stewards to document the current status of their resources. A referenceable object can have many notes linked off of it.  Notes are used by the people with edit access to the referenceable object to provide information about its content, proposed changes and other useful information. Notes are also used by engines that are working on the related assets to add an informal audit trail of activity around the object.",
      "superTypes": [
        "Referenceable"
      ],
      "typeVersion": "1.0",
      "attributeDefs": [
        {
          "name": "text",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "user",
          "typeName": "string",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        },
        {
          "name": "lastUpdate",
          "typeName": "date",
          "cardinality": "SINGLE",
          "isIndexable": true,
          "isOptional": true,
          "isUnique": false
        }
      ]
    }
  ],
  "relationshipDefs": [
    {
      "name": "AttachedNoteLogEntry",
      "typeVersion": "1.0",
      "endDef1": {
        "name": "describes",
        "type": "NoteLog",
        "cardinality": "SET"
      },
      "endDef2": {
        "name": "notes",
        "type": "Referenceable",
        "cardinality": "SET"
      },
      "propagateTags": "NONE"
    },
    {
      "name": "AttachedNoteLog",
      "typeVersion": "1.0",
      "endDef1": {
        "name": "entries",
        "type": "NoteLog",
        "cardinality": "SET",
        "isContainer": true
      },
      "endDef2": {
        "name": "logs",
        "type": "NoteEntry",
        "cardinality": "SINGLE"
      },
      "propagateTags": "NONE",
      "relationshipCategory": "AGGREGATION"
    }
  ]
}